Temperature detection circuit and electronic equipment

By designing high-temperature and low-temperature detection modules in the safety chip, and using thermistor and signal output units to detect the ambient temperature, the problem of low accuracy in temperature detection of traditional safety chips is solved, and more accurate temperature detection is achieved, reducing the Risk of false alarms.

CN222027804UActive Publication Date: 2024-11-19PAX COMP TECH SHENZHEN
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420331680.4
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-02-21
Publication Date
2024-11-19
Estimated Expiration
2034-02-21

AI Technical Summary

Technical Problem

The temperature detection accuracy of traditional security chips is not high, and it is easy to cause false alarms due to the influence of the chip's own operating temperature, resulting in device locking problems.

Method used

A temperature detection circuit is designed, including a high-temperature detection module and a low-temperature detection module. The ambient temperature is detected through the thermistor and signal output unit, and the detection signal is output to assist the main control module in improving the accuracy of temperature detection and avoiding false alarms. .

Benefits of technology

Through the coordinated work of the high-temperature and low-temperature detection modules, the detection signal can be accurately output when the ambient temperature is too high or too low, improving the accuracy of temperature detection and reducing the risk of false alarms caused by heating of the main control module device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222027804U_ABST
    Figure CN222027804U_ABST
Patent Text Reader

Abstract

The utility model discloses a temperature detection circuit and electronic equipment. The temperature detection circuit comprises a voltage input module, a high-temperature detection module, a low-temperature detection module and a main control module, the high-temperature detection module is used for detecting the environment temperature and outputting a first detection signal based on the working voltage when the environment temperature is larger than or equal to a first temperature threshold value. The low-temperature detection module is connected with the voltage input module, and the low-temperature detection module is used for detecting the environment temperature and outputting a first detection signal based on the working voltage when the environment temperature is smaller than or equal to a second temperature threshold value; the main control module is provided with a signal output end and a signal input end, the signal output end is used for outputting a second detection signal, and the main control module is used for outputting a control signal based on a signal received by the signal input end. The environment temperature is detected through the high-temperature detection module and the low-temperature detection module, the corresponding first detection signal can be output to cover the second detection signal when the environment temperature is too high or too low, the main control module is assisted in detecting the environment temperature, and the temperature detection accuracy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of temperature detection technology, and in particular, relates to a temperature detection circuit and electronic equipment. Background Art

[0002] Currently, more and more security chips have a temperature detection function, which can trigger security protection when the ambient temperature exceeds the safety range of the security chip. For example, the security chip can lock the corresponding device after being triggered to protect the device.

[0003] But the problem is that the temperature detection sensor of the security chip is encapsulated inside the chip, and the temperature detection is affected by the temperature of the security chip itself during operation, which may cause false alarms. Utility Model Content

[0004] The purpose of the present application is to provide a temperature detection circuit and electronic equipment, aiming to solve the problem of low detection accuracy of traditional security chips.

[0005] The first aspect of an embodiment of the present application provides a temperature detection circuit, comprising: a voltage input module, the voltage input module is used to be connected to a power supply, the power supply is used to output a power supply voltage, and the voltage input module is used to output a working voltage based on the power supply voltage; a high temperature detection module, the high temperature detection module is connected to the voltage input module, the high temperature detection module is used to detect the ambient temperature and when the ambient temperature is greater than or equal to a first temperature threshold, output a first detection signal based on the working voltage; a low temperature detection module, the low temperature detection module is connected to the voltage input module, the low temperature detection module is used to detect the ambient temperature and when the ambient temperature is less than or equal to a second temperature threshold, output a first detection signal based on the working voltage; a main control module, the main control module is provided with a signal output end and a signal input end, the signal input end is respectively connected to the signal input end, the output end of the high temperature detection module and the output end of the low temperature detection module, the signal output end is used to output a second detection signal, and the main control module is used to output a control signal based on the signal received at the signal input end.

[0006] In one embodiment, the first temperature threshold is greater than the second temperature threshold.

[0007] In one embodiment, the high temperature detection module includes a first temperature detection unit and a first signal output unit, the input end of the first temperature detection unit is connected to the voltage input module, the output end of the first temperature detection unit is connected to the input end of the first signal output unit, and the output end of the first signal output unit is connected to the signal input end; the first temperature detection unit is used to output a first detection voltage based on the ambient temperature, and the first signal output unit is used to output the first detection signal when the first detection voltage is greater than or equal to a first voltage threshold, and the first detection voltage is positively correlated with the ambient temperature.

[0008] In one embodiment, the first temperature detection unit includes a first thermistor, a first resistor, and a second resistor; the first end of the first resistor is connected to the voltage input module, the second end of the first resistor is connected to the first end of the first thermistor, the second end of the first thermistor is respectively connected to the input end of the first signal output unit and the first end of the second resistor, and the second end of the second resistor is grounded.

[0009] In one embodiment, the first signal output unit includes a first switch and a first pull-up resistor; the first end of the first pull-up resistor is used to connect to the power supply voltage, the second end of the first pull-up resistor is respectively connected to the first conduction end of the first switch and the signal input end, the second conduction end of the first switch is grounded, and the controlled end of the first switch is connected to the output end of the first temperature detection unit.

[0010] In one embodiment, the low temperature detection module includes a second temperature detection unit and a second signal output unit, the input end of the second temperature detection unit is connected to the voltage input module, the output end of the second temperature detection unit is connected to the input end of the second signal output unit, and the output end of the second signal output unit is connected to the signal input end; the second temperature detection unit is used to output a second detection voltage based on the ambient temperature, and the second signal output unit is used to output the first detection signal when the second detection voltage is greater than or equal to a second voltage threshold, and the second detection voltage is negatively correlated with the ambient temperature.

[0011] In one embodiment, the second temperature detection unit includes a second thermistor, a third resistor and a fourth resistor; the first end of the third resistor is connected to the voltage input module, the second end of the third resistor is respectively connected to the first end of the second thermistor and the input end of the second signal output unit, the second end of the second thermistor is connected to the first end of the fourth resistor, and the second end of the fourth resistor is grounded.

[0012] In one embodiment, the second signal output unit includes a second switch and a second pull-up resistor; the first end of the second pull-up resistor is used to connect to the power supply voltage, the second end of the second pull-up resistor is respectively connected to the first conduction end of the second switch and the signal input end, the second conduction end of the second switch is grounded, and the controlled end of the second switch is connected to the output end of the second temperature detection unit.

[0013] In one embodiment, the voltage input module includes a fifth resistor and a clamping diode; the first end of the fifth resistor is used to connect to the power supply, the second end of the fifth resistor is respectively connected to the positive electrode of the clamping diode, the input end of the high temperature detection module and the input end of the low temperature detection module, and the negative electrode of the clamping diode is grounded.

[0014] A second aspect of an embodiment of the present application provides an electronic device, comprising a temperature detection circuit and a power supply as described above, wherein the power supply is connected to the temperature detection circuit, and the power supply is used to provide a power supply voltage to the temperature detection circuit.

[0015] Compared with the prior art, the embodiments of the present invention have the following beneficial effects: by detecting the ambient temperature through the high-temperature detection module and the low-temperature detection module, the corresponding first detection signal can be output to cover the second detection signal when the ambient temperature is too high or too low, thereby assisting the main control module in detecting the ambient temperature and improving the accuracy of temperature detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 A schematic diagram of the principle of a temperature detection circuit provided in one embodiment of the present application;

[0017] Figure 2 for Figure 1 An example circuit diagram of a temperature sensing circuit is shown;

[0018] Figure 3 A schematic diagram of a change in detection voltage provided in an embodiment of the present application;

[0019] Figure 4 A schematic diagram of the principle of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0020] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0021] It should be noted that when an element is referred to as being "fixed to" or "disposed on" another element, it can be directly on the other element or indirectly on the other element. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or indirectly connected to the other element.

[0022] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0023] Figure 1 The schematic diagram of the principle of the temperature detection circuit provided by an embodiment of the present application is shown. For the convenience of explanation, only the part related to the present embodiment is shown, which is described in detail as follows:

[0024] A temperature detection circuit 10 includes: a voltage input module 100, a high temperature detection module 200, a low temperature detection module 300 and a main control module 400. Figure 2 As shown, the main control module 400 may include a security chip U1.

[0025] The voltage input module 100 is used to connect with the power supply 20, the power supply 20 is used to output the power supply voltage, and the voltage input module 100 is used to output the working voltage based on the power supply voltage VDD. The high temperature detection module 200 is connected with the voltage input module 100, and the high temperature detection module 200 is used to detect the ambient temperature and output the first detection signal based on the working voltage when the ambient temperature is greater than or equal to the first temperature threshold. The low temperature detection module 300 is connected with the voltage input module 100, and the low temperature detection module 300 is used to detect the ambient temperature and output the first detection signal based on the working voltage when the ambient temperature is less than or equal to the second temperature threshold. The main control module 400 is provided with a signal output terminal Output and a signal input terminal Input, the signal input terminal Input is respectively connected with the signal input terminal Input, the output terminal of the high temperature detection module 200 and the output terminal of the low temperature detection module 300, the signal output terminal Output is used to output the second detection signal, and the main control module 400 is used to output a control signal based on the signal received by the signal input terminal Input.

[0026] It can be understood that the main control module 400 can be connected to other devices or circuits, and the control signal can control the corresponding device or circuit to stop working or perform corresponding reset operations to prevent extreme temperature from affecting the corresponding device or circuit. For example, the control signal can be used to control the register to erase information and lock the device to make it inoperable.

[0027] The signal output terminal Output can transmit a second detection signal to the signal input terminal Input. When the signal detected by the signal input terminal Input is the same as the signal output by the signal output terminal Output (i.e., when the signal input terminal Input detects the second detection signal), it indicates that the current ambient temperature is within the normal range. The second detection signal is a signal with a randomly changing level. When the signal input terminal Input detects the first detection signal, it indicates that the current ambient temperature is abnormally too high or too low.

[0028] By detecting the ambient temperature through the high temperature detection module 200 and the low temperature detection module 300, a corresponding first detection signal can be output to cover the second detection signal when the ambient temperature is too high or too low, thereby assisting the main control module 400 in detecting the ambient temperature, improving the accuracy of temperature detection, and not being affected by the heat generation of components such as the main control module.

[0029] In one embodiment, the first temperature threshold is greater than the second temperature threshold.

[0030] It can be understood that the signal output terminal Output can transmit a second detection signal to the signal input terminal Input. When the signal detected by the signal input terminal Input is the same as the signal output by the signal output terminal Output (that is, when the signal input terminal Input detects the second detection signal), it means that the current ambient temperature is less than the first temperature threshold and greater than the second temperature threshold, and is within the normal range.

[0031] In one embodiment, if Figure 2 As shown, the high temperature detection module 200 includes a first temperature detection unit 210 and a first signal output unit 220. The input end of the first temperature detection unit 210 is connected to the voltage input module 100, the output end of the first temperature detection unit 210 is connected to the input end of the first signal output unit 220, and the output end of the first signal output unit 220 is connected to the signal input end Input. The first temperature detection unit 210 is used to output a first detection voltage based on the ambient temperature, and the first signal output unit 220 is used to output a first detection signal when the first detection voltage is greater than or equal to a first voltage threshold, and the first detection voltage is positively correlated with the ambient temperature.

[0032] It can be understood that whether adjusting the first voltage threshold or controlling the correlation coefficient between the first detection voltage and the ambient temperature according to the first voltage threshold, flexible configuration of the first temperature threshold can be achieved, so that when the ambient temperature is greater than or equal to the first temperature threshold, the first signal output unit 220 is controlled to output the first detection signal.

[0033] In one embodiment, if Figure 2As shown, the first temperature detection unit 210 includes a first thermistor RT1, a first resistor R1, and a second resistor R2. The first end of the first resistor R1 is connected to the voltage input module 100, the second end of the first resistor R1 is connected to the first end of the first thermistor RT1, the second end of the first thermistor RT1 is respectively connected to the input end of the first signal output unit 220 and the first end of the second resistor R2, and the second end of the second resistor R2 is grounded.

[0034] Specifically, in some embodiments, the first thermistor RT1 is a negative temperature coefficient thermistor (NTC thermistor). The higher the ambient temperature, the smaller the resistance of the first thermistor RT1. Therefore, the higher the ambient temperature, the greater the voltage (first detection voltage) at the second end of the first thermistor RT1, until the ambient temperature is greater than or equal to the first temperature threshold, and the first detection voltage is also greater than or equal to the first voltage threshold. Figure 3 As shown, the first detection voltage U g1 The voltage value will increase with the increase of the ambient temperature T. When the ambient temperature T is greater than or equal to the first temperature threshold T H When the first detection voltage U g1 It also corresponds to being greater than or equal to the first voltage threshold U th .

[0035] In one embodiment, if Figure 2 As shown, the first signal output unit 220 includes a first switch Q1 and a first pull-up resistor R5. The first end of the first pull-up resistor R5 is used to access the power supply voltage VDD, the second end of the first pull-up resistor R5 is respectively connected to the first conduction end of the first switch Q1 and the signal input end Input, the second conduction end of the first switch Q1 is grounded, and the controlled end of the first switch Q1 is connected to the output end of the first temperature detection unit 210.

[0036] Specifically, in some embodiments, the first switch Q1 is an N-type MOS transistor, the first conduction end of the first switch Q1 is the drain of the N-type MOS transistor, the second conduction end of the first switch Q1 is the source of the N-type MOS transistor, and the controlled end of the first switch Q1 is the gate of the N-type MOS transistor.

[0037] It can be understood that the first voltage threshold is the conduction threshold of the first switch Q1, and the first detection signal is a low-level signal. When the first detection voltage is less than the first voltage threshold, the first switch Q1 is turned off. Since the resistance of the first pull-up resistor R5 is relatively large, the first signal output unit 220 cannot affect the voltage of the signal input terminal Input. When the first detection voltage is greater than or equal to the first voltage threshold, the first switch Q1 is turned on, so that the signal input terminal Input is grounded, that is, the first detection signal is output.

[0038] In one embodiment, if Figure 2 As shown, the low temperature detection module 300 includes a second temperature detection unit 310 and a second signal output unit 320, the input end of the second temperature detection unit 310 is connected to the voltage input module 100, the output end of the second temperature detection unit 310 is connected to the input end of the second signal output unit 320, and the output end of the second signal output unit 320 is connected to the signal input end Input. The second temperature detection unit 310 is used to output a second detection voltage based on the ambient temperature, and the second signal output unit 320 is used to output a first detection signal when the second detection voltage is greater than or equal to a second voltage threshold, and the second detection voltage is negatively correlated with the ambient temperature.

[0039] It is understandable that, whether adjusting the second voltage threshold or controlling the correlation coefficient between the second detection voltage and the ambient temperature according to the second voltage threshold, the second temperature threshold can be flexibly configured, so that when the ambient temperature is less than or equal to the second temperature threshold, the second signal output unit 320 is controlled to output the first detection signal. In some embodiments, the second voltage threshold is equal to the first voltage threshold.

[0040] In one embodiment, if Figure 2 As shown, the second temperature detection unit 310 includes a second thermistor RT2, a third resistor R3 and a fourth resistor R4. A first end of the third resistor R3 is connected to the voltage input module 100, a second end of the third resistor R3 is respectively connected to a first end of the second thermistor RT2 and an input end of the second signal output unit 320, a second end of the second thermistor RT2 is connected to a first end of the fourth resistor R4, and a second end of the fourth resistor R4 is grounded.

[0041] Specifically, in some embodiments, the second thermistor RT2 is a negative temperature coefficient thermistor (NTC thermistor). The higher the ambient temperature, the smaller the resistance of the second thermistor RT2. Therefore, the higher the ambient temperature, the smaller the voltage (second detection voltage) at the first end of the second thermistor RT2. When the ambient temperature is less than or equal to the second temperature threshold, the second detection voltage is also greater than or equal to the second voltage threshold. Figure 3 As shown, the second voltage threshold is equal to the first voltage threshold U th The second detection voltage U g2 The voltage value will increase as the ambient temperature T decreases. When the ambient temperature T is less than the second temperature threshold T L When the second detection voltage U g2 It also corresponds to being greater than the first voltage threshold U th The second signal output unit 320 is enabled to output the first detection signal.

[0042] In one embodiment, if Figure 2 As shown, the second signal output unit 320 includes a second switch Q2 and a second pull-up resistor R6. The first end of the second pull-up resistor R6 is used to access the power supply voltage VDD, the second end of the second pull-up resistor R6 is respectively connected to the first conduction end of the second switch Q2 and the signal input end Input, the second conduction end of the second switch Q2 is grounded, and the controlled end of the second switch Q2 is connected to the output end of the second temperature detection unit 310.

[0043] Specifically, in some embodiments, the second switch Q2 is an N-type MOS transistor. The first conduction end of the second switch Q2 is the drain of the N-type MOS transistor, the second conduction end of the second switch Q2 is the source of the N-type MOS transistor, and the controlled end of the second switch Q2 is the gate of the N-type MOS transistor.

[0044] It can be understood that the second voltage threshold is the conduction threshold of the second switch Q2, and the first detection signal is a low-level signal. When the second detection voltage is less than the second voltage threshold, due to the large resistance of the second pull-up resistor R6, the second signal output unit 320 cannot affect the voltage of the signal input terminal Input. When the second detection voltage is greater than or equal to the second voltage threshold, the second switch Q2 is turned on, so that the signal input terminal Input is grounded, that is, the first detection signal is output.

[0045] In one embodiment, if Figure 2 As shown, the voltage input module 100 includes a fifth resistor R7 and a clamping diode D1. The first end of the fifth resistor R7 is used to connect to the power supply 20, the second end of the fifth resistor R7 is respectively connected to the positive electrode of the clamping diode D1, the input end of the high temperature detection module 200 and the input end of the low temperature detection module 300, and the negative electrode of the clamping diode D1 is grounded.

[0046] It should be noted that the more accurate the working voltage is, the more accurate the detection results of the high temperature detection module 200 and the low temperature detection module 300 are. In order to avoid fluctuations in the working voltage due to fluctuations in the power supply voltage VDD provided by the power supply 20, the working voltage can be made more stable by the clamping diode D1.

[0047] Figure 4 The schematic diagram of the principle of an electronic device provided by an embodiment of the present application is shown. For the convenience of description, only the part related to the present embodiment is shown, which is described in detail as follows:

[0048] An electronic device 30 includes a temperature detection circuit 10 and a power supply 20 as described in any of the above embodiments. The power supply 20 is connected to the temperature detection circuit 10 and is used to provide a power supply voltage to the temperature detection circuit 10.

[0049] The power source 20 may be a button battery. The electronic device 30 may be a computer, a mobile phone, a tablet, an industrial computer, or other equipment.

[0050] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0051] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0052] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A temperature detection circuit, characterized in that: include: A voltage input module, the voltage input module is used to be connected to a power supply, the power supply is used to output a power supply voltage, and the voltage input module is used to output an operating voltage based on the power supply voltage; a high temperature detection module, the high temperature detection module being connected to the voltage input module, the high temperature detection module being used to detect the ambient temperature and output a first detection signal based on the working voltage when the ambient temperature is greater than or equal to a first temperature threshold; A low temperature detection module, the low temperature detection module is connected to the voltage input module, the low temperature detection module is used to detect the ambient temperature and output a first detection signal based on the working voltage when the ambient temperature is less than or equal to a second temperature threshold; A main control module, wherein the main control module is provided with a signal output terminal and a signal input terminal, wherein the signal input terminal is respectively connected to the signal input terminal, the output terminal of the high temperature detection module and the output terminal of the low temperature detection module, wherein the signal output terminal is used to output a second detection signal, and the main control module is used to output a control signal based on the signal received at the signal input terminal.

2. The temperature detection circuit according to claim 1, characterized in that: The first temperature threshold is greater than the second temperature threshold.

3. The temperature detection circuit according to claim 2, characterized in that: The high temperature detection module includes a first temperature detection unit and a first signal output unit, the input end of the first temperature detection unit is connected to the voltage input module, the output end of the first temperature detection unit is connected to the input end of the first signal output unit, and the output end of the first signal output unit is connected to the signal input end; The first temperature detection unit is used to output a first detection voltage based on the ambient temperature, and the first signal output unit is used to output the first detection signal when the first detection voltage is greater than or equal to a first voltage threshold, and the first detection voltage is positively correlated with the ambient temperature.

4. The temperature detection circuit according to claim 3, characterized in that: The first temperature detection unit includes a first thermistor, a first resistor and a second resistor; The first end of the first resistor is connected to the voltage input module, the second end of the first resistor is connected to the first end of the first thermistor, the second end of the first thermistor is respectively connected to the input end of the first signal output unit and the first end of the second resistor, and the second end of the second resistor is grounded.

5. The temperature detection circuit according to claim 3, characterized in that: The first signal output unit includes a first switch and a first pull-up resistor; The first end of the first pull-up resistor is used to access the power supply voltage, the second end of the first pull-up resistor is respectively connected to the first conduction end of the first switch and the signal input end, the second conduction end of the first switch is grounded, and the controlled end of the first switch is connected to the output end of the first temperature detection unit.

6. The temperature detection circuit according to claim 2, characterized in that: The low temperature detection module comprises a second temperature detection unit and a second signal output unit, the input end of the second temperature detection unit is connected to the voltage input module, the output end of the second temperature detection unit is connected to the input end of the second signal output unit, and the output end of the second signal output unit is connected to the signal input end; The second temperature detection unit is used to output a second detection voltage based on the ambient temperature, and the second signal output unit is used to output the first detection signal when the second detection voltage is greater than or equal to a second voltage threshold, and the second detection voltage is negatively correlated with the ambient temperature.

7. The temperature detection circuit according to claim 6, characterized in that: The second temperature detection unit includes a second thermistor, a third resistor and a fourth resistor; The first end of the third resistor is connected to the voltage input module, the second end of the third resistor is respectively connected to the first end of the second thermistor and the input end of the second signal output unit, the second end of the second thermistor is connected to the first end of the fourth resistor, and the second end of the fourth resistor is grounded.

8. The temperature detection circuit according to claim 6, characterized in that: The second signal output unit includes a second switch and a second pull-up resistor; The first end of the second pull-up resistor is used to access the power supply voltage, the second end of the second pull-up resistor is respectively connected to the first conduction end of the second switch and the signal input end, the second conduction end of the second switch is grounded, and the controlled end of the second switch is connected to the output end of the second temperature detection unit.

9. The temperature detection circuit according to any one of claims 1 to 8, characterized in that: The voltage input module includes a fifth resistor and a clamping diode; The first end of the fifth resistor is used to connect to the power supply, the second end of the fifth resistor is respectively connected to the anode of the clamping diode, the input end of the high temperature detection module and the input end of the low temperature detection module, and the cathode of the clamping diode is grounded.

10. An electronic device, characterized in that: It comprises a temperature detection circuit as described in any one of claims 1 to 9 and a power supply, wherein the power supply is connected to the temperature detection circuit, and the power supply is used to provide a power supply voltage to the temperature detection circuit.