CN114562469B - Fan power supply control method, device, circuit, electronic equipment and medium - Google Patents

Fan power supply control method, device, circuit, electronic equipment and medium Download PDF

Info

Publication number
CN114562469B
CN114562469B CN202210156871.7A CN202210156871A CN114562469B CN 114562469 B CN114562469 B CN 114562469B CN 202210156871 A CN202210156871 A CN 202210156871A CN 114562469 B CN114562469 B CN 114562469B
Authority
CN
China
Prior art keywords
fan
control
circuit
circuit protection
protection chip
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.)
Active
Application number
CN202210156871.7A
Other languages
Chinese (zh)
Other versions
CN114562469A (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

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 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 rotating speed state information being out-of-control state information, and discharging a power supply circuit of the fan; the circuit protection chip is arranged on a power supply line of the fan; and monitoring the output voltage of the circuit protection chip on the power supply line of the fan, and carrying out power-on processing on the circuit protection chip according to the fact that the output voltage of the circuit protection chip is smaller than or equal to a threshold value so as to supply power to the fan again. The invention realizes the purpose of quickly restarting the fan by quickly restarting the fan to effectively improve the working stability of the server cooling fan, thereby avoiding the problem of burning of the fan caused by out-of-control rotation speed of the fan to the greatest extent.

Description

Fan power supply control method, device, circuit, electronic equipment and medium
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 device, the power consumption of the server is increased, and the heat dissipation of the server is particularly important. Higher demands are placed on the working stability of fans as the main heat dissipation components to ensure that the servers are able to dissipate heat normally. However, for the server cooling fan, the anti-interference capability of the fan internal controller is relatively poor, the fan internal controller is easily affected by noise interference, the working voltage of the fan is abnormal, the fan internal controller cannot work normally, the internal program runs abnormally, the fan rotation speed is out of control, and the fan is likely to burn out when serious.
Disclosure of Invention
In order to solve the problems of poor working stability and the like of a server cooling fan, the invention can provide a method, a device, a circuit, electronic equipment and a medium for controlling power supply of the fan so as to achieve the technical purposes of improving the working stability of the server cooling fan, avoiding the runaway of the rotating speed of the fan, improving the 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.
Rotational speed status information of the fan is determined.
According to the out-of-control state information of the rotating speed state information, carrying out power-down processing on a circuit protection chip of the fan, and carrying out discharge processing on a power supply circuit of the fan; the circuit protection chip is arranged on a power supply line of the fan.
And monitoring the output voltage of the circuit protection chip on the power supply line of the fan.
And according to the fact that the output voltage of the circuit protection chip is smaller than or equal to a threshold value, electrifying the circuit protection chip to supply power to the fan again.
To achieve the above-mentioned object, the present invention further provides a fan power control device, where the fan power control device may include, but is not limited to, a rotation speed state determining module, a runaway state processing module, an output voltage monitoring module, and a fan re-powering 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 carrying out power-down processing on the circuit protection chip of the fan according to the rotating speed state information which is the out-of-control state information and carrying out discharge processing on the power supply circuit of the fan; the circuit protection chip is arranged on a power supply line 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 fact that the output voltage of the circuit protection chip is smaller than or equal to a threshold value so as to re-supply power for the fan.
To achieve the above technical objects, the present invention provides a circuit for controlling power supplied to a fan, which may include, but is not limited to, a baseboard management controller, a circuit protection chip, a voltage detection circuit, and a discharge circuit.
And the baseboard management controller is connected with the microcontroller of the fan.
The baseboard management controller is used for carrying out power-down processing on a circuit protection chip of the fan and carrying out 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 carrying out power-up processing on the circuit protection chip according to the fact 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 line of the fan; the circuit protection chip is used for supplying power to the fan when being turned on or stopping supplying power to the fan when being turned off.
The voltage detection circuit is connected with a power supply circuit of the fan; the voltage detection circuit is used for obtaining the output voltage of the circuit protection chip.
The discharging circuit is connected to a power supply line of the fan; the discharging circuit is used for discharging the power supply circuit of the fan.
To achieve the above object, the present invention also provides an electronic device including a memory and a processor, where the memory stores computer readable instructions that, when executed by the processor, cause the processor to perform the steps of the method for controlling power supply to a fan in any of the embodiments of the present invention.
To achieve the above object, the present invention may further provide a storage medium storing computer readable instructions that, 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 beneficial effects of the invention are as follows: the invention carries out the power-down processing of the circuit protection chip and the discharging processing of the power supply circuit under the condition that the rotating speed of the fan is out of control, and carries out the power-up processing of the circuit protection chip when the output voltage of the circuit protection chip meets the set condition, so as to realize the quick re-power supply of the fan; therefore, the invention realizes the purpose of quick restarting of the fan by quickly restarting the fan to effectively improve the working stability of the cooling fan of the server, further furthest avoid the problem of burning of the fan caused by out-of-control rotation speed of the fan, ensure the normal operation of the fan and meet the cooling requirement of the server.
Drawings
Fig. 1 is a flow diagram of a method for controlling power supplied to a fan in accordance with one or more embodiments of the present invention.
Fig. 2 is a schematic diagram illustrating a detailed implementation flow 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 showing the circuit composition and operation principle of the fan power supply control according to one or more embodiments of the present invention.
Fig. 4 is a schematic diagram showing the structure and connection relationship of a voltage detection circuit and a discharge circuit in one or more embodiments of the present invention.
Fig. 5 shows a schematic diagram of the arrangement of fan power supply control according to one or more embodiments of the present invention.
Fig. 6 is a schematic diagram showing the internal structural composition of an electronic device in one or more embodiments of the invention.
Detailed Description
The method, the device, the circuit, the electronic equipment and the medium for controlling the power supply of the fan are explained and illustrated in detail below with reference to the attached drawings.
The server cooling fan has the problem of poor working stability due to easy noise or interference, although the fluctuation range of the working voltage of the fan can be reduced by arranging a large capacitor for filtering noise interference at the power supply input of the fan, so that the internal controller of the fan can work normally. However, such a large capacitor often occupies a large space, for example, at least four fans are required for heat dissipation of the whole server, at least four fan connectors are arranged at the board end, and in the case of a shortage of space at the board end, if a large capacitor is added near each fan connector, a problem of excessive space occupation occurs. Moreover, once the capacitor fails or the interference is too large, the problem of poor working stability of the cooling fan of the server still cannot be fundamentally solved by the method. In view of the above, the present invention provides a method, apparatus, circuit, electronic device and medium for controlling power supply of a fan, so as to effectively solve the problem of poor working stability of a server cooling fan 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, which may include, but is not limited to, one or more of the following steps, as described in detail below.
Step 100, determining rotational speed status information of a fan. The in-flight status information in the embodiments of the present invention includes, but is not limited to, out-of-control status information and non-out-of-control status information: the out-of-control state information is information indicating that the fan is in an out-of-control state, and the non-out-of-control state information is information indicating that the fan is in a normal state.
Optionally, determining the rotational speed status information of the fan according to the embodiment of the present invention may include, but is not limited to, the following: acquiring real-time rotating speed information of a 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. In the embodiment of the invention, a baseboard management controller (BMC, baseboard Management Controller) sends a fan control signal PWM (fully Pulse Width Modulation, pulse width modulation signal) and correspondingly receives a real-time rotating speed signal tab fed back by a fan, and if the sent PWM fan control signal is inconsistent with the received real-time rotating speed signal tab, the current fan is in a rotating speed out-of-control state.
Specifically, according to the comparison result of the real-time rotation speed information and the rotation speed control information, determining the rotation speed state information of the fan may include: determining a difference value between a real-time rotation speed value contained in the real-time rotation speed information and a target rotation speed value contained in the rotation 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-uncontrolled state information according to the difference value being smaller than or equal to a preset value; the preset value is set according to actual conditions.
Step 200, according to the out-of-control state information of the rotating speed state information, powering down a circuit protection chip of the fan and discharging a power supply circuit of the fan; the circuit protection chip is arranged on a power supply circuit of the fan so as to provide the fan with voltage output by a power supply.
As shown in fig. 2, the circuit protection chip according to the embodiment of the present invention may be an electronic fuse (Efuse), and the powering down the circuit protection chip of the fan according to the embodiment of the present invention may include: the circuit protection chip of the direct control fan is turned off, namely the Efuse is turned off; or a first control instruction is sent 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 invention is specifically a CPLD (Complex Programmable Logic Device ).
As shown in fig. 2, and in combination with fig. 3 and fig. 4, the discharging process for 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 so that the control chip performs discharge treatment on a power supply circuit of the fan in a mode of activating a discharge circuit; the discharging circuit is connected to a power supply line of the fan. The baseboard management controller of the embodiment of the invention can communicate with the control chip CPLD while carrying out power-down processing on the circuit protection chip, and inform the control chip CPLD to activate the discharge circuit, thereby realizing the control of the start of the discharge circuit by the baseboard management controller. In the embodiment, the output of the Efuse is reduced as soon as possible through the discharging circuit, so that the time from closing to restarting of the Efuse is shortened, and the risk that the fan is thermally shut down due to the fact that the fan is not operated after the Efuse is closed is avoided. The invention effectively shortens the power supply restarting time through the discharging 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 a fan; thereby judging the discharge processing condition through the monitoring of the output voltage. The baseboard management controller of the embodiment obtains the detection result of the voltage detection circuit on the output voltage of the circuit protection chip, thereby achieving the purpose of voltage monitoring.
And 400, powering up the circuit protection chip according to the fact that the output voltage of the circuit protection chip is smaller than or equal to the threshold value, so as to supply power to the fan again. Therefore, the invention achieves the aim of quickly restarting the fan by restarting the fan to supply power, and avoids the problem of abnormal operation 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 problem of no electrification possibly caused by the immediate restarting 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 value of the present invention may be set reasonably according to the actual situation, for example, may be set based on UVLO (Under Voltage Lock Out, under-voltage locking value) of the circuit protection chip and the microcontroller chip in the fan, and the threshold value may be, for example, a minimum value of the circuit protection chip UVLO and the microcontroller chip UVLO, which 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 re-controls the power-on restart of the Efuse. The power-on processing of the circuit protection chip in this embodiment includes: closing the discharge circuit to stop discharging the power supply line; the circuit protection chip of the direct control fan is opened; or sending a third control instruction to the control chip so that the control chip opens the circuit protection chip by pulling up an enabling signal of the circuit protection chip. In specific implementation, the baseboard management controller detects the fan in-place signal, and controls the enabling signal after detecting that the 12V voltage drops to a certain voltage value so as to electrify the electronic fuse.
When the condition that the rotation speed of the fan is out of control occurs, the circuit protection chip power-down processing and the power supply circuit discharging processing are immediately carried out, and when the output voltage of the circuit protection chip meets the condition that the output voltage is smaller than or equal to the threshold value, the circuit protection chip power-up processing is immediately carried out, so that the fan is rapidly and normally powered again, the problem that the internal controller of the fan cannot work normally due to noise interference is avoided, the internal program of the fan controller is ensured to run normally, the rotation speed of the fan is normal and controllable, and the problem that the fan burns out due to noise interference is avoided. Compared with the scheme of large-capacitance filtering, the circuit additionally provided by the invention occupies almost negligible space, does not occupy the space of a board end, is not easy to fail due to the scheme of large capacitance, and has the advantages of stronger reliability, better stability of a fan power supply system, stronger anti-interference capability and the like.
As shown in fig. 3, the method of controlling power supply to the fan is based on the same technical concept, and the embodiment of the invention also provides a circuit for controlling power supply to the fan, so as to solve the problem of burning out the fan due to abnormal rotation speed, namely the invention can provide a circuit for preventing the fan from burning out due to out-of-control rotation speed.
Specifically, the circuit for controlling the power supply of the fan can include, but is not limited to, a baseboard management controller, a circuit protection chip, a voltage detection circuit and a discharge circuit. The baseboard management controller provided by the invention is connected with a microcontroller (MCU, micro Control Unit) of the fan.
The baseboard management controller provided by the invention can be used as an execution main body of a fan power supply control method. Key signals for fans include, but are not limited to, power signals (e.g., 12V power signals), ground signals, on-bit signals (e.g., PRSNT, sideband signals that may be used in a hot plug mechanism), control signals (e.g., PWM), and sense signals (e.g., tap, full-scale tachometer). When the baseboard management controller detects the fan in-place signal, the voltage regulating module (VR, voltage Regulator) is controlled to supply power to the fan, the PWM control signal is output 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 tap 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 a fan when the fan has an overcurrent or short circuit problem.
The micro controller chip is arranged in the fan and is used for receiving the PWM signal sent by the substrate management controller and controlling the logic circuit in the fan according to the PWM signal so as to enable the fan to output the corresponding rotating speed, namely the target rotating speed value. The working voltage of the MCU chip in this embodiment is specifically 5V, the voltage externally provided to the fan is typically 12V, and the level conversion circuit disposed inside the fan converts the 12V voltage signal into a 5V voltage signal required by the operation of the MCU chip.
The baseboard management controller can be used for carrying out power-down processing on a circuit protection chip of the fan and carrying out 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 carrying out power-up processing on the circuit protection chip according to the monitored output voltage of the circuit protection chip being smaller than or equal to a threshold value.
The substrate 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 baseboard 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, wherein the rotating speed state information is the uncontrolled state information or the non-uncontrolled state information. Specifically, the baseboard management controller 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 baseboard 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 a preset value; or the baseboard management controller is used for determining that the rotating speed state information of the fan is non-uncontrolled state information according to the difference value being smaller than or equal to a preset value.
The circuit for controlling the power supply of the fan can further comprise a control chip, wherein the control chip can be used for receiving a first control instruction sent by the baseboard 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 baseboard management controller and activating the discharge circuit according to the second control instruction so as to perform discharge treatment on the power supply circuit of the fan. The control chip can also be used for receiving a fourth control instruction sent by the baseboard management controller and closing the discharging 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 baseboard management controller and pulling up an enabling 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 line of the fan; the circuit protection chip is used for supplying power to the fan when being turned on or stopping supplying power to the fan when being turned off. It should be understood that fig. 3 does not show a 12V power supply, and the circuit protection chip is disposed on a 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, over Current Protection), short-circuit protection (SCP, short Circuit Protection) and the like.
The voltage detection circuit is connected with the power supply circuit of the fan and is connected with the baseboard 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, so as 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 for the baseboard management controller so as to realize the monitoring of the output voltage of the circuit protection chip by the baseboard management controller.
The discharging circuit is connected to the power supply circuit of the fan and connected with the baseboard management controller. The discharge circuit in this embodiment is a 12V discharge circuit and is used to discharge the fan power supply line with an output voltage of 12V.
As shown in fig. 4, one or more embodiments of the present invention can provide a specific circuit configuration diagram of the voltage detection circuit and the discharge circuit. The discharging circuit comprises a resistor R4 and a switching tube Q1, wherein the resistor R4 is used as a discharging resistor when the voltage is discharged, the resistor R4 is connected in series between a power supply line and a drain electrode of the switching 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 electrode of the switching tube Q1; the source electrode of the switching tube Q1 is grounded, the grid electrode of the switching tube Q1 is connected with the control chip, a resistor R3 is connected in series between the grid electrode of the switching tube Q1 and the control chip, and the resistor R3 plays an isolating role, for example, a resistor of 0 ohm can be selected; the resistor R4 can adopt a resistor with smaller resistance and larger power, the discharge is faster when the resistance is smaller, the power is large, the resistor R4 in the embodiment is particularly a resistor with 300 ohms and 1/16 watt, and the switching tube Q1 can be a switching tube with 2.2 volts on voltage (VGS value) and L2N7002SLT1G type; of course, not limited thereto. The voltage detection circuit comprises a resistor R1, a resistor R2 and a capacitor C1, wherein the resistor R1 is connected with the resistor R2 in series and is used for playing a role of voltage division, one end of the 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 the resistor R2 in parallel, the connecting point of the resistor R1, the resistor R2 and the capacitor C1 is connected with the baseboard management controller, the detected voltage meets the pin input range of the BMC in a voltage division mode, a threshold value is set in the BMC, and when the detected voltage is smaller than the threshold value, the powering-on restarting of the Efuse is controlled again.
As shown in fig. 5, the method of controlling power supply to a fan is based on the same technical concept, and one or more embodiments of the present invention can also provide a device for controlling power supply to a fan; the device can be integrated on a baseboard management controller, and the device for controlling the power supply of the fan 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 rotational speed state determining module in at least one embodiment of the present invention is configured to obtain real-time rotational speed information of the fan, and compare the real-time rotational speed information with rotational speed control information in an issued fan control signal, where the real-time rotational 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 rotation speed state determining module is used for determining a difference value between a real-time rotation speed value contained in the real-time rotation speed information and a target rotation speed value contained in the rotation 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 a preset value; or the rotating speed state determining module is used for determining that the rotating speed state information of the fan is non-uncontrolled state information according to the fact that the difference value is smaller than or equal to a preset value.
The uncontrolled state processing module is used for carrying out power-down processing on a circuit protection chip of the fan according to the rotating speed state information which is the uncontrolled state information and carrying out discharge processing on a power supply circuit of the fan; the circuit protection chip is arranged on a power supply circuit of the fan.
Optionally, the out-of-control 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 in a mode of pulling down an enabling signal of the circuit protection chip.
Optionally, the out-of-control state processing module is used for sending a second control instruction to the control chip so as to enable the control chip to perform discharge processing on a power supply circuit of the fan in a mode of activating the discharge circuit; wherein the discharge circuit is connected to the power supply line 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 fact that the output voltage of the circuit protection chip is smaller than or equal to the threshold value so as to re-supply power for the fan.
Optionally, the fan re-powering module is configured to close the discharging circuit to stop discharging the power supply line; the fan re-electrifying module is used for directly controlling the opening of a circuit protection chip of the fan; or the fan re-electrifying module is used for sending a third control instruction to the control chip so that the control chip can open the circuit protection chip in a mode of heightening an enabling signal of the circuit protection chip.
As shown in fig. 6, the same technical concept as the method of controlling power supply of a fan is based on the same technical concept, and one or more embodiments of the present invention can also provide an electronic device, including a memory and a processor, where the memory stores computer readable instructions, which when executed by the processor, cause the processor to perform the steps of the method of controlling power supply of a fan in any embodiment of the present invention. The detailed implementation flow of the fan power supply control method of the present invention is described in detail in the present specification, and will not be described here again.
As shown in fig. 6, the same technical concept as the method of fan power supply control is based on the same technical idea, and 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 of fan power supply control in any of the embodiments of the present invention. The detailed implementation flow of the fan power supply control method of the present invention is described in detail in the present specification, and will not be described herein.
Logic and/or steps represented in the flowcharts or otherwise described herein, e.g., a ordered listing of executable instructions for implementing 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) with one or more wires, a portable computer cartridge (magnetic device), a random access Memory (RAM, random Access Memory), a Read-Only Memory (ROM), an erasable programmable Read-Only Memory (EPROM, erasable Programmable Read-Only Memory, or flash Memory), an optical fiber device, and a portable compact disc Read-Only Memory (CDROM, compact Disc Read-Only Memory). In addition, the computer-readable storage medium may even be paper or other suitable medium upon which the program is printed, as the program may 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 is to be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits with logic gates for implementing logic functions on data signals, application specific integrated circuits with appropriate combinational logic gates, programmable gate arrays (PGA, programmable Gate Array), field programmable gate arrays (FPGA, field Programmable Gate Array), and the like.
In the description of the present specification, a description referring to the terms "present embodiment," "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., means 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, schematic representations of the above terms are not necessarily directed 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, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present invention, the meaning of "plurality" means at least two, for example, two, three, etc., unless specifically defined otherwise.
The above description is only of the preferred embodiments of the present invention, and is not intended to limit the invention, but any modifications, equivalents, and simple improvements made within the spirit of the present invention should be included in the scope of the present invention.

Claims (6)

1. A method of fan power control, comprising:
determining the rotating speed state information of the fan;
according to the out-of-control state information of the rotating speed state information, carrying out power-down processing on a circuit protection chip of the fan, and carrying out discharge processing on a power supply circuit of the fan; the circuit protection chip is arranged on a power supply line of the fan;
monitoring the output voltage of the circuit protection chip on a power supply line of the fan;
according to the fact that the output voltage of the circuit protection chip is smaller than or equal to a threshold value, electrifying the circuit protection chip to supply power to the fan again;
the determining the rotation speed state information of the fan comprises the following steps:
acquiring real-time rotating speed information of the fan;
comparing the real-time rotational speed information with rotational speed control information in an issued fan control signal, the real-time rotational speed information being generated based on the fan control signal;
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;
the powering down the circuit protection chip of the fan comprises the following steps:
directly controlling a circuit protection chip of the fan to be turned off;
or a first control instruction is sent to a control chip so that the control chip turns off the circuit protection chip in a mode of pulling down an enabling signal of the circuit protection chip;
the discharging treatment of the power supply circuit of the fan comprises the following steps:
a second control instruction is sent to the control chip, so that the control chip performs discharge treatment on a power supply circuit of the fan in a mode of activating a discharge circuit; the discharging circuit is connected to a power supply line of the fan;
the power-on processing of the circuit protection chip comprises the following steps:
closing the discharge circuit to stop discharging the power supply line;
the circuit protection chip of the direct control fan is opened; or sending a third control instruction to the control chip so that the control chip opens the circuit protection chip by pulling up an enabling signal of the circuit protection chip.
2. The method of claim 1, wherein determining rotational speed status information of the fan based on the comparison of the real-time rotational speed information and the rotational speed control information comprises:
determining a difference value between a real-time rotation speed value contained in the real-time rotation speed information and a target rotation speed value contained in the rotation 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-uncontrolled state information according to the fact that the difference value is smaller than or equal to a preset value.
3. A fan power control apparatus, comprising:
the rotating speed state determining module is used for determining rotating speed state information of the fan; the rotating speed state determining module 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 signals, wherein the real-time rotating speed information is generated based on the fan control signals; the rotating speed state determining module is used for determining rotating speed state information of the fan according to a comparison result of the real-time rotating speed information and the rotating speed control information;
the out-of-control state processing module is used for carrying out power-down processing on the circuit protection chip of the fan according to the rotating speed state information which is the out-of-control state information and carrying out discharge processing on the power supply circuit of the fan; the circuit protection chip is arranged on a power supply line of the fan; the out-of-control 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 in a mode of pulling down an enabling signal of the circuit protection chip; the out-of-control state processing module is used for sending a second control instruction to the control chip so that the control chip performs discharge processing on a power supply circuit of the fan in a mode of activating the discharge circuit; the discharging circuit is connected to the power supply circuit of the fan;
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;
the fan re-electrifying module is used for electrifying the circuit protection chip according to the fact that the output voltage of the circuit protection chip is smaller than or equal to a threshold value so as to supply power to the fan again; the fan re-electrifying module is used for closing the discharging circuit so as to stop discharging the power supply circuit; the fan re-electrifying module is used for directly controlling the opening of a circuit protection chip of the fan; or the fan re-electrifying module is used for sending a third control instruction to the control chip so that the control chip can open the circuit protection chip in a mode of heightening an enabling signal of the circuit protection chip.
4. The circuit is characterized by comprising a substrate management controller, a circuit protection chip, a voltage detection circuit and a discharge circuit;
the baseboard management controller is connected with the microcontroller of the fan;
the baseboard management controller is used for carrying out power-down processing on a circuit protection chip of the fan and carrying out discharge processing on a power supply circuit of the fan according to the out-of-control state information of the fan, and carrying out power-up processing on the circuit protection chip according to the fact that the output voltage of the circuit protection chip is smaller than or equal to a threshold value; the substrate 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 signals, wherein the real-time rotating speed information is generated based on the fan control signals; 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, wherein the rotating speed state information is the uncontrolled state information or the non-uncontrolled state information;
the circuit protection chip is arranged on a power supply line of the fan; the circuit protection chip is used for supplying power to the fan when being turned on or stopping supplying power to the fan when being turned off;
the voltage detection circuit is connected with a power supply circuit of the fan; the voltage detection circuit is used for obtaining the output voltage of the circuit protection chip;
the discharging circuit is connected to a power supply line of the fan; the discharging circuit is used for discharging the power supply circuit of the fan;
the circuit for controlling the power supply of the fan further comprises a control chip, wherein the control chip can be used for receiving a first control instruction sent by the baseboard 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;
the control chip is also used for receiving a second control instruction sent by the baseboard management controller and activating the discharge circuit according to the second control instruction so as to perform discharge treatment on a power supply circuit of the fan; the control chip is also used for receiving a fourth control instruction sent by the baseboard 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 is used for receiving a third control instruction sent by the baseboard management controller and pulling up an enabling signal of the circuit protection chip according to the third control instruction so as to open the circuit protection chip.
5. An electronic device comprising a memory and a processor, the memory having stored therein computer readable instructions that, when executed by the processor, cause the processor to perform the steps of the method of fan power control of any of claims 1-2.
6. 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 of fan power control of any of claims 1-2.
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 CN114562469A (en) 2022-05-31
CN114562469B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116658450B (en) * 2023-07-26 2023-11-03 苏州浪潮智能科技有限公司 Fan control system, server system, fan control method and device
CN116755539B (en) * 2023-08-16 2023-11-28 合肥联宝信息技术有限公司 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

Also Published As

Publication number Publication date
CN114562469A (en) 2022-05-31

Similar Documents

Publication Publication Date Title
CN114562469B (en) Fan power supply control method, device, circuit, electronic equipment and medium
US8607036B2 (en) Power management apparatus and methods
US5568350A (en) Over temperature memory circuit
CN110609495B (en) Power supply equipment controller with low standby voltage for power over Ethernet
US6738268B1 (en) Method and apparatus for providing power signals to operating circuitry mounted on circuit boards
CN113835508B (en) Power consumption management method and device of server, BMC and storage medium
CN110704878A (en) Anti-dismantling system for safety computer
US20220308649A1 (en) Power control device, display device, and power control method
US6993670B2 (en) Method of configuring a computer system capable of being woken up on LAN
US11726542B2 (en) Power management circuit and method
CN105790360B (en) Charging circuit, electronic device, and information processing method
US7694163B1 (en) System for generating and monitoring voltages generated for a variety of different components on a common printed circuit board
US20120072738A1 (en) Reducing latency when activating a power supply unit
US11239689B2 (en) Method and apparatus for efficient power delivery in power supply system
CN116658450B (en) Fan control system, server system, fan control method and device
US10405462B2 (en) Power supply unit having a cold redundant cold detection capability
GB2238675A (en) Uninterruptible power supply for an electronic computer
JP2009516489A5 (en)
CN114221532B (en) Discharging circuit, method and intelligent device
CN221239266U (en) I.MX6ULL-based small-volume stamp hole core plate
CN112463453B (en) Chip resetting method and device, storage medium and electronic equipment
EP3651335B1 (en) System and method for extending power supply unit holdup time
CN113190398B (en) Method, system and medium for detecting state of counter flow valve
CN218161802U (en) Programmable logic device and system for optimizing system power supply abnormal triggering mechanism
CN218352766U (en) LED power-down processing circuit and LED lighting device

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