Temperature measuring circuit of three-wire thermal resistor
Technical Field
The utility model relates to a thermal resistance technical field, more specifically say, relate to the temperature measurement circuit of three-wire system thermal resistance.
Background
Thermal resistance is one of the most commonly used temperature detectors in the medium and low temperature regions. The principle of thermal resistance measurement is based on the property that the resistance of a conductor or semiconductor changes with temperature to measure temperature and temperature-related parameters. The thermal resistor is mostly made of pure metal materials, the most widely used at present are platinum and copper, and the thermal resistor is made of materials such as nickel, manganese and rhodium. Thermal resistors typically require a resistance signal to be transmitted through a lead to a computer control or other secondary instrument.
The conventional three-wire thermal resistor temperature measuring method mainly includes two methods, namely a bridge method and a constant current source method. The hardware circuit of the bridge method is simple but the anti-interference capability is weak; the hardware circuit of the constant current source method is complicated.
SUMMERY OF THE UTILITY MODEL
In view of this, the present invention provides a temperature measuring circuit of three-wire thermal resistor, which is intended to simplify the hardware circuit of the constant current source method.
In order to achieve the above object, the following solutions are proposed:
a temperature measurement circuit of a three-wire system thermal resistor, comprising: the device comprises an analog-to-digital converter, a precision resistor and an MCU;
the analog-to-digital converter comprises a constant current source;
the constant current source output end of the analog-to-digital converter and the first voltage acquisition end of the analog-to-digital converter are both connected with one end of a first lead of the three-wire heating resistor, and the other end of the first lead is connected with one end of the heating resistor of the three-wire heating resistor;
a second voltage acquisition end of the analog-to-digital converter is connected with one end of a second lead of the three-wire heating resistor, a third voltage acquisition end of the analog-to-digital converter is connected with one end of a third lead of the three-wire heating resistor, and the other end of the second lead and the other end of the third lead are both connected with the other end of the heating resistor;
one end of the precision resistor is connected with a power ground, and the other end of the precision resistor is respectively connected with the reference voltage input end and one end of the third wire;
the MCU is in communication connection with the analog-to-digital converter.
Optionally, the temperature measuring circuit of the three-wire thermal resistor further includes: a first resistor and a diode connected between the output end of the constant current source and one end of the first wire;
the negative pole of the diode is connected with one end of the first lead, the positive pole of the diode is connected with one end of the first resistor, and the other end of the first resistor is connected with the output end of the constant current source.
Optionally, the temperature measuring circuit of the three-wire thermal resistor further includes:
the second resistor is connected between the first voltage acquisition end and one end of the first lead; and the number of the first and second groups,
and one end of the first capacitor is connected with the first voltage acquisition end, and the other end of the first capacitor is connected with a power ground.
Optionally, the temperature measuring circuit of the three-wire thermal resistor further includes:
a third resistor connected between the second voltage acquisition end and one end of the second wire; and the number of the first and second groups,
and the second capacitor is connected with the second voltage acquisition end at one end and connected with a power ground at the other end.
Optionally, the temperature measuring circuit of the three-wire thermal resistor further includes:
and one end of the third capacitor is connected with the first voltage acquisition end, and the other end of the third capacitor is connected with the second voltage acquisition end.
Optionally, the temperature measuring circuit of the three-wire thermal resistor further includes:
and the fourth resistor is connected between the third voltage acquisition end and one end of the third lead.
Optionally, the temperature measuring circuit of the three-wire thermal resistor further includes:
the fifth resistor is connected between the reference voltage input end and the other end of the precision resistor; and the number of the first and second groups,
and one end of the fourth capacitor is connected with the reference voltage input end, and the other end of the fourth capacitor is connected with a power ground.
Optionally, the temperature measuring circuit of the three-wire thermal resistor further includes:
and the fifth capacitor is connected with the precision resistor in parallel.
Optionally, the temperature measuring circuit of the three-wire thermal resistor further includes:
a transient suppression diode in parallel with the precision resistor.
Optionally, the MCU is connected to the analog-to-digital converter through an SPI bus.
Compared with the prior art, the technical scheme of the utility model have following advantage:
the temperature measuring circuit of the three-wire thermal resistor comprises an analog-to-digital converter, a precision resistor and an MCU (microprogrammed control unit); the analog-digital converter comprises a constant current source, the digital-analog converter directly provides stable current for the three-wire heating resistor, the voltage of the three-wire heating resistor is collected through the voltage collecting end, and then the resistance value of the heating resistor in the three-wire heating resistor is calculated. The whole circuit is simple in structure, and the voltages at the two ends of the precision resistor are used as the reference voltage of the analog-to-digital converter, so that the influence of the change of the constant current source on the final calculation result is eliminated.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic diagram of a temperature measuring circuit of a three-wire thermal resistor according to an embodiment of the present invention;
fig. 2 is a schematic diagram of another temperature measuring circuit of a three-wire thermal resistor according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments in the present invention, all other embodiments obtained by a person skilled in the art without creative work belong to the protection scope of the present invention.
The present embodiment provides a temperature measuring circuit of a three-wire thermal resistor, and referring to fig. 1, the temperature measuring circuit 11 of the three-wire thermal resistor includes an analog-to-digital converter (ADC), a precision resistor RREFAnd an MCU. RRTDIs a thermal resistor of the three-wire system thermal resistor 12, Rwire1、Rwire2、Rwire3Three-wire lead electricity of three-wire system thermal resistor 12And (4) blocking.
The ADC includes a constant current source. The constant current source output end a of the ADC and the first voltage acquisition end B of the ADC are both connected to one end of the first wire of the three-wire heating resistor 12. The other end of the first lead and the thermal resistor RRTDIs connected at one end. The second voltage collecting terminal C of the ADC is connected to one end of the second wire of the three-wire heating resistor 12. The third voltage acquisition terminal D of the ADC is connected to one end of the third wire of the three-wire heating resistor 13. The other end of the second lead and the other end of the third lead are connected with a thermal resistor RRTDThe other end of the connecting rod is connected.
Precision resistor RREFOne end of the power supply is connected with a power ground; precision resistor RREFAnd the other end thereof is connected to the reference voltage input terminal REF + and one end of the third wire, respectively. The MCU is in communication connection with the ADC.
The first voltage acquisition end B, the second voltage acquisition end C and the third voltage acquisition end D of the ADC are all high-resistance inputs, and no current flows into the ADC; therefore, the current output by the constant current source passes through the wire resistance R of the first wirewire1Thermal resistor RRTDAnd a wire resistance R of the third wirewire3And a precision resistor RREFBack to the power ground. Precision resistor RREFFor generating a reference voltage for the ADC. During working, the MCU controls the ADC to collect the voltage between the first voltage collecting end B and the second voltage collecting end C, and then controls the ADC to collect the voltage between the second voltage collecting end C and the third voltage collecting end D; further calculate the thermal resistance RRTDThe resistance value of (c).
Actual voltage value UADCAnd the acquired Code value Code transmitted by the ADC to the MCU is in a relation of formula (1):
wherein I is the current value of the constant current source, UREFIs the reference voltage of the ADC.
Actual voltage U between first voltage collection terminal B and second voltage collection terminal CBCAnd the acquisition code value C transmitted to the MCU by the ADCBCThe relationship between them is as in formula (2):
actual voltage U between second voltage collection terminal C and third voltage collection terminal DCDAnd the acquisition code value C transmitted to the MCU by the ADCCDThe relationship between them is as in formula (3):
in this example it is considered that Rwire1、Rwire2And Rwire3The resistance values are the same. Obtained from equations (2) and (3):
the present embodiment provides another temperature measurement circuit of a three-wire thermal resistor, and referring to fig. 2, compared with the temperature measurement circuit of a three-wire thermal resistor shown in fig. 1, the temperature measurement circuit further includes a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a first capacitor C1, a second capacitor C2, a third capacitor C3, a fourth capacitor C4, a fifth capacitor C5, a diode D, and a transient suppression diode TVS. The ADC is specifically of a model AD7124-8, in which 4 denotes a constant current source output terminal a, 5 denotes a first voltage collection terminal B, 6 denotes a second voltage collection terminal C, 21 denotes a third voltage collection terminal D, and 12 denotes a reference voltage input terminal REF +.
The first resistor R1 and the diode D are connected between the constant current source output terminal a and one end of the first wire. The cathode of the diode D is connected with one end of the first lead, the anode of the diode D is connected with one end of the first resistor R1, and the other end of the first resistor R1 is connected with the output end A of the constant current source.
The second resistor R2 is connected between the first voltage acquisition end B and one end of the first lead; one end of the first capacitor C1 is connected to the first voltage collecting terminal B, and the other end of the first capacitor C1 is connected to the power ground.
The third resistor R3 is connected between the second voltage acquisition end C and one end of the second lead; one end of the second capacitor C2 is connected to the second voltage collecting terminal C, and the other end of the second capacitor C2 is connected to the power ground.
One end of the third capacitor C3 is connected to the first voltage collecting terminal B, and the other end of the third capacitor C3 is connected to the second voltage collecting terminal C.
The fourth resistor R4 is connected between the third voltage collecting terminal D and one end of the third wire.
A fifth resistor R5 connected between the reference voltage input terminal REF + and the precision resistor RREFThe other end of (a); one end of the fourth capacitor C4 is connected to the reference voltage input terminal REF +, and the other end of the fourth capacitor C4 is connected to the power ground.
A fifth capacitor C5 and a precision resistor RREFAnd (4) connecting in parallel. Transient suppression diode TVS and precision resistor RREFAnd (4) connecting in parallel. The MCU and the ADC are connected via an SPI bus (not shown). In one embodiment the constant current source provides a current value of 0.75 mA.
For each resistor in the diagram, an optional form is given only by way of example, in practical application, each resistor may not only be a single resistor, but also be replaced by a plurality of resistors connected in series, a plurality of resistors connected in parallel, or a plurality of resistors connected in series and parallel according to actual requirements, and this time is not specifically limited, and the present invention is within the protection scope of the present invention.
In this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a device that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such device. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of additional like elements in a device that comprises the element.
In the present specification, the emphasis points of the embodiments are different from those of the other embodiments, and the same and similar parts among the embodiments may be referred to each other.
The above description of the disclosed embodiments of the invention enables one skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.