Temperature detection circuit

Through the quantitative method of time-to-digital conversion, the stable power supply circuit and the temperature-sensing current circuit are used to convert the temperature into a time amount, which solves the high power consumption and complexity problems of the existing temperature detection circuit and achieves high accuracy, low power consumption and high reliability. Sexual temperature detection.

CN118794559AInactive Publication Date: 2024-10-18MIANYANG WEIBO ELECTRONICS
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411272942.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-12
Publication Date
2024-10-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Since the existing temperature detection circuit involves analog-to-digital conversion, its operating power consumption is large and the circuit implementation is complex.

Method used

Using the quantitative method of time-to-digital conversion, through the cooperation of stable power supply circuit, temperature sensing current circuit, current transmission circuit, capacitor charging and discharging circuit, logic operation and pulse width extraction circuit, the temperature value is converted into time, reducing circuit power consumption and Simplify circuit implementation.

Benefits of technology

On the premise of achieving the same accuracy, the circuit power consumption is reduced, the circuit structure is simplified, the anti-interference ability and reliability are improved, and the temperature drift and zero drift problems in the analog circuit are avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118794559A_ABST
    Figure CN118794559A_ABST
Patent Text Reader

Abstract

The invention discloses a temperature detection circuit, relates to the technical field of temperature detection, and solves the problems that an existing temperature detection circuit relates to analog-to-digital conversion, the operation power consumption is large, and the implementation circuit is complex. The technical key points are that the circuit comprises a stable power supply circuit, a temperature sensing current circuit, a current transmission circuit, a capacitor charging and discharging circuit, a state decision circuit and a logic operation and pulse width extraction circuit which are connected in sequence; the temperature sensing current circuit generates two temperature sensing currents which change along with temperature and are different in magnitude; the current transmission circuit transmits two temperature sensing currents; the capacitor charging and discharging circuit controls the first capacitor and the second capacitor to discharge based on the control signal; the state decision circuit generates a trigger signal based on discharging of the first capacitor and the second capacitor; the logic operation and pulse width extraction circuit generates a pulse signal based on the trigger signal, and the pulse width is a function of temperature; a temperature detection result is output in a time-to-digital conversion quantization mode, circuit power consumption is reduced, and the implementation circuit is simplified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of temperature detection, and more specifically, to a temperature detection circuit. Background Art

[0002] Existing temperature detection circuits mainly use analog-to-digital conversion to output temperature detection results, including: temperature sensors, analog-to-digital converters, microcontrollers and display devices. The temperature is detected by the temperature sensor and an analog signal is output. The analog signal is converted into a digital signal by the analog-to-digital converter. The digital signal is processed by the microcontroller and the temperature measurement result is displayed by the display device. This type of temperature detection circuit involves analog-to-digital conversion, has high operating power consumption, and has a complex circuit implementation.

[0003] Therefore, the present application provides a temperature detection circuit to solve the above problems. Summary of the invention

[0004] The purpose of the present application is to provide a temperature detection circuit to solve the problems that the existing temperature detection circuit involves analog-to-digital conversion, has high operating power consumption, and has complex circuit implementation; the temperature detection result is output in a quantitative manner through time-to-digital conversion. Under the premise of achieving the same detection accuracy, the circuit power consumption is lower and the circuit implementation structure is simpler.

[0005] The above technical objectives of the present application are achieved through the following technical solutions: including: a stable power supply circuit, a temperature-sensitive current circuit, a current transmission circuit, a capacitor charging and discharging circuit, a state judgment circuit and a logic operation and pulse width extraction circuit connected in sequence; the stable power supply circuit is used to provide a power supply voltage that does not change with temperature for the temperature-sensitive current circuit; the temperature-sensitive current circuit is used to generate a first temperature-sensitive current and a second temperature-sensitive current that change with temperature and have different sizes; the current transmission circuit is used to transmit the first temperature-sensitive current through the first temperature-sensitive current branch and transmit the second temperature-sensitive current through the second temperature-sensitive current branch; the capacitor charging and discharging circuit is used to control the first capacitor to discharge the first temperature-sensitive current branch based on a control signal and control the second capacitor to discharge the second temperature-sensitive current branch based on a control signal; the state judgment circuit is used to generate a first trigger signal when the voltage of the first capacitor is discharged to a first reference voltage and to generate a second trigger signal when the voltage of the second capacitor is discharged to a second reference voltage; the logic operation and pulse width extraction circuit is used to generate a pulse signal based on the first trigger signal and the second trigger signal, and the pulse width of the pulse signal is the time difference between the first trigger signal and the second trigger signal; wherein the pulse width of the pulse signal is a function of temperature.

[0006] By adopting the above technical scheme, a stable power supply circuit, a temperature sensing current circuit, a current transmission circuit, a capacitor charging and discharging circuit, a state judgment circuit and a logic operation and pulse width extraction circuit are set to cooperate with each other, the temperature value is converted into a time quantity, and the time quantity is used to quantify the temperature value. Compared with the traditional quantization method using analog-to-digital conversion, this scheme can reduce circuit power consumption and simplify the implementation circuit while achieving the same accuracy.

[0007] In a possible implementation, the stable power supply circuit includes: a power supply VDD, an NMOS tube MP0, an NMOS tube MP1, an NMOS tube MP2, an NMOS tube MP3, an NMOS tube MP4, a PMOS tube MP5, an operational amplifier, a resistor R1, a resistor R2, a resistor R3, a resistor R4, a resistor R5 and a resistor R6; The power source VDD is connected to the drain of the NMOS tube MP0, the source of the NMOS tube MP0 is connected to the drain of the NMOS tube MP1, the source of the NMOS tube MP1 is connected to the drain of the NMOS tube MP2, the source of the NMOS tube MP2 is connected to the drain of the NMOS tube MP3, the source of the NMOS tube MP3 is connected to the drain of the NMOS tube MP4, the source of the NMOS tube MP4 is connected to the power source VSS, and the gates of the NMOS tubes MP0, MP1, MP2, MP3, and MP4 are all connected to their respective sources; The power supply VDD is connected to the drain of the PMOS tube MP5, and the source of the PMOS tube MP5 is grounded through the resistors R1, R2, R3, R4, R5 and R6 in sequence; the first input end of the operational amplifier is connected to the connection point of the NMOS tube MP3 and the NMOS tube MP4, the second input end is connected to the connection point of the PMOS tube MP5 and the resistor R1, and the output end is connected to the gate of the PMOS tube MP5; the connection point of the resistor R5 and the resistor R3 is led out to provide a power supply voltage Vg that does not change with temperature.

[0008] In a possible implementation, the temperature sensing current circuit includes: a PTAT current circuit and a CTAT current circuit, the PTAT current circuit is used to generate a first temperature sensing current proportional to the absolute temperature, and the CTAT current circuit is used to generate a second temperature sensing current inversely proportional to the absolute temperature.

[0009] In a possible implementation, the PTAT current circuit includes: an operational amplifier, a power supply VDD, an NMOS tube MP6, a PMOS tube MP8, a thermistor RT, and an NMOS tube MP7; a first input terminal of the operational amplifier is connected to a power supply voltage provided by a stable power supply circuit, a second input terminal is grounded through the thermistor RT, and an output terminal is connected to a gate of the PMOS tube MP8; the power supply VDD is connected to a source of the NMOS tube MP6, a gate of the NMOS tube MP6 is connected to a gate of the NMOS tube MP7 and to a drain of the NMOS tube MP6, a drain of the NMOS tube MP6 is connected to a source of the PMOS tube MP8, and a drain of the PMOS tube MP8 is grounded through the thermistor RT; the power supply VDD is connected to a source of the NMOS tube MP7, and a drain of the NMOS tube MP7 provides a first temperature sensing current.

[0010] In a possible implementation, the CTAT current circuit includes: an operational amplifier, a power supply VDD, an NMOS tube MP9, a PMOS tube MP11, a PMOS tube MP12, and an NMOS tube MP10; a first input terminal of the operational amplifier is connected to a power supply voltage provided by a stable power supply circuit, a second input terminal is connected to a source of the PMOS tube MP12, and an output terminal is connected to a gate of the PMOS tube MP11; the power supply VDD is connected to a source of the NMOS tube MP9, a gate of the NMOS tube MP9 is connected to a gate of the NMOS tube MP10 and to a drain of the NMOS tube MP9, a drain of the NMOS tube MP9 is connected to a source of the PMOS tube MP11, a drain of the PMOS tube MP11 is connected to a source of the PMOS tube MP12, and a drain of the PMOS tube MP12 is grounded; the power supply VDD is connected to a source of the NMOS tube MP10, and a drain of the NMOS tube MP10 provides a second temperature sensing current.

[0011] In a possible implementation, the first temperature-sensitive current branch and the second temperature-sensitive current branch of the current transmission circuit have the same structure, and are both cascode current mirrors composed of PMOS tubes.

[0012] In a possible implementation, the capacitor charging and discharging circuit includes: a first capacitor charging and discharging circuit and a second capacitor charging and discharging circuit; the first capacitor charging and discharging circuit includes: a power supply VDD, a switch S1, and a capacitor C1, the power supply VDD is connected to the capacitor C1 through the switch S1 for charging, and the capacitor C1 is connected to the first temperature-sensitive current branch for discharge; the second capacitor charging and discharging circuit includes: a power supply VDD, a switch S2, and a capacitor C2, the power supply VDD is connected to the capacitor C2 through the switch S2 for charging, and the capacitor C2 is connected to the second temperature-sensitive current branch for discharge; the switch S1 and the switch S2 are opened and closed according to the control signal.

[0013] In one possible implementation, the state decision circuit includes a first state decision circuit and a second state decision circuit; the first state decision circuit includes a first comparator, a first input terminal of the first comparator is connected to capacitor C1, a second input terminal is connected to a first reference voltage, and an output terminal provides a first trigger signal; the second state decision circuit includes a second comparator, a first input terminal of the second comparator is connected to capacitor C2, a second input terminal is connected to a second reference voltage, and an output terminal provides a second trigger signal.

[0014] In a possible implementation, the logic operation and pulse width extraction circuit includes: an XOR circuit, wherein a first input terminal of the XOR circuit is connected to a first trigger signal, a second input terminal is connected to a second trigger signal, and an output terminal provides a pulse signal.

[0015] In a possible implementation, the first temperature sensing current is greater than the second temperature sensing current.

[0016] Compared with the prior art, the present application has the following beneficial effects: through the cooperation of specially set stable power supply circuit, temperature sensing current circuit, current transmission circuit, capacitor charging and discharging circuit, state judgment circuit and logic operation and pulse width extraction circuit, the temperature value is converted into time quantity, and the temperature value is quantified by time quantity instead of the traditional analog-to-digital conversion quantization method. First, the measurement accuracy is high: the advanced temperature sensing technology and digital signal processing technology are adopted to realize the accurate measurement of temperature, with high resolution and small error, which can meet the needs of various high-precision temperature detection; second, the power consumption is low: the characteristics of low power consumption, coupled with the optimization of digital processing mode, make this temperature detection circuit perform well in power consumption, which is particularly important for devices that need to run for a long time or are battery-powered; third, the anti-interference ability is strong: digital signal transmission has stronger anti-interference ability than analog signal transmission, and can effectively avoid the influence of noise and other interference on the temperature measurement results; fourth, the reliability is high: the detection circuit adopts digital signal processing mode, which avoids the problems of temperature drift and zero drift in the analog circuit, and improves the reliability and stability of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The drawings described herein are used to provide a further understanding of the embodiments of the present invention, constitute a part of this application, and do not constitute a limitation of the embodiments of the present invention. In the drawings: Figure 1 A schematic diagram of a temperature detection circuit provided in an embodiment of the present application; Figure 2 A circuit diagram of a stable power supply circuit provided in an embodiment of the present application; Figure 3 A circuit diagram of a PTAT current circuit provided in an embodiment of the present application; Figure 4A circuit diagram of a CTAT current circuit provided in an embodiment of the present application; Figure 5 A circuit diagram of a temperature-sensing current branch provided in an embodiment of the present application; Figure 6 A schematic diagram of a capacitor charging and discharging circuit and a state determination circuit provided in an embodiment of the present application; Figure 7 A circuit diagram of a capacitor charging and discharging circuit, a state determination circuit, and a logic operation and pulse width extraction circuit provided in an embodiment of the present application. DETAILED DESCRIPTION

[0018] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with examples and drawings. The illustrative implementation scheme of the present application and its description are only used to explain the present application and are not intended to limit the present application.

[0019] See also Figure 1 As shown, Figure 1 The schematic diagram of the temperature detection circuit is shown in FIG. 1 . The temperature detection circuit includes: a stable power supply circuit, a temperature sensing current circuit, a current transmission circuit, a capacitor charging and discharging circuit, a state judgment circuit, and a logic operation and pulse width extraction circuit connected in sequence; the stable power supply circuit is used to provide a power supply voltage that does not change with temperature for the temperature sensing current circuit; the temperature sensing current circuit is used to generate a first temperature sensing current and a second temperature sensing current that change with temperature and have different magnitudes; the current transmission circuit is used to transmit the first temperature sensing current through the first temperature sensing current branch and transmit the second temperature sensing current through the second temperature sensing current branch; the capacitor charging and discharging circuit is used to control the first capacitor to discharge the first temperature sensing current branch based on a control signal and control the second capacitor to discharge the second temperature sensing current branch based on a control signal; the state judgment circuit is used to generate a first trigger signal when the voltage of the first capacitor is discharged to a first reference voltage and to generate a second trigger signal when the voltage of the second capacitor is discharged to a second reference voltage; the state judgment circuit and the logic operation and pulse width extraction circuit are used to generate a pulse signal based on the first trigger signal and the second trigger signal, and the pulse width of the pulse signal is the time difference between the first trigger signal and the second trigger signal; wherein the pulse width of the pulse signal is a function of temperature.

[0020] Specifically, the temperature detection circuit is mainly composed of 6 circuits. Stable power supply circuit: a power supply circuit composed of PMOS tubes and resistors that does not change with temperature can be used; temperature-sensing current circuit: a VI conversion circuit based on operational amplifier control can be used, and the temperature characteristics of the current are determined by voltage and resistance; current transmission circuit: a static current linear transmission circuit composed of two current mirrors cascaded of PMOS and NMOS can be used; capacitor charging and discharging circuit; state judgment circuit: a comparator can be used to complete the state judgment; logic operation and pulse width extraction circuit: an XOR gate circuit can be used to complete the logic operation and pulse width extraction.

[0021] The principle of temperature measurement in this scheme is to generate two temperature-sensing currents of different magnitudes that change with temperature through a temperature-sensing current circuit, generate two trigger signals through a capacitor charging and discharging circuit, and extract the time difference between the two trigger signals through logical operations and a pulse width extraction circuit. The two temperature-sensing currents change linearly with temperature, and the time difference between the two trigger signals also changes linearly with temperature.

[0022] The improvement of this solution lies in that the temperature value is converted into a time quantity through the cooperation of a specially set stable power supply circuit, a temperature sensing current circuit, a current transmission circuit, a capacitor charging and discharging circuit, a state judgment circuit and a logic operation and a pulse width extraction circuit, and the time quantity is used to quantify the temperature value. Compared with the traditional quantization method using analog-to-digital conversion, this solution can reduce circuit power consumption and simplify the implementation circuit while achieving the same accuracy.

[0023] See also Figure 2 As shown, Figure 2 The circuit diagram of the stable power supply circuit is a power supply circuit that does not change with temperature. It can be composed of 5 NMOS tubes with source and substrate short-circuited and 6 identical resistors. The final voltage division results in a supply voltage Vg that does not change with temperature.

[0024] In a possible implementation, the stable power supply circuit includes: a power supply VDD, an NMOS tube MP0, an NMOS tube MP1, an NMOS tube MP2, an NMOS tube MP3, an NMOS tube MP4, a PMOS tube MP5, an operational amplifier OP, a resistor R1, a resistor R2, a resistor R3, a resistor R4, a resistor R5 and a resistor R6; the power supply VDD is connected to the drain of the NMOS tube MP0, the source of the NMOS tube MP0 is connected to the drain of the NMOS tube MP1, the source of the NMOS tube MP1 is connected to the drain of the NMOS tube MP2, the source of the NMOS tube MP2 is connected to the drain of the NMOS tube MP3, the source of the NMOS tube MP3 is connected to the drain of the NMOS tube MP4, and the NMOS tube MP The source of the NMOS tube MP4 is connected to the power supply VSS, and the gates of the NMOS tube MP0, the NMOS tube MP1, the NMOS tube MP2, the NMOS tube MP3, and the NMOS tube MP4 are all connected to their respective sources; the power supply VDD is connected to the drain of the PMOS tube MP5, and the source of the PMOS tube MP5 is grounded through the resistors R1, R2, R3, R4, R5, and R6 in sequence; the first input terminal of the operational amplifier OP is connected to the connection point of the NMOS tube MP3 and the NMOS tube MP4, the second input terminal is connected to the connection point of the PMOS tube MP5 and the resistor R1, and the output terminal is connected to the gate of the PMOS tube MP5; the connection point of the resistor R5 and the resistor R3 is led out to provide a supply voltage Vg that does not change with temperature.

[0025] See also Figure 3 and Figure 4 As shown, Figure 3 is the circuit diagram of the PTAT current circuit, Figure 4 The circuit diagram of the CTAT current circuit is shown in Figure 2. The temperature sensing current circuit includes the PTAT current circuit and the CTAT current circuit, which respectively generate temperature sensing currents I(T) of different sizes that vary with temperature. The PTAT current circuit mainly relies on the temperature coefficient of the resistor RT to achieve temperature current conversion, while the CTAT current circuit is based on the temperature sensing parameter V of the MOS tube MP12. th The temperature current conversion is realized by the change of the two variables of voltage u with the temperature. The PTAT current circuit is used to generate the first temperature sensing current I1(T) which is proportional to the absolute temperature, and the CTAT current circuit is used to generate the second temperature sensing current I2(T) which is inversely proportional to the absolute temperature.

[0026] It should be noted that the temperature-sensing current circuit can also convert the temperature characteristics of the resistor and MOS tube into a temperature-sensing voltage V(T).

[0027] In a possible implementation, the PTAT current circuit includes: an operational amplifier OP, a power supply VDD, an NMOS tube MP6, a PMOS tube MP8, a thermistor RT, and an NMOS tube MP7; a first input terminal of the operational amplifier OP is connected to a power supply voltage Vg provided by a stable power supply circuit, a second input terminal is grounded through the thermistor RT, and an output terminal is connected to a gate of the PMOS tube MP8; the power supply VDD is connected to a source of the NMOS tube MP6, a gate of the NMOS tube MP6 is connected to a gate of the NMOS tube MP7 and to a drain of the NMOS tube MP6, a drain of the NMOS tube MP6 is connected to a source of the PMOS tube MP8, and a drain of the PMOS tube MP8 is grounded through the thermistor RT; the power supply VDD is connected to a source of the NMOS tube MP7, and a drain of the NMOS tube MP7 provides a first temperature sensing current I1(T).

[0028] In a possible implementation, the CTAT current circuit includes: an operational amplifier OP, a power supply VDD, an NMOS tube MP9, a PMOS tube MP11, a PMOS tube MP12, and an NMOS tube MP10; a first input terminal of the operational amplifier OP is connected to a power supply voltage Vg provided by a stable power supply circuit, a second input terminal is connected to a source of the PMOS tube MP12, and an output terminal is connected to a gate of the PMOS tube MP11; the power supply VDD is connected to a source of the NMOS tube MP9, a gate of the NMOS tube MP9 is connected to a gate of the NMOS tube MP10 and to a drain of the NMOS tube MP9, a drain of the NMOS tube MP9 is connected to a source of the PMOS tube MP11, a drain of the PMOS tube MP11 is connected to a source of the PMOS tube MP12, and a drain of the PMOS tube MP12 is grounded; the power supply VDD is connected to a source of the NMOS tube MP10, and a drain of the NMOS tube MP10 provides a second temperature-sensing current I2(T).

[0029] See also Figure 5 As shown, Figure 5 The circuit diagram of the temperature-sensing current branch is shown in FIG. 1 . The current transmission circuit includes two temperature-sensing current branches: a first temperature-sensing current branch and a second temperature-sensing current branch, which are used to transmit the first temperature-sensing current I1(T) and the second temperature-sensing current I2(T) respectively. The first temperature-sensing current branch and the second temperature-sensing current branch have the same structure, and are both cascode current mirrors composed of four PMOS tubes (M0, M1, M2, and M3). The first temperature-sensing current I1(T) and the second temperature-sensing current I2(T) enter from the input terminal Iin of the temperature-sensing current branch and exit from the output terminal Iout of the temperature-sensing current branch.

[0030] See also Figure 6 As shown, Figure 6The schematic diagram of the capacitor charging and discharging circuit and the state judgment circuit is shown in FIG. The capacitor charging and discharging circuit includes a first capacitor charging and discharging circuit and a second capacitor charging and discharging circuit with the same structure. The first capacitor charging and discharging circuit and the second capacitor charging and discharging circuit are both composed of a power supply VDD, a switch S, and a capacitor C. The power supply VDD is connected to the capacitor C for charging through the switch S, and the capacitor C is connected to the temperature-sensing current branch for discharge. The capacitor C of the first / second capacitor charging and discharging circuit is charged and discharged under the control of the temperature-sensing current I(T) and the control signal Srart.

[0031] See also Figure 7 As shown, Figure 7 The circuit diagram is a capacitor charging and discharging circuit, a state judgment circuit, and a logic operation and pulse width extraction circuit. In a possible implementation, the capacitor charging and discharging circuit includes: a first capacitor charging and discharging circuit and a second capacitor charging and discharging circuit; the first capacitor charging and discharging circuit includes: a power supply VDD, a switch S1, and a capacitor C1, the power supply VDD is connected to the capacitor C1 through the switch S1 for charging, and the capacitor C1 is connected to the first temperature-sensitive current branch for discharge; the second capacitor charging and discharging circuit has the same structure as the first capacitor charging and discharging circuit, including: a power supply VDD, a switch S2, and a capacitor C2, the power supply VDD is connected to the capacitor C2 for charging through the switch S2, and the capacitor C2 is connected to the second temperature-sensitive current branch for discharge; the switch S1 and the switch S2 are disconnected according to the control signal Srart.

[0032] See also Figure 6 As shown, the state decision circuit converts the electrical signal into a time quantity (trigger time of the trigger signal). The state decision circuit includes a first state decision circuit and a second state decision circuit with the same structure, and the first / second state decision circuits are both composed of a comparator COMP. The first input terminal of the comparator is connected to a capacitor C, the second input terminal is connected to a reference voltage Vref, and the output terminal Pout provides a trigger signal.

[0033] See also Figure 7 As shown, Figure 7 The circuit diagram is a capacitor charging and discharging circuit, a state determination circuit, and a logic operation and pulse width extraction circuit. In a possible implementation, the state determination circuit includes a first state determination circuit and a second state determination circuit; the first state determination circuit includes a first comparator COMP1, the first input end of the first comparator COMP1 is connected to a capacitor C1, the second input end is connected to a first reference voltage Vref1, and the output end provides a first trigger signal EN; the second state determination circuit includes a second comparator COMP2, the first input end of the second comparator COMP2 is connected to a capacitor C2, the second input end is connected to a second reference voltage Vref2, and the output end provides a second trigger signal STOP.

[0034] It should be noted that when the control signal Start is at a low level, switches S1 and S2 are closed, capacitors C1 and C2 are charged to VDD, and the first comparator and the second comparator output a low level; when the control signal Start is at a high level, switches S1 and S2 are opened, capacitor C1 is discharged through the first temperature-sensitive current branch, and capacitor C2 is discharged through the second temperature-sensitive current branch; when the voltage of capacitor C1 is discharged to Vref1, the first comparator flips, the output of the first comparator changes from a low level to a high level, and a first trigger signal EN is provided. When the voltage of capacitor C2 is discharged to Vref2, the second comparator flips, the output of the second comparator changes from a low level to a high level, and a second trigger signal STOP is provided. Among them, the delay Td1 between the rising edge of EN and the rising edge of Start is the time for capacitor C1 to discharge through I1(T), and the delay Td2 between the rising edge of STOP and the rising edge of Start is the time for capacitor C2 to discharge through I2(T). The temperature-sensitive current is converted into a time quantity by the capacitor discharge formula t=CV / I, where t is time, C is capacitance, V is voltage, and I is current.

[0035] See also Figure 7 As shown, Figure 7 The circuit diagram is a capacitor charging and discharging circuit, a state determination circuit, and a logic operation and pulse width extraction circuit. In a possible implementation, the logic operation and pulse width extraction circuit includes: an XOR (exclusive OR gate) circuit, wherein the first input terminal of the XOR circuit is connected to the first trigger signal EN, the second input terminal is connected to the second trigger signal STOP, and the output terminal provides a pulse signal Pout.

[0036] It should be noted that the first temperature sensing current I1 (T) and the second temperature sensing current I2 (T) are controlled so that the first temperature sensing current I1 (T) is slightly larger than the second temperature sensing current I2 (T). The switches S1 and S2 are opened and closed by the same control signal Start. Figure 7 The right half is a timing waveform diagram, in which the delay time Td1 between the first trigger signal EN and the control signal Start is small; the delay time Td2 between the second trigger signal STOP and the control signal Start is large. After the two pass through the XOR circuit, a pulse signal Pout is generated, and its pulse width value pw=Td2-Td1, so the pulse width value pw is related to the temperature. And when Td1 and Td2 are linearly related to the temperature, the pulse width value pw is also linearly related to the temperature.

[0037] It can be understood that the advantages of this solution are: 1. High precision: The solution adopts advanced temperature sensing technology and digital signal processing technology to achieve accurate measurement of temperature. It has high resolution and small error, which can meet various high-precision temperature detection needs. 2. Low power consumption: The solution has the characteristics of low power consumption, coupled with the optimization of digital processing methods, which makes this temperature detection circuit perform well in terms of power consumption. This is especially important for devices that need to run for a long time or are battery-powered. 3. Strong anti-interference ability: Digital signal transmission has stronger anti-interference ability than analog signal transmission, and can effectively avoid the influence of noise and other interference on temperature measurement results. 4. High reliability: The detection circuit of the solution adopts digital signal processing, which avoids problems such as temperature drift and zero drift in analog circuits, and improves the reliability and stability of the system.

[0038] The above specific implementation methods further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific implementation methods of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A temperature detection circuit, It is characterized in that include: A stable power supply circuit, a temperature sensing current circuit, a current transmission circuit, a capacitor charging and discharging circuit, a state determination circuit, and a logic operation and pulse width extraction circuit connected in sequence; The stable power supply circuit is used to provide the temperature-sensitive current circuit with a supply voltage that does not change with temperature; The temperature-sensing current circuit is used to generate a first temperature-sensing current and a second temperature-sensing current that vary with temperature and have different magnitudes; The current transmission circuit is used to transmit the first temperature-sensing current through a first temperature-sensing current branch, and transmit the second temperature-sensing current through a second temperature-sensing current branch; The capacitor charging and discharging circuit is used to control the first capacitor to discharge the first temperature-sensitive current branch based on a control signal, and to control the second capacitor to discharge the second temperature-sensitive current branch based on a control signal; The state determination circuit is used to generate a first trigger signal when the voltage of the first capacitor is discharged to a first reference voltage, and to generate a second trigger signal when the voltage of the second capacitor is discharged to a second reference voltage; The logic operation and pulse width extraction circuit is used to generate a pulse signal based on the first trigger signal and the second trigger signal, and the pulse width of the pulse signal is the time difference between the first trigger signal and the second trigger signal; Wherein, the pulse width of the pulse signal is a function of temperature.

2. A temperature detection circuit according to claim 1, It is characterized in that The stable power supply circuit includes: a power supply VDD, an NMOS tube MP0, an NMOS tube MP1, an NMOS tube MP2, an NMOS tube MP3, an NMOS tube MP4, a PMOS tube MP5, an operational amplifier, a resistor R1, a resistor R2, a resistor R3, a resistor R4, a resistor R5 and a resistor R6; The power source VDD is connected to the drain of the NMOS tube MP0, the source of the NMOS tube MP0 is connected to the drain of the NMOS tube MP1, the source of the NMOS tube MP1 is connected to the drain of the NMOS tube MP2, the source of the NMOS tube MP2 is connected to the drain of the NMOS tube MP3, the source of the NMOS tube MP3 is connected to the drain of the NMOS tube MP4, the source of the NMOS tube MP4 is connected to the power source VSS, and the gates of the NMOS tubes MP0, MP1, MP2, MP3, and MP4 are all connected to their respective sources; The power source VDD is connected to the drain of the PMOS tube MP5, and the source of the PMOS tube MP5 is grounded through the resistor R1, the resistor R2, the resistor R3, the resistor R4, the resistor R5 and the resistor R6 in sequence; The first input terminal of the operational amplifier is connected to the connection point of the NMOS tube MP3 and the NMOS tube MP4, the second input terminal is connected to the connection point of the PMOS tube MP5 and the resistor R1, and the output terminal is connected to the gate of the PMOS tube MP5; The connection point of the resistor R5 and the resistor R3 is led out to provide a supply voltage Vg that does not change with temperature.

3. A temperature detection circuit according to claim 1, It is characterized in that The temperature sensing current circuit includes: a PTAT current circuit and a CTAT current circuit. The PTAT current circuit is used to generate a first temperature sensing current proportional to the absolute temperature, and the CTAT current circuit is used to generate a second temperature sensing current inversely proportional to the absolute temperature.

4. A temperature detection circuit according to claim 3, It is characterized in that The PTAT current circuit includes: an operational amplifier, a power supply VDD, an NMOS tube MP6, a PMOS tube MP8, a thermistor RT, and an NMOS tube MP7; The first input terminal of the operational amplifier is connected to the supply voltage provided by the stable power supply circuit, the second input terminal is grounded through the thermistor RT, and the output terminal is connected to the gate of the PMOS tube MP8; The power source VDD is connected to the source of the NMOS tube MP6, the gate of the NMOS tube MP6 is connected to the gate of the NMOS tube MP7 and connected to the drain of the NMOS tube MP6, the drain of the NMOS tube MP6 is connected to the source of the PMOS tube MP8, and the drain of the PMOS tube MP8 is grounded through the thermistor RT; The power source VDD is connected to the source of the NMOS tube MP7, and the drain of the NMOS tube MP7 provides a first temperature sensing current.

5. A temperature detection circuit according to claim 3, It is characterized in that The CTAT current circuit includes: an operational amplifier, a power supply VDD, an NMOS tube MP9, a PMOS tube MP11, a PMOS tube MP12, and an NMOS tube MP10; The first input terminal of the operational amplifier is connected to the supply voltage provided by the stable power supply circuit, the second input terminal is connected to the source of the PMOS tube MP12, and the output terminal is connected to the gate of the PMOS tube MP11; The power source VDD is connected to the source of the NMOS tube MP9, the gate of the NMOS tube MP9 is connected to the gate of the NMOS tube MP10 and connected to the drain of the NMOS tube MP9, the drain of the NMOS tube MP9 is connected to the source of the PMOS tube MP11, the drain of the PMOS tube MP11 is connected to the source of the PMOS tube MP12, and the drain of the PMOS tube MP12 is grounded; The power source VDD is connected to the source of the NMOS tube MP10, and the drain of the NMOS tube MP10 provides a second temperature sensing current.

6. A temperature detection circuit according to claim 1, It is characterized in that The first temperature-sensing current branch and the second temperature-sensing current branch of the current transmission circuit have the same structure, and are both cascode current mirrors composed of PMOS tubes.

7. A temperature detection circuit according to claim 1, It is characterized in that The capacitor charging and discharging circuit comprises: a first capacitor charging and discharging circuit and a second capacitor charging and discharging circuit; The first capacitor charging and discharging circuit comprises: a power supply VDD, a switch S1, and a capacitor C1, wherein the power supply VDD is connected to the capacitor C1 through the switch S1 for charging, and the capacitor C1 is connected to the first temperature-sensitive current branch for discharging; The second capacitor charging and discharging circuit comprises: a power supply VDD, a switch S2, and a capacitor C2, wherein the power supply VDD is connected to the capacitor C2 through the switch S2 for charging, and the capacitor C2 is connected to the second temperature-sensitive current branch for discharging; The switch S1 and the switch S2 are opened and closed according to a control signal.

8. A temperature detection circuit according to claim 1, It is characterized in that The state decision circuit includes a first state decision circuit and a second state decision circuit; The first state determination circuit comprises a first comparator, a first input terminal of the first comparator is connected to the capacitor C1, a second input terminal is connected to the first reference voltage, and an output terminal provides a first trigger signal; The second state determination circuit includes a second comparator, a first input terminal of the second comparator is connected to the capacitor C2, a second input terminal is connected to a second reference voltage, and an output terminal provides a second trigger signal.

9. A temperature detection circuit according to claim 1, It is characterized in that The logic operation and pulse width extraction circuit comprises: an XOR circuit, a first input end of the XOR circuit is connected to a first trigger signal, a second input end is connected to a second trigger signal, and an output end provides a pulse signal.

10. A temperature detection circuit according to claim 1, It is characterized in that The first temperature-sensing current is greater than the second temperature-sensing current.

Citation Information

Patent Citations

  • Time domain integrated temperature sensor

    CN103837243A

  • Pulse width signal generation circuit applied to digital CMOS temperature sensor

    CN104833437A