Environment temperature detection circuit
By designing a parallel detection network and pull-up power module in the temperature detection circuit, suppressing power supply noise and calculating the thermistor value in real time, the problem of poor detection accuracy and low accuracy caused by power supply fluctuations and ripple interference is solved, and the problem of poor detection accuracy and low accuracy is achieved. Higher temperature detection accuracy.
Patent Information
- Application Number
- CN202420273957.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-04
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2034-02-04
AI Technical Summary
The existing temperature detection circuit has poor detection accuracy under power supply fluctuations and ripple interference, and there is a problem of low accuracy.
An ambient temperature detection circuit is designed, including two sets of parallel detection networks and pull-up power supply modules. Components such as amplifiers and diodes are used to suppress power supply noise, and the resistance value of the thermistor is calculated in real time through the sampling and detection module to improve detection accuracy.
By ensuring the accuracy of thermistor value measurement, the accuracy and accuracy of temperature detection are improved, and errors caused by power supply noise are avoided.
Smart Images

Figure CN222069935U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of electronic circuits, in particular to an environmental temperature detection circuit. Background Art
[0002] In circuits involving air-conditioning ambient temperature detection or board temperature protection, a thermistor detection circuit is usually used. One end is grounded and the other end is connected to the power supply through a series pull-up resistor. The divided voltage is input into the MCU for A / D detection and converted into a temperature value.
[0003] Since the whole machine is inevitably subject to power fluctuations and ripple interference during operation, the pull-up power supply is in a dynamic change and instability, which makes the MCU sampling voltage dynamic and unstable, thus causing errors in temperature detection. In addition, the resistance value of some thermistors corresponding to each degree Celsius is relatively small, which makes the voltage difference corresponding to each degree Celsius of the voltage divider circuit relatively small, and even smaller than the value of the power ripple, making it difficult to achieve a resolution of 1 degree Celsius. Summary of the invention
[0004] The utility model provides an environment temperature detection circuit, which solves the technical problems that the detection accuracy of the existing temperature detection circuit is poor due to power supply fluctuation and ripple interference, and the detection precision is low.
[0005] In order to solve the above technical problems, the utility model provides an ambient temperature detection circuit, including a first detection network, a second detection network, a pull-up power supply module and a sampling detection module; the power supply end of the first detection network is connected to the pull-up power supply module, and the output end is connected to the sampling detection module; the second detection network is connected in parallel with the first detection network; the first detection network includes a resistor to be measured.
[0006] The first detection network further includes a first resistor, one end of which is connected to the pull-up power supply module, the other end of which is grounded through the resistor to be tested and is also connected to the sampling detection module as an output end;
[0007] The resistor to be measured is a thermistor.
[0008] The first detection network further includes a first resistor, one end of the resistor to be tested is connected to the pull-up power supply module, the other end is grounded through the first resistor and is also connected to the sampling detection module as an output end;
[0009] The resistor to be measured is a thermistor.
[0010] The second detection network includes a second resistor and a third resistor. One end of the second resistor is connected to the pull-up power supply module, and the other end is grounded through the third resistor and is also connected to the sampling detection module as an output end.
[0011] The pull-up power supply module includes an amplifier, a fourth resistor, a diode, a first capacitor, a second capacitor and a third capacitor; the in-phase input terminal of the amplifier is connected to the input power supply, the inverting input terminal is connected to the input power supply through the first capacitor and is also grounded through the second capacitor, and the output terminal is connected to the positive electrode of the diode; the negative electrode of the diode is connected to the first detection network and the second detection network;
[0012] One end of the fourth resistor is connected to the cathode of the diode, and the other end is connected to the inverting input terminal of the amplifier;
[0013] One end of the third capacitor is connected to the anode of the diode, and the other end is connected to the inverting input terminal of the amplifier.
[0014] The sampling detection module includes a calculation module and a first sampling unit, a second sampling unit, and a setting module connected thereto; the first sampling unit is connected to the output end of the first detection network, and the second sampling unit is connected to the output end of the second detection network.
[0015] The utility model also includes a power input module, which includes a low voltage drop linear regulator. The input end of the low voltage drop linear regulator is connected to the vehicle battery, and the output end is connected to the sampling detection module and the pull-up power module.
[0016] The beneficial effects of the utility model are as follows:
[0017] Based on the temperature acquisition circuit of the thermistor, two sets of parallel first detection networks and second detection networks are set up, and the actual resistance value of the corresponding resistor to be measured is calculated in real time using the corresponding voltage divider resistor. The accuracy of the thermistor resistance measurement is ensured, and the actual measured ambient temperature is clarified through the resistance value, thereby improving the detection accuracy.
[0018] A pull-up power module is connected in series at the input end of the temperature acquisition circuit, and an operational amplifier circuit that generates the VPULLUP (pull-up) power supply is added. The operational amplifier can pass direct current and suppress power supply noise. The output is used as a pull-up power supply for temperature detection, thereby outputting a stable sampling voltage, avoiding errors in temperature detection, and improving the accuracy of temperature detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 This is a system framework diagram of an ambient temperature detection circuit provided by an embodiment of the utility model;
[0020] Figure 2 It is a hardware circuit diagram of an embodiment provided by the embodiment of the utility model;
[0021] Figure 3It is a hardware circuit diagram of another embodiment provided by the embodiment of the utility model;
[0022] Wherein: a first detection network 1, a second detection network 2, a pull-up power module 3, a sampling detection module 4, a calculation module 41, a first sampling unit 42, a second sampling unit 43, a setting module 44; a power input module 5;
[0023] The resistor to be measured Rsensor, the first resistor R1, the second resistor R2, the third resistor R3, and the fourth resistor R4; the amplifier U1, the diode D1, the first capacitor C1, the second capacitor C2, and the third capacitor C3. DETAILED DESCRIPTION
[0024] The following is a detailed explanation of the implementation mode of the present invention in conjunction with the accompanying drawings. The embodiments are provided for illustrative purposes only and cannot be understood as limitations on the present invention. The accompanying drawings are provided for reference and illustration only and do not constitute limitations on the scope of patent protection of the present invention, because many changes can be made to the present invention without departing from the spirit and scope of the present invention.
[0025] The present utility model provides an environmental temperature detection circuit, such as Figure 1 , Figure 2 As shown, in this embodiment, it includes a first detection network 1, a second detection network 2, a pull-up power supply module 3 and a sampling detection module 4; the power supply end of the first detection network 1 is connected to the pull-up power supply module 3, and the output end is connected to the sampling detection module 4; the second detection network 2 is connected in parallel with the first detection network 1; the first detection network 1 includes a resistor to be measured Rsensor.
[0026] The first detection network 1 further includes a first resistor R1, one end of which is connected to the pull-up power supply module 3, the other end of which is grounded through the resistor to be measured Rsensor and is also connected to the sampling detection module 4 as an output end;
[0027] The resistor to be measured Rsensor is a thermistor.
[0028] Or, if Figure 3 As shown: the first detection network 1 also includes a first resistor R1, one end of the resistor to be measured Rsensor is connected to the pull-up power supply module 3, the other end is grounded through the first resistor R1, and is also connected to the sampling detection module 4 as an output end;
[0029] The resistor to be measured Rsensor is a thermistor.
[0030] The second detection network 2 includes a second resistor R2 and a third resistor R3. One end of the second resistor R2 is connected to the pull-up power supply module 3, and the other end is grounded through the third resistor R3 and is also connected to the sampling detection module 4 as an output end.
[0031] The pull-up power supply module 3 includes an amplifier U1, a fourth resistor R4, a diode D1, a first capacitor C1, a second capacitor C2 and a third capacitor C3; the in-phase input terminal of the amplifier U1 is connected to the input power supply, the inverting input terminal is connected to the input power supply through the first capacitor C1 and is also grounded through the second capacitor C2, and the output terminal is connected to the positive electrode of the diode D1; the cathode of the diode D1 is connected to the first detection network 1 and the second detection network 2;
[0032] One end of the fourth resistor R4 is connected to the cathode of the diode D1, and the other end is connected to the inverting input terminal of the amplifier U1;
[0033] One end of the third capacitor C3 is connected to the anode of the diode D1 , and the other end is connected to the inverting input terminal of the amplifier U1 .
[0034] The sampling detection module 4 includes a calculation module 41 and a first sampling unit 42 , a second sampling unit 43 , and a setting module 44 connected thereto; the first sampling unit 42 is connected to the output end of the first detection network 1 , and the second sampling unit 43 is connected to the output end of the second detection network 2 .
[0035] For example: the sampling detection module 4 includes an MCU, and the MCU includes two A / D sampling ports, and the two A / D sampling ports are respectively connected to the output end of the first detection network 1 and the output end of the second detection network 2. The MCU also has a built-in calculation module 41 containing an algorithm (the voltage division calculation is a conventional calculation logic in this field, and this embodiment will not be repeated), which receives the sampled values of the two A / D sampling ports to determine the current resistance value of the resistor to be measured Rsensor. The setting module 44 is used to input the relevant network parameters of the first detection network 1 and the second detection network 2, such as the resistance value of each resistor (including the first resistor R1 to the third resistor R3).
[0036] The utility model also includes a power input module 5, which includes a low voltage dropout linear regulator LDO. The input end of the low voltage dropout linear regulator LDO is connected to the vehicle battery B+, and the output end is connected to the sampling detection module 4 and the pull-up power module 3.
[0037] In this embodiment, the method for determining the ambient temperature is as follows:
[0038] Step 1: Store the relationship between the resistance value of the resistor to be measured Rsensor and the ambient temperature.
[0039] For example, the relationship between the resistance value of the resistor to be measured Rsensor and the ambient temperature may be stored in the form of a reference table, and the reference table may be stored in the MCU.
[0040] Step 2: Set the relevant parameters of the first detection network 1 and the second detection network 2, and input the resistance parameters.
[0041] Step 3: Select the circuit form of the resistor to be measured Rsensor.
[0042] The circuit form of the resistor to be measured Rsensor mainly refers to the position of the resistor to be measured Rsensor, for example, the resistor to be measured Rsensor is grounded or the resistor to be measured Rsensor is connected to a power supply.
[0043] Step 4, simultaneously reading the sampling value U1 and the sampling value U2 of the first detection network 1 and the second detection network 2;
[0044] Step 5: Match the preset resistance calculation model according to the circuit form of the resistor to be measured Rsensor, and output the corresponding resistance calculation result.
[0045] 1) When the resistance to be measured Rsensor is grounded (such as Figure 2 ), calculate the resistance value according to the following formula:
[0046]
[0047] 2) When the resistor Rsensor to be measured is connected to the power supply (such as Figure 3 ), calculate the resistance value according to the following formula:
[0048]
[0049] Step 6: Determine the current ambient temperature based on the pre-stored relationship between the resistance value of the resistor to be measured Rsensor and the ambient temperature.
[0050] For example, the current ambient temperature is determined by looking up a table.
[0051] The beneficial effects of the embodiments of the utility model are as follows:
[0052] Based on the temperature acquisition circuit of thermistor, a set of parallel first detection network 1 and second detection network 2 are set, and the actual resistance value of the corresponding resistor to be measured Rsensor is calculated in real time by using the corresponding voltage divider resistor. The accuracy of the measurement of the resistance value of thermistor is ensured, and the actual measured ambient temperature is clarified by the resistance value, thereby improving the detection accuracy.
[0053] Connect the pull-up power module 3 in series at the input end of the temperature acquisition circuit to increase the V PULLUPThe operational amplifier circuit of the (pull-up) power supply can pass direct current and suppress power supply noise. The output is used as a pull-up power supply for temperature detection, thereby outputting a stable sampling voltage, avoiding errors in temperature detection, and improving the accuracy of temperature detection.
[0054] The above embodiments are preferred implementation modes of the present invention, but the implementation modes of the present invention are not limited by the above embodiments. Any other changes, modifications, substitutions, combinations, and simplifications that do not deviate from the spirit and principle of the present invention should be equivalent replacement methods and are included in the protection scope of the present invention.
Claims
1. An ambient temperature detection circuit, Features: It includes a first detection network, a second detection network, a pull-up power supply module and a sampling detection module; the power supply end of the first detection network is connected to the pull-up power supply module, and the output end is connected to the sampling detection module; the second detection network is connected in parallel with the first detection network; the first detection network includes a resistor to be measured.
2. An ambient temperature detection circuit as claimed in claim 1, Features: The first detection network further includes a first resistor, one end of which is connected to the pull-up power supply module, the other end of which is grounded through the resistor to be tested and is also connected to the sampling detection module as an output end; The resistor to be measured is a thermistor.
3. An ambient temperature detection circuit as claimed in claim 1, Features: The first detection network further includes a first resistor, one end of the resistor to be tested is connected to the pull-up power supply module, the other end is grounded through the first resistor and is also connected to the sampling detection module as an output end; The resistor to be measured is a thermistor.
4. An ambient temperature detection circuit as claimed in claim 1, Features: The second detection network includes a second resistor and a third resistor. One end of the second resistor is connected to the pull-up power supply module, and the other end is grounded through the third resistor and is also connected to the sampling detection module as an output end.
5. An ambient temperature detection circuit as claimed in claim 1, Features: The pull-up power supply module includes an amplifier, a fourth resistor, a diode, a first capacitor, a second capacitor and a third capacitor; the in-phase input terminal of the amplifier is connected to the input power supply, the inverting input terminal is connected to the input power supply through the first capacitor and is also grounded through the second capacitor, and the output terminal is connected to the positive electrode of the diode; the negative electrode of the diode is connected to the first detection network and the second detection network; One end of the fourth resistor is connected to the cathode of the diode, and the other end is connected to the inverting input terminal of the amplifier; One end of the third capacitor is connected to the anode of the diode, and the other end is connected to the inverting input terminal of the amplifier.
6. An ambient temperature detection circuit as claimed in claim 1, Features: The sampling detection module includes a calculation module and a first sampling unit, a second sampling unit, and a setting module connected thereto; the first sampling unit is connected to the output end of the first detection network, and the second sampling unit is connected to the output end of the second detection network.
7. An ambient temperature detection circuit as claimed in claim 1, Features: It also includes a power input module, which includes a low voltage drop linear regulator. The input end of the low voltage drop linear regulator is connected to the vehicle battery, and the output end is connected to the sampling detection module and the pull-up power module.
