CN106017717B - Thermistor temperature sensor - Google Patents

Thermistor temperature sensor Download PDF

Info

Publication number
CN106017717B
CN106017717B CN201610656828.1A CN201610656828A CN106017717B CN 106017717 B CN106017717 B CN 106017717B CN 201610656828 A CN201610656828 A CN 201610656828A CN 106017717 B CN106017717 B CN 106017717B
Authority
CN
China
Prior art keywords
thermistor
electronic switch
capacitor
digital clock
comparator cmp
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610656828.1A
Other languages
Chinese (zh)
Other versions
CN106017717A (en
Inventor
肖国选
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Logistics Electronic Technology Co., Ltd.
Original Assignee
Nanjing Logistics Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Logistics Electronic Technology Co Ltd filed Critical Nanjing Logistics Electronic Technology Co Ltd
Priority to CN201610656828.1A priority Critical patent/CN106017717B/en
Publication of CN106017717A publication Critical patent/CN106017717A/en
Application granted granted Critical
Publication of CN106017717B publication Critical patent/CN106017717B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K7/00Measuring temperature based on the use of electric or magnetic elements directly sensitive to heat ; Power supply therefor, e.g. using thermoelectric elements
    • G01K7/16Measuring temperature based on the use of electric or magnetic elements directly sensitive to heat ; Power supply therefor, e.g. using thermoelectric elements using resistive elements
    • G01K7/22Measuring temperature based on the use of electric or magnetic elements directly sensitive to heat ; Power supply therefor, e.g. using thermoelectric elements using resistive elements the element being a non-linear resistance, e.g. thermistor
    • G01K7/24Measuring temperature based on the use of electric or magnetic elements directly sensitive to heat ; Power supply therefor, e.g. using thermoelectric elements using resistive elements the element being a non-linear resistance, e.g. thermistor in a specially-adapted circuit, e.g. bridge circuit

Abstract

The present invention provides a kind of thermistor temperature sensor, using thermistor as temperature-sensing element (device), the thermistor is connected in series to the capacitor, transient process based on single order resistance-capacitance circuit in charge or discharge, a timing only is carried out to the charging process of the resistance-capacitance circuit or discharge process using timer, according to the timing result of timer at this time, the resistivity-temperature characteristics data of the thermistor of storage are compared by searching in memory, and then determine the temperature value of measurement.

Description

Thermistor temperature sensor
Technical field
The present invention provides a kind of thermistor temperature sensor, and the technology for being related to being detected temperature using thermistor is led Domain.
Background technique
Thermistor is a kind of common temperature-sensing element (device), it is cheap, temperature sensitivity is high, such as negative temperature coefficient heat Quick resistance NTC, but its resistivity-temperature characteristics be it is nonlinear, this causes no small trouble to thermometric, it is common practice to temperature-sensitive electricity Resistance and other linear resistance serial or parallel connections, it is non-linear to reduce its;Or the end voltage of thermistor is converted to pair through A/D The digital signal answered compares the resistance Wen Te of the thermistor of storage by searching in memory then according to the digital signal Property data, and then determine measurement temperature value, this method thermometric program is simple, due to use A/D converter, so to thermometric Reference voltage used requires very high, that is to say, that reference voltage used in the precision heavy dependence of thermometric;There are also a kind of temperature-sensitives Resistance temperature measurement method is the transient process based on single order resistance-capacitance circuit, it respectively to resistance-capacitance circuit carry out chargometer when and discharge gage When, the coding of thermistor respective resistance values is obtained by calculation according to the timing result twice of timer, then by storing The resistivity-temperature characteristics data for comparing the thermistor of storage are searched in device, and then determine the temperature value of measurement, the thermometric essence of this method Degree is high and unrelated with voltage, but the thermometric time is long, and thermometric program is more, and temperature measurement circuit is complicated.
Summary of the invention
According to the above-mentioned deficiencies of the prior art, the technical problem to be solved by the present invention is provide a kind of temperature measurement accuracy it is high and The simple thermistor temperature sensor of temp measuring method.
The present invention solves scheme used by its technical problem: the present invention is using thermistor as the sensitive member of temperature Part is connected in series to the capacitor the thermistor, based on the transient process of single order resistance-capacitance circuit, using timer only to the resistance-capacitance circuit Charging process or discharge process carry out a timing, according to the timing result of timer at this time, by searching in memory The resistivity-temperature characteristics data of the thermistor of storage are compared, and then determine the temperature value of measurement.
The present invention provides a kind of thermistor temperature sensors, it includes thermistor RT, capacitor C, alternative electricity Sub switch K, electronic switch KD, controller, memory, digital clock, comparator CMP, serial ports and reference voltage Vr, wherein two Selecting an electronic switch K includes two input terminals and a common end, and a certain moment, the common end can only be with one of input Termination is logical, and disconnects with another input terminal, sensing element of the thermistor RT as measurement temperature, stores temperature-sensitive in memory The resistivity-temperature characteristics data of resistance RT, comparator CMP realize the end voltage and reference voltage to the thermistor RT or capacitor C of input Vr is compared, and serial ports realizes input or output with exogenous data or order, and core of the controller as whole system is responsible for The control and operation of whole system operation, it is characterised in that: one end of one end connection capacitor C of thermistor RT, electronic switch One end of KD and a comparison input terminal of comparator CMP, the other end of the other end connection electronic switch KD of thermistor RT Common end or the ground connection of alternative electronic switch K are reconnected afterwards, and the other end connection alternative electronic switch K's of capacitor C is public End or ground connection, an input terminal of alternative electronic switch K connect power supply V, another input end grounding, capacitor C and temperature-sensitive electricity It hinders RT and forms single order resistance-capacitance circuit, pass through the charging process or discharge process realization thermometric process to capacitor C, the thermometric process base Zero state response or zero input response in single order resistance-capacitance circuit transient response, during each thermometric, digital timing Device only carries out a timing to the charging process or discharge process of capacitor C, when digital clock overflow when or comparator CMP it is defeated Out the result shows that when the end voltage of thermistor RT or capacitor C reaches reference voltage Vr, digital clock stops timing, controller According to the timing result of digital clock at this time, the resistivity-temperature characteristics of the thermistor RT of storage are compared by searching in memory Data, and then determine the temperature value of measurement, which is exported by serial ports to the external world, and wherein reference voltage Vr is supply voltage α times of V, i.e. Vr=α V, wherein α is the positive number less than 1.
The reference voltage Vr is fixed reference voltage or adjustable reference voltage.
When realizing thermometric process based on the zero state response in single order resistance-capacitance circuit transient response, hardware circuit connection can There are two types of scheme is available:
1, one end of one end connection capacitor C, one end of electronic switch KD of thermistor RT and a ratio of comparator CMP Compared with input terminal, it is grounded again after the other end of the other end connection electronic switch KD of thermistor RT, the other end connection two of capacitor C The common end of an electronic switch K is selected, an input terminal of alternative electronic switch K connects power supply V, another input end grounding.
2, one end of one end connection capacitor C, one end of electronic switch KD of thermistor RT and a ratio of comparator CMP Compared with input terminal, the public affairs of alternative electronic switch K are reconnected after the other end of the other end connection electronic switch KD of thermistor RT End altogether, the other end ground connection of capacitor C, an input terminal of alternative electronic switch K connect power supply V, another input end grounding.
When realizing thermometric process based on the zero state response in single order resistance-capacitance circuit transient response, the thermistor The thermometric program of formula temperature sensor are as follows: the closure of electronic switch KD first, the common end of alternative electronic switch K is grounded with it Input terminal is connected, and after suitable time-delay, to realize the complete electric discharge of capacitor C, then opens electronic switch KD, then make digital timing Device is reset, and the working condition of digital clock and comparator CMP is arranged, and removes the interruption mark of digital clock and comparator CMP Will position, the interruption of open digital clock and comparator CMP, it is open it is total interrupt, then the common end of alternative electronic switch K with Its input terminal for meeting power supply V is connected, and is started digital clock and comparator CMP, is then waited transformation result, and Change-over knot is being waited During fruit, when the end voltage of thermistor RT or capacitor C before digital clock overflows reaches reference voltage Vr, compare Device CMP is issued to controller interrupts application, and controller responds the interruption application, and controller stops digital clock and comparator CMP, controller compare the thermistor RT's stored by searching in memory according to the clocking value of digital clock at this time Resistivity-temperature characteristics data, and then determine the temperature value of measurement.
When realizing thermometric process based on the zero input response in single order resistance-capacitance circuit transient response, the one of thermistor RT One end, one end of electronic switch KD and a comparison input terminal of comparator CMP of end connection capacitor C, thermistor RT's is another The common end of alternative electronic switch K is reconnected after the other end of one end connection electronic switch KD, the other end of capacitor C is grounded, An input terminal of alternative electronic switch K connects power supply V, another input end grounding.
When realizing thermometric process based on the zero input response in single order resistance-capacitance circuit transient response, the thermistor The thermometric program of formula temperature sensor are as follows: the closure of electronic switch KD first, the common end of alternative electronic switch K connects power supply with it Input terminal connect, after suitable time-delay, to realize that capacitor C's is fully charged, then open electronic switch KD, then keep number fixed When device reset, be arranged digital clock and comparator CMP working condition, remove digital clock and comparator CMP interruption Flag bit, the interruption of open digital clock and comparator CMP, open total interruption, then the common end of alternative electronic switch K The input terminal being grounded with it is connected, and is started digital clock and comparator CMP, is then waited transformation result, and Change-over knot is being waited During fruit, when the end voltage of capacitor C before digital clock overflows reaches reference voltage Vr, comparator CMP is to control Device, which issues, interrupts application, and controller responds the interruption application, and controller stops digital clock and comparator CMP, controller root The clocking value of digital clock when accordingly compares the resistivity-temperature characteristics number of the thermistor RT of storage by searching in memory According to, and then determine the temperature value of measurement.
The method of the thermistor temperature sensor calibration measurement temperature value is to adjust reference voltage Vr or software Amendment.
It is had the beneficial effect that possessed by thermistor temperature sensor of the present invention and number is carried out using timer Coding, temperature measurement accuracy are high;Temperature measurement accuracy is unrelated with reference voltage, and adaptation voltage range is wide, can be applied to using battery powered Occasion;Thermometric process is simple, and the thermometric time is short;Hardware circuit is simple, it is easy to accomplish;It is small by the electric current of thermistor, continue Time is short, will not generate heat interference;In conjunction with integrated circuit technique, it is easy to be fabricated to cheap integrated temperature sensor.
Detailed description of the invention
Fig. 1 show the circuit diagram that thermometric input voltage is derived from the end thermistor RT voltage;
Fig. 2 show the circuit diagram that thermometric input voltage is derived from capacitor C-terminal voltage;
Fig. 3 show the equivalent circuit diagram of electronic switch KD;
Fig. 4 show the multi way temperature Fundamentals of Sensors figure realized using the present invention;
Wherein: equivalent perfect switch Rd, the electronic cutting of K, alternative electronic switch KD, electronic switch Kd, electronic switch KD Close the equivalent resistance RT of KD, thermistor C, capacitor Vr, reference voltage CMP, comparator D, switching diode MCU, single-chip microcontroller R1, R3, resistance R2, adjustable resistance RT1, RT2~RTn, thermistor V, supply voltage
In addition, I/O0, I/O1, I/O2~I/On are the I/O port of single-chip microprocessor MCU, and CMP+ is monolithic in Fig. 4 The non-inverting input terminal of comparator in machine MCU, CMP- are the inverting input terminal of comparator in single-chip microprocessor MCU, and TXD and RXD are respectively The serial ports transmitting terminal of single-chip microprocessor MCU and receiving end.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawing.
The present invention provides a kind of thermistor temperature sensors, it includes thermistor RT, capacitor C, alternative electricity Sub switch K, electronic switch KD, controller, memory, digital clock, comparator CMP, serial ports and reference voltage Vr, wherein two Selecting an electronic switch K includes two input terminals and a common end, and a certain moment, the common end can only be with one of input Termination is logical, and disconnects with another input terminal, sensing element of the thermistor RT as measurement temperature, stores temperature-sensitive in memory The resistivity-temperature characteristics data of resistance RT, comparator CMP realize the end voltage and reference voltage to the thermistor RT or capacitor C of input Vr is compared, and serial ports realizes input or output with exogenous data or order, and core of the controller as whole system is responsible for The control and operation of whole system operation, it is characterised in that: one end of one end connection capacitor C of thermistor RT, electronic switch One end of KD and a comparison input terminal of comparator CMP, the other end of the other end connection electronic switch KD of thermistor RT Common end or the ground connection of alternative electronic switch K are reconnected afterwards, and the other end connection alternative electronic switch K's of capacitor C is public End or ground connection, an input terminal of alternative electronic switch K connect power supply V, another input end grounding, capacitor C and temperature-sensitive electricity It hinders RT and forms single order resistance-capacitance circuit, pass through the charging process or discharge process realization thermometric process to capacitor C, the thermometric process base Zero state response or zero input response in single order resistance-capacitance circuit transient response, during each thermometric, digital timing Device only carries out a timing to the charging process or discharge process of capacitor C, when digital clock overflow when or comparator CMP it is defeated Out the result shows that when the end voltage of thermistor RT or capacitor C reaches reference voltage Vr, digital clock stops timing, controller According to the timing result of digital clock at this time, the resistivity-temperature characteristics of the thermistor RT of storage are compared by searching in memory Data, and then determine the temperature value of measurement, which is exported by serial ports to the external world, and wherein reference voltage Vr is supply voltage α times of V, i.e. Vr=α V, wherein α is the positive number less than 1.
The reference voltage Vr is fixed reference voltage or adjustable reference voltage.
When realizing thermometric process based on the zero state response in single order resistance-capacitance circuit transient response, hardware circuit connection can There are two types of scheme is available:
As shown in Fig. 1, one end of one end connection capacitor C, one end of electronic switch KD of thermistor RT and comparator A comparison input terminal of CMP, thermistor RT the other end connection electronic switch KD the other end after be grounded again, capacitor C's The other end connects the common end of alternative electronic switch K, and an input terminal of alternative electronic switch K connects power supply V, another Input end grounding.
As shown in Fig. 2, one end of one end connection capacitor C, one end of electronic switch KD of thermistor RT and comparator A comparison input terminal of CMP, thermistor RT the other end connection electronic switch KD the other end after reconnect alternative electricity The common end of sub switch K, the other end ground connection of capacitor C, an input terminal of alternative electronic switch K connect power supply V, another Input end grounding.
Before thermometric starts, need first electronic switch KD closure, and the common end of alternative electronic switch K is grounded with it Input terminal is connected, and capacitor C is discharged to zero, when thermometric starts completely, disconnects electronic switch KD, and alternative electronic switch The input terminal that the common end of K meets power supply V with it is connected, and circuit enters the transient response process of nought state.
In Fig. 1, based on the zero state response in single order resistance-capacitance circuit transient response, during capacitor C charging, heat The end voltage of quick resistance RT isWherein τ is time constant, i.e. τ=RTC.
As the u in t=t0RT(t) reach reference voltage Vr, i.e. uRT(t)=Vr enables Vr=α V (α is the positive number less than 1), ThenTo t0=- τ ln α.
T0=NT is enabled, wherein N is the clocking value of digital clock, and T is the counting pulse period of digital clock, then NT =-τ ln α, so
Since capacitance C, pulse period T and factor alpha are definite value, so enablingThen N=ART.Heat The resistance value of quick resistance RT is linked together with measured angle value by certain functional relation, i.e. tw=f (RT), and wherein tw indicates quilt Thermometric angle value.
Continuous memory space is opened up in memory, and the first address of memory space is B, and wherein B is whole not less than zero Temperature value tw is carried out discrete processes, i.e., indicates measured angle value with memory unit address in memory, deposit in storage unit by number The content of storage is (ART), then it is (ART) that address, which is the memory cell data of (B+N), in memory, so in memory Memory unit address and memory cell data form the resistivity-temperature characteristics of thermistor RT.
As it can be seen that the resistance that the producer that the resistivity-temperature characteristics of the thermistor RT stored in memory are not thermistor RT provides Temperature characteristics, but according to the transformed data of formula N=ART.
The clocking value N and the resistance value of thermistor RT of digital clock are in a linear relationship and unrelated with voltage, according to number The resistivity-temperature characteristics of the clocking value N and thermistor RT of timer are assured that the temperature value of measurement.
When realizing thermometric process based on the zero state response in single order resistance-capacitance circuit transient response, the thermistor The thermometric program of formula temperature sensor are as follows: the closure of electronic switch KD first, the common end of alternative electronic switch K is grounded with it Input terminal is connected, and after suitable time-delay, to realize the complete electric discharge of capacitor C, then opens electronic switch KD, then make digital timing Device is reset, and the working condition of digital clock and comparator CMP is arranged, and removes the interruption mark of digital clock and comparator CMP Will position, the interruption of open digital clock and comparator CMP, it is open it is total interrupt, then the common end of alternative electronic switch K with Its input terminal for meeting power supply V is connected, and is started digital clock and comparator CMP, is then waited transformation result, and Change-over knot is being waited During fruit, when the end voltage of thermistor RT before digital clock overflows reaches reference voltage Vr, comparator CMP to Controller, which issues, interrupts application, and controller responds the interruption application, and controller stops digital clock and comparator CMP, control Device compares the resistivity-temperature characteristics of the thermistor RT of storage by searching in memory according to the clocking value of digital clock at this time Data, and then determine the temperature value of measurement.
In Fig. 2, based on the zero state response in single order resistance-capacitance circuit transient response, during capacitor C charging, electricity Hold C end voltage beWherein τ is time constant, i.e. τ=RTC.
As the u in t=t0c(t) reach reference voltage Vr, i.e. uc(t)=Vr enables Vr=α V (α is the positive number less than 1), thenTo t0=- τ ln (1- α).
T0=NT is enabled, wherein N is the clocking value of digital clock, and T is the counting pulse period of digital clock, then NT =-τ ln (1- α), so
Since capacitance C, pulse period T and factor alpha are definite value, so enablingThen N= A·RT.The resistance value of thermistor RT is linked together with measured angle value by certain functional relation, i.e. tw=f (RT), wherein Tw indicates measured angle value.
Continuous memory space is opened up in memory, and the first address of memory space is B, and wherein B is whole not less than zero Temperature value tw is carried out discrete processes, i.e., indicates measured angle value with memory unit address in memory, deposit in storage unit by number The content of storage is (ART), then it is (ART) that address, which is the data of storage unit of (B+N), in memory, so in memory Memory unit address and memory cell data form the resistivity-temperature characteristics of thermistor RT.
As it can be seen that the resistance that the producer that the resistivity-temperature characteristics of the thermistor RT stored in memory are not thermistor RT provides Temperature characteristics, but according to the transformed data of formula N=ART.
The clocking value N and the resistance value of thermistor RT of digital clock are in a linear relationship and unrelated with voltage, according to number The resistivity-temperature characteristics of the clocking value N and thermistor RT of timer are assured that the temperature value of measurement.
When realizing thermometric process based on the zero state response in single order resistance-capacitance circuit transient response, the thermistor The thermometric program of formula temperature sensor are as follows: the closure of electronic switch KD first, the common end of alternative electronic switch K is grounded with it Input terminal is connected, and after suitable time-delay, to realize the complete electric discharge of capacitor C, then opens electronic switch KD, then make digital timing Device is reset, and the working condition of digital clock and comparator CMP is arranged, and removes the interruption mark of digital clock and comparator CMP Will position, the interruption of open digital clock and comparator CMP, it is open it is total interrupt, then the common end of alternative electronic switch K with Its input terminal for meeting power supply V is connected, and is started digital clock and comparator CMP, is then waited transformation result, and Change-over knot is being waited During fruit, when the end voltage of capacitor C before digital clock overflows reaches reference voltage Vr, comparator CMP is to control Device, which issues, interrupts application, and controller responds the interruption application, and controller stops digital clock and comparator CMP, controller root The clocking value of digital clock when accordingly compares the resistivity-temperature characteristics number of the thermistor RT of storage by searching in memory According to, and then determine the temperature value of measurement.
It is when the embodiment for realizing thermometric process based on the zero state response in single order resistance-capacitance circuit transient response above.
As shown in Fig. 2, when realizing thermometric process based on the zero input response in single order resistance-capacitance circuit transient response, heat One end, one end of electronic switch KD and a comparison input terminal of comparator CMP of one end connection capacitor C of quick resistance RT, heat The common end of alternative electronic switch K is reconnected after the other end of the other end connection electronic switch KD of quick resistance RT, capacitor C's One input terminal of other end ground connection, alternative electronic switch K connects power supply V, another input end grounding.
Before thermometric starts, need first to be closed electronic switch KD, and the common end of alternative electronic switch K connects power supply with it Input terminal connect, with capacitor C is fully charged to voltage V, when thermometric starts, disconnect electronic switch KD, and alternative is electric The input terminal that the common end of sub switch K is grounded with it is connected, and circuit enters the transient response process of zero input.
In Fig. 2, based on the zero input response in single order resistance-capacitance circuit transient response, during capacitor C electric discharge, electricity Hold C end voltage beWherein τ is time constant, i.e. τ=RTC.
As the u in t=t0c(t) reach reference voltage Vr, i.e. uc(t)=Vr enables Vr=α V (α is the positive number less than 1), thenTo t0=- τ ln α.
T0=NT is enabled, wherein N is the clocking value of digital clock, and T is the counting pulse period of digital clock, then NT =-τ ln α, so
Since capacitance C, pulse period T and factor alpha are definite value, so enablingThen N=ART. The resistance value of thermistor RT is linked together with measured angle value by certain functional relation, i.e. tw=f (RT), and wherein tw is indicated Measured angle value.
Continuous memory space is opened up in memory, and the first address of memory space is B, and wherein B is whole not less than zero Temperature value tw is carried out discrete processes, i.e., indicates measured angle value with memory unit address in memory, deposit in storage unit by number The content of storage is (ART), then it is (ART) that address, which is the data of storage unit of (B+N), in memory, so in memory Memory unit address and memory cell data form the resistivity-temperature characteristics of thermistor RT.
As it can be seen that the resistance that the producer that the resistivity-temperature characteristics of the thermistor RT stored in memory are not thermistor RT provides Temperature characteristics, but according to the transformed data of formula N=ART.
The clocking value N and the resistance value of thermistor RT of digital clock are in a linear relationship and unrelated with voltage, according to number The resistivity-temperature characteristics of the clocking value N and thermistor RT of timer are assured that the temperature value of measurement.
When realizing thermometric process based on the zero input response in single order resistance-capacitance circuit transient response, the thermistor The thermometric program of formula temperature sensor are as follows: the closure of electronic switch KD first, the common end of alternative electronic switch K connects power supply with it Input terminal connect, after suitable time-delay, to realize that capacitor C's is fully charged, then open electronic switch KD, then keep number fixed When device reset, be arranged digital clock and comparator CMP working condition, remove digital clock and comparator CMP interruption Flag bit, the interruption of open digital clock and comparator CMP, open total interruption, then the common end of alternative electronic switch K The input terminal being grounded with it is connected, and is started digital clock and comparator CMP, is then waited transformation result, and Change-over knot is being waited During fruit, when the end voltage of capacitor C before digital clock overflows reaches reference voltage Vr, comparator CMP is to control Device, which issues, interrupts application, and controller responds the interruption application, and controller stops digital clock and comparator CMP, controller root The clocking value of digital clock when accordingly compares the resistivity-temperature characteristics number of the thermistor RT of storage by searching in memory According to, and then determine the temperature value of measurement.
At the initial stage of capacitor C charge or discharge, electronic switch KD and alternative electronic switch K may flow through certain rush Electric current is hit, but actual electronic switch all has certain internal resistance, by taking electronic switch KD as an example, as shown in figure 3, actual electronics Switch KD can be equivalent to connecting for an equivalent resistance Rd and perfect switch Kd, and equivalent resistance Rd is exactly electronic switch KD Internal resistance, it has good metering function, and due to the capacity very little of capacitor C, so by electronic switch KD and alternative The internal resistance metering function of electronic switch K will not generate harmful current impulse.
The method of the thermistor temperature sensor calibration measurement temperature value is to adjust reference voltage Vr or software Amendment.
As described above, charge or discharge time t0 and reference voltage Vr have direct relation, reference voltage Vr is adjusted just Changeable time t0 value, that is, change NT value, and pulse period T value is certain, so adjusting reference voltage Vr The count value N for changing digit counter, is finally reached the purpose of calibration measurement temperature value.
The method calibration measurement temperature value of software correction also can be used, that is, in software to the counting of digit counter After value N is subject to amendment again, final required measurement temperature value can be just obtained.
The thermistor temperature sensor can be easily carried out the measurement of multi way temperature according to the present invention, such as Shown in attached drawing 4, this realizes thermometric process, thermometric input electricity based on the zero state response in single order resistance-capacitance circuit transient response Pressure is derived from the end thermistor RT voltage, i.e., using the end voltage of thermistor RT compared with reference voltage Vr.
In figure 4, it is the comparator respectively that single-chip microprocessor MCU, which has been internally integrated comparator a CMP, CMP- and CMP+, Inverting input terminal and non-inverting input terminal, resistance R1, adjustable resistance R2 and resistance R3 are sequentially connected in series, another termination power of resistance R1 The other end of V, resistance R3 are grounded, and the adjustable tap of adjustable resistance R2 is connected to after the tie point of resistance R1 and adjustable resistance R2 again The inverting input terminal CMP- of comparator CMP is connected, provides reference voltage Vr for comparator CMP, the one of thermistor RT1~RTn The cathode at end, one end of capacitor C and switching diode D is connected to the non-inverting input terminal CMP+ of comparator CMP after linking together, The other end of switching diode D is grounded, the I/O port I/O0 of the other end connection single-chip microprocessor MCU of capacitor C, thermistor The other end of RT1~RTn is separately connected I/O port I/O1~I/On of single-chip microprocessor MCU, and switching diode D plays attached drawing 1 The effect of middle electronic switch KD.
In figure 4, by taking the thermometric of thermistor RT1 as an example, basic thermometric process are as follows: enable single-chip microprocessor MCU I/O port I/O1~I/On is high-impedance state or is output low level state, and the I/O port I/O0 of single-chip microprocessor MCU is Strong push-pull output state, and low level is exported, after suitable time-delay, so that capacitor C is discharged to zero completely;When thermometric starts, temperature-sensitive One I/O port I/O1 of the single-chip microprocessor MCU that resistance RT1 is connected is strong push-pull output state, and exports low level, other The other I/O ports for the single-chip microprocessor MCU that thermistor is connected are high-impedance state, then reset digital clock, and number is arranged The working condition of word timer and comparator CMP removes the interrupt flag bit of digital clock and comparator CMP, open number The interruption of timer and comparator CMP, it is open total to interrupt, then the I/O port I/O0 of single-chip microprocessor MCU be strong push-pull output State, and high level is exported, start digital clock and comparator CMP, then wait transformation result, in the mistake for waiting transformation result Cheng Zhong, when the end voltage of thermistor RT before digital clock overflows reaches reference voltage Vr, comparator CMP is to single-chip microcontroller Controller in MCU, which issues, interrupts application, and the controller plc in single-chip microprocessor MCU responds the interruption application, in single-chip microprocessor MCU Controller plc stop digital clock and comparator CMP, the controller plc in single-chip microprocessor MCU is according to number at this time The clocking value of timer compares the resistivity-temperature characteristics data of the thermistor RT of storage by searching in memory, and then determines The temperature value of measurement.
The thermometric process of other thermistors is same as described above.
Certainly, in the case where not departing from frame of the invention, there can also be other select and development and our energy It is enough it is envisioned that equivalent device.

Claims (8)

1. a kind of thermistor temperature sensor includes thermistor RT, capacitor C, alternative electronic switch K, electronic switch KD, controller, memory, digital clock, comparator CMP, serial ports and reference voltage Vr, wherein alternative electronic switch K packet Include two input terminals and a common end, a certain moment, the common end can only be connected with one of input terminal, and with it is another A input terminal disconnects, sensing element of the thermistor RT as measurement temperature, and the resistance Wen Te of thermistor RT is stored in memory Property data, comparator CMP realization the end voltage of the thermistor RT or capacitor C of input are compared with reference voltage Vr, string The existing input or output with exogenous data or order of cause for gossip, core of the controller as whole system, responsible whole system are run Control and operation, it is characterised in that: one end connection one end of capacitor C of thermistor RT, one end of electronic switch KD and ratio A comparison input terminal compared with device CMP, thermistor RT the other end connection electronic switch KD the other end after reconnect two choosing The common end of one electronic switch K or ground connection, the common end of the other end connection alternative electronic switch K of capacitor C or ground connection, two choosings An input terminal of one electronic switch K connects power supply V, another input end grounding, capacitor C and thermistor RT composition single order resistance Capacitive circuit, by the charging process or discharge process realization thermometric process to capacitor C, the thermometric process is based on single order resistance-capacitance circuit Zero state response or zero input response in transient response, during each thermometric, charging of the digital clock to capacitor C Process or discharge process only carry out a timing, and when digital clock overflows or the output of comparator CMP is the result shows that temperature-sensitive When the end voltage of resistance RT or capacitor C reaches reference voltage Vr, digital clock stops timing, and controller is fixed according to number at this time When device timing result, by search in memory compare storage thermistor RT resistivity-temperature characteristics data, and then determine The temperature value of measurement, the temperature value are exported by serial ports to the external world, and wherein reference voltage Vr is α times of supply voltage V, i.e. Vr= α V, wherein α is the positive number less than 1.
2. thermistor temperature sensor according to claim 1, it is characterised in that: the reference voltage Vr is solid Determine reference voltage or adjustable reference voltage.
3. thermistor temperature sensor according to claim 1, it is characterised in that: when temporary based on single order resistance-capacitance circuit When zero state response in state response realizes thermometric process, one end of one end connection capacitor C of thermistor RT, electronic switch KD One end and comparator CMP a comparison input terminal, thermistor RT the other end connection electronic switch KD the other end after It is grounded again, the common end of the other end connection alternative electronic switch K of capacitor C a, input terminal of alternative electronic switch K connects Power supply V is met, another input end grounding.
4. thermistor temperature sensor according to claim 1, it is characterised in that: when temporary based on single order resistance-capacitance circuit When zero state response in state response realizes thermometric process, one end of one end connection capacitor C of thermistor RT, electronic switch KD One end and comparator CMP a comparison input terminal, thermistor RT the other end connection electronic switch KD the other end after The common end of alternative electronic switch K, the other end ground connection of capacitor C are reconnected, an input terminal of alternative electronic switch K connects Power supply V is met, another input end grounding.
5. according to claim 1,2,3,4 described in any item thermistor temperature sensors, it is characterised in that: described The thermometric program of thermistor temperature sensor be electronic switch KD first closure, the common end of alternative electronic switch K with Its input terminal being grounded is connected, and after suitable time-delay, to realize the complete electric discharge of capacitor C, then opens electronic switch KD, then make Digital clock is reset, and the working condition of digital clock and comparator CMP is arranged, and removes digital clock and comparator CMP Interrupt flag bit, the interruption of open digital clock and comparator CMP, it is open it is total interrupt, then alternative electronic switch K's The input terminal that common end meets power supply V with it is connected, and is started digital clock and comparator CMP, is then waited transformation result, waiting During result to be converted, when the end voltage of the thermistor RT or capacitor C before digital clock overflows reaches reference voltage When Vr, comparator CMP is issued to controller interrupts application, and controller responds the interruption application, and controller stops digital clock With comparator CMP, controller compares the temperature-sensitive of storage by searching in memory according to the clocking value of digital clock at this time The resistivity-temperature characteristics data of resistance RT, and then determine the temperature value of measurement.
6. thermistor temperature sensor according to claim 1, it is characterised in that: when temporary based on single order resistance-capacitance circuit When thermometric process is realized in zero input response in state response, one end of one end connection capacitor C of thermistor RT, electronic switch KD One end and comparator CMP a comparison input terminal, thermistor RT the other end connection electronic switch KD the other end after The common end of alternative electronic switch K, the other end ground connection of capacitor C are reconnected, an input terminal of alternative electronic switch K connects Power supply V is met, another input end grounding.
7. according to claim 1,2,6 described in any item thermistor temperature sensors, it is characterised in that: the heat The thermometric program of quick resistance temperature detector be electronic switch KD first closure, the common end of alternative electronic switch K and its The input terminal for connecing power supply is connected, and after suitable time-delay, to realize that capacitor C's is fully charged, then opens electronic switch KD, then make Digital clock is reset, and the working condition of digital clock and comparator CMP is arranged, and removes digital clock and comparator CMP Interrupt flag bit, the interruption of open digital clock and comparator CMP, it is open it is total interrupt, then alternative electronic switch K's The input terminal that common end is grounded with it is connected, and is started digital clock and comparator CMP, is then waited transformation result, waiting During transformation result, when the end voltage of capacitor C before digital clock overflows reaches reference voltage Vr, comparator CMP It is issued to controller and interrupts application, controller responds the interruption application, and controller stops digital clock and comparator CMP, control Device processed compares the resistance Wen Te of the thermistor RT of storage by searching in memory according to the clocking value of digital clock at this time Property data, and then determine measurement temperature value.
8. thermistor temperature sensor according to claim 1, it is characterised in that: the thermistor-type temperature The method of pick up calibration measurement temperature value is to adjust reference voltage Vr or software correction.
CN201610656828.1A 2016-08-11 2016-08-11 Thermistor temperature sensor Active CN106017717B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610656828.1A CN106017717B (en) 2016-08-11 2016-08-11 Thermistor temperature sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610656828.1A CN106017717B (en) 2016-08-11 2016-08-11 Thermistor temperature sensor

Publications (2)

Publication Number Publication Date
CN106017717A CN106017717A (en) 2016-10-12
CN106017717B true CN106017717B (en) 2019-04-12

Family

ID=57134837

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610656828.1A Active CN106017717B (en) 2016-08-11 2016-08-11 Thermistor temperature sensor

Country Status (1)

Country Link
CN (1) CN106017717B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109489221A (en) * 2018-12-18 2019-03-19 奥克斯空调股份有限公司 Anti-jamming circuit and transducer air conditioning
CN110375876B (en) * 2019-07-25 2021-01-15 上海英恒电子有限公司 IGBT temperature detection circuit and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1455262A (en) * 2002-05-04 2003-11-12 朱筱杰 Resistance measuring circuit and detection, control and alarm apparatus comprising said circuit
US20120161792A1 (en) * 2010-12-24 2012-06-28 Kabushiki Kaisha Toshiba Electronic device, and capacitor capacitance detection method applied to the same
CN104062482A (en) * 2013-03-22 2014-09-24 艾默生电气公司 Power voltage measuring device, temperature detecting device comprising same, and temperature controller

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1455262A (en) * 2002-05-04 2003-11-12 朱筱杰 Resistance measuring circuit and detection, control and alarm apparatus comprising said circuit
US20120161792A1 (en) * 2010-12-24 2012-06-28 Kabushiki Kaisha Toshiba Electronic device, and capacitor capacitance detection method applied to the same
CN104062482A (en) * 2013-03-22 2014-09-24 艾默生电气公司 Power voltage measuring device, temperature detecting device comprising same, and temperature controller

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
测控系统中简单测温方法的实现与应用;李爱莲等;《信息技术》;20030430;第27卷(第4期);全文
百瓦级激光功率的测量方法研究;莫旭清;《中国优秀硕士期刊论文集》;20150915(第9期);第3章 第4章

Also Published As

Publication number Publication date
CN106017717A (en) 2016-10-12

Similar Documents

Publication Publication Date Title
CN106501618B (en) Capacitor's capacity measuring circuit
US4669049A (en) Temperature measuring instrument and adapter for same
CN107076620B (en) Temperature-detecting device
WO2017166573A1 (en) Method and apparatus for detecting battery temperature and id
CN103954861B (en) Pick-up unit is inserted in a kind of two-way USB load
CN106017717B (en) Thermistor temperature sensor
CN209878171U (en) Temperature measurement circuit and household appliance
CN209803597U (en) Control circuit for improving detection precision of NTC thermistor and electronic equipment
CN101118190A (en) Temperature measurement device and process for measuring temperature with device
CN106154030B (en) A kind of intelligent electric meter and its data encryption and transmission method
CN106768459B (en) A kind of Temperature and Humidity circuit and control method
CN107543972A (en) One kind measurement capacitor system and its measuring method
CN109374148A (en) A kind of temperature measuring device and measurement method
CN202075060U (en) Temperature measuring device of numerical control sterilizing cabinet
CN110044510A (en) IGBT module temperature measurement circuit, temp measuring method and computer readable storage medium
CN102768078B (en) Automatic resistance compensation method for temperature-measuring conductors for two-wire thermal resistor
CN201811809U (en) Temperature detection circuit
CN104390718A (en) Temperature detection method
CN110375876A (en) A kind of IGBT temperature detection circuit and method
CN104697604B (en) It is a kind of can field calibration capacitance level transducer
CN104062482A (en) Power voltage measuring device, temperature detecting device comprising same, and temperature controller
CN105607678A (en) Intelligent electrical kettle, and control system and control method for intelligent electrical kettle
CN212007579U (en) Temperature detection circuit and device
CN105277292A (en) Temperature measurement device
CN202033125U (en) Low cost high precision temperature-measuring circuit used in calorimeter

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20190318

Address after: 211500 No. 205-1, 591 Dachangning Sixth Road, Liuhe District, Nanjing City, Jiangsu Province

Applicant after: Nanjing Logistics Electronic Technology Co., Ltd.

Address before: 264500 503 unit 2, building 18-3, Xinping street, Rushan, Weihai, Shandong.

Applicant before: Xiao Guoxuan

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Thermistor temperature sensor

Effective date of registration: 20210429

Granted publication date: 20190412

Pledgee: Bank of Jiangsu Co., Ltd. Nanjing Jiangbei new area sub branch

Pledgor: Nanjing Logistics Electronic Technology Co.,Ltd.

Registration number: Y2021980003183

PE01 Entry into force of the registration of the contract for pledge of patent right