High-speed and high-precision temperature signal acquisition system and method based on FPGA
Through the high-speed and high-precision temperature signal acquisition system based on FPGA, the problem of mismatch between the transient response characteristics of the thin-film thermocouple and the existing acquisition device is solved, and high-precision and high-speed temperature signal acquisition and simple deployment process are realized, which meets the Transient temperature variation requirements for thin-film thermocouples.
Patent Information
- Application Number
- CN202410914764.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2024-11-01
AI Technical Summary
The acquisition speed of the existing thin-film thermocouple temperature signal acquisition device does not match the transient response characteristics of the thin-film thermocouple. The hardware is not versatile, the acquisition speed is not high, the acquisition accuracy is low, and the deployment process is cumbersome, so it cannot meet the transient temperature signal. demand.
Adopt a high-speed, high-precision temperature signal acquisition system based on FPGA, and use high-speed ADC chips and FPGA chips for data processing. Connect to a microcomputer through Ethernet to realize a separate upper and lower computer structure. The indexing table is flexibly selected according to the type of thin film thermocouple Carry out cold-end compensation to improve sampling rate and accuracy.
It realizes high-precision and high-speed temperature signal acquisition, meets the needs of transient temperature changes of thin-film thermocouples, simplifies the hardware deployment process, and improves the universality and flexibility of the system.
Smart Images

Figure CN118882848A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of sensor technology, and in particular to a high-speed, high-precision temperature signal acquisition system and method based on FPGA. Background Art
[0002] Thin film thermocouple temperature sensor is a new type of temperature sensor that has emerged with the development of thin film material technology. Compared with ordinary thermocouples, thin film thermocouples have typical two-dimensional characteristics, and the thickness of their hot junctions is only in the micro-nanometer order. They have the characteristics of small heat capacity and rapid temperature response (response time is in the ns order), and are widely used in situations where accurate measurement of transient temperature changes is required.
[0003] In terms of temperature measurement principle, thin film thermocouples are the same as ordinary thermocouples, that is, cold end compensation needs to be performed during measurement to ensure the accuracy of the temperature measurement results. In terms of temperature measurement methods, the difference between thin film thermocouples and ordinary thermocouples is: first, thin film thermocouples are mainly used for transient temperature measurement due to their rapid response. According to the sampling theorem, the sampling frequency of its electronic measuring device should be at least twice the highest frequency component of the transient temperature signal to be measured to ensure undistorted measurement; second, since the Seebeck coefficients of the bulk material used in ordinary thermocouples and the thin film material used in thin film thermocouples are not the same, the graduation table of thin film thermocouples and ordinary thermocouples are also different. After cold end compensation, ordinary thermocouples can use the result of the sum of the temperature to be measured and the temperature difference electromotive force of the cold junction to check the graduation table of the thermocouple to be compensated, and the temperature to be measured at the working end can be obtained. In the temperature measurement and cold end compensation of thin film thermocouples, a self-calibrated thin film thermocouple special graduation is required.
[0004] At present, the main schemes of electronic measuring devices for thin-film thermocouples are: in terms of signal conditioning circuits, use a dedicated device scheme that integrates signal amplification, cold-end compensation and analog-to-digital conversion for ordinary thermocouples, or use a signal conditioning device that integrates signal amplification and cold-end compensation while externally placing analog-to-digital conversion devices. In terms of data transmission methods, Zigbee, Bluetooth or serial ports are often used for data transmission.
[0005] The defects of the above schemes are: the sampling cycle is long and it is not suitable for capturing transient temperature data from thin film thermocouples; the hardware equipment is not very versatile, and the amplifier gain and cold end compensation types in the signal conditioning special devices suitable for ordinary thermocouples are single, and cannot be flexibly switched according to the type of thermocouple connected to the measuring instrument; in terms of hardware, the existing measurement schemes need to be used with special data coordinators or data gateways, and the deployment process is relatively cumbersome. At the same time, most of the existing measurement schemes have slow sampling rates. The sampling rate of the commonly used thermocouple acquisition instrument is usually around a few hundred KHz to 1MHz, and the acquisition accuracy is mostly around 1°C. The response time of thin film thermocouples is at the microsecond and nanosecond level, and higher accuracy is required in some specific scenarios. The existing acquisition instrument cannot meet the sampling requirements of transient temperature signals. Therefore, there is an urgent need for a high-speed and high-precision signal acquisition system that can meet the transient temperature changes of thin film thermocouples. Summary of the invention
[0006] According to the above technical problems that the acquisition speed of the existing thin film thermocouple temperature signal acquisition device does not match the characteristics of the thin film thermocouple transient response, the hardware versatility is not strong, the acquisition speed is not high, the acquisition accuracy is low, and the hardware deployment process is cumbersome, a high-speed and high-precision temperature signal acquisition system based on FPGA is provided. Among them, the high speed is reflected in the selection of a high-speed ADC chip in the system and the FPGA chip as the main control has the ability to process high-speed data; the high precision is reflected in the number of bits of the selected ADC chip is high enough and the main control FPGA has the ability to receive data in multiple channels in parallel. The present invention adopts a separate upper and lower computer structure, and the upper and lower computers are connected via Ethernet, wherein the FPGA system for collecting the transient voltage of the thin film thermocouple is used as the lower computer, and a microcomputer running a data processing and display recording software program is used as the upper computer, and according to the type of thin film thermocouple, the software program flexibly selects different graduation tables to complete the cold end compensation work.
[0007] The technical means adopted by the present invention are as follows:
[0008] The high-speed and high-precision temperature signal acquisition system based on FPGA includes: an FPGA system and a microcomputer connected to the FPGA system via Ethernet, wherein:
[0009] The FPGA system is connected to the thin film thermocouple temperature sensor, and is used to receive the transient voltage generated by the thin film thermocouple collected by the thin film thermocouple temperature sensor, and process the transient voltage data;
[0010] The microcomputer is used to receive the processed thin film thermocouple transient voltage data transmitted by the FPGA system, and display and record the data.
[0011] Furthermore, the FPGA system includes a lower computer main control chip, a signal conditioning module, a digital interface module, auxiliary devices, a data bus and a signal bus, wherein:
[0012] The lower computer main control chip is a field programmable gate array (FPGA), which is used for data processing and is connected to the thin film thermocouple temperature sensor, the signal conditioning module and the digital interface module through an interface;
[0013] The signal conditioning module is used to amplify the transient voltage and temperature signals generated by the thin film thermocouple, and to convert the voltage generated by the thin film thermocouple and the temperature signal represented by the thermocouple into digital quantities after filtering;
[0014] The digital interface module is used to assist the communication between the lower computer main control chip and the microcomputer;
[0015] The auxiliary device is used to provide a stable power supply and a stable clock signal for the lower computer main control chip, the signal conditioning module, and the digital interface module;
[0016] The data bus connects the signal conditioning module and the digital interface module and is used to transmit transient voltage data generated by the thin film thermocouple;
[0017] The signal bus is used to transmit control signals from the lower computer main control chip to the peripheral devices.
[0018] Furthermore, the signal conditioning module includes a second-order active filter, an 8-channel gain adjustable amplifier and an 8-channel voltage analog-to-digital converter, wherein:
[0019] The second-order active filter is used to filter out clutter generated in the environment and eliminate interference;
[0020] The 8-channel gain adjustable amplifier is used to amplify the voltage generated by the thin film thermocouple;
[0021] The 8-channel voltage analog-to-digital converter is used to convert the voltage of the thin-film thermocouple amplified by the 8-channel gain adjustable amplifier into a digital quantity.
[0022] Furthermore, the digital interface module includes an Ethernet PHY chip and an RJ45 network port, which are used to realize Ethernet communication between the FPGA system and the microcomputer.
[0023] Furthermore, the auxiliary device includes a 5ppm high-precision low-temperature drift reference voltage source REF6041 and a voltage follower OPA191, wherein:
[0024] The voltage follower OPA191 is an integrated voltage regulator for powering various components, and adopts a low-noise, low-voltage-drop integrated linear voltage regulator LT1963A to provide a stable working power supply for the entire device.
[0025] The present invention also provides a temperature signal acquisition method implemented based on the FPGA-based high-speed, high-precision temperature signal acquisition system, comprising:
[0026] S1, assisting the FPGA system to communicate with the microcomputer, receiving the transient voltage generated by the thin film thermocouple collected by the thin film thermocouple temperature sensor, and processing the transient voltage data;
[0027] S2. Receive the processed transient voltage data of the thin film thermocouple and record the data.
[0028] Furthermore, step S1 specifically includes:
[0029] S11, configure the IP address and port number of the FPGA system and microcomputer for transmission;
[0030] S12, transmitting the acquisition start or stop instruction from the operator;
[0031] S13, receiving thin film thermocouple temperature data from a thin film temperature sensor and a voltage analog-to-digital converter;
[0032] S14, amplifying the transient voltage and temperature signal generated by the thin film thermocouple, filtering and converting the voltage generated by the thin film thermocouple and the temperature signal represented by the thermocouple into digital quantities.
[0033] The present invention also provides a storage medium, which includes a stored program, wherein when the program is run, the temperature signal acquisition method is executed.
[0034] Compared with the prior art, the present invention has the following advantages:
[0035] 1. The present invention provides a high-speed, high-precision temperature signal acquisition system based on FPGA, which has a high data sampling speed and can meet the conditions for measuring the transient temperature signal collected by the thin film thermocouple without distortion.
[0036] 2. The present invention provides a high-speed, high-precision temperature signal acquisition system based on FPGA, in which the gain of the preamplifier can be selected by programmable control, and the voltage amplification of thin-film thermocouples composed of various materials can be completed without changing the hardware; the analog-to-digital conversion device of the thermocouple voltage uses a model with a higher conversion speed, so that the sampled data meets the conditions for measuring transient temperature signals without distortion.
[0037] 3. The present invention provides a high-speed, high-precision temperature signal acquisition system based on FPGA, whose data processing and display parts run on a microcomputer, and whose network interface components use the existing Ethernet physical layer. There is no need to add new hardware equipment, and the deployment process is simple.
[0038] Based on the above reasons, the present invention can be widely promoted in the field of temperature data collection of thin film thermocouples. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0040] Figure 1 This is the overall structural diagram of the high-speed, high-precision temperature signal acquisition system based on FPGA of the present invention.
[0041] Figure 2 It is a flowchart of data processing and display recording of the present invention.
[0042] Figure 3 The invention provides a single-channel adjustable amplifier circuit and a second-order active low-pass filter circuit.
[0043] Figure 4 It is a simplified RTL diagram of the internal program data flow of the FPGA of the present invention. DETAILED DESCRIPTION
[0044] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0045] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0046] like Figure 1 As shown, the present invention provides a high-speed, high-precision temperature signal acquisition system based on FPGA, including: an FPGA system and a microcomputer connected to the FPGA system via Ethernet, wherein:
[0047] The FPGA system is connected to the thin film thermocouple temperature sensor, and is used to receive the transient voltage generated by the thin film thermocouple collected by the thin film thermocouple temperature sensor, and process the transient voltage data; in this embodiment, the FPGA system for collecting the transient voltage of the thin film thermocouple is used as the lower computer.
[0048] The microcomputer is used to receive the transient voltage data of the thin film thermocouple processed by the FPGA system and display and record the data. In this embodiment, a microcomputer running a data processing and display recording software program is used as the host computer. Figure 2 The upper computer program flow is shown.
[0049] In specific implementation, as a preferred embodiment of the present invention, the FPGA system includes a lower computer main control chip, a signal conditioning module, a digital interface module, auxiliary devices, a data bus and a signal bus, wherein:
[0050] The lower computer main control chip is a field programmable gate array (FPGA) for data processing, and is connected to the thin film thermocouple temperature sensor, signal conditioning module and digital interface module through an interface; in this embodiment, the Artix-7 series XC7A35T is used, which contains a large number of programmable logic units, distributed RAM and block RAM, and also provides rich input / output resources for communication with external devices. Figure 4 The figure below is a simplified RTL diagram of the program data flow inside the FPGA.
[0051] The signal conditioning module is used to amplify the transient voltage and temperature signals generated by the thin film thermocouple, and to convert the voltage generated by the thin film thermocouple and the temperature signal represented by the thermocouple into digital quantities after filtering;
[0052] The digital interface module is used to assist the communication between the lower computer main control chip and the microcomputer;
[0053] The auxiliary device is used to provide a stable power supply and a stable clock signal for the lower computer main control chip, the signal conditioning module, and the digital interface module;
[0054] The data bus connects the signal conditioning module and the digital interface module and is used to transmit transient voltage data generated by the thin film thermocouple. In this embodiment, the data bus uses an LVDS interface for communication.
[0055] The signal bus is used to transmit control signals from the lower computer main control chip to the peripheral devices. In this embodiment, the signal transmitted by the signal bus is determined by the program written into the FPGA.
[0056] In specific implementation, as a preferred embodiment of the present invention, the signal conditioning module includes a second-order active filter, an 8-channel gain adjustable amplifier and an 8-channel voltage analog-to-digital converter, wherein:
[0057] The second-order active filter is used to filter out the clutter generated in the environment and eliminate interference; Figure 3 As shown, in this embodiment, the AD8021 chip is used and combined with capacitors and inductors to form a second-order active low-pass filter for thin-film thermocouple signals.
[0058] The 8-channel gain adjustable amplifier is used to amplify the voltage generated by the thin film thermocouple. In this embodiment, the 8-channel gain adjustable amplifier uses 8 pieces of precision instrument amplifier INA828.
[0059] The 8-channel voltage analog-to-digital converter is used to convert the voltage of the thin-film thermocouple amplified by the 8-channel gain adjustable amplifier into a digital quantity. In this embodiment, an AD9257 chip is used, which can collect 8 channels and achieve a high-speed collection speed of 65MSPS and a collection accuracy of 14 bits, achieving the purpose of high-speed and high-precision collection of thermocouple signals.
[0060] In a specific implementation, as a preferred embodiment of the present invention, the digital interface module includes an Ethernet PHY chip and an RJ45 network port, which are used to realize Ethernet communication between the FPGA system and the microcomputer.
[0061] In specific implementation, as a preferred embodiment of the present invention, the auxiliary device includes a 5ppm high-precision low-temperature drift reference voltage source REF6041 and a voltage follower OPA191, wherein:
[0062] The voltage follower OPA191 is an integrated voltage regulator for powering various components, and adopts a low-noise, low-voltage-drop integrated linear voltage regulator LT1963A to provide a stable working power supply for the entire device.
[0063] The present invention provides a temperature signal acquisition method based on the FPGA-based high-speed and high-precision temperature signal acquisition system, comprising:
[0064] S1, assisting the FPGA system to communicate with the microcomputer, receiving the transient voltage generated by the thin film thermocouple collected by the thin film thermocouple temperature sensor, and processing the transient voltage data;
[0065] S2. Receive the processed transient voltage data of the thin film thermocouple and record the data.
[0066] In specific implementation, as a preferred embodiment of the present invention, step S1 specifically includes:
[0067] S11, configure the IP address and port number of the FPGA system and microcomputer for transmission;
[0068] S12, transmitting the acquisition start or stop instruction from the operator;
[0069] S13, receiving thin film thermocouple temperature data from a thin film temperature sensor and a voltage analog-to-digital converter;
[0070] S14, amplifying the transient voltage and temperature signal generated by the thin film thermocouple, filtering and converting the voltage generated by the thin film thermocouple and the temperature signal represented by the thermocouple into digital quantities.
[0071] The embodiment of the present invention also provides a computer-readable storage medium, wherein a computer instruction set is stored in the computer-readable storage medium; when the computer instruction set is executed by a processor, the high-speed and high-precision acquisition method applicable to thin-film thermocouples as described above is implemented. In this embodiment, the computer program is written in Python programming language and can be run on Linux or Windows operating system platforms. Applicable microcomputer hardware architectures include but are not limited to IBM PC compatible machines and single-board microcomputers based on ARM core embedded processors, developed using multi-threaded mode, and data transfer between each step is implemented using thread queues.
[0072] In the embodiments provided in the present application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0073] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0074] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0075] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0076] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A high-speed, high-precision temperature signal acquisition system based on FPGA, characterized in that: include: An FPGA system and a microcomputer connected to the FPGA system via Ethernet, wherein: The FPGA system is connected to the thin film thermocouple temperature sensor, and is used to collect the transient voltage generated by the thin film thermocouple temperature sensor and process the transient voltage data; The microcomputer is used to receive the transient voltage data processed by the FPGA system and to display and record the data.
2. The high-speed, high-precision temperature signal acquisition system based on FPGA according to claim 1, characterized in that: The FPGA system includes a lower computer main control chip, a signal conditioning module, a digital interface module, auxiliary devices, a data bus and a signal bus, wherein: The lower computer main control chip is a field programmable gate array, which is used for data processing and is connected with the thin film thermocouple temperature sensor, the signal conditioning module and the digital interface module through an interface; The signal conditioning module is used to amplify the transient voltage and temperature signals generated by the thin film thermocouple, and to convert the voltage generated by the thin film thermocouple and the temperature signal represented by the thermocouple into digital quantities after filtering; The digital interface module is used to assist the communication between the lower computer main control chip and the microcomputer; The auxiliary device is used to provide a stable power supply and a stable clock signal for the lower computer main control chip, the signal conditioning module, and the digital interface module; The data bus connects the signal conditioning module and the digital interface module and is used to transmit transient voltage data generated by the thin film thermocouple; The signal bus is used to transmit control signals from the lower computer main control chip to the peripheral devices.
3. The high-speed, high-precision temperature signal acquisition system based on FPGA according to claim 2, characterized in that: The signal conditioning module includes a second-order active filter, an 8-channel gain adjustable amplifier and an 8-channel voltage analog-to-digital converter, wherein: The second-order active filter is used to filter out clutter generated in the environment and eliminate interference; The 8-channel gain adjustable amplifier is used to amplify the voltage generated by the thin film thermocouple; The 8-channel voltage analog-to-digital converter is used to convert the voltage of the thin-film thermocouple amplified by the 8-channel gain adjustable amplifier into a digital quantity.
4. A temperature signal acquisition method implemented by the FPGA-based high-speed, high-precision temperature signal acquisition system according to any one of claims 1 to 3, characterized in that: include: S1, assisting the FPGA system to communicate with the microcomputer, receiving the transient voltage generated by the thin film thermocouple collected by the thin film thermocouple temperature sensor, and processing the transient voltage data; S2. Receive the processed transient voltage data generated by the thin film thermocouple, and display and record the data.
5. The temperature signal acquisition method according to claim 4, characterized in that: Step S1 specifically includes: S11, configure the IP address and port number of the FPGA system and microcomputer for transmission; S12, transmitting the acquisition start or stop instruction from the operator; S13, receiving thin film thermocouple temperature data from a thin film temperature sensor and a voltage analog-to-digital converter; S14, amplifying the transient voltage and temperature signal generated by the thin film thermocouple, filtering and converting the voltage generated by the thin film thermocouple and the temperature signal represented by the thermocouple into digital quantities.
6. A storage medium, characterized in that: The storage medium includes a stored program, wherein when the program is run, the method according to any one of claims 4 to 5 is executed.
