The measurement range, measurement method and measurement accuracy of most temperature measurement tools on the market are fixed at the factory. Their measurement method is single, the measurement range is fixed, and the sensing method can only adapt to certain occasions. Therefore, they cannot be well applied to some occasions with multiple measurement methods and measurement ranges. In addition, the data storage of the data acquisition card has been solidified, which cannot be applied to some occasions with special requirements. This paper uses field programmable gate array FPGA to process data, and the VHDL program can be modified online. The multi-mode temperature measurement system has extremely strong plasticity, and its program and lookup database can be improved and updated in a timely manner, so that the performance of the system can be upgraded and the system can meet the needs of different occasions.
1 Hardware design of multi-mode temperature measurement system
The multi-mode temperature measurement system uses three types of temperature sensors: PN junction (IN4007), thermal resistor (PT100), and thermocouple (nickel-chromium-nickel-silicon K type) for temperature measurement. The PN junction (IN4007) is connected to a single-arm DC bridge (unbalanced), and the output of the bridge is connected to an amplifier (amplified 100 times), and then connected to a 12-bit analog/digital converter through a multi-way analog switch; the thermal resistor (PT100) is connected to the DC bridge in a three-wire system, and the output of the bridge is connected to an amplifier (amplified 70 times), and then connected to a 12-bit analog/digital converter through a multi-way analog switch; the thermocouple (nickel-chromium-nickel-silicon K type) is connected to the cold end compensator (the four bridge arms of the homemade bridge are all 1 Ω resistors, three of which are wound with manganese copper wire and one with copper wire), and its output is connected to an amplifier (amplified 200 times), and then connected to a 12-bit analog/digital converter through a multi-way analog switch. The outputs of the three sensors are finally converted into a voltage of 0 to 10 V, which meets the conversion requirements of the 12-bit analog/digital converter. The converted data is sent to the FPGA, which then processes the data and displays the output. The hardware block diagram of the multi-mode temperature measurement system is shown in Figure 1.
[page]
1.1 PT100 thermal resistor temperature measurement principle hardware circuitSince the PT100 thermal resistor generates a resistance signal as the temperature changes, the resistance value increases when the temperature rises. Therefore, the thermal resistor must be connected into a single-arm DC bridge to convert its resistance change into a voltage change signal. Then the voltage signal is amplified to the range of 0-10 V and sent to the A/D conversion circuit. The circuit diagram is shown in Figure 2.
1.2 12-bit analog/digital converter ADC1674
In order to meet the measurement accuracy requirements, this multi-mode temperature measurement system uses a 12-bit A/D converter and a unipolar input method. Thus, the temperature can be accurate to the second decimal place. The circuit schematic is shown in Figure 3.
1.3 Single-chip microcomputer control circuit (AT89C51)
In order to reduce the program burden of FPGA, its peripheral control circuit is controlled by a single-chip microcomputer. The single-chip microcomputer controls the multi-channel analog switch (CD4051) and the scale table memory (2716) and FPGA, so that the FPGA controls the processing of different measurement data and the temperature display output. The circuit schematic is shown in Figure 4.
1.4 FPGA Programmable Gate Array
This multi-mode temperature measurement system uses FPGA programmable gate array to process the data after A/D conversion, compares or calculates the temperature data through internal table lookup, and then decodes and outputs the temperature value. The circuit schematic is shown in Figure 5.
2 Multi-mode temperature measurement system software design
The multi-mode temperature measurement system software is divided into single-chip microcomputer program design and FPGA program design. The single-chip microcomputer program is written in assembly language to realize the control of peripheral circuits; the FPGA is written in VHDL language to realize data processing and temperature display output.
2.1 Single-chip microcomputer control
The single-chip microcomputer control source program is as follows:
[page]
2.2 FPGA data processing
In the thermocouple or thermal resistor measurement mode, the FPGA searches for the data of the corresponding scale table in turn and compares and calculates with the data converted by A/D, and finally obtains its temperature value. The program flow chart is omitted. In the PN junction measurement mode, the FPGA calculates the data according to the temperature voltage change function of the PN junction (for every 1°C increase in temperature, the forward conduction voltage drop of the PN junction decreases by 1 mV), thereby obtaining the corresponding temperature value; the program flow chart is shown in Figure 6.
3 Conclusion
From system design to debugging, the measurement system has high requirements for signal and circuit stability. At the beginning, the system output display was very unstable due to neglect of stability. Finally, the measurement conversion circuit was separated from the system processing circuit to improve the problem. The temperature measurement system can realize temperature measurement in three ways: PN junction, thermal resistor (PT100), and thermocouple (nickel-chromium-nickel-silicon K type). It can meet the needs of different measurement ranges, different measurement accuracy and different occasions. This design uses EDA as a development tool, with single-chip microcomputer control, making it possible to cooperate with single-chip microcomputer and EDA. The system uses single-chip microcomputer for simpler implementation, and EDA for simpler implementation. For example, keyboard operation is much simpler with single-chip microcomputer than EDA, which makes the whole design have a newer design idea. The use of 12-bit ADC analog/digital converter has greatly improved the measurement accuracy. Field programmable gate array FPGA is used for data processing. Its extremely high program execution speed makes the system respond faster and more accurately. This article can be used for multi-mode temperature measurement with high accuracy and speed requirements.
Previous article:Design of hardware-in-the-loop real-time simulation test platform for fuel cell vehicle controller
Next article:Realization of fast reactive current detection scheme based on 87C196
- Popular Resources
- Popular amplifiers
- IC packaging basics and engineering design examples
- Chip Manufacturing: A Practical Tutorial on Semiconductor Process Technology (Sixth Edition)
- Multisim Circuit System Design and Simulation Tutorial
- Nuclear Magnetic Resonance (NMR) Spectroscopy for the In Situ Measurement of Vapor−Liquid Equilibria
- Keysight Technologies Helps Samsung Electronics Successfully Validate FiRa® 2.0 Safe Distance Measurement Test Case
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- Seizing the Opportunities in the Chinese Application Market: NI's Challenges and Answers
- Tektronix Launches Breakthrough Power Measurement Tools to Accelerate Innovation as Global Electrification Accelerates
- Not all oscilloscopes are created equal: Why ADCs and low noise floor matter
- Enable TekHSI high-speed interface function to accelerate the remote transmission of waveform data
- How to measure the quality of soft start thyristor
- How to use a multimeter to judge whether a soft starter is good or bad
- What are the advantages and disadvantages of non-contact temperature sensors?
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- 【Ended】 R&S Live 【PCI Express Gen 3 Conformance Test】
- Live broadcast at 10 am today [Renesas Electronics Secure IoT Suite provides you with secure cloud connection solutions
- Xun developed Qt for Android for i.MX6ULL Terminator QT application
- Applications of RF Transformers
- RF FilterRF knowledge classics to understand
- 【NXP Rapid IoT Review】+Hello world!
- 5G miniaturized terminal and base station antenna technology
- DIY retro game console based on Raspberry Pi Zero
- Transistor static operating point
- The History of DSP and Why No One Mentions DSP Anymore