A temperature measurement circuit based on NTC thermistor
By introducing a series circuit of NTC thermistor, precision standard resistor and current limiting resistor into the temperature measurement circuit, combined with an analog-to-digital converter and a dual-pole double-throw analog switch, the problems of low resolution and self-heating effect of high temperature measurement are solved. High precision and stability temperature measurement is achieved, reducing hardware cost and noise impact.
Patent Information
- Application Number
- CN201811172499.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-10-09
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2038-10-09
AI Technical Summary
The existing temperature measurement circuit based on NTC thermistor has a low measurement resolution at high temperatures, which cannot solve the problem of conflicting self-heating effect and temperature measurement resolution. It is difficult to achieve high accuracy due to reference source fluctuations, noise and temperature drift. and long-term stability.
Design a series circuit including NTC thermistor, precision standard resistor and current limiting resistor, and adjust the reference voltage and switch current direction by adaptively adjusting the reference voltage and switching current direction using the 2.5V reference voltage of the analog-to-digital converter AD7124 and a dual single-pole double-throw analog switch. , reduces the impact of self-heating effects and noise, uses a low-pass filter to reduce noise, and only requires 1 precision resistor and 1 pair of analog-to-digital converter differential measurement channel.
Significantly improve the temperature measurement accuracy within the full temperature range, reduce measurement errors, solve the contradiction between self-heating effect and resolution, improve long-term measurement stability, reduce hardware costs, and realize fast temperature measurement.
Smart Images

Figure CN108931315B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of ocean observation, and in particular relates to a temperature measurement circuit based on an NTC thermistor used for measuring seawater temperature. Background Art
[0002] Seawater temperature is a physical quantity that indicates the thermal state of seawater. The size and change of seawater temperature is an important factor that restricts and affects the distribution and evolution of hydrological, meteorological, chemical and biological elements. As the most important physical and chemical parameter in seawater, the measurement of temperature is the top priority of marine hydrological observation. Marine scientific research has increasingly higher requirements for the measurement accuracy of seawater temperature. Modern marine surveys require that the seawater temperature be measured with an accuracy of ±0.002°C within the range of -2 to 40°C.
[0003] Modern ocean observation instruments such as temperature-salinity-depth meters (CTDs) generally use negative temperature coefficient (NTC) thermistors as temperature sensors when measuring seawater temperature. The temperature-resistance relationship of NTC thermistors is nonlinear. When used, they need to be calibrated in a high-precision thermostat together with the measurement circuit. After calibration, the measurement accuracy can reach ±0.001℃. The main shortcomings of NTC thermistors in seawater temperature measurement applications are: (1) The resistance of the thermistor is nonlinear with temperature. When the temperature is low, the resistance of the thermistor is large, and the resistance change of the thermistor corresponding to a unit temperature change is large, which is relatively easy to measure; when the temperature is high, the resistance of the thermistor is small, and the resistance change of the thermistor corresponding to a unit temperature change is small, which is more difficult to measure. A higher resolution analog-to-digital converter must be used, which usually means increased power consumption and cost. (2) The resistance of NTC thermistors is large, and they will generate self-heating when powered on, resulting in temperature measurement errors. Especially in the low-temperature environment of deep sea, the measurement error caused by self-heating is relatively large, and the current flowing through must be controlled within 50uA.
[0004] Conventional temperature measurement circuits based on NTC thermistors are classified based on principle into capacitor charging method, voltage division method, Wheatstone bridge method, and proportional measurement method. Among them, the capacitor charging method and voltage division method are relatively simple in principle, easily affected by the fluctuation of the reference source, and have limited accuracy, so they are not widely used in ocean temperature measurement instruments.
[0005] The principle of the Wheatstone bridge method is as follows Figure 1 As shown, R T It is a thermistor, which forms a bridge with precision resistors R1, R2, and R3. The reference voltage is obtained from the reference voltage, eliminating the influence of the reference source. Its main problem is that it cannot solve the self-heating error problem, and the measurement accuracy is affected by the three precision resistors. The temperature measurement accuracy is also low and it is difficult to reach 0.01℃.
[0006] The proportional temperature measurement method is a circuit form widely used in ocean temperature measurement instruments at home and abroad. Its basic principle is as follows: Figure 2 As shown, the circuit collects the standard resistance R S and thermistor R T The signal is converted into a proportional value to calculate the resistance of the thermistor, so it is not affected by the fluctuation of the reference source. At the same time, the measurement circuit adds two current limiting resistors, R1 and R2, to avoid the problem of self-heating error. However, it has two main disadvantages: (1) After adding the current limiting resistor, the temperature signal is smaller and a higher analog-to-digital conversion resolution is required. (2) The analog-to-digital converter is required to provide two pairs of differential measurement channels and perform two analog-to-digital conversions, which doubles the measurement time and is not conducive to fast temperature measurement.
[0007] Therefore, the conventional temperature measurement circuit based on NTC thermistor has the following defects:
[0008] (1) It is unable to solve the problem of relatively low temperature measurement resolution at high temperatures;
[0009] (2) The contradiction between self-heating effect and temperature measurement resolution cannot be resolved. Conventional temperature measurement circuits reduce the self-heating effect by reducing the reference voltage or increasing the current limiting resistor, which also means that the temperature signal becomes smaller, resulting in a decrease in temperature measurement resolution.
[0010] (3) The measurement accuracy and long-term measurement stability of temperature measurement are not only affected by the analog-to-digital converter, but also by the noise, temperature drift, and time drift of the reference source and multiple precision resistors. Summary of the invention
[0011] The present invention provides a temperature measurement circuit based on an NTC thermistor, which significantly improves the temperature measurement accuracy and reduces the measurement error within the full temperature range.
[0012] To achieve the above object, the technical solution of the present invention is achieved as follows:
[0013] A temperature measurement circuit based on NTC thermistor, comprising thermistors R T , precision standard resistor R S , current limiting resistor R L The series circuit uses the 2.5V reference voltage of the analog-to-digital converter AD7124, the thermistor R T And precision standard resistor R S The sum of the voltages at both ends is used as a reference voltage signal to be connected to the reference voltage input pins Vref+ and Vref- of the analog-to-digital converter AD7124. TThe thermistor voltage signal is connected to the differential input pins AIN1 and AIN2 of the analog-to-digital converter AD7124.
[0014] Furthermore, the 2.5V reference voltage is connected to the series circuit through a dual-way single-pole double-throw analog switch U1, the 2.5V reference voltage is connected to the common pin COM1 of the first switch of the dual-way single-pole double-throw analog switch U1, and the common pin COM2 of the second switch of U1 is grounded; the normally closed pin NC1 of the first switch and the normally open pin NO2 of the second switch of the dual-way single-pole double-throw analog switch U1 are both connected to the thermistor R of the series circuit. T On the other hand, the normally open pin NO1 of the first switch and the normally closed pin NC2 of the second switch of the dual-way single-pole double-throw analog switch U1 are both connected to the current limiting resistor R L side; the single-chip microcomputer controls the switch control pins IN1 and IN2 of the dual-way single-pole double-throw analog switch U1 to switch the direction of the two switches.
[0015] Furthermore, the thermistor R T And precision standard resistor R S The reference voltage signals at both ends are connected to the reference voltage input pin of the analog-to-digital converter AD7124 through a dual-channel single-pole double-throw analog switch U2; the thermistor R T The end is connected to the common pin COM1 of the first switch of the dual-channel single-pole double-throw analog switch U2, and the precision standard resistor R S The end is connected to the common pin COM2 of the second switch of the dual single-pole double-throw analog switch U2; the normally closed pin NC1 of the first switch and the normally open pin NO2 of the second switch of the dual single-pole double-throw analog switch U2 are both connected to the reference voltage input pin Vref+ of the analog-to-digital converter AD7124, and the normally open pin NO1 of the first switch and the normally closed pin NC2 of the second switch of the dual single-pole double-throw analog switch U2 are both connected to the reference voltage input pin Vref- of the analog-to-digital converter AD7124; the single-chip microcomputer controls the switch control pins IN1 and IN2 of the dual single-pole double-throw analog switch U2 to switch the directions of the two switches.
[0016] Furthermore, before being connected to the reference voltage input pins Vref+ and Vref- of the analog-to-digital converter AD7124, the reference voltage signal passes through a low-pass filter composed of resistor R1, resistor R2, capacitor C1, capacitor C2, and capacitor C12, wherein resistor R1 is set on the line connecting pin Vref+, resistor R2 is set on the line connecting pin Vref-, capacitor C1 and capacitor C2 are connected in series and then connected in parallel with capacitor C12, and connected between the input pins Vref+ and Vref-; the connection point of capacitor C1 and capacitor C2 is grounded.
[0017] Furthermore, the thermistor R T The thermistor voltage signal passes through a low-pass filter composed of resistors R3, R4, C3, C4 and C34 before being connected to the differential input pins AIN1 and AIN2 of the analog-to-digital converter AD7124, wherein the resistor R3 is arranged on the line connected to the pin AIN1, the resistor R4 is arranged on the line connected to the pin AIN2, the capacitors C3 and C4 are connected in series and then connected in parallel with the capacitor C34, and are connected between the input pins AIN1 and AIN2; the connection point of the capacitors C3 and C4 is grounded.
[0018] Compared with the prior art, the present invention has the following beneficial effects:
[0019] (1) The reference voltage of the measurement circuit proposed in the present invention can be adaptively adjusted according to the resistance value of the NTC thermistor, ensuring that it can achieve a higher measurement resolution within the ocean temperature range; after adopting the temperature measurement circuit proposed in the present invention, the temperature measurement accuracy can be greatly improved within the entire temperature range, and the measurement error can be reduced;
[0020] (2) When the current limiting resistor is added to reduce the self-heating effect in the measurement circuit proposed by the present invention, the temperature measurement accuracy and resolution are not affected, thus solving the contradiction between the self-heating effect and the temperature measurement resolution. After adopting the temperature measurement circuit proposed by the present invention, the temperature of the environment itself can be measured with maximum accuracy without being affected by the self-heating effect of the thermistor.
[0021] (3) The measurement circuit proposed in the present invention uses a dual-channel single-pole double-throw analog switch to periodically switch the direction of the current flowing through the thermistor, thereby greatly reducing the 1 / f noise, offset drift and parasitic thermocouple effect of the temperature measurement circuit, slowing down the drift of the thermistor resistance value, and ensuring the long-term measurement accuracy of the temperature measurement circuit;
[0022] (4) The temperature measurement accuracy and long-term measurement stability of the measurement circuit proposed in the present invention depend only on the analog-to-digital converter itself and one precision resistor, and are not affected by reference voltage noise, temperature drift, and time drift. The temperature measurement circuit proposed in the present invention does not require a high-precision reference voltage or current source, and only requires one precision resistor and one pair of differential measurement channels of the analog-to-digital converter, which can save hardware costs compared to traditional temperature measurement circuits.
[0023] (5) Compared with the traditional proportional temperature measurement circuit, the temperature measurement circuit proposed in the invention only needs to perform one analog-to-digital conversion, which reduces the conversion time and is conducive to rapid temperature measurement. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 It is a schematic diagram of the temperature measurement principle of the Wheatstone bridge method in the prior art;
[0025] Figure 2 It is a schematic diagram of a proportional temperature measurement circuit in the prior art;
[0026] Figure 3 is a circuit diagram of an embodiment of the present invention;
[0027] Figure 4 4 is a resistance-temperature relationship diagram of the thermistor according to an embodiment of the present invention. DETAILED DESCRIPTION
[0028] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.
[0029] The technical solution of the present invention is further described in detail below in conjunction with the accompanying drawings:
[0030] The present invention proposes a temperature measurement circuit based on NTC thermistor, the principle is as follows Figure 3 As shown, U1 and U2 are dual-channel single-pole double-throw analog switches TS3A24159, R T is the thermistor, R S is a precision standard resistor, R L It is a current limiting resistor to prevent thermistor from self-heating. R1, C1, R2, C2, and C12 together form a low-pass filter for the reference voltage signal to filter out the common-mode and differential-mode noise of the reference voltage signal. R3, C3, R4, C4, and C34 together form a low-pass filter for the thermistor voltage signal to filter out the common-mode and differential-mode noise of the thermistor signal. In this circuit, the reference voltage is designed to be the sum of the voltages across the thermistor and the standard resistor. The reference voltage signal is connected to the reference voltage input pin (Vref+, Vref-) of the analog-to-digital converter AD7124 after low-pass filtering, and the thermistor voltage signal is connected to the differential input pin (AIN1, AIN2) of the analog-to-digital converter AD7124 after low-pass filtering.
[0031] The temperature measurement circuit uses the 2.5V reference voltage of the analog-to-digital converter AD7124. The reference voltage is connected to the common pin 3 of the first switch of U1, and the common pin 9 of the second switch of U1 is grounded. The single-chip microcomputer controls the switch control pins (4, 8) of U1 to switch the direction of the two switches. When the level is low, the reference voltage is loaded from the common pin 3 of U1 to the normally closed pin 5 of U1. After the current passes through the thermistor, the precision standard resistor and the current limiting resistor, it flows from the normally closed pin 7 of U1 to the common pin 9 of U1 and then to the ground; when the level is high, the reference voltage is loaded from the common pin 3 of U1 to the normally open pin 2 of U1. After the current passes through the current limiting resistor, the precision standard resistor and the thermistor, it flows from the normally open pin 10 of U1 to the common pin 9 of U1 and then to the ground. The thermistor signal is connected to the differential measurement pin of the analog-to-digital converter AD7124 after passing through the RC low-pass filter.
[0032] The reference voltage is taken from both ends of the thermistor and the standard resistor. To ensure that the reference voltage remains positive when the circuit is switched, the second dual-channel single-pole double-throw analog switch U2 is used to synchronously switch the direction of the reference voltage. The switch control pins (4, 8) of U2 are also controlled by the single-chip microcomputer. When the level is low, the "reference voltage +" flows from the U2 common pin 3 to the U2 normally closed pin 5, and the "reference voltage -" flows from the U2 common pin 9 to the U2 normally closed pin 7; when the level is high, the "reference voltage +" flows from the U2 common pin 3 to the U2 normally open pin 2, and the "reference voltage -" flows from the U2 common pin 9 to the U2 normally open pin 10. The "reference voltage +" and "reference voltage -" are connected to the reference voltage pins of the analog-to-digital converter AD7124 after passing through the RC low-pass filter.
[0033] After the AD7124 analog-to-digital converter is set to enable the input buffer, its input impedance is very high, and the typical input current is only at the 1nA level. Therefore, the current absorbed by the input of the analog-to-digital converter can be ignored, and the current on the thermistor is considered to flow entirely through the standard resistor. According to the circuit voltage division principle:
[0034]
[0035] Among them, V RT is the thermistor voltage, V RS is the reference voltage, R T is the thermistor resistance, R S is the standard resistance value. From the principle of analog-to-digital converter implementation, the conversion result is the ratio of thermistor voltage to the reference voltage:
[0036]
[0037] Where Code is the conversion value of the analog-to-digital converter, Gain is the amplification factor (Gain = 1), and N is the number of bits of the analog-to-digital converter (N = 24). The thermistor resistance calculation formula can be further derived:
[0038]
[0039] It can be seen from the calculation formula (1) that the reference voltage can be adaptively adjusted according to the resistance value of the NTC thermistor. When the temperature is high, the resistance value of the thermistor becomes smaller, and the reference voltage is reduced accordingly, thereby improving the measurement resolution in the high temperature environment; when the temperature is low, the resistance value of the thermistor is large, and the reference voltage is increased accordingly, thereby ensuring that it can achieve a higher measurement resolution in all temperature ranges.
[0040] It can be seen from the calculation formula (3) that the current limiting resistor R does not appear when calculating the thermistor resistance. L, indicating that when the current limiting resistor is added to reduce the self-heating effect, the measurement accuracy and resolution of the thermistor resistance are not affected.
[0041] From the calculation formula (3), it can be seen that the measurement accuracy and long-term measurement stability of thermistor resistance only depend on the analog-to-digital converter itself (Code) and a standard resistor (R S ), is independent of the reference voltage, and in principle avoids the influence of reference voltage noise, temperature drift, and time drift.
[0042] To reduce the self-heating effect, the current flowing through the measurement circuit should be less than 50uA, and the reference voltage should be greater than the minimum input voltage requirement (1V) of the analog-to-digital converter AD7124. Therefore, the values of the standard resistor and the current-limiting resistor should meet two restrictions:
[0043]
[0044]
[0045] Where Vc is the reference voltage of 2.5v, and the thermistor resistance value varies from about 5 to 25kΩ. In order to obtain the best measurement performance of the circuit proposed in the present invention, the value of the standard resistor should be the minimum value that meets the above two conditions, and the value of the current limiting resistor should be the maximum value that meets the above two conditions. S The value is 15kΩ, the current limiting resistor R L The value is 30kΩ. In addition to the reasons of the analog-to-digital converter itself, the accuracy of this temperature measurement circuit only depends on the standard resistor R S In order to avoid temperature drift and long-term stability, we choose precision metal foil (Bulk Metal) resistors as standard resistors with a temperature drift coefficient of only 0.1ppm / ℃ (-25-75℃ environment) and a long-term stability of ±0.005% (0.04W, 70℃, 2000 hours).
[0046] After the thermistor is packaged, it is calibrated together with the measuring circuit in a high-precision constant temperature seawater tank. After calibration, the thermistor resistance can be converted into a temperature value. The constant temperature seawater tank uses a first-class platinum resistor and a precision temperature measuring bridge that have been metrologically verified as the temperature standard. The temperature field uniformity and stability reach 0.0005°C. The calibration formula uses an improved form of the Steinhart-Hart equation:
[0047]
[0048] The measurement performance of the temperature measurement circuit based on NTC thermistor proposed by the present invention is now described by way of example. Figure 4This is a typical thermistor resistance-temperature relationship diagram. It can be seen from the figure that the resistance of thermistor decreases exponentially with temperature. When the ambient temperature is low, the resistance of the thermistor is large, and the resistance change of the thermistor corresponding to a unit temperature change is large, which is relatively easy to measure; when the ambient temperature is high, the resistance of the thermistor is small, and the resistance change of the thermistor corresponding to a unit temperature change is small, which requires higher measurement accuracy. How to ensure the measurement resolution of the measurement circuit in a high temperature environment is a difficulty of traditional circuits.
[0049] The measurement performance of the temperature measurement circuit based on NTC thermistor proposed in the present invention is shown in Table 1. The table lists the analog-to-digital converter accuracy required to distinguish a temperature change of 0.001°C at each temperature point. Theoretical calculations show that the temperature measurement circuit proposed in the present invention has high measurement performance at each temperature point under the premise of eliminating the self-heating effect. Among them, when the thermistor is 22500Ω, the corresponding temperature is -2.046°C, and the measurement circuit only needs a 16.4-bit analog-to-digital converter accuracy to distinguish a temperature change of 0.001°C. When the thermistor is 4000Ω, the corresponding temperature is 40.296°C, and the measurement circuit only needs a 17.4-bit analog-to-digital converter accuracy to distinguish a temperature change of 0.001°C. Theoretical calculations show that the measurement circuit has low requirements for the analog-to-digital converter, and using an ordinary 18-bit analog-to-digital converter is sufficient to achieve high measurement accuracy.
[0050] Table 1 Temperature measurement circuit measurement performance calculation table
[0051]
[0052] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A temperature measurement circuit based on NTC thermistor, characterized in that: A series circuit comprising a thermistor RT, a precision standard resistor RS, and a current limiting resistor RL connected in series in sequence; the series circuit uses a 2.5V reference voltage provided by an analog-to-digital converter AD7124, and the sum of the voltages across the thermistor RT and the precision standard resistor RS is connected as a reference voltage signal to the reference voltage input pins Vref+ and Vref- of the analog-to-digital converter AD7124, and the thermistor voltage signal of the thermistor RT is connected to the differential input pins AIN1 and AIN2 of the analog-to-digital converter AD7124; The 2.5V reference voltage is connected to the series circuit through a dual-way single-pole double-throw analog switch U1, and the 2.5V reference voltage is connected to the common pin COM1 of the first switch of the dual-way single-pole double-throw analog switch U1, and the common pin COM2 of the second switch of U1 is grounded; the normally closed pin NC1 of the first switch and the normally open pin NO2 of the second switch of the dual-way single-pole double-throw analog switch U1 are both connected to the thermistor RT side of the series circuit, and the normally open pin NO1 of the first switch and the normally closed pin NC2 of the second switch of the dual-way single-pole double-throw analog switch U1 are both connected to the current-limiting resistor RL side of the series circuit; the single-chip microcomputer controls the switch control pins IN1 and IN2 of the dual-way single-pole double-throw analog switch U1 to switch the directions of the two switches; The reference voltage signals at both ends of the thermistor RT and the precision standard resistor RS are connected to the reference voltage input pin of the analog-to-digital converter AD7124 through the dual-way single-pole double-throw analog switch U2; the thermistor RT end is connected to the common pin COM1 of the first switch of the dual-way single-pole double-throw analog switch U2, and the precision standard resistor RS end is connected to the common pin COM2 of the second switch of the dual-way single-pole double-throw analog switch U2; the normally closed pin NC1 of the first switch and the normally open pin NO2 of the second switch of the dual-way single-pole double-throw analog switch U2 are both connected to the reference voltage input pin Vref+ of the analog-to-digital converter AD7124, and the normally open pin NO1 of the first switch and the normally closed pin NC2 of the second switch of the dual-way single-pole double-throw analog switch U2 are both connected to the reference voltage input pin Vref- of the analog-to-digital converter AD7124; the single-chip microcomputer controls the switch control pins IN1 and IN2 of the dual-way single-pole double-throw analog switch U2 to switch the directions of the two switches; Before being connected to the reference voltage input pins Vref+ and Vref- of the analog-to-digital converter AD7124, the reference voltage signal passes through a low-pass filter composed of a resistor R1, a resistor R2, a capacitor C1, a capacitor C2, and a capacitor C12, wherein the resistor R1 is arranged on a line connected to the pin Vref+, the resistor R2 is arranged on a line connected to the pin Vref-, the capacitors C1 and C2 are connected in series and then connected in parallel with the capacitor C12, and connected between the input pins Vref+ and Vref-; the connection point between the capacitors C1 and C2 is grounded; The thermistor voltage signal of the thermistor RT passes through a low-pass filter composed of resistors R3, R4, C3, C4 and C34 before being connected to the differential input pins AIN1 and AIN2 of the analog-to-digital converter AD7124, wherein the resistor R3 is arranged on a line connected to the pin AIN1, the resistor R4 is arranged on a line connected to the pin AIN2, the capacitors C3 and C4 are connected in series and then connected in parallel with the capacitor C34, and are connected between the input pins AIN1 and AIN2; and the connection point of the capacitors C3 and C4 is grounded.
Citation Information
Cited By
Differential proportion temperature measuring circuit and method based on bidirectional constant voltage driving
CN117647324A
