High-precision temperature acquisition circuit, method and vehicle
By designing a high-precision temperature acquisition circuit including a resistor and an operational amplifier U, the problem of the wide resistance range of the thermistor NTC in new energy vehicles is solved, and low-cost, high-precision temperature detection is achieved.
Patent Information
- Application Number
- CN202210188762.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-28
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-02-28
AI Technical Summary
New energy vehicle power components have a wide temperature detection range, and the maximum resistance range of the thermistor NTC is 4,000 times the minimum resistance, making it difficult to guarantee high sampling accuracy.
Design a high-precision temperature acquisition circuit, including resistors R1, R2, R3, R4, R5, R6, transistor Q1, MOS tube Q2, operational amplifier U, control module, judgment module, acquisition module and calculation module. Through specific resistors The connection and the use of operational amplifier U realize high-precision temperature acquisition of the thermistor NTC.
It effectively solves the problem of the wide resistance range of the thermistor NTC, realizes low-cost and high-precision temperature acquisition, and improves the accuracy of temperature detection.
Smart Images

Figure CN114563101B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of motor controllers for electric drive systems of new energy vehicles, and in particular relates to a high-precision temperature acquisition circuit, method and vehicle. Background Art
[0002] The temperature detection range of power domain components in new energy vehicles is -40℃~125℃. The current resistance range of the thermistor NTC in this range is very wide, and the maximum resistance is about 4000 times the minimum resistance, which makes it very difficult to ensure high sampling accuracy.
[0003] Therefore, it is necessary to develop a new high-precision temperature acquisition circuit, method and vehicle. Summary of the invention
[0004] The present invention provides a low-cost, wide NTC range, high-precision temperature acquisition circuit, method and vehicle.
[0005] In the first aspect, a high-precision temperature acquisition circuit described in the present invention includes a resistor R1, a resistor R2, a resistor R3, a resistor R4, a resistor R5, a resistor R6, a transistor Q1, a MOS tube Q2, an operational amplifier U, a control module, a judgment module, a collection module, a calculation module and a power supply 5V_VCC. The connection relationship of the above components is as follows:
[0006] One end of the resistor R1 is connected to the control module, the other end of the resistor R1 is connected to the base of the transistor Q1, the connection point between the resistor R1 and the base of the transistor Q1 is grounded via the resistor R2, the emitter of the transistor Q1 is grounded, the collector of the transistor Q1 is connected to the power supply 5V_VCC via the resistor R3 and the resistor R4; the connection point between the resistor R3 and the resistor R4 is connected to the gate of the MOS transistor Q2, the drain of the MOS transistor Q2 is connected to the power supply 5V_VCC; the source of the MOS transistor Q2 is connected to one end of the thermistor NTC via the resistor R6. The other end of the thermistor NTC is grounded, and the connection point of the thermistor NTC and the resistor R6 is also connected to the power supply 5V_VCC through the resistor R5; the connection point of the thermistor NTC and the resistor R6 is connected to the same-direction input terminal of the operational amplifier U, the reverse input terminal of the operational amplifier U is connected to the output terminal of the operational amplifier U, the positive power supply terminal of the operational amplifier U is connected to the power supply 5V_VCC, and the negative power supply terminal of the operational amplifier U is grounded; the output terminal of the operational amplifier U is connected to the acquisition module, and the acquisition module is connected to the judgment module; the judgment module is respectively connected to the control module and the calculation module;
[0007] The control module is used to control the on and off of the transistor Q1;
[0008] The acquisition module is used to transmit the voltage value output by the operational amplifier U to the judgment module;
[0009] The judging module is used to judge whether it is necessary to change the output level of the control module and whether to transmit the voltage value output by the collecting module to the calculating module according to the voltage value output by the collecting module;
[0010] The calculation module calculates the temperature value corresponding to the thermistor NTC based on the output value of the judgment module.
[0011] Optionally, the resistance of the resistor R5 is more than 10 times the resistance of the resistor R6.
[0012] Optionally, the transistor is an NPN transistor.
[0013] Optionally, the MOS tube Q2 is a P-MOS tube.
[0014] In a second aspect, a high-precision temperature sampling method according to the present invention adopts the high-precision temperature acquisition circuit according to the present invention, and the method comprises the following steps:
[0015] Step 1: The control module outputs a low level. At this time, there is no voltage across the resistor R2, and the transistor Q1 is disconnected. At this time, there is no voltage across the resistor R4, and the MOS tube Q2 is disconnected. At this time, the resistor R5 and the thermistor NTC form a voltage divider, and the divided voltage enters the acquisition module after being followed by the operational amplifier U;
[0016] Step 2: The judgment module compares the voltage U1 output by the acquisition module with the first threshold UT1. If U1>UT1, U1 is transmitted to the calculation module for calculation. The calculation module calculates the resistance RNTC of the thermistor NTC based on U1. The RNTC calculation formula is RNTC=U1*R5 / (5-U1). The corresponding relationship table of the thermistor resistance and temperature is checked according to the calculated resistance RNTC to obtain the temperature of the thermistor NTC at this time.
[0017] Step 3: If U1≤UT1, the judgment module controls the control module to output a high level. At this time, the resistors R2 and R1 form a voltage divider, and the transistor Q1 is turned on. At this time, the resistors R3 and R4 form a voltage divider, and the MOS tube Q2 is turned on. At this time, the resistors R5 and R6 are connected in parallel to form a voltage divider with the thermistor NTC. The divided voltage enters the acquisition module after passing through the operational amplifier U.
[0018] Step 4: The judgment module compares the voltage U2 transmitted by the acquisition module with the second threshold UT2. If U2 < UT2, the voltage U1 and the voltage U2 are transmitted to the calculation module for calculation; the calculation module calculates the resistance RNTC of the thermistor NTC based on U1 and U2; the RNTC calculation formula is RNTC = U2 * R5 * R6 / ((5-U1) * (R5 + R6)), and the corresponding relationship table of the thermistor resistance and temperature is checked according to the calculated resistance RNTC to obtain the temperature of the thermistor NTC at this time;
[0019] Step 5: If U2 ≥ UT2, return to step 1.
[0020] In a third aspect, a vehicle described in the present invention adopts the high-precision temperature acquisition circuit described in the present invention.
[0021] The present invention has the following advantages: The present invention provides a low-cost, wide NTC range, high-precision temperature acquisition circuit, which solves the problem that the NTC resistance range of thermistors is very wide. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 is a principle block diagram of the high-precision temperature acquisition circuit described in this embodiment;
[0023] In the figure, 1. control module, 2. judgment module, 3. acquisition module, 4. calculation module. DETAILED DESCRIPTION
[0024] The present invention will be further described below in conjunction with the accompanying drawings.
[0025] like Figure 1 As shown, in this embodiment, a high-precision temperature acquisition circuit includes a resistor R1, a resistor R2, a resistor R3, a resistor R4, a resistor R5, a resistor R6, a transistor Q1, a MOS tube Q2, an operational amplifier U, a control module 1, a judgment module 2, a collection module 3, a calculation module 4 and a power supply 5V_VCC. The connection relationship of the above components is as follows:
[0026] One end of the resistor R1 is connected to the control module 1, and the other end of the resistor R1 is connected to the base of the transistor Q1. The connection point between the resistor R1 and the base of the transistor Q1 is grounded via the resistor R2, the emitter of the transistor Q1 is grounded, and the collector of the transistor Q1 is connected to the power supply 5V_VCC via the resistor R3 and the resistor R4; the connection point between the resistor R3 and the resistor R4 is connected to the gate of the MOS tube Q2, and the drain of the MOS tube Q2 is connected to the power supply 5V_VCC; the source of the MOS tube Q2 is connected to one end of the thermistor NTC via the resistor R6, and the thermistor NTC is connected to the collector of the transistor Q1. The other end of the thermistor NTC is grounded, and the connection point of the thermistor NTC and the resistor R6 is also connected to the power supply 5V_VCC through the resistor R5; the connection point of the thermistor NTC and the resistor R6 is connected to the same-direction input end of the operational amplifier U, the reverse input end of the operational amplifier U is connected to the output end of the operational amplifier U, the positive power supply end of the operational amplifier U is connected to the power supply 5V_VCC, and the negative power supply end of the operational amplifier U is grounded; the output end of the operational amplifier U is connected to the acquisition module 3, and the acquisition module 3 is connected to the judgment module 2; the judgment module 2 is connected to the control module 1 and the calculation module 4 respectively. The control module 1 is used to control the conduction and disconnection of the triode Q1; the acquisition module 3 is used to transmit the voltage value output by the operational amplifier U to the judgment module 2; the judgment module 2 is used to judge whether it is necessary to change the output level of the control module 1 and whether to transmit the voltage value output by the acquisition module 3 to the calculation module 4 according to the voltage value output by the acquisition module 3; the calculation module 4 calculates the temperature value corresponding to the thermistor NTC based on the output value of the judgment module 2.
[0027] In this embodiment, R11 is a current limiting protection resistor; R12 is a pull-down voltage divider resistor. Resistors R3 and R4 are current limiting voltage divider resistors. Transistor Q1 is controlled by control module 1, resistor R1 and resistor R2. MOS tube Q2 is controlled by transistor Q1, resistor R3 and resistor R4. Resistors R5 and R6 are voltage divider resistors of thermistor NTC. The operational amplifier U follows the voltage divided by thermistor NTC and resistors R5 and R6.
[0028] In this embodiment, the resistance value of the resistor R5 is more than 10 times the resistance value of the resistor R6.
[0029] In this embodiment, the transistor is an NPN transistor, and the MOS transistor Q2 is a P-MOS transistor.
[0030] In this embodiment, a high-precision temperature sampling method is provided, using the high-precision temperature acquisition circuit described in this embodiment, and the method includes the following steps:
[0031] Step 1: The judgment module 2 controls the control module 1 to output a low level. At this time, there is no voltage across the resistor R2, and the transistor Q1 is disconnected. At this time, there is no voltage across the resistor R4, and the MOS tube Q2 is disconnected. At this time, the resistor R5 and the thermistor NTC form a voltage divider, and the divided voltage is followed by the operational amplifier U and then enters the acquisition module 3;
[0032] Step 2: The judgment module 2 compares the voltage U1 output by the acquisition circuit 3 with the first threshold UT1. If U1>UT1, the voltage U1 is transmitted to the calculation module 4 for calculation. The calculation module 4 calculates the resistance RNTC of the thermistor NTC based on the voltage U1. The calculation formula of RNTC is RNTC=U1*R5 / (5-U1). According to the calculated resistance RNTC, the corresponding relationship table of the thermistor resistance and temperature is checked to obtain the temperature of the thermistor NTC at this time.
[0033] Step 3: If U1≤UT1, the judgment module 2 controls the control module 1 to output a high level. At this time, the resistors R2 and R1 form a voltage divider, and the transistor Q1 is turned on. At this time, the resistors R3 and R4 form a voltage divider, and the MOS tube Q2 is turned on. At this time, the resistors R5 and R6 are connected in parallel to form a voltage divider with the thermistor NTC. The divided voltage is followed by the operational amplifier U and enters the acquisition module 3;
[0034] Step 4: The judgment module 2 compares the voltage U2 transmitted by the acquisition module 3 with the second threshold UT2. If U2 < UT2, the voltage U1 and the voltage U2 are transmitted to the calculation module 4 for calculation; the calculation module 4 calculates the resistance RNTC of the thermistor NTC based on the voltage U1 and the voltage U2; the RNTC calculation formula is RNTC = U2 * R5 * R6 / ((5-U1) * (R5 + R6)), and according to the calculated resistance RNTC, the corresponding relationship table of the thermistor resistance and temperature is checked to obtain the temperature of the thermistor NTC at this time;
[0035] Step 5: If U2 ≥ UT2, return to step 1.
[0036] In this embodiment, a vehicle adopts the high-precision temperature acquisition circuit as described in this embodiment.
Claims
1. A high-precision temperature acquisition circuit, Features: It includes a resistor R1, a resistor R2, a resistor R3, a resistor R4, a resistor R5, a resistor R6, a transistor Q1, a MOS tube Q2, an operational amplifier U, a control module (1), a judgment module (2), a collection module (3), a calculation module (4) and a power supply 5V_VCC. The connection relationship of the above components is as follows: One end of the resistor R1 is connected to the control module (1), the other end of the resistor R1 is connected to the base of the transistor Q1, the connection point between the resistor R1 and the base of the transistor Q1 is grounded via the resistor R2, the emitter of the transistor Q1 is grounded, the collector of the transistor Q1 is connected to the power supply 5V_VCC via the resistor R3 and the resistor R4; the connection point between the resistor R3 and the resistor R4 is connected to the gate of the MOS transistor Q2, the drain of the MOS transistor Q2 is connected to the power supply 5V_VCC; the source of the MOS transistor Q2 is connected to one end of the thermistor NTC via the resistor R6, the thermistor NTC is connected to the gate of the MOS transistor Q2, and the drain of the MOS transistor Q2 is connected to the power supply 5V_VCC; the source of the MOS transistor Q2 is connected to one end of the thermistor NTC via the resistor R6. The other end of C is grounded, and the connection point between the thermistor NTC and the resistor R6 is also connected to the power supply 5V_VCC via the resistor R5; the connection point between the thermistor NTC and the resistor R6 is connected to the same-direction input end of the operational amplifier U, the reverse input end of the operational amplifier U is connected to the output end of the operational amplifier U, the positive power supply end of the operational amplifier U is connected to the power supply 5V_VCC, and the negative power supply end of the operational amplifier U is grounded; the output end of the operational amplifier U is connected to the acquisition module (3), the acquisition module (3) is connected to the judgment module (2); the judgment module (2) is respectively connected to the control module (1) and the calculation module (4); The control module (1) is used to control the on and off of the transistor Q1; The acquisition module (3) is used to transmit the voltage value output by the operational amplifier U to the judgment module (2); The judgment module (2) is used to judge whether it is necessary to change the output level of the control module (1) and whether to transmit the voltage value output by the acquisition module (3) to the calculation module (4) according to the voltage value output by the acquisition module (3); The calculation module (4) calculates the temperature value corresponding to the thermistor NTC based on the output value of the judgment module (2).
2. The high-precision temperature acquisition circuit according to claim 1, Features: The resistance value of the resistor R5 is more than 10 times the resistance value of the resistor R6.
3. The high-precision temperature acquisition circuit according to claim 1 or 2, Features: The transistor is an NPN transistor.
4. The high-precision temperature acquisition circuit according to claim 3, Features: The MOS tube Q2 is a P-MOS tube.
5. A high-precision temperature sampling method, Features: Using the high-precision temperature acquisition circuit as described in any one of claims 1 to 4, the method comprises the following steps: Step 1: The judgment module (2) controls the control module (1) to output a low level. At this time, there is no voltage across the resistor R2, and the transistor Q1 is disconnected. At this time, there is no voltage across the resistor R4, and the MOS tube Q2 is disconnected. At this time, the resistor R5 and the thermistor NTC form a voltage divider. The divided voltage is followed by the operational amplifier U and then enters the acquisition module (3); Step 2: The judgment module (2) compares the voltage U1 output by the acquisition module (3) with the first threshold value UT1. If U1>UT1, U1 is transmitted to the calculation module (4) for calculation. The calculation module (4) calculates the resistance value RNTC of the thermistor NTC based on U1. The calculation formula of RNTC is RNTC=U1*R5 / (5-U1). The corresponding relationship table of the thermistor resistance value and temperature is checked according to the calculated resistance value RNTC to obtain the temperature of the thermistor NTC at this time. Step 3: If U1≤UT1, the judgment module (2) controls the control module (1) to output a high level. At this time, the resistors R2 and R1 form a voltage divider, and the transistor Q1 is turned on. At this time, the resistors R3 and R4 form a voltage divider, and the MOS tube Q2 is turned on. At this time, the resistors R5 and R6 are connected in parallel to form a voltage divider with the thermistor NTC. The divided voltage passes through the operational amplifier U and enters the acquisition module (3). Step 4: the judgment module (2) compares the voltage U2 transmitted by the acquisition module (3) with the second threshold value UT2. If U2 is less than UT2, the voltage U1 and the voltage U2 are transmitted to the calculation module (4) for calculation. The calculation module (4) calculates the resistance value RNTC of the thermistor NTC based on U1 and U2. The RNTC calculation formula is RNTC=U2*R5*R6 / ((5-U1)*(R5+R6)). The corresponding relationship table of the thermistor resistance value and temperature is checked according to the calculated resistance value RNTC to obtain the temperature of the thermistor NTC at this time. Step 5: If U2 ≥ UT2, return to step 1.
6. A vehicle, Features: A high-precision temperature acquisition circuit as described in any one of claims 1 to 4 is used.
