CN116878682A - CPU temperature detection and frequency-reducing control circuit - Google Patents

CPU temperature detection and frequency-reducing control circuit Download PDF

Info

Publication number
CN116878682A
CN116878682A CN202310895643.6A CN202310895643A CN116878682A CN 116878682 A CN116878682 A CN 116878682A CN 202310895643 A CN202310895643 A CN 202310895643A CN 116878682 A CN116878682 A CN 116878682A
Authority
CN
China
Prior art keywords
cpu
transistor
pin
level
external circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310895643.6A
Other languages
Chinese (zh)
Inventor
闵辰
李鑫
郭建君
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Silicon Based Continental Chengdu Technology Co ltd
Original Assignee
Silicon Based Continental Chengdu Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Silicon Based Continental Chengdu Technology Co ltd filed Critical Silicon Based Continental Chengdu Technology Co ltd
Priority to CN202310895643.6A priority Critical patent/CN116878682A/en
Publication of CN116878682A publication Critical patent/CN116878682A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K7/00Measuring temperature based on the use of electric or magnetic elements directly sensitive to heat ; Power supply therefor, e.g. using thermoelectric elements
    • G01K7/16Measuring temperature based on the use of electric or magnetic elements directly sensitive to heat ; Power supply therefor, e.g. using thermoelectric elements using resistive elements
    • G01K7/22Measuring temperature based on the use of electric or magnetic elements directly sensitive to heat ; Power supply therefor, e.g. using thermoelectric elements using resistive elements the element being a non-linear resistance, e.g. thermistor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2236Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test CPU or processors

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Nonlinear Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Power Sources (AREA)

Abstract

The application discloses a CPU temperature detection and frequency reduction control circuit, which comprises a first level conversion circuit connected with a first pin of an external circuit, a second level conversion circuit connected with a second pin of the external circuit, and a CPU PROCHOT pin connected with a first power supply through a first resistor. The application can use low-cost transistor to replace expensive bidirectional level conversion chip, to realize the detection and down-conversion control of CPU temperature, to ensure the safe operation and service life of the device.

Description

CPU temperature detection and frequency-reducing control circuit
Technical Field
The application relates to the technical field of chip protection circuits, in particular to a CPU temperature detection and frequency-reduction control circuit.
Background
The service life of the CPU chip is closely related to the working temperature, when the working frequency of the chip is higher, the generated heat is larger, if heat dissipation or frequency reduction is not carried out in time, the chip, a main board or other components are most likely to be burnt out, so that the temperature control circuit, namely a TCC circuit is inherited in the CPU chip, and the input and the output of the TCC circuit are realized by virtue of a PROCHOT pin.
The PROCHOT pin of the Intel CPU has two functions, namely, when the temperature of the CPU exceeds the warning temperature, a low-level alarm is sent out, and the CPU works in a down-conversion mode; the other is to protect other devices on the main board, such as a power supply module, when the temperature of the power supply module exceeds the warning temperature, the monitoring circuit outputs a low level to the PROCHOT pin to activate the TCC, and the CPU is forced to reduce the frequency to achieve the purpose of protecting the power supply module. The PROCHOT pin is therefore bi-directional, and can be either output or input. Generally, the external monitoring circuit is realized by EC, BMC or CPLD, the IO of the controllers is generally 1.8V-3.3V level, and the high level of PROCHOT is about 1V, so that bidirectional level conversion is needed between a CPU PROCHOT pin and the controllers, the existing bidirectional level conversion can only be realized by means of a bidirectional level conversion chip, but the cost of the chip capable of realizing 1V and 1.8V-3.3V bidirectional level conversion is higher.
Disclosure of Invention
The application provides a CPU temperature detection and frequency reduction control circuit which can replace an original bidirectional level conversion chip with extremely low cost to realize level conversion between a CPU and an external monitoring circuit.
In a first aspect, the present application provides a CPU temperature detection and frequency-reduction control circuit, which adopts the following technical scheme:
the CPU temperature detection and frequency reduction control circuit comprises a first level conversion circuit connected with a first pin of an external circuit, and a second level conversion circuit connected with a second pin of the external circuit, wherein the other ends of the first level conversion circuit and the second level conversion circuit are connected with a CPU PROCHOT pin, and the CPU PROCHOT pin is connected with a first power supply through a first resistor.
Further, the first pin of the external circuit is a signal input end, and is configured to receive an output signal from the first level conversion circuit, so that when the temperature of the CPU is a normal operating temperature, the level of the CPU PROCHOT pin is a first voltage, and the input voltage of the first pin of the external circuit is a second voltage; when the temperature of the CPU exceeds a preset first warning temperature, the level of the CPU PROCHOT pin is a third voltage, and the input voltage of the first pin of the external circuit is a fourth voltage.
Further, the second pin of the external circuit is a signal output end, and is used for sending a control signal from the external circuit, so that when the temperature of the external circuit exceeds a preset second warning temperature, a high level is output to the second level conversion circuit through the second pin of the external circuit, and the level of the CPU PROCHOT pin is pulled to a low level, thereby controlling the CPU to perform frequency reduction.
Further, the first level conversion circuit includes a first transistor and a second transistor sequentially connected to the CPU PROCHOT pin, and one end of the second transistor is connected to the first pin of the external circuit.
Further, the first transistor is an NPN transistor, the second transistor is an NMOS transistor, a base of the first transistor is connected to the CPU PROCHOT pin through a fourth resistor, an emitter of the first transistor is grounded, and a collector of the first transistor is connected to a second power supply through a second resistor; the grid electrode of the second transistor is connected between the second resistor and the collector electrode of the first transistor, the source electrode of the second transistor is grounded, the drain electrode of the second transistor is connected with the second power supply through a third resistor, the first pin of the external circuit is connected between the drain electrode of the second transistor and the third resistor, so that when the temperature of the CPU is normal working temperature, the first transistor is in an on state, and the second transistor is in an off state; when the temperature of the CPU exceeds a preset first warning temperature, the first transistor is in an off state, and the second transistor is in an on state.
Further, the second level conversion circuit includes a third transistor, where the third transistor is an NMOS transistor, a gate of the third transistor is connected to the second pin of the external circuit, a source of the third transistor is grounded, and a drain of the third transistor is connected to the CPU PROCHOT pin.
Further, the resistance of the fourth resistor is greater than five kiloohms.
Further, the high level output by the CPU PROCHOT pin is 1V, the input level of the first pin of the external circuit is 1.8V to 3.3V, and the output level of the second pin of the external circuit is 1.8V to 3.3V.
In a second aspect, the present application provides an electronic device, which adopts the following technical scheme:
an electronic device comprises the CPU temperature detection and down-conversion control circuit.
In summary, the present application includes at least one of the following beneficial technical effects:
the CPU temperature detection and frequency reduction control circuit provided by the application realizes bidirectional level conversion between the CPU PROCHOT pin and the external circuit through the first level conversion circuit and the second level conversion circuit which are connected between the CPU PROCHOT pin and the external circuit. The first level conversion circuit is used for pulling a high level output by the CPU PROCHOT pin to a high level input signal of the external circuit, and at the moment, the external circuit can judge whether the temperature of the CPU chip is in a normal or over-temperature frequency-reducing state according to whether the high level or the low level is received by the first pin, and package the corresponding state into an event notification upper layer circuit; the second level conversion circuit is used for outputting a high level output signal of the external circuit to the CPU PROCHOT pin, and pulling the level of the CPU PROCHOT pin down to a low level, namely, the CPU chip can be forced to reduce the power consumption.
Drawings
Fig. 1 is a schematic diagram of a CPU temperature detection and down-conversion control circuit in an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The embodiment of the application discloses a CPU temperature detection and frequency reduction control circuit, which realizes low-cost PROCHOT bidirectional detection and control by using a triode and a MOS tube.
Referring to fig. 1, a CPU temperature detecting and frequency reducing control circuit includes a first level shifter circuit connected to a first pin of an external circuit, a second level shifter circuit connected to a second pin of the external circuit, the other ends of the first level shifter circuit and the second level shifter circuit being connected to a CPU PROCHOT pin connected to a first power supply through a first resistor.
In the present embodiment, bidirectional level conversion between the CPU PROCHOT pin and the external circuit is realized by the first level conversion circuit and the second level conversion circuit connected between the CPU PROCHOT pin and the external circuit. The first level conversion circuit is used for pulling a high level output by the CPU PROCHOT pin to a high level input signal of the external circuit, and at the moment, the external circuit can judge whether the temperature of the CPU chip is in a normal or over-temperature frequency-reducing state according to whether the high level or the low level is received by the first pin, and package the corresponding state into an event notification upper layer circuit; the second level conversion circuit is used for outputting a high level output signal of the external circuit to the CPU PROCHOT pin, and pulling the level of the CPU PROCHOT pin down to a low level, namely, the CPU chip can be forced to reduce the power consumption.
In one embodiment of the present application, a first pin of the external circuit is a signal input end, and is configured to receive an output signal from the first level conversion circuit, so that when a temperature of the CPU is a normal operating temperature, a level of the CPU PROCHOT pin is a first voltage, and an input voltage of the first pin of the external circuit is a second voltage; when the temperature of the CPU exceeds a preset first warning temperature, the level of the CPU PROCHOT pin is a third voltage, and the input voltage of the first pin of the external circuit is a fourth voltage.
In this embodiment, when the temperature of the CPU is normal, the level of the CPU PROCHOT pin is VCC1, at this time, the input voltage of the first pin of the external circuit is VDD, and when the temperature of the CPU exceeds the alert temperature, the level of the CPU PROCHOT pin outputs a low level, for example, is pulled down to about 0.1v, at this time, the input voltage of the first pin of the external circuit also becomes a low level, and the external circuit can determine whether the temperature of the CPU chip is normal or in an overtemperature frequency-reducing state according to whether the first pin receives a high level or a low level.
In one embodiment of the present application, the second pin of the external circuit is a signal output terminal, and is configured to send a control signal from the external circuit, so that when the temperature of the external circuit exceeds a preset second alarm temperature, a high level is output to the second level conversion circuit through the second pin of the external circuit, and the level of the CPU PROCHOT pin is pulled to a low level, thereby controlling the CPU to perform frequency reduction.
In this embodiment, when the temperature of the CPU is normal, but the external circuit detects that the temperature of other components, such as the power supply module, the motherboard, the memory bank, and the hard disk, exceeds the alarm temperature, the second pin of the external circuit outputs a high level, that is, a voltage of 1.8v to 3.3v, and the level of the pin of the PROCHOT of the CPU can be pulled to a low level by the second level conversion circuit, so as to control the CPU to reduce the power consumption of other components, and ensure the safety and reliability of the hardware operation process.
In one embodiment of the present application, the first level conversion circuit includes a first transistor and a second transistor sequentially connected to the CPU PROCHOT pin, and one end of the second transistor is connected to the first pin of the external circuit; the first transistor is an NPN transistor, the second transistor is an NMOS transistor, the base electrode of the first transistor is connected with the CPU PROCHOT pin through a fourth resistor, the emitter electrode of the first transistor is grounded, and the collector electrode of the first transistor is connected with a second power supply through a second resistor; the grid electrode of the second transistor is connected between the second resistor and the collector electrode of the first transistor, the source electrode of the second transistor is grounded, the drain electrode of the second transistor is connected with the second power supply through a third resistor, the first pin of the external circuit is connected between the drain electrode of the second transistor and the third resistor, so that when the temperature of the CPU is normal working temperature, the first transistor is in an on state, and the second transistor is in an off state; when the temperature of the CPU exceeds a preset first warning temperature, the first transistor is in an off state, and the second transistor is in an on state.
In this embodiment, the first resistor R1 functions to pull up the CPU PROCHOT pin level to VCC1 (typically 1.0V), which is VCC1 when the CPU or Controller is not de-driven. The second resistor R2 and the third resistor R3 function to provide bias currents for the first transistor and the second transistor, respectively. The first transistor Q1 is an NPN transistor, the second transistor Q2 is a MOS transistor, and level conversion and isolation are provided for a PROCHOT signal output by the CPU after combination.
In one embodiment of the present application, the second level conversion circuit includes a third transistor, the third transistor is an NMOS transistor, a gate of the third transistor is connected to the second pin of the external circuit, a source of the third transistor is grounded, and a drain of the third transistor is connected to the CPU PROCHOT pin.
In the present embodiment, the third transistor Q3 provides level conversion for the output of the external circuit, and at the same time, the first resistor R1 also provides bias current for Q3.
In one embodiment of the present application, the fourth resistor has a resistance greater than five kiloohms.
In this embodiment, the fourth resistor R4 limits the current for the NPN tube base, and provides a voltage difference to ensure that the PROCHOT pin level is not pulled low due to the turn-on of the NPN tube, so this resistor needs to be relatively large, typically greater than 5K ohms.
In one embodiment of the present application, the high level output by the CPU PROCHOT pin is 1V, the input level of the first pin of the external circuit is 1.8V to 3.3V, and the output level of the second pin of the external circuit is 1.8V to 3.3V.
In one embodiment of the present application, an electronic device is further provided, which includes the above-mentioned CPU temperature detection and frequency-reduction control circuit, where the electronic device may be a computer or a server, and by using the CPU temperature detection and frequency-reduction control circuit provided by the present application, detection and frequency-reduction control of the CPU temperature may be implemented.
The working principle of the preferred embodiment of the CPU temperature detection and frequency reduction control circuit is as follows:
when the temperature of the CPU chip is normal, the level output by the CPU PROCHOT pin is VCC1, at the moment, the first transistor Q1 is turned on, the second transistor Q2 is turned off, the input level of the first pin IO1 of the external circuit is VDD, and the external circuit can judge that the temperature of the CPU chip is normal according to the input level at the moment.
When the temperature of the CPU chip exceeds the warning temperature, the level output by the CPU PROCHOT pin is low, at the moment, the first transistor Q1 is cut off, the second transistor Q2 is turned on, the input level of the first pin IO1 of the external circuit is low, and the external circuit can judge that the temperature of the CPU chip exceeds the warning temperature according to the input level at the moment, carry out temperature warning and report the CPU down-conversion reason.
When the temperature of the CPU is normal, but the external circuit detects that other components, such as a power supply module and the like, exceed the boundary temperature, the output level of the second pin IO2 of the external circuit is high, the third transistor Q3 is conducted at the moment, the level of the PROCHOT pin of the CPU is pulled to low level, the CPU can be forced to reduce the frequency of the CPU so as to reduce the power consumption, and the purpose of protecting other components is achieved.
When the temperature of the CPU and the temperature of the external circuit are both in the normal range, the output level of the second pin IO2 of the external circuit is low, and at this time, the third transistor Q3 is turned off, so that the level of the CPU PROCHOT pin is not affected.
According to the principle, the technical scheme of the application uses a low-cost transistor to replace a high-cost bidirectional level conversion chip, and can also realize the detection and the down-conversion control of the CPU temperature.
In the embodiments provided by the present application, it should be understood that the provided circuitry may be implemented in other ways.
In the foregoing embodiments, the descriptions of the embodiments are focused on, and for those portions of one embodiment that are not described in detail, reference may be made to the related descriptions of other embodiments.
The foregoing description of the preferred embodiments of the application is not intended to limit the scope of the application in any way, including the abstract and drawings, in which case any feature disclosed in this specification (including abstract and drawings) may be replaced by alternative features serving the same, equivalent purpose, unless expressly stated otherwise. That is, each feature is one example only of a generic series of equivalent or similar features, unless expressly stated otherwise.

Claims (9)

1. A CPU temperature detection and frequency-reduction control circuit is characterized in that: the high-voltage power supply comprises a first level conversion circuit connected with a first pin of an external circuit, and a second level conversion circuit connected with a second pin of the external circuit, wherein the other ends of the first level conversion circuit and the second level conversion circuit are connected with a CPU PROCHOT pin, and the CPU PROCHOT pin is connected with a first power supply through a first resistor.
2. The CPU temperature detection and down-conversion control circuit according to claim 1, wherein: the first pin of the external circuit is a signal input end and is used for receiving an output signal from the first level conversion circuit, so that when the temperature of the CPU is normal working temperature, the level of the CPU PROCHOT pin is a first voltage, and the input voltage of the first pin of the external circuit is a second voltage; when the temperature of the CPU exceeds a preset first warning temperature, the level of the CPU PROCHOT pin is a third voltage, and the input voltage of the first pin of the external circuit is a fourth voltage.
3. The CPU temperature detection and down-conversion control circuit according to claim 1, wherein: the second pin of the external circuit is a signal output end and is used for sending a control signal from the external circuit, so that when the temperature of the external circuit exceeds a preset second warning temperature, a high level is output to the second level conversion circuit through the second pin of the external circuit, and the level of the CPU PROCHOT pin is pulled to a low level, so that the CPU frequency reduction is controlled.
4. The CPU temperature detection and down-conversion control circuit according to claim 1 or 2, characterized in that: the first level conversion circuit comprises a first transistor and a second transistor which are sequentially connected with a CPU PROCHOT pin, and one end of the second transistor is connected with the first pin of the external circuit.
5. The CPU temperature detection and down-conversion control circuit according to claim 4, wherein: the first transistor is an NPN transistor, the second transistor is an NMOS transistor, the base electrode of the first transistor is connected with the CPU PROCHOT pin through a fourth resistor, the emitter electrode of the first transistor is grounded, and the collector electrode of the first transistor is connected with a second power supply through a second resistor; the grid electrode of the second transistor is connected between the second resistor and the collector electrode of the first transistor, the source electrode of the second transistor is grounded, the drain electrode of the second transistor is connected with the second power supply through a third resistor, the first pin of the external circuit is connected between the drain electrode of the second transistor and the third resistor, so that when the temperature of the CPU is normal working temperature, the first transistor is in an on state, and the second transistor is in an off state; when the temperature of the CPU exceeds a preset first warning temperature, the first transistor is in an off state, and the second transistor is in an on state.
6. A CPU temperature detection and down-conversion control circuit according to claim 1 or 3, characterized in that: the second level conversion circuit comprises a third transistor, the third transistor is an NMOS transistor, the grid electrode of the third transistor is connected with a second pin of the external circuit, the source electrode of the third transistor is grounded, and the drain electrode of the third transistor is connected with the PROCHOT pin of the CPU.
7. The CPU temperature detection and down-conversion control circuit according to claim 5, wherein: and the resistance value of the fourth resistor is larger than five kiloohms.
8. A CPU temperature detection and down conversion control circuit according to claim 2 or 3, wherein: the high level output by the CPU PROCHOT pin is 1V, the input level of the first pin of the external circuit is 1.8V to 3.3V, and the output level of the second pin of the external circuit is 1.8V to 3.3V.
9. An electronic device comprising a CPU temperature detection and down-conversion control circuit as claimed in any one of claims 1 to 8.
CN202310895643.6A 2023-07-19 2023-07-19 CPU temperature detection and frequency-reducing control circuit Pending CN116878682A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310895643.6A CN116878682A (en) 2023-07-19 2023-07-19 CPU temperature detection and frequency-reducing control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310895643.6A CN116878682A (en) 2023-07-19 2023-07-19 CPU temperature detection and frequency-reducing control circuit

Publications (1)

Publication Number Publication Date
CN116878682A true CN116878682A (en) 2023-10-13

Family

ID=88264146

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310895643.6A Pending CN116878682A (en) 2023-07-19 2023-07-19 CPU temperature detection and frequency-reducing control circuit

Country Status (1)

Country Link
CN (1) CN116878682A (en)

Similar Documents

Publication Publication Date Title
US8841940B2 (en) System and method for a driver circuit
JP5064905B2 (en) Semiconductor device
CN102047560B (en) Output driver with overvoltage protection
US11329477B2 (en) Direct-current voltage supply circuit
CN104332949A (en) Temperature protection device for circuit system
US5138516A (en) Fault sensing and driving system for output driver device
US7881028B2 (en) E-fuse used to disable a triggering network
US5206778A (en) Sense circuit for on-chip thermal shutdown
CN107907777B (en) Short circuit detection circuit and method and control circuit
US8698484B2 (en) Over-voltage and over-temperature detecting circuit
CN113452009A (en) Protective circuit
CN116878682A (en) CPU temperature detection and frequency-reducing control circuit
US6222716B1 (en) Power line protection devices and methods for providing overload protection to multiple outputs
US6850396B1 (en) Fail safe circuit with reset capability for a power supply
US11418052B2 (en) Power circuit and driving method thereof
CN104460900A (en) Server with heat radiation control device
CN212231073U (en) Overcurrent protection circuit with alarming and time-delay self-recovery functions
CN215835479U (en) HDMI interface protection circuit and mainboard
CN219436968U (en) IGBT driving pulse protection circuit
CN110690883A (en) EC reset circuit and electronic equipment based on composite signal
CN113452361B (en) Universal serial bus signal output circuit with reverse current prevention mechanism
CN110688260B (en) EC reset circuit and electronic equipment based on earphone interface
TWI528179B (en) Server with power source protection system and power source protection method
CN114552539B (en) Protective circuit
CN210518243U (en) EC reset circuit and electronic equipment based on composite signal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination