CN114562469A - Method, device, circuit, electronic equipment and medium for controlling power supply of fan - Google Patents

Method, device, circuit, electronic equipment and medium for controlling power supply of fan Download PDF

Info

Publication number
CN114562469A
CN114562469A CN202210156871.7A CN202210156871A CN114562469A CN 114562469 A CN114562469 A CN 114562469A CN 202210156871 A CN202210156871 A CN 202210156871A CN 114562469 A CN114562469 A CN 114562469A
Authority
CN
China
Prior art keywords
fan
circuit
protection chip
circuit protection
power supply
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.)
Granted
Application number
CN202210156871.7A
Other languages
Chinese (zh)
Other versions
CN114562469B (en
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 CN202210156871.7A priority Critical patent/CN114562469B/en
Publication of CN114562469A publication Critical patent/CN114562469A/en
Application granted granted Critical
Publication of CN114562469B publication Critical patent/CN114562469B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F04POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
    • F04DNON-POSITIVE-DISPLACEMENT PUMPS
    • F04D25/00Pumping installations or systems
    • F04D25/02Units comprising pumps and their driving means
    • F04D25/08Units comprising pumps and their driving means the working fluid being air, e.g. for ventilation
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F04POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
    • F04DNON-POSITIVE-DISPLACEMENT PUMPS
    • F04D27/00Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids
    • F04D27/001Testing thereof; Determination or simulation of flow characteristics; Stall or surge detection, e.g. condition monitoring
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F04POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
    • F04DNON-POSITIVE-DISPLACEMENT PUMPS
    • F04D27/00Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids
    • F04D27/008Stop safety or alarm devices, e.g. stop-and-go control; Disposition of check-valves
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Cooling Or The Like Of Electrical Apparatus (AREA)
  • Control Of Electric Motors In General (AREA)

Abstract

The invention discloses a method, a device, a circuit, electronic equipment and a medium for controlling power supply of a fan, wherein the method for controlling the power supply of the fan comprises the following steps: determining the rotating speed state information of the fan, powering down a circuit protection chip of the fan according to the fact that the rotating speed state information is out-of-control state information, and discharging a power supply circuit of the fan; the circuit protection chip is arranged on a power supply circuit of the fan; and monitoring the output voltage of the circuit protection chip on the power supply line of the fan, and electrifying the circuit protection chip according to the condition that the output voltage of the circuit protection chip is less than or equal to the threshold value so as to supply power to the fan again. The invention achieves the purpose of rapidly restarting the fan by rapidly restarting the fan for supplying power, so as to effectively improve the working stability of the server cooling fan and further avoid the problem that the fan is burnt out due to the out-of-control rotating speed of the fan to the greatest extent.

Description

Method, device, circuit, electronic equipment and medium for controlling power supply of fan
Technical Field
The invention relates to the technical field of intelligent power supply of fans, in particular to a method, a device, a circuit, electronic equipment and a medium for controlling power supply of a fan.
Background
With the improvement of the performance of the server equipment, the power consumption of the server is increased, and the heat dissipation of the server is particularly important. Higher requirements are put on the working stability of the fan as the main heat dissipation component to ensure that the server can normally dissipate heat. However, for the server cooling fan, the internal controller of the fan has poor anti-interference capability and is easily affected by noise interference, which causes abnormal working voltage of the fan, and further causes the internal controller of the fan to work abnormally, and the internal program runs abnormally, and the external phenomenon is that the rotating speed of the fan is out of control, and the fan is likely to be burned out in serious cases.
Disclosure of Invention
In order to solve the problems of poor working stability and the like of the server cooling fan, the invention can provide a fan power supply control method, a device, a circuit, electronic equipment and a medium, so as to achieve the technical purposes of improving the working stability of the server cooling fan, avoiding out-of-control fan rotating speed, improving safety and the like.
To achieve the above technical object, the present invention provides a method for controlling power supply to a fan, which may include, but is not limited to, at least one of the following steps.
And determining the rotating speed state information of the fan.
According to the fact that the rotating speed state information is out-of-control state information, performing power-off processing on a circuit protection chip of the fan, and performing discharge processing on a power supply circuit of the fan; wherein, the circuit protection chip is arranged on a power supply circuit of the fan.
And monitoring the output voltage of the circuit protection chip on a power supply line of the fan.
And carrying out power-on processing on the circuit protection chip according to the condition that the output voltage of the circuit protection chip is less than or equal to the threshold value so as to supply power to the fan again.
In order to achieve the above technical object, the present invention may further provide a device for controlling power supply to a fan, where the device for controlling power supply to a fan may include, but is not limited to, a rotation speed status determining module, an out-of-control status processing module, an output voltage monitoring module, and a fan re-power-on module.
And the rotating speed state determining module is used for determining the rotating speed state information of the fan.
The out-of-control state processing module is used for powering off a circuit protection chip of the fan and discharging a power supply circuit of the fan according to the condition that the rotating speed state information is the out-of-control state information; wherein, the circuit protection chip is arranged on a power supply circuit of the fan.
And the output voltage monitoring module is used for monitoring the output voltage of the circuit protection chip on a power supply line of the fan.
And the fan re-electrifying module is used for electrifying the circuit protection chip according to the condition that the output voltage of the circuit protection chip is less than or equal to the threshold value so as to supply power to the fan again.
To achieve the above technical objectives, the present invention can provide a circuit for controlling power supply to a fan, where the circuit for controlling power supply to a fan can include, but is not limited to, a baseboard management controller, a circuit protection chip, a voltage detection circuit, and a discharge circuit.
And the substrate management controller is connected with the microcontroller of the fan.
The substrate management controller is used for performing power-off processing on a circuit protection chip of the fan and performing discharge processing on a power supply circuit of the fan according to the out-of-control state information of the fan, and is used for performing power-on processing on the circuit protection chip according to the condition that the output voltage of the circuit protection chip is smaller than or equal to a threshold value.
The circuit protection chip is arranged on a power supply circuit of the fan; the circuit protection chip is used for supplying power to the fan when the circuit protection chip is turned on or stopping supplying power to the fan when the circuit protection chip is turned off.
The voltage detection circuit is connected with a power supply line of the fan; the voltage detection circuit is used for obtaining the output voltage of the circuit protection chip.
The discharge circuit is connected to a power supply circuit of the fan; the discharging circuit is used for discharging the power supply circuit of the fan.
To achieve the above technical object, the present invention may further provide an electronic device, which includes a memory and a processor, wherein the memory stores computer-readable instructions, and the computer-readable instructions, when executed by the processor, cause the processor to execute the steps of the method for controlling the power supply of the fan according to any embodiment of the present invention.
To achieve the above technical objects, the present invention may also provide a storage medium storing computer-readable instructions, which when executed by one or more processors, cause the one or more processors to perform the steps of the method for controlling power supply to a fan according to any one of the embodiments of the present invention.
The invention has the beneficial effects that: the invention carries out the power-off processing and the power supply line discharge processing of the circuit protection chip under the condition that the rotating speed of the fan is out of control, and carries out the power-on processing of the circuit protection chip when the output voltage of the circuit protection chip meets the set condition so as to realize the purpose of rapidly supplying power again to the fan; therefore, the invention achieves the purpose of quickly restarting the fan by quickly restarting the fan to effectively improve the working stability of the server cooling fan, further avoids the problem that the fan is burnt out due to out-of-control rotating speed of the fan to the greatest extent, ensures the normal work of the fan and meets the cooling requirement of the server.
Drawings
Fig. 1 shows a flow diagram of a method for controlling power to a fan in accordance with one or more embodiments of the invention.
Fig. 2 is a flowchart illustrating a detailed implementation of a method for controlling power supply to a fan according to one or more embodiments of the present invention.
Fig. 3 is a schematic diagram illustrating the circuit composition and operating principles of the fan power control in one or more embodiments of the invention.
Fig. 4 is a schematic diagram illustrating the structure and connection relationship of the voltage detection circuit and the discharge circuit in one or more embodiments of the invention.
Fig. 5 is a schematic diagram illustrating the components of the fan power control apparatus according to one or more embodiments of the present invention.
FIG. 6 is a schematic diagram showing the internal structural components of an electronic device in one or more embodiments of the invention.
Detailed Description
The method, apparatus, circuit, electronic device and medium for controlling power supply to a fan according to the present invention will be explained and explained in detail with reference to the drawings.
The server cooling fan has the problem of poor working stability caused by being easily subjected to noise or interference, although a large capacitor for filtering noise interference can be arranged at the power supply input position of the fan, so that the fluctuation range of the working voltage of the fan is reduced, and the internal controller of the fan can work normally. However, such a large capacitor often occupies a large space, for example, a general server needs at least four fans for overall heat dissipation, and a board end has at least four fan connectors or even more, and under the condition that the board end is in a tight space, if a large capacitor is added near each fan connector, a problem of excessive space occupation is generated. Moreover, once the capacitor fails or the interference is too large, the problem of poor working stability of the server cooling fan cannot be fundamentally solved by the method. In view of this, the present invention provides a method, an apparatus, a circuit, an electronic device and a medium for controlling fan power supply, so as to effectively solve the problems of poor working stability of a server cooling fan and the like commonly existing in the prior art.
As shown in fig. 1, and as may be combined with fig. 2, one or more embodiments of the present invention can provide a method of fan power control that may include, but is not limited to, one or more of the following steps, as described in more detail below.
Step 100, determining the rotating speed state information of the fan. The rotating speed state information in the embodiment of the invention includes but is not limited to runaway state information and non-runaway state information: the uncontrolled state information means information indicating that the fan is in an uncontrolled state, and the non-uncontrolled state information means information indicating that the fan is in a normal state.
Optionally, determining the rotation speed status information of the fan according to the embodiment of the present invention may include, but is not limited to, the following processes: acquiring real-time rotating speed information of the fan, and comparing the real-time rotating speed information with rotating speed control information in a sent fan control signal, wherein the real-time rotating speed information is generated based on the fan control signal; and determining the rotating speed state information of the fan according to the comparison result of the real-time rotating speed information and the rotating speed control information. Specifically, in the embodiment of the present invention, a substrate Management Controller (BMC) sends a fan control signal PWM (Pulse Width Modulation) and correspondingly receives a real-time rotation speed signal tach fed back by a fan, and if the sent PWM fan control signal is not consistent with the received real-time rotation speed signal tach, it indicates that the current fan is in a rotation speed out-of-control state.
Specifically, according to the comparison result between the real-time rotation speed information and the rotation speed control information, the determining the rotation speed state information of the fan according to the embodiment of the present invention may include: determining a difference value between a real-time rotating speed value contained in the real-time rotating speed information and a target rotating speed value contained in the rotating speed control information; determining the rotating speed state information of the fan as out-of-control state information according to the difference value being larger than the preset value; or determining the rotating speed state information of the fan as non-runaway state information according to the difference value being less than or equal to the preset value; the preset value is set according to actual conditions.
200, performing power-off treatment on a circuit protection chip of the fan according to the condition that the rotating speed state information is out of control, and performing discharge treatment on a power supply circuit of the fan; the circuit protection chip is arranged on a power supply circuit of the fan, so that the voltage output by the power supply is provided for the fan.
As shown in fig. 2, the circuit protection chip according to the embodiment of the present invention may specifically be an electronic fuse (Efuse), and the performing the power down processing on the circuit protection chip of the fan according to the embodiment of the present invention may include: directly controlling a circuit protection chip of the fan to be turned off, namely directly controlling to turn off the Efuse; or sending a first control instruction to the control chip to enable the control chip to turn off the circuit protection chip in a mode of pulling down an enable signal (EN) of the circuit protection chip; the control chip in the embodiment of the present invention is specifically a CPLD (Complex Programmable Logic Device).
As shown in fig. 2, and in conjunction with fig. 3 and 4, the discharging process performed on the power supply line of the fan according to the embodiment of the present invention may include: sending a second control instruction to the control chip to enable the control chip to discharge the power supply circuit of the fan by activating the discharge circuit; the discharge circuit is connected to a power supply line of the fan. The baseboard management controller in the embodiment of the invention can communicate with the control chip CPLD while powering off the circuit protection chip, and informs the control chip CPLD to activate the discharge circuit, so that the discharge circuit is controlled to be turned on by the baseboard management controller. The output of the Efuse is reduced as soon as possible through the discharging circuit, so that the time from shutdown to restart of the Efuse is shortened, and the risk that the fan is shut down due to the fact that the fan does not work any more after the Efuse is shut down is avoided. Therefore, the invention effectively shortens the power supply restarting time through the discharge circuit, thereby effectively shortening the fan restarting time.
Step 300, monitoring the output voltage of a circuit protection chip on a power supply line of the fan; thereby, the discharge processing condition is judged through monitoring the output voltage. The substrate management controller of the embodiment acquires the detection result of the voltage detection circuit on the output voltage of the circuit protection chip, so that the purpose of voltage monitoring is achieved.
And 400, performing power-on processing on the circuit protection chip according to the condition that the output voltage of the circuit protection chip is less than or equal to the threshold value so as to supply power to the fan again. Therefore, the invention achieves the purpose of rapidly restarting the fan by restarting the fan for power supply, and avoids the problem of abnormal work of the fan caused by noise interference. Based on the judgment process of the output voltage and the threshold value, the invention can prevent the possible non-electrification problem caused by the immediate restart of the circuit protection chip and the microcontroller chip in the fan when the voltage is not completely reduced, so as to ensure the normal electrification of the circuit protection chip. It should be understood that the specific value of the threshold of the present invention may be set as appropriate according to actual circumstances, for example, may be set based on the Under Voltage Lock Out (UVLO) of the circuit protection chip and the microcontroller chip in the fan, and the threshold may be, for example, a minimum value of the UVLO of the circuit protection chip and the UVLO of the microcontroller chip, but is not limited thereto.
As shown in fig. 2, after the baseboard management controller monitors that the output voltage of the eFUSE drops below the threshold, the baseboard management controller controls the eFUSE to be powered on and restarted again. In this embodiment, the power-on processing of the circuit protection chip includes: turning off the discharge circuit to stop discharging the power supply line; directly controlling a circuit protection chip of the fan to be opened; or sending a third control instruction to the control chip to enable the control chip to open the circuit protection chip by pulling up the enable signal of the circuit protection chip. In specific implementation, the baseboard management controller detects the fan on-position signal, and controls the enable signal to electrify the electronic fuse after detecting that the 12V voltage drops to a certain voltage value.
When the fan rotation speed is out of control, the power-off processing and the power supply line discharging processing of the circuit protection chip are immediately carried out, and the power-on processing of the circuit protection chip is immediately carried out when the output voltage of the circuit protection chip meets the condition that the output voltage is less than or equal to the threshold value, so that the fan can be quickly and normally powered again, the problem that an internal controller of the fan cannot normally work due to noise interference is solved, the internal program of the fan controller is ensured to normally run, the rotation speed of the fan is normally controllable, and the problem that the fan is burnt due to the noise interference is solved. Compared with a large-capacitance filtering scheme, the circuit provided by the invention has the advantages that the occupied space is almost negligible, the board end space is not occupied, the possible failure problem of the large-capacitance scheme is not easy to occur, the reliability is higher, the stability of a fan power supply system is better, the anti-jamming capability is higher, and the like.
As shown in fig. 3, based on the same inventive concept as the method for controlling power supply to a fan, the embodiment of the present invention can also provide a circuit for controlling power supply to a fan, so as to solve the problem of burning the fan due to abnormal rotation speed, i.e., the present invention can provide a circuit for preventing the fan from being burned due to out-of-control rotation speed.
Specifically, the circuit for controlling the power supply of the fan may include, but is not limited to, a baseboard management controller, a circuit protection chip, a voltage detection circuit, and a discharge circuit. The substrate management controller provided by the invention is connected with a Micro Control Unit (MCU) of the fan.
The baseboard management controller provided by the invention can be used as an execution main body of a method for controlling the power supply of a fan. Critical signals for the fan include, but are not limited to, power signals (e.g., 12V power signals), ground signals, in-place signals (e.g., PRSNT, sideband signals available for hot-swap mechanisms), control signals (e.g., PWM), and detection signals (e.g., tach, full name tachmeter, tachometer signals). The power supply signal and the ground signal provide a power supply for the fan, and when the baseboard management controller detects that the fan is in place, the Voltage regulation module (VR) is controlled to supply power for the fan, and outputs a PWM control signal to control the rotating speed of the fan, and the actual rotating speed of the fan is returned to the baseboard management controller through the tach detection signal. The circuit protection chip is specifically an electronic fuse, and provides an overcurrent protection function, a short-circuit protection function or a hot plug function for the fan when the fan has overcurrent or short circuit problems.
The microcontroller chip is arranged in the fan and used for receiving the PWM signal sent by the substrate management controller and controlling the internal logic circuit of the fan according to the PWM signal so as to enable the fan to output a corresponding rotating speed, namely a target rotating speed value. The working voltage of the MCU chip of this embodiment is specifically 5V, the voltage externally supplied to the fan is generally 12V, and the 12V voltage signal is converted into the 5V voltage signal required for the operation of the MCU chip by a level conversion circuit provided inside the fan.
The substrate management controller can be used for powering down a circuit protection chip of the fan and discharging a power supply circuit of the fan according to the out-of-control state information of the fan, and can be used for powering up the circuit protection chip according to the fact that the output voltage of the monitored circuit protection chip is smaller than or equal to a threshold value.
The base plate management controller is used for acquiring real-time rotating speed information of the fan and comparing the real-time rotating speed information with rotating speed control information in the sent fan control signal, wherein the real-time rotating speed information is generated based on the fan control signal; the substrate management controller is used for determining the rotating speed state information of the fan according to the comparison result of the real-time rotating speed information and the rotating speed control information, and the rotating speed state information is out-of-control state information or non-out-of-control state information. Specifically, the baseboard management controller is configured to determine a difference between a real-time rotation speed value included in the real-time rotation speed information and a target rotation speed value included in the rotation speed control information; the substrate management controller can be used for determining that the rotating speed state information of the fan is out of control state information according to the fact that the difference value is larger than the preset value; or the substrate management controller is used for determining that the rotating speed state information of the fan is the non-runaway state information according to the difference value being smaller than or equal to the preset value.
The fan power supply control circuit can also comprise a control chip, wherein the control chip can be used for receiving a first control instruction sent by the substrate management controller and pulling down an enabling signal of the circuit protection chip according to the first control instruction so as to turn off the circuit protection chip.
Alternatively, the baseboard management controller can be used to directly control the circuit protection chip of the fan to turn off.
The control chip can also be used for receiving a second control instruction sent by the substrate management controller and activating the discharge circuit according to the second control instruction so as to discharge the power supply circuit of the fan. The control chip can also be used for receiving a fourth control instruction sent by the substrate management controller and closing the discharge circuit according to the fourth control instruction so as to stop discharging the power supply circuit. The control chip can be used for receiving a third control instruction sent by the substrate management controller and for pulling up an enable signal of the circuit protection chip according to the third control instruction so as to open the circuit protection chip.
The circuit protection chip is arranged on a power supply circuit of the fan; the circuit protection chip is used for supplying power to the fan when the circuit protection chip is turned on or stopping supplying power to the fan when the circuit protection chip is turned off. It should be understood that fig. 3 does not show a 12V power supply, and the circuit protection chip is disposed on the power supply line between the 12V power supply and the fan. The Circuit Protection chip is used for outputting voltage when being opened so as to realize power supply, and can provide functions of Over Current Protection (OCP), Short Circuit Protection (SCP) and the like.
And the voltage detection circuit is connected with a power supply line of the fan and is connected with the substrate management controller. The voltage detection circuit in this embodiment is a 12V voltage detection circuit, and is configured to perform voltage detection on a power supply line with an output voltage of 12V to obtain real-time voltage information.
The voltage detection circuit is used for acquiring the output voltage of the circuit protection chip and providing the acquired output voltage of the circuit protection chip to the substrate management controller so as to realize the monitoring of the substrate management controller on the output voltage of the circuit protection chip.
And the discharge circuit is connected to a power supply circuit of the fan and is connected with the substrate management controller. The discharge circuit in this embodiment is a 12V discharge circuit, and is used to discharge a power supply line of a fan with an output voltage of 12V.
As shown in fig. 4, one or more embodiments of the present invention can provide a specific circuit structure schematic diagram of the voltage detection circuit and the discharge circuit. The discharge circuit comprises a resistor R4 and a switch tube Q1, the resistor R4 is used as a bleeder resistor during voltage discharge, the resistor R4 is connected in series between a power supply line and the drain of the switch tube Q1, and two ends of the resistor R4 in the embodiment are respectively connected with a power supply port (P12V _ FAN) of the FAN controller and the drain of the switch tube Q1; the source of the switching tube Q1 is grounded, the grid of the switching tube Q1 is connected with the control chip, a resistor R3 is connected in series between the grid of the switching tube Q1 and the control chip, and a resistor R3 plays an isolation role, for example, a 0 ohm resistor can be selected; the resistor R4 can be a resistor with a smaller resistance value and a larger power, the resistor R4 can discharge faster with a smaller resistance value, and the power is large to help prevent the resistor from burning out, the resistor R4 in this embodiment is specifically a resistor divider of 300 ohms and 1/16 watts, and the switching tube Q1 can be a switching tube with a turn-on voltage (VGS value) of 2.2 volts and a model number of L2N7002SLT 1G; although not limited thereto. The voltage detection circuit comprises a resistor R1, a resistor R2 and a capacitor C1, wherein a resistor R1 and a resistor R2 are connected in series and used for achieving a voltage division effect, one end of a resistor R1 is connected with the resistor R2, the other end of the resistor R1 is connected with a power supply port (P12V _ FAN) of the FAN controller, one end of the resistor R2 is connected with the resistor R1, the other end of the resistor R2 is grounded, the capacitor C1 is connected with a resistor R2 in parallel, the connection points of the resistor R1, the resistor R2 and the capacitor C1 are connected with the substrate management controller, the detected voltage meets the pin input range of the BMC through a voltage division mode, a threshold value is set in the BMC, and when the detected voltage is smaller than the threshold value, the Efuse power-on restarting is controlled again.
As shown in fig. 5, based on the same inventive technical concept as the method for controlling the power supply of the fan, one or more embodiments of the present invention can also provide a device for controlling the power supply of the fan; the device can be integrated on a substrate management controller, and the device for controlling the power supply of the fan provided by the invention comprises but is not limited to a rotating speed state determining module, a runaway state processing module, an output voltage monitoring module and a fan re-electrifying module.
And the rotating speed state determining module is used for determining the rotating speed state information of the fan.
Optionally, the rotation speed state determining module in at least one embodiment of the present invention is configured to obtain real-time rotation speed information of the fan, and compare the real-time rotation speed information with rotation speed control information in the sent fan control signal, where the real-time rotation speed information is generated based on the fan control signal; and the rotating speed state determining module is used for determining the rotating speed state information of the fan according to the comparison result of the real-time rotating speed information and the rotating speed control information.
Specifically, the rotating speed state determining module is used for determining a difference value between a real-time rotating speed value contained in the real-time rotating speed information and a target rotating speed value contained in the rotating speed control information. The rotating speed state determining module can be used for determining that the rotating speed state information of the fan is out of control state information according to the fact that the difference value is larger than the preset value; or the rotating speed state determining module is used for determining that the rotating speed state information of the fan is the non-runaway state information according to the fact that the difference value is smaller than or equal to the preset value.
The out-of-control state processing module is used for powering off a circuit protection chip of the fan and discharging a power supply circuit of the fan according to the fact that the rotating speed state information is the out-of-control state information; the circuit protection chip is arranged on a power supply circuit of the fan.
Optionally, the runaway state processing module is used for directly controlling the circuit protection chip of the fan to be turned off; or the out-of-control state processing module is used for sending a first control instruction to the control chip so as to enable the control chip to turn off the circuit protection chip by pulling down the enabling signal of the circuit protection chip.
Optionally, the runaway state processing module is configured to send a second control instruction to the control chip, so that the control chip performs discharge processing on a power supply line of the fan by activating the discharge circuit; wherein, the discharge circuit is connected to the power supply circuit of the fan.
And the output voltage monitoring module is used for monitoring the output voltage of the circuit protection chip on the power supply line of the fan.
And the fan re-electrifying module is used for electrifying the circuit protection chip according to the condition that the output voltage of the circuit protection chip is less than or equal to the threshold value so as to supply power to the fan again.
Optionally, the fan re-powering module is configured to turn off the discharging circuit to stop discharging the power supply line; the fan re-electrifying module is used for directly controlling the circuit protection chip of the fan to be opened; or the fan re-electrifying module is used for sending a third control instruction to the control chip so as to enable the control chip to open the circuit protection chip by pulling up the enabling signal of the circuit protection chip.
As shown in fig. 6, based on the same inventive technical concept as the method for controlling the power supply of the fan, one or more embodiments of the present invention can also provide an electronic device, where the electronic device includes a memory and a processor, and the memory stores computer-readable instructions, and the computer-readable instructions, when executed by the processor, cause the processor to perform the steps of the method for controlling the power supply of the fan in any embodiment of the present invention. The detailed implementation process of the method for controlling power supply to a fan of the present invention has been described in detail in this specification, and is not described herein again.
As shown in fig. 6, based on the same inventive technical concept as the method for controlling the power supply of the fan, one or more embodiments of the present invention can also provide a storage medium storing computer-readable instructions, which, when executed by one or more processors, cause the one or more processors to perform the steps of the method for controlling the power supply of the fan in any embodiment of the present invention. The detailed implementation process of the method for controlling power supply to a fan according to the present invention is described in detail in this specification, and is not described herein again.
The logic and/or steps represented in the flowcharts or otherwise described herein, such as an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable storage medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable storage medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer cartridge (magnetic device), a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM-Only Memory, or flash Memory), an optical fiber device, and a portable Compact Disc Read-Only Memory (CDROM). Additionally, the computer-readable storage medium may even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic Gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic Gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description herein, references to the description of the term "the present embodiment," "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and simplifications made in the spirit of the present invention are intended to be included in the scope of the present invention.

Claims (10)

1. A method of controlling power to a fan, comprising:
determining the rotating speed state information of the fan;
according to the fact that the rotating speed state information is out-of-control state information, performing power-off processing on a circuit protection chip of the fan, and performing discharge processing on a power supply circuit of the fan; the circuit protection chip is arranged on a power supply circuit of the fan;
monitoring the output voltage of the circuit protection chip on a power supply line of the fan;
and carrying out power-on processing on the circuit protection chip according to the condition that the output voltage of the circuit protection chip is less than or equal to the threshold value so as to supply power to the fan again.
2. The method of fan power control of claim 1, wherein said determining fan speed status information comprises:
acquiring real-time rotating speed information of the fan;
comparing the real-time rotating speed information with rotating speed control information in the sent fan control signal, wherein the real-time rotating speed information is generated based on the fan control signal;
and determining the rotating speed state information of the fan according to the comparison result of the real-time rotating speed information and the rotating speed control information.
3. The method of claim 2, wherein determining the rotational speed status information of the fan according to the comparison of the real-time rotational speed information and the rotational speed control information comprises:
determining a difference value between a real-time rotating speed value contained in the real-time rotating speed information and a target rotating speed value contained in the rotating speed control information;
determining that the rotating speed state information of the fan is out of control state information according to the fact that the difference value is larger than a preset value;
or determining that the rotating speed state information of the fan is non-runaway state information according to the fact that the difference value is smaller than or equal to a preset value.
4. The method of claim 1, wherein the powering down the circuit protection chip of the fan comprises:
directly controlling a circuit protection chip of the fan to be turned off;
or sending a first control instruction to a control chip to enable the control chip to turn off the circuit protection chip by pulling down an enabling signal of the circuit protection chip.
5. The method of claim 1, wherein the discharging the power supply line of the fan comprises:
sending a second control instruction to a control chip to enable the control chip to discharge the power supply circuit of the fan by activating a discharge circuit; the discharge circuit is connected to a power supply line of the fan.
6. The method of claim 5, wherein the powering up the circuit protection chip comprises:
turning off the discharge circuit to stop discharging the power supply line;
directly controlling a circuit protection chip of the fan to be opened; or sending a third control instruction to the control chip to enable the control chip to open the circuit protection chip by pulling up the enable signal of the circuit protection chip.
7. A fan power control apparatus, comprising:
the rotating speed state determining module is used for determining rotating speed state information of the fan;
the out-of-control state processing module is used for powering off a circuit protection chip of the fan and discharging a power supply circuit of the fan according to the condition that the rotating speed state information is the out-of-control state information; the circuit protection chip is arranged on a power supply circuit of the fan;
the output voltage monitoring module is used for monitoring the output voltage of the circuit protection chip on a power supply line of the fan;
and the fan re-electrifying module is used for electrifying the circuit protection chip according to the condition that the output voltage of the circuit protection chip is less than or equal to a threshold value so as to supply power to the fan again.
8. A circuit for controlling power supply of a fan is characterized by comprising a substrate management controller, a circuit protection chip, a voltage detection circuit and a discharge circuit;
the substrate management controller is connected with the microcontroller of the fan;
the substrate management controller is used for performing power-off processing on a circuit protection chip of the fan and performing discharge processing on a power supply circuit of the fan according to the out-of-control state information of the fan, and is used for performing power-on processing on the circuit protection chip according to the condition that the output voltage of the circuit protection chip is smaller than or equal to a threshold value;
the circuit protection chip is arranged on a power supply circuit of the fan; the circuit protection chip is used for supplying power to the fan when the circuit protection chip is turned on or stopping supplying power to the fan when the circuit protection chip is turned off;
the voltage detection circuit is connected with a power supply line of the fan; the voltage detection circuit is used for acquiring the output voltage of the circuit protection chip;
the discharge circuit is connected to a power supply circuit of the fan; the discharging circuit is used for discharging the power supply circuit of the fan.
9. An electronic device comprising a memory and a processor, the memory having stored therein computer-readable instructions which, when executed by the processor, cause the processor to carry out the steps of the method of fan power control according to any of claims 1-6.
10. A storage medium having computer-readable instructions stored thereon, which, when executed by one or more processors, cause the one or more processors to perform the steps of the method of fan power control of any of claims 1-6.
CN202210156871.7A 2022-02-21 2022-02-21 Fan power supply control method, device, circuit, electronic equipment and medium Active CN114562469B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210156871.7A CN114562469B (en) 2022-02-21 2022-02-21 Fan power supply control method, device, circuit, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210156871.7A CN114562469B (en) 2022-02-21 2022-02-21 Fan power supply control method, device, circuit, electronic equipment and medium

Publications (2)

Publication Number Publication Date
CN114562469A true CN114562469A (en) 2022-05-31
CN114562469B CN114562469B (en) 2024-01-23

Family

ID=81713545

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210156871.7A Active CN114562469B (en) 2022-02-21 2022-02-21 Fan power supply control method, device, circuit, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN114562469B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116658450A (en) * 2023-07-26 2023-08-29 苏州浪潮智能科技有限公司 Fan control system, server system, fan control method and device
CN116755539A (en) * 2023-08-16 2023-09-15 合肥联宝信息技术有限公司 Fan power supply device, fan power supply method and storage medium of intelligent equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104158143A (en) * 2013-05-14 2014-11-19 鸿富锦精密电子(天津)有限公司 Fan protection circuit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104158143A (en) * 2013-05-14 2014-11-19 鸿富锦精密电子(天津)有限公司 Fan protection circuit

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116658450A (en) * 2023-07-26 2023-08-29 苏州浪潮智能科技有限公司 Fan control system, server system, fan control method and device
CN116658450B (en) * 2023-07-26 2023-11-03 苏州浪潮智能科技有限公司 Fan control system, server system, fan control method and device
CN116755539A (en) * 2023-08-16 2023-09-15 合肥联宝信息技术有限公司 Fan power supply device, fan power supply method and storage medium of intelligent equipment
CN116755539B (en) * 2023-08-16 2023-11-28 合肥联宝信息技术有限公司 Fan power supply device, fan power supply method and storage medium of intelligent equipment

Also Published As

Publication number Publication date
CN114562469B (en) 2024-01-23

Similar Documents

Publication Publication Date Title
CN114562469A (en) Method, device, circuit, electronic equipment and medium for controlling power supply of fan
US5568350A (en) Over temperature memory circuit
US6163087A (en) Power supplying system with a delayed closing device for delayed closing of a heat-dissipating fan
US10616971B1 (en) LED auto-detect system for wide output voltage range LED drivers
CN111734668B (en) Server fan control method, device, equipment and readable storage medium
US11809251B2 (en) Power control device, display device, and power control method
CN113835508A (en) Power consumption management method and device of server, BMC and storage medium
CN116658450B (en) Fan control system, server system, fan control method and device
US10405462B2 (en) Power supply unit having a cold redundant cold detection capability
CN112269461A (en) Multi-power system and power-on time sequence control method thereof
GB2238675A (en) Uninterruptible power supply for an electronic computer
CN112269463A (en) Power-down protection circuit and method and electric energy meter
CN218352766U (en) LED power-down processing circuit and LED lighting device
JP5407466B2 (en) Power control method
CN112963372B (en) Fan control system and method thereof
CN213338644U (en) Power-down protection circuit and electric energy meter
CN113190398B (en) Method, system and medium for detecting state of counter flow valve
CN114089824B (en) Hot plug part protection method and device
JP2000209868A (en) Inverter
CN114165427A (en) Control method, system and controller for autonomous switching of high-reliability circulating pump
CN116841369A (en) Current control system and current control method
CN110941540A (en) Server alarm method and system
CN115134680A (en) Switch fan plate with protection measures and protection method
CN114647293A (en) Power failure protection method and device, power supply monitoring assembly and server
CN118003890A (en) State jump method of motor controller, vehicle and storage medium

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
GR01 Patent grant
GR01 Patent grant