CN114281167A - Server fan control method, device, terminal and storage medium - Google Patents

Server fan control method, device, terminal and storage medium Download PDF

Info

Publication number
CN114281167A
CN114281167A CN202111422346.7A CN202111422346A CN114281167A CN 114281167 A CN114281167 A CN 114281167A CN 202111422346 A CN202111422346 A CN 202111422346A CN 114281167 A CN114281167 A CN 114281167A
Authority
CN
China
Prior art keywords
fan
cpu
temperature
server
thermistor
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.)
Withdrawn
Application number
CN202111422346.7A
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202111422346.7A priority Critical patent/CN114281167A/en
Publication of CN114281167A publication Critical patent/CN114281167A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Cooling Or The Like Of Electrical Apparatus (AREA)

Abstract

The invention relates to the field of server fan control, and particularly discloses a server fan control method, a server fan control device, a server fan control terminal and a storage medium, wherein a preset temperature threshold is read; reading the CPU temperature based on the thermistor; judging whether the read CPU temperature is greater than or equal to a preset temperature threshold value or not; if the read CPU temperature is greater than or equal to the preset temperature threshold, a fan switch is started to start the fan; and if the read CPU temperature is less than the preset temperature threshold, closing a fan switch to stop the fan. The invention reads the temperature of the CPU based on the thermistor, and turns on the fan when the read temperature of the CPU is more than or equal to the preset temperature threshold, or turns off the fan. The invention automatically starts the fan to radiate the heat of the CPU when the CPU heats to a certain degree, and the fan does not need to be started immediately after the server is started, namely the fan does not work when the CPU does not heat, thereby greatly avoiding the waste of electric energy.

Description

Server fan control method, device, terminal and storage medium
Technical Field
The invention relates to the field of server fan control, in particular to a server fan control method, a server fan control device, a server fan control terminal and a storage medium.
Background
The rapid development of the internet also brings prosperity to the server market. The large amount of data storage and calculation are completed by a server. Since these servers are often required to operate continuously for 24 hours, the amount of heat generated is conceivable, and the indoor temperature is generally lowered by an air conditioner. Meanwhile, in the server, a professional heat dissipation design such as liquid cooling heat dissipation or fan heat dissipation is also required, and the current mainstream heat dissipation mode is still fan heat dissipation.
At present, a fan starts to work when a server is started, the fan is controlled only by controlling the rotating speed of the fan, and the rotating speed of the fan is adjusted by adjusting the duty ratio of square waves through PWM (pulse width modulation). However, the fan is controlled to start working immediately after the server is started, and actually, components such as a processor of the server do not generate heat obviously, which causes waste of power. Especially for large rooms, the power consumed by the fans of thousands of servers is large even at low fan speeds.
Disclosure of Invention
In order to solve the above problems, the present invention provides a server fan control method, apparatus, terminal and storage medium, which automatically turn on a fan to dissipate heat of a CPU when the CPU heats to a certain extent, without starting the fan immediately after the server is started, i.e., the fan does not work when the CPU does not heat, thereby greatly avoiding waste of electrical energy.
In a first aspect, a technical solution of the present invention provides a server fan control method, including the following steps:
reading a preset temperature threshold;
reading the CPU temperature based on the thermistor;
judging whether the read CPU temperature is greater than or equal to a preset temperature threshold value or not;
if the read CPU temperature is greater than or equal to the preset temperature threshold, a fan switch is started to start the fan; and if the read CPU temperature is less than the preset temperature threshold, closing a fan switch to stop the fan.
Further, reading a preset temperature threshold, specifically:
reading a preset temperature threshold value based on the sliding resistance.
Further, the thermistor is a negative temperature coefficient thermistor;
judging whether the read CPU temperature is greater than or equal to a preset temperature threshold value, specifically:
and judging whether the voltage at the two ends of the thermistor is less than or equal to the voltage at the two ends of the sliding resistor.
In a second aspect, the present invention provides a server fan control device, including,
a CPU temperature detector: used for detecting the temperature of the CPU;
a fan switch actuator: the switch is electrically connected with the fan and is used for switching the fan;
and, a temperature processor; the input end of the temperature processor is electrically connected with the CPU temperature detector, and the output end of the temperature processor is electrically connected with the fan switch actuator; when the CPU temperature detected by the CPU temperature detector is judged to be higher than a preset value, a fan switch actuator is controlled to be started, so that the fan is started; and when the CPU temperature detected by the CPU temperature detector is judged to be lower than the preset value, the fan switch actuator is controlled to be closed, so that the fan stops.
Further, the CPU temperature detector includes a voltage dividing resistor R1 and a thermistor R2;
the first end of the divider resistor R1 is connected with a power supply voltage, the second end is connected with the first end of the thermistor R2, and the second end of the thermistor R2 is grounded; the first end of the thermistor R2 is connected with the input end of the temperature processor.
Further, the fan switch actuator comprises a transistor T1 and a resistor R5, wherein the transistor T1 is a PNP type transistor;
the base electrode of the triode T1 is connected with the first end of the resistor R5, the second end of the resistor R5 is connected with the output end of the fan switch actuator, the collector electrode is grounded, one path of the emitter electrode is connected with the power supply voltage, the other path of the emitter electrode is connected with the positive electrode of the fan, and the negative electrode of the fan is grounded.
Further, the temperature processor comprises a chip U1 and a sliding resistor R3; wherein, the chip U1 is an LM393 model chip;
the first end of the sliding resistor R3 is connected with a power supply voltage, the second end of the sliding resistor R3 is grounded, and the sliding end of the sliding resistor R3 is connected with the No. 2 pin and the No. 5 pin of the chip U1; the 1 st pin of the chip U1 is connected with the second end of the resistor R5; the 3 rd pin of the chip U1 is connected with the first end of the thermistor R2; the 6 th pin and the 7 th pin of the chip U1 are connected; pin 8 of chip U1 is connected to a supply voltage.
Further, the temperature processor also comprises a light emitting diode D1 and a resistor R4;
the first end of the resistor R4 is connected with the power supply voltage, the second end is connected with the anode of the light emitting diode D1, and the cathode of the light emitting diode D1 is connected with the 1 st pin of the chip U1.
In a third aspect, a technical solution of the present invention provides a terminal, including:
a memory for storing a server fan control program;
a processor for implementing the steps of the server fan control method as described in any one of the above when executing the server fan control program.
In a fourth aspect, an aspect of the present invention provides a computer-readable storage medium, where a server fan control program is stored, and when the server fan control program is executed by a processor, the server fan control program implements the steps of the server fan control method according to any one of the above.
Compared with the prior art, the server fan control method, the server fan control device, the server fan control terminal and the storage medium have the following beneficial effects: reading the temperature of the CPU based on the thermistor, and turning on the fan when the read CPU temperature is greater than or equal to a preset temperature threshold, or turning off the fan. The invention automatically starts the fan to radiate the heat of the CPU when the CPU heats to a certain degree, and the fan does not need to be started immediately after the server is started, namely the fan does not work when the CPU does not heat, thereby greatly avoiding the waste of electric energy.
Drawings
For a clearer explanation of the embodiments or technical solutions of the prior art of the present application, the drawings needed for the description of the embodiments or prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart illustrating a server fan control method according to an embodiment of the present invention.
Fig. 2 is a flowchart illustrating a server fan control method according to a second embodiment of the present invention.
Fig. 3 is a schematic block diagram of a server fan control device according to a third embodiment of the present invention.
Fig. 4 is a schematic circuit diagram of a server fan control device according to a third embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a terminal according to a fourth embodiment of the present invention.
Detailed Description
The problem of waste of electric power is caused by the fact that the fan starts to work immediately after the server is started under the control of the fan at present, and actually, components such as a processor and the like of the server do not generate heat obviously at the moment, and especially for a large machine room, electric energy consumed by thousands of fans of the server is large even if the rotating speed of the fan is low. The invention provides a server fan control scheme, which comprises the steps of firstly reading a preset temperature threshold, then reading the temperature of a CPU (Central processing Unit) on the basis of a thermistor in real time, simultaneously judging whether the read temperature of the CPU is greater than or equal to the preset temperature threshold, and starting a fan switch to start a fan when the read temperature of the CPU is greater than or equal to the preset temperature threshold; and when the read CPU temperature is less than the preset temperature threshold, closing the fan switch to stop the fan. The invention automatically starts the fan to radiate the heat of the CPU when the CPU heats to a certain degree, and the fan does not need to be started immediately after the server is started, namely the fan does not work when the CPU does not heat, thereby greatly avoiding the waste of electric energy.
In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Example one
As shown in fig. 1, the present embodiment provides a server fan control method, including the following steps.
And S101, reading a preset temperature threshold.
Presetting a temperature threshold according to the temperature control requirement, and automatically starting the fan when the temperature of the CPU is higher than the threshold; when the CPU temperature is lower than the threshold, the fan is automatically turned off. Namely, when the temperature of the CPU is low, the fan is not started, and unnecessary waste is avoided.
S102, reading the CPU temperature based on the thermistor.
In the embodiment, the temperature of the CPU is detected by the thermistor, and the thermistor can be a thermistor with a secondary temperature coefficient, and the resistance value of the thermistor is reduced along with the rise of the temperature. And judging whether the temperature of the CPU exceeds a preset temperature threshold value or not by collecting the voltages at the two ends of the thermistor, and correspondingly, calibrating the preset temperature threshold value by using the voltage.
S103, judging whether the read CPU temperature is larger than or equal to a preset temperature threshold value.
S104, if the read CPU temperature is more than or equal to a preset temperature threshold, starting a fan switch to start the fan; and if the read CPU temperature is less than the preset temperature threshold, closing a fan switch to stop the fan.
It should be noted that, at the beginning of the server startup, the CPU temperature is lower, and a proper preset temperature threshold is set, so that the fan is not started at the beginning of the server startup. Certainly, in the running process of the server, if the utilization rate of the CPU is low or the CPU is cooled by the fan, the temperature of the CPU is lower than the preset temperature threshold value after being reduced, the fan can be automatically turned off, and unnecessary electric energy waste is avoided.
In the server fan control method provided by this embodiment, the temperature of the CPU is read based on the thermistor, and when the read temperature of the CPU is greater than or equal to the preset temperature threshold, the fan is turned on, otherwise, the fan is turned off. The invention automatically starts the fan to radiate the heat of the CPU when the CPU heats to a certain degree, and the fan does not need to be started immediately after the server is started, namely the fan does not work when the CPU does not heat, thereby greatly avoiding the waste of electric energy.
Example two
On the basis of the first embodiment, the second embodiment provides a server fan control method, in the method, whether the temperature of the CPU exceeds a preset temperature threshold is judged by collecting voltages at two ends of the thermistor, and accordingly, the preset temperature threshold is also calibrated by the voltage. Specifically, a sliding resistor is arranged, and the voltage at two ends of the sliding resistor is collected as a preset temperature threshold value.
As shown in fig. 2, a server fan control method provided in the second embodiment includes the following steps.
And S201, reading the voltage at two ends of the sliding resistor.
S202, reading the voltage at two ends of the thermistor.
S203, judging whether the voltage at the two ends of the thermistor is less than or equal to the voltage at the two ends of the sliding resistor.
S204, if the voltage at the two ends of the thermistor is less than or equal to the voltage at the two ends of the sliding resistor, starting a fan switch to start the fan; if the voltage at the two ends of the thermistor is greater than the voltage at the two ends of the sliding resistor, the fan switch is closed, and the fan is stopped.
It should be noted that, in this embodiment, the thermistor is a thermistor with a negative temperature coefficient, the resistance value decreases with the temperature increase, and the voltage at both ends of the thermistor also decreases with the temperature increase, so that it is determined whether the voltage at both ends of the thermistor is less than or equal to the voltage at both ends of the sliding resistor, and when the voltage at both ends of the thermistor is less than or equal to the voltage at both ends of the sliding resistor, the fan switch is turned on to start the fan; when the voltage at the two ends of the thermistor is greater than the voltage at the two ends of the sliding resistor, the fan switch is closed, and the fan is stopped.
In some embodiments, the thermistor may also be a thermistor with a positive temperature coefficient, and the resistance value increases with the increase of temperature, and the voltage at both ends of the thermistor also increases with the increase of temperature, so that whether the voltage at both ends of the thermistor is greater than or equal to the voltage at both ends of the sliding resistor can be specifically determined, and when the voltage at both ends of the thermistor is greater than or equal to the voltage at both ends of the sliding resistor, the fan switch is turned on to start the fan; and when the voltage at the two ends of the thermistor is less than the voltage at the two ends of the sliding resistor, closing the fan switch to stop the fan.
In the second embodiment, a server fan control method is provided, where the temperature of the CPU is read based on the thermistor, and when the read temperature of the CPU is greater than or equal to a preset temperature threshold, the fan is turned on, otherwise, the fan is turned off. The invention automatically starts the fan to radiate the heat of the CPU when the CPU heats to a certain degree, and the fan does not need to be started immediately after the server is started, namely the fan does not work when the CPU does not heat, thereby greatly avoiding the waste of electric energy.
EXAMPLE III
The third embodiment provides a server fan control device for specifically implementing the server fan control method.
As shown in fig. 3, a server fan control device provided in the third embodiment includes a CPU temperature detector, a fan switch actuator, and a temperature processor.
A CPU temperature detector: for detecting the CPU temperature.
A fan switch actuator: is electrically connected with the fan and is a switch of the fan.
A temperature processor: the input end of the temperature processor is electrically connected with the CPU temperature detector, and the output end of the temperature processor is electrically connected with the fan switch actuator; when the CPU temperature detected by the CPU temperature detector is judged to be higher than a preset value, a fan switch actuator is controlled to be started, so that the fan is started; and when the CPU temperature detected by the CPU temperature detector is judged to be lower than the preset value, the fan switch actuator is controlled to be closed, so that the fan stops.
Fig. 4 is a schematic circuit diagram of a server fan control device according to a third embodiment of the present invention.
Specifically, the CPU temperature detector comprises a voltage division resistor R1 and a thermistor R2, wherein a first end of the voltage division resistor R1 is connected with a power supply voltage, a second end of the voltage division resistor R3526 is connected with a first end of the thermistor R2, and a second end of the thermistor R2 is grounded; the first end of the thermistor R2 is connected with the input end of the temperature processor.
The voltage dividing resistor R1 and the thermistor R2 divide the voltage, and the voltage of the thermistor R2 is input to the temperature processor.
The fan switch actuator comprises a transistor T1 and a resistor R5, and the transistor T1 is a PNP type transistor.
The base electrode of the triode T1 is connected with the first end of the resistor R5, the second end of the resistor R5 is connected with the output end of the fan switch actuator, the collector electrode is grounded, one path of the emitter electrode is connected with the power supply voltage, the other path of the emitter electrode is connected with the positive electrode of the fan, and the negative electrode of the fan is grounded.
The temperature processor comprises a chip U1 and a sliding resistor R3; wherein, chip U1 is LM393 model chip.
The first end of the sliding resistor R3 is connected with a power supply voltage, the second end of the sliding resistor R3 is grounded, and the sliding end of the sliding resistor R3 is connected with the No. 2 pin and the No. 5 pin of the chip U1; the 1 st pin of the chip U1 is connected with the second end of the resistor R5; the 3 rd pin of the chip U1 is connected with the first end of the thermistor R2; the 6 th pin and the 7 th pin of the chip U1 are connected; pin 8 of chip U1 is connected to a supply voltage.
In the embodiment, the threshold of the comparison voltage is set by adjusting the sliding resistor R3, and the divided voltage is used as the input of the 2 nd pin of the U1 chip. Meanwhile, the thermistor R2 senses temperature change, the resistance value changes and is divided by the voltage dividing resistor R1, and the divided voltage is used as the input of the 3 rd pin of the chip U1. The two voltage values are compared by the comparator, and the high and low levels are output to determine the on and off of the triode T1, so that the function of switching is achieved, and the function of automatically controlling the fan is achieved.
It should be noted that the chip U1 adopts an LM393 chip, and two voltage comparators are provided inside, wherein the first voltage comparator is used as a voltage comparator for the voltage of the thermistor R2 and the voltage of the sliding resistor R3, and the second voltage comparator is connected as a voltage follower, that is, the pin 6 and the pin 7 of the chip U1 are directly connected together, and the pin 5 is also connected to the sliding end of the sliding resistor R3, and this voltage comparator is not actually used, and cannot be suspended for the stability of the circuit system, so it is connected as a voltage follower.
In this embodiment, the temperature processor further includes a light emitting diode D1 and a resistor R4. The first end of the resistor R4 is connected with the power supply voltage, the second end is connected with the anode of the light emitting diode D1, and the cathode of the light emitting diode D1 is connected with the 1 st pin of the chip U1. The purpose of the led D1 is to indicate whether the first voltage comparator outputs a high or low level.
In addition, during implementation, a 3pin connector J1 is further arranged in the circuit to access a power supply voltage signal, an output signal of the chip U1 and a ground signal.
The working principle of the device is as follows: assuming that the sliding resistor R1 has been adjusted to the proper position, i.e. after passing through the first voltage comparator in the chip U1, the output level will determine that the fan will automatically turn on at the right time to cool down the server. When the temperature of the CPU reaches a set fan starting threshold value, the resistance value of the negative temperature coefficient thermistor R2 is reduced, the divided voltage value is also reduced, the voltage of a 3 rd pin IN1+ of the chip U1 is reduced, when the voltage of a 3 rd pin IN1+ of the chip U1 is smaller than the voltage of a 2 nd pin IN 1-of the chip U1, a 1 st pin OUT1 of the chip U1 outputs low level, a light emitting diode D1 lamp is lightened, meanwhile, a triode T1 is conducted, and the fan starts to work. When the temperature of the CPU of the processor does not reach the set fan opening threshold value, namely the server is just started, the resistance value of the negative temperature coefficient thermistor R2 is larger, and the divided voltage value is also larger. The voltage of the 3 rd pin IN1+ of the chip U1 is high, when the voltage of the 3 rd pin IN1+ of the chip U1 is greater than the voltage of the 2 nd pin IN 1-of the chip U1, the 1 st pin OUT1 of the chip U1 outputs high level, the light emitting diode D1 is turned off, and meanwhile, the triode T1 is turned off, and the fan does not work.
In the server fan control device provided in the third embodiment, the temperature of the CPU is read based on the thermistor, and when the read temperature of the CPU is greater than or equal to the preset temperature threshold, the fan is turned on, otherwise, the fan is turned off. The invention automatically starts the fan to radiate the heat of the CPU when the CPU heats to a certain degree, and the fan does not need to be started immediately after the server is started, namely the fan does not work when the CPU does not heat, thereby greatly avoiding the waste of electric energy.
Example four
Fig. 5 is a schematic structural diagram of a terminal device 500 according to an embodiment of the present invention, including: a processor 510, a memory 520, and a communication unit 530. The processor 510 is configured to implement the server fan control program stored in the memory 520 to implement the following steps:
reading a preset temperature threshold;
reading the CPU temperature based on the thermistor;
judging whether the read CPU temperature is greater than or equal to a preset temperature threshold value or not;
if the read CPU temperature is greater than or equal to the preset temperature threshold, a fan switch is started to start the fan; and if the read CPU temperature is less than the preset temperature threshold, closing a fan switch to stop the fan.
The invention reads the temperature of the CPU based on the thermistor, and turns on the fan when the read temperature of the CPU is more than or equal to the preset temperature threshold, or turns off the fan. The invention automatically starts the fan to radiate the heat of the CPU when the CPU heats to a certain degree, and the fan does not need to be started immediately after the server is started, namely the fan does not work when the CPU does not heat, thereby greatly avoiding the waste of electric energy.
In some embodiments, when the processor 510 executes the server fan control subroutine stored in the memory 520, the following steps may be specifically implemented: reading a preset temperature threshold value based on the sliding resistance.
In some embodiments, when the processor 510 executes the server fan control subroutine stored in the memory 520, the following steps may be specifically implemented: and judging whether the voltage at the two ends of the thermistor is more than or equal to the voltage at the two ends of the sliding resistor.
The terminal apparatus 500 includes a processor 510, a memory 520, and a communication unit 530. The components communicate via one or more buses, and those skilled in the art will appreciate that the architecture of the servers shown in the figures is not intended to be limiting, and may be a bus architecture, a star architecture, a combination of more or less components than those shown, or a different arrangement of components.
The memory 520 may be used for storing instructions executed by the processor 510, and the memory 520 may be implemented by any type of volatile or non-volatile storage terminal or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The executable instructions in memory 520, when executed by processor 510, enable terminal 500 to perform some or all of the steps in the method embodiments described below.
The processor 510 is a control center of the storage terminal, connects various parts of the entire electronic terminal using various interfaces and lines, and performs various functions of the electronic terminal and/or processes data by operating or executing software programs and/or modules stored in the memory 520 and calling data stored in the memory. The processor may be composed of an Integrated Circuit (IC), for example, a single packaged IC, or a plurality of packaged ICs connected with the same or different functions. For example, processor 510 may include only a Central Processing Unit (CPU). In the embodiment of the present invention, the CPU may be a single operation core, or may include multiple operation cores.
A communication unit 530 for establishing a communication channel so that the storage terminal can communicate with other terminals. And receiving user data sent by other terminals or sending the user data to other terminals.
EXAMPLE five
The present invention also provides a computer storage medium, wherein the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
The computer storage medium stores a server fan control program that when executed by a processor implements the steps of:
reading a preset temperature threshold;
reading the CPU temperature based on the thermistor;
judging whether the read CPU temperature is greater than or equal to a preset temperature threshold value or not;
if the read CPU temperature is greater than or equal to the preset temperature threshold, a fan switch is started to start the fan; and if the read CPU temperature is less than the preset temperature threshold, closing a fan switch to stop the fan.
The invention reads the temperature of the CPU based on the thermistor, and turns on the fan when the read temperature of the CPU is more than or equal to the preset temperature threshold, or turns off the fan. The invention automatically starts the fan to radiate the heat of the CPU when the CPU heats to a certain degree, and the fan does not need to be started immediately after the server is started, namely the fan does not work when the CPU does not heat, thereby greatly avoiding the waste of electric energy.
In some embodiments, when the server fan control subroutine stored in the readable storage medium is executed by the processor, the method may specifically include: reading a preset temperature threshold value based on the sliding resistance.
In some embodiments, when the server fan control subroutine stored in the readable storage medium is executed by the processor, the method may specifically include: and judging whether the voltage at the two ends of the thermistor is more than or equal to the voltage at the two ends of the sliding resistor.
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied in the form of a software product, where the computer software product is stored in a storage medium, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like, and the storage medium can store program codes, and includes instructions for enabling a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, and the like) to perform all or part of the steps of the method in the embodiments of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The above disclosure is only for the preferred embodiments of the present invention, but the present invention is not limited thereto, and any non-inventive changes that can be made by those skilled in the art and several modifications and amendments made without departing from the principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A server fan control method is characterized by comprising the following steps:
reading a preset temperature threshold;
reading the CPU temperature based on the thermistor;
judging whether the read CPU temperature is greater than or equal to a preset temperature threshold value or not;
if the read CPU temperature is greater than or equal to the preset temperature threshold, a fan switch is started to start the fan; and if the read CPU temperature is less than the preset temperature threshold, closing a fan switch to stop the fan.
2. The server fan control method according to claim 1, wherein reading the preset temperature threshold specifically comprises:
reading a preset temperature threshold value based on the sliding resistance.
3. The server fan control method of claim 2, wherein the thermistor is a negative temperature coefficient thermistor;
judging whether the read CPU temperature is greater than or equal to a preset temperature threshold value, specifically:
and judging whether the voltage at the two ends of the thermistor is less than or equal to the voltage at the two ends of the sliding resistor.
4. A server fan control device is characterized by comprising,
a CPU temperature detector: used for detecting the temperature of the CPU;
a fan switch actuator: the switch is electrically connected with the fan and is used for switching the fan;
and, a temperature processor; the input end of the temperature processor is electrically connected with the CPU temperature detector, and the output end of the temperature processor is electrically connected with the fan switch actuator; when the CPU temperature detected by the CPU temperature detector is judged to be higher than a preset value, a fan switch actuator is controlled to be started, so that the fan is started; and when the CPU temperature detected by the CPU temperature detector is judged to be lower than the preset value, the fan switch actuator is controlled to be closed, so that the fan stops.
5. The server fan control apparatus according to claim 4, wherein the CPU temperature detector comprises a voltage dividing resistor R1 and a thermistor R2;
the first end of the divider resistor R1 is connected with a power supply voltage, the second end is connected with the first end of the thermistor R2, and the second end of the thermistor R2 is grounded; the first end of the thermistor R2 is connected with the input end of the temperature processor.
6. The server fan control apparatus of claim 5, wherein the fan switch actuator comprises a transistor T1 and a resistor R5, the transistor T1 being a PNP transistor;
the base electrode of the triode T1 is connected with the first end of the resistor R5, the second end of the resistor R5 is connected with the output end of the fan switch actuator, the collector electrode is grounded, one path of the emitter electrode is connected with the power supply voltage, the other path of the emitter electrode is connected with the positive electrode of the fan, and the negative electrode of the fan is grounded.
7. The server fan control device of claim 6, wherein the temperature processor comprises a chip U1 and a sliding resistor R3; wherein, the chip U1 is an LM393 model chip;
the first end of the sliding resistor R3 is connected with a power supply voltage, the second end of the sliding resistor R3 is grounded, and the sliding end of the sliding resistor R3 is connected with the No. 2 pin and the No. 5 pin of the chip U1; the 1 st pin of the chip U1 is connected with the second end of the resistor R5; the 3 rd pin of the chip U1 is connected with the first end of the thermistor R2; the 6 th pin and the 7 th pin of the chip U1 are connected; pin 8 of chip U1 is connected to a supply voltage.
8. The server fan control apparatus of claim 7 wherein the temperature processor further comprises a light emitting diode D1 and a resistor R4;
the first end of the resistor R4 is connected with the power supply voltage, the second end is connected with the anode of the light emitting diode D1, and the cathode of the light emitting diode D1 is connected with the 1 st pin of the chip U1.
9. A terminal, comprising:
a memory for storing a server fan control program;
a processor for implementing the steps of the server fan control method according to any one of claims 1 to 3 when executing the server fan control program.
10. A computer-readable storage medium, having stored thereon a server fan control program which, when executed by a processor, performs the steps of the server fan control method according to any one of claims 1 to 3.
CN202111422346.7A 2021-11-26 2021-11-26 Server fan control method, device, terminal and storage medium Withdrawn CN114281167A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111422346.7A CN114281167A (en) 2021-11-26 2021-11-26 Server fan control method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111422346.7A CN114281167A (en) 2021-11-26 2021-11-26 Server fan control method, device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN114281167A true CN114281167A (en) 2022-04-05

Family

ID=80870037

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111422346.7A Withdrawn CN114281167A (en) 2021-11-26 2021-11-26 Server fan control method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN114281167A (en)

Similar Documents

Publication Publication Date Title
CN101477391B (en) Control circuit for computer fan
CN107275688B (en) Terminal control method for control terminal and terminal
CN103036203A (en) Protection circuit
TWI323424B (en) Memory card control apparatus and protection method thereof
CN107390764B (en) Thermal-shutdown circuit and method, air conditioner
TW201316638A (en) Overheat protection circuit and electronic device using the same
CN105228412A (en) Heater
TWI277713B (en) Method and equipment for the control of a ventilator
KR20210120092A (en) Charging circuits and electronics
CN113075982A (en) Server intelligent network card heat dissipation method, device, system and medium
CN114884019A (en) Overcurrent protection circuit and control method thereof
CN210724722U (en) Hot plug control circuit
CN114281167A (en) Server fan control method, device, terminal and storage medium
JP2007517312A (en) Temperature control apparatus and method
CN103807199A (en) Fan control circuit
CN112485696B (en) Power supply testing device and method and server
CN213462773U (en) Heat dissipation system, heat dissipation circuit, circuit board and electrical box
CN114256821A (en) Server fan overcurrent protection device and method
CN106253885B (en) Power-on protection circuit and control method
CN209640840U (en) A kind of computer multi-fan intelligent temperature control alarm system
CN112600486A (en) Load power supply current protection circuit and method
CN216199166U (en) Protection circuit, protection device and electronic equipment
CN110159576B (en) Multi-fan intelligent temperature control alarm system of computer
CN215009569U (en) Protection circuit and electrical equipment
US20210349516A1 (en) Energy saving device and method for saving energy in data center

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20220405

WW01 Invention patent application withdrawn after publication