1 Introduction
At present, the working temperature of industrial operations is very wide. If you want to accurately measure the temperature, you need to use an intelligent temperature controller. Therefore, the intelligent temperature controller uses a thermistor plus a constant current source as a temperature sensor, collects the temperature signal in the form of a voltage signal, converts it through an amplified A/D converter, transmits it to the microcontroller for processing, and then obtains the temperature value and displays it on the digital tube. The instrument has fast processing speed, high accuracy, and is widely used in fields such as high-temperature furnaces, industrial metallurgy, and water temperature measurement.
2 System hardware design
Figure 1 is the structural block diagram of the system hardware design, which is mainly composed of sensors, displays, A/D conversion sampling, single-chip control unit, serial port communication, human-computer interaction and other modules.
2.1 Sensor module
The sensor module uses a PT-100 thermistor, whose resistance increases with temperature. The PT-100 plus a constant current source has a measurement temperature range affected by the temperature resistance of the PT-100. The range is -50℃~620℃. PT-100 is a thermistor with a metal front end and a wire at the back end. If it is wrapped with anti-corrosion and high-temperature resistant materials, it can be used as a probe to probe into a high-temperature furnace or a low-temperature ice cellar to achieve temperature measurement. The PT-100 thermistor comes with two wires. Changing its two wires to a four-wire measurement can effectively eliminate the influence of lead resistance (i.e., the connecting wire or cable between the sensor signal and the remote secondary instrument), making the measurement result more accurate. Figure 2 is the sensor front-end interface circuit. The regulator TL431 provides a reference voltage V-ref of 2.491 V (the reference voltage range is 2.440~2.550 V) to the constant current source in the circuit. Here, a voltage of 2.491 V is selected to facilitate subsequent digital quantity calculations. Connect the reference power supply to amplifier 0P07 to provide a constant current source for PT-100.
Since the PT-100 used in this system design is a passive sensor, a sensor interface circuit needs to be designed. This interface circuit can provide a constant current source to convert the resistance value into a voltage value. Its constant current value is 2.491 V, 2.5 kΩ≈1 mA. R2 in Figure 2 is a precision resistor that can provide a stable constant current value without temperature drift. Software filtering is added to the algorithm to minimize external interference. [page]
2.2 A/D converter sampling moduleThe sampling module of the probe-type intelligent temperature controller is mainly composed of the reference device A/D converter AD623 and AD7705. Since the collected temperature sensor voltage is in the millivolt level, it needs to be completed through the AD623 with amplification function. Its voltage amplification factor is determined by RC, and the amplification factor G=(100 kΩ/RG)+1. Since the sensor output voltage is 80~320 mV and the reference voltage is 2.491 V, RG is selected as 20 kΩ, and the amplification factor G≈6. After amplification by the operational amplifier, its output voltage signal is 0.48~1.92V, which fully meets the requirement that the input voltage is not higher than the reference voltage. Figure 3 is the signal amplification circuit.
2.3 Display module
As shown in Figure 4, a serial input/parallel output latch 74HC595 is connected between the single-chip microcomputer and the LED display to drive the LED light. The single-chip microcomputer I/O interface controls the bit selection of the four LED digital tubes, using the saturation and cutoff characteristics of the transistor. The digital tube is connected to the transistor through four bit selection lines. The single-chip microcomputer I/0 interface shifts 8-bit binary numbers into the shift register bit by bit. When the rising edge signal is received, the memory shifts in 1-bit binary numbers. After the memory is full, the single-chip microcomputer controls the memory to output 8-bit binary numbers and light up the corresponding digital tubes, which can reduce the consumption of single-chip microcomputer resources.
3 System software design
3.1 Temperature algorithm
Figure 5 is a signal conversion block diagram. The digital quantity can be obtained from the resistance value. On the contrary, the single-chip microcomputer processes the digital quantity sampled by the A/D converter. The input analog voltage value can be calculated by the formula 2.5×(digital quantity/65.536), and the resistance value can be inversely deduced. Since the resistance value and temperature of the thermistor PT-100 have a piecewise nearly linear characteristic, and referring to the comparison table of PT-100 resistance value and temperature, the temperature value is divided into a group of 10℃ and the corresponding resistance value is calculated to find its slope, and the corresponding temperature value can be calculated according to the digital quantity sampled by the single-chip microcomputer.
[page]
3.2 Program flow design
Figure 6 shows the main program flow of the system software design, and its subroutines include digital-to-analog conversion, key interruption, resistance value linear conversion, etc. The intelligent temperature controller uses VB to write the host computer program. The mainboard and the host computer are connected by serial port. The experimental data is observed through the host computer and is not limited by the storage range. The VB program is connected to the serial port of the lower computer through the MSComm control, and the collected data is transmitted to the host computer, and then stored in the hard disk.
4 Experimental results
The values collected by the host computer are stored in the computer, and the results listed in Table 1 are obtained after sorting. The intelligent temperature controller uses software filtering, delay de-jittering and other methods to display the program, so that the temperature value is displayed stably. The data shows that the measurement error does not exceed 1%, which can be used in those application fields with high requirements on environment and accuracy.
5 Conclusion
In harsh environments, the probe-type intelligent temperature instrument can accurately measure the temperature. Under the condition of ensuring the normal operation of the single-chip microcomputer and its components, the probe-type temperature sensor can measure the temperature in harsh environments such as furnaces and ice caves. This temperature sensor, which does not have high requirements on the outside world, can be used separately from the central processing unit, without considering whether the working environment of the temperature controller affects the operation of the mainboard.
Previous article:Design of automatic tester for digital circuit boards of electronic equipment
Next article:Design of Fieldbus Instrument Circuit Based on SIM1-2
- 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
- New breakthrough! Ultra-fast memory accelerates Intel Xeon 6-core processors
- New breakthrough! Ultra-fast memory accelerates Intel Xeon 6-core processors
- Consolidating vRAN sites onto a single server helps operators reduce total cost of ownership
- Consolidating vRAN sites onto a single server helps operators reduce total cost of ownership
- 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!
- Free review: APM32E103VET6S MINI development board with the highest performance of the JIHAI M3 core is here
- Unboxing the Gaoyun FPGA Development Board
- Award-winning live broadcast: Infineon Industrial Semiconductor Application in the Motor Drive Industry Live Broadcast Data Collection
- Raspberry Pi is expected to be launched in the spring with a valuation of more than $500 million
- How to understand the power consumption of transistors
- Common usage of MSP430 watchdog and writing method of interrupt function
- OVP Circuit Design in Buck-Boost Circuit--TPS92692-Q1
- Free e-book download | "Negative Feedback and Operational Amplifier Basics" & "Frequency Characteristics and Filters of Op Amp Circuits"
- High frequency induction welding system based on GD32
- Design of ADSL Low Noise Preamplifier Receiver