CN105676978A - Method and device for controlling server fan - Google Patents
Method and device for controlling server fan Download PDFInfo
- Publication number
- CN105676978A CN105676978A CN201511031452.7A CN201511031452A CN105676978A CN 105676978 A CN105676978 A CN 105676978A CN 201511031452 A CN201511031452 A CN 201511031452A CN 105676978 A CN105676978 A CN 105676978A
- Authority
- CN
- China
- Prior art keywords
- fan
- converter
- acquisition
- voltage
- bmc
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/20—Cooling means
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Control Of Electric Motors In General (AREA)
- Control Of Positive-Displacement Air Blowers (AREA)
- Cooling Or The Like Of Electrical Apparatus (AREA)
Abstract
The embodiment of the invention provides a method and device for controlling a server fan and relates to the field of servers. The method and the device are used for accurately controlling the rotating speed of the server fan in real time. The device comprises a collecting resistor, a first power source, at least one second power source, at least one controller, at least one switch unit, a converter, a baseplate management controller (BMC) and at least one fan. The first power source is connected with one end of the collecting resistor, and the other end of the collecting resistor is connected with the first end of the switch unit; the second end of the switch unit is connected with the second power source; the control end of the switch unit is connected with the first output end of the controller; the input end of the controller is connected to the two ends of the collecting resistor; the second output end of the controller is connected with at least one input channel of the converter, the output end of the converter is connected with the BMC, and the BMC is connected with the fan.
Description
Technical Field
The present invention relates to the field of servers, and in particular, to a method and an apparatus for controlling a server fan.
Background
With the development of science and technology, the development of servers is rapid. The functionality of the servers is also becoming more complex. In designing a server, each function of the server is realized by using a large number of integrated circuits. Thus, as server functionality increases, so too does the number of integrated circuits within the server. As is well known, high temperature has great side effect on integrated circuits, which not only causes unstable system operation and shortened service life, but also may burn some important working components in serious cases; the special radiator of the integrated circuit chip is contacted with the surface of the chip to absorb heat, and then the fan module of the whole machine radiates the heat to the outside of the case to ensure that the temperature of each board card component of the server is normal. Therefore, it is very important to control the fan speed strictly according to the temperature requirement of the chip during operation for the reliable and stable operation of the system.
In the prior art, the BMC controls the speed of each fan in the server via a thermistor. For example, thermistors are arranged at the upstream and the downstream of a high-power-consumption and high-heat-dissipation integrated chip such as a CPU (central processing unit), the voltage division of related circuits is changed according to the characteristic that the resistance value of the thermistors changes along with the temperature, and the BMC controls the rotating speed of the fan.
However, since the thermistor can only detect the temperature of the integrated circuit when the integrated circuit reaches a certain temperature, the BMC cannot accurately control the rotation speed of each fan in the server in real time when the rotation speed of each fan is controlled by the thermistor.
Disclosure of Invention
The embodiment of the invention provides a method and a device for controlling a server fan, which are used for accurately controlling the rotating speed of the server fan in real time.
In order to achieve the above purpose, the embodiment of the invention adopts the following technical scheme:
the embodiment of the invention provides a control device of a server fan, which is applied to a server and comprises the following components: the system comprises a collecting resistor, a first power supply, at least one second power supply, at least one controller, at least one switch unit, a converter, a substrate management controller BMC and at least one fan; the first power supply is connected with one end of the acquisition resistor, and the other end of the acquisition resistor and the first end of the at least one switch unit are connected with the first power supply; the second end of the at least one switch unit is connected with the at least one second power supply respectively; the control end of the at least one switch unit is respectively connected with the first output end of the at least one controller; the input end of the at least one controller is connected to the two ends of the acquisition resistor; a second output end of the at least one controller is respectively connected with at least one input channel of the converter, an output end of the converter is connected with the BMC, and the BMC is connected with the at least one fan; the first power supply and the second power supply are used for supplying power to the server; the controller is used for acquiring the current of the acquisition resistor, converting the acquired current of the acquisition resistor into acquisition voltage and sending the acquisition voltage to the converter; the converter is used for converting the acquisition voltage into an acquisition voltage of a digital signal and storing the acquisition voltage of the digital signal; the BMC is used for acquiring the acquisition voltage of the digital signal in the converter and controlling the rotating speed of the at least one fan according to the acquisition voltage of the digital signal.
Optionally, the method further includes: a processor; the BMC being coupled to the at least one fan includes: the BMC is connected with the processor, and the processor is connected with the at least one fan; the BMC is specifically configured to acquire a collection voltage of a digital signal in the converter, and send a rotation speed control signal of at least one fan to the processor according to the collection voltage of the digital signal; the processor is used for receiving a rotating speed control signal of at least one fan sent by the BMC and controlling the rotating speed of the at least one fan according to the rotating speed control signal of the at least one fan.
Optionally, the at least one fan is configured to send current rotation speed information to the processor; the processor is further configured to receive current rotation speed information returned by the at least one fan, and determine whether the at least one fan normally operates according to the current rotation speed information returned by the at least one fan; and if at least one fan runs abnormally, performing exception handling on the at least one fan with abnormal running.
Optionally, the BMC is specifically configured to acquire the collected voltage in the converter through an I2C protocol, and send a rotation speed control signal of at least one fan to the processor through an I2C protocol according to the collected voltage.
Optionally, the converter is an analog/digital converter ADC converter.
Optionally, the ADC converter is TMS320F 2803X.
Optionally, at least one controller is a MAX5977 controller.
Optionally, the processor is a PSOC processor.
Further, an embodiment of the present invention provides a method for controlling a server fan, which is applied to the apparatus for controlling a server fan in the foregoing embodiment, and the method includes: the controller acquires the current of the acquisition resistor, converts the acquired current of the acquisition resistor into acquisition voltage and sends the acquisition voltage to the converter; the converter receives the acquisition voltage, converts the acquisition voltage into an acquisition voltage of a digital signal, and stores the acquisition voltage of the digital signal; and the baseboard management controller BMC acquires the acquisition voltage of the digital signal stored in the converter and controls the rotating speed of at least one fan according to the acquisition voltage of the digital signal.
Optionally, when the control device of the server fan further includes a processor, the BMC obtains the collected voltage stored in the converter, and controls the rotation speed of at least one fan according to the collected voltage includes: the BMC acquires the acquisition voltage of the digital signal stored in the converter and sends a rotating speed control signal of at least one fan to the processor according to the acquisition voltage; the processor receives a rotating speed control signal of at least one fan sent by the BMC, and controls the rotating speed of the at least one fan according to the rotating speed control signal of the at least one fan.
The embodiment of the invention provides a method and a device for controlling a server fan, which are applied to a server, wherein the device for controlling the server fan comprises the following steps: the system comprises a collecting resistor, a first power supply, at least one second power supply, at least one controller, at least one switch unit, a converter, a substrate management controller BMC and at least one fan; the first power supply is connected with one end of the acquisition resistor, and the other end of the acquisition resistor and the first end of the at least one switch unit are connected with the other end of the acquisition resistor; the second end of at least one switch unit is connected with at least one second power supply respectively; the control end of at least one switching power supply is respectively connected with the first output end of at least one controller; the input end of at least one controller is connected to the two ends of the acquisition resistor; the second output end of the at least one controller is respectively connected with at least one input channel of the converter, the output end of the converter is connected with the BMC, and the BMC is connected with at least one fan; the first power supply and the second power supply are used for supplying power to the server; the controller is used for acquiring the current of the acquisition resistor, converting the acquired current of the acquisition resistor into acquisition voltage and sending the acquisition voltage to the converter; the converter is used for converting the acquired voltage into the acquired voltage of the digital signal and storing the acquired voltage of the digital signal; and the BMC is used for acquiring the acquisition voltage of the digital signal in the converter and controlling the rotating speed of at least one fan according to the acquisition voltage of the digital signal. Like this, at least one controller in the controlling means of server fan can acquire the electric current of gathering the resistance, because integrated circuit in the server all is through first power and second power supply power, consequently, the electric current of gathering the resistance is the sum of the electric current of each integrated circuit in the server, so, at least one controller is after the electric current of gathering the electric current that will acquire converts the collection voltage into the collection voltage of gathering voltage transmission to converter, the converter is with gathering voltage conversion digital signal's collection voltage, BMC can acquire digital signal's collection voltage in the converter, and then can carry out the adjustment of rotational speed to at least one fan according to digital signal's collection voltage. Therefore, in the invention, the control device of the server fan can adjust the rotating speed of the fan by detecting the current, and the rotating speed of at least one fan can be adjusted according to the power supply current at the initial power-on of the server, thereby realizing the real-time and accurate control of the rotating speed of the server fan.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a control device of a server fan according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of another server fan control device according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a method for controlling a server fan according to an embodiment of the present invention;
reference numerals:
11-acquisition resistor, 12-first power supply, 13-second power supply, 14-controller, 15-switch unit, 16-converter, 17-BMC, 18-fan and 19-processor.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a control device of a server fan, which is applied to a server. As shown in fig. 1, the server fan control device includes: the power supply system includes a collection resistor 11, a first power supply 12, at least one second power supply 13, at least one controller 14, at least one switching unit 15, a converter 16, a BMC (baseboard management controller) 17, and at least one fan 18.
The first power supply 12 is connected with one end of the acquisition resistor 11, and the other end of the acquisition resistor 11 and the first end of the at least one switch unit 14 are connected with the other end of the acquisition resistor 11; a second terminal of the at least one switching unit 15 is connected to at least one second power supply 13, respectively; the control end of at least one switch unit 15 is connected with the first output end of at least one controller 14 respectively; the input end of at least one controller 14 is connected to two ends of the collecting resistor 11; a second output of the at least one controller 14 is connected to at least one input channel of the converter 16, respectively, an output of the converter 16 is connected to the BMC17, and the BMC17 is connected to the at least one fan 18.
A first power supply 12 and a second power supply 13 for supplying power to the server.
And the at least one controller 14 is used for acquiring the current of the acquisition resistor 11, converting the acquired current of the acquisition resistor 11 into acquisition voltage and sending the acquisition voltage to the converter 16.
And a converter 16 for converting the collected voltage into a collected voltage of the digital signal and storing the collected voltage of the digital signal.
The BMC17 is configured to acquire the acquisition voltage of the stored digital signal in the converter 16 and control the rotation speed of the at least one fan 18 according to the acquisition voltage of the digital signal.
Specifically, two ends of the collecting resistor 11 in the server fan control device are arranged between the first power supply 12 and the first end of the at least one switch unit 14. The second terminal of at least one switch unit 14 is connected to at least one second power supply 13, respectively, and the second terminal of one switch unit 14 is connected to only the first second power supply 13, and the second terminal of a different switch unit 14 is connected to a different second power supply 13. That is, a first terminal of any one of the switch units 14 is connected to the other terminal of the collecting resistor 11, and a second terminal thereof is connected to a second power supply 13. The control terminals of the at least one switching unit 14 are connected to the first output terminals of the at least one controller 14, respectively. Also, the control terminal of one switch unit 14 is connected to only one controller 14, and the control terminal of a different switch unit 13 is connected to a different controller 14. In this way, the first terminal of any one of the switch units 13 is connected to the other terminal of the collection resistor 11, the second terminal thereof is connected to one of the second power sources 13, and the control terminal thereof is connected to one of the controllers 14. The controller 14 may control the switching unit 13 to be turned on and off. The input terminal of at least one controller 14 is connected to two ends of the collecting resistor 11, so that each controller 14 can collect the voltage information of the collecting resistor 11 and convert the collected voltage information of the collecting resistor 11 into collecting current through a transconductance amplifier in the controller 14. Since the BMC17 cannot process current data during actual data transmission, the controller 14 needs to convert the acquired acquisition current into an acquisition voltage. At this point, the controller 14 may convert the collection current to a collection voltage via a collection resistor therein. Second outputs of the at least one controller 14 are respectively connected to at least one input channel of the converter 16. And a second output of one controller 14 is connected to one input channel of the converter 16 and a second output of a different controller 14 is connected to a different input channel of the converter 16. In this way, each controller 14, after converting the collected current to a collected voltage, may transmit the collected voltage to the converter 16 via its connected input channel. The converter 16 can acquire the acquisition voltage, and since the BMC17 cannot recognize the acquisition voltage of the analog signal and can only recognize the acquisition voltage of the digital signal, after acquiring the acquisition voltage sent by the controller 14, the converter 16 can convert the acquisition voltage of the analog signal into the acquisition voltage of the digital signal and store the converted acquisition voltage of the digital signal because the acquisition voltage is the acquisition voltage of the analog signal. The output of the converter 16 is connected to the BMC17, and the BMC17 is connected to at least one fan 18. In this way, the BMC17 can acquire the acquisition voltage of each digital signal in the converter 16, analyze the acquisition voltage of each digital signal, determine the rotation speed of each fan 18, and adjust the rotation speed of each fan 18.
It should be noted that, in the embodiment of the present invention, the acquisition voltage generated by any one of the controllers 14 is the acquisition voltage of the analog signal. The functionality of any controller 14 is embodied in three applications, one of which is a 5uA current source powered by an internal 5V charge pump that provides a slow voltage turn-on response by driving the switching unit 15 via a chip Gatepin in the controller 14. Secondly, a high-precision current detection transconductance amplifier is arranged in the controller 14, and voltage information of the acquisition resistor 11 can be acquired by the VoltageInputPin of the chip in the controller 14, and is converted into a current value through the transconductance amplifier and then converted into an acquisition voltage through the conversion resistor. Thirdly, the chip in the controller 14 provides two-stage over-current and short-circuit protection: the quick switch-off of the quick trigger threshold and the delay switch-off of the low-speed trigger threshold increase the reliability and stability of the system power supply.
That is, in the present invention, any one of the controllers 14 includes a chip, and the chip can control the on/off of the switch unit 15. After the chip in the controller 14 obtains the voltage information of the collecting resistor 11, the chip may be converted into a collecting current through the transconductance amplifier, and then it may be determined whether the current of the collecting resistor 11 is too large, and then it may be determined whether the voltage on-response needs to be slowed down, that is, whether the switching unit 14 needs to be controlled to be turned off. When it is determined that the current of the collecting resistor 11 is too large, it may be determined that the voltage on response needs to be slowed down, and the switching unit 14 may be controlled to be turned off.
It should be noted that the second power supply 13 may be connected to an integrated circuit of the server. The different second power supplies 13 may provide voltages for different integrated circuits of the server. In this way, different controllers 14 may monitor the current for different integrated circuits in the server.
Further, at least one controller 14 is a MAX5977 controller.
Further, at least one of the switching cells 15 is an N-MOSFET switch.
Further, the converter 16 is an ADC (Analog-to-digital converter). In this case, the ADC core contains a 12-bit converter and 16 input channels. Unlike the past sequential sampling, the ADC module can support SOC (start configurations) sampling, and the core of the ADC module is to configure 16 SOCs individually according to the use conditions of 16 input channels, including trigger source, sampling channel and sampling window time. Therefore, after each channel receives the corresponding trigger signal, the specified channel is sampled according to the set sampling window time. After the ADC obtains the sampling voltage of the analog signal in each input channel, the ADC may convert the sampling voltage of the analog signal into a sampling voltage of a digital signal, and store the sampling voltage of each digital signal in a register corresponding to each input channel.
Further, the BMC17 is specifically configured to acquire the acquisition voltage in the converter through an I2C (Inter-integrated circuit) protocol.
Further, in order to improve the accuracy of analog-to-digital conversion, the ADC may be a TMS320F2803X series integrated chip.
Further, as shown in fig. 2, the server fan control device further includes: a processor 19.
In this regard, coupling the BMC17 to the at least one fan 18 includes: the BMC17 is coupled to the processor 19, and the processor 19 is coupled to at least one fan 18.
The BMC17 is specifically configured to acquire the collected voltage in the converter 16 and send a rotational speed control signal of the at least one fan 18 to the processor 19 according to the collected voltage.
And the processor 19 is used for receiving the rotating speed control signal of the at least one fan 18 sent by the BMC17 and controlling the rotating speed of the at least one fan 18 according to the rotating speed control signal of the at least one fan 18.
Specifically, in order to facilitate the design of the server and the management of each component, the fan 18 in the server is not directly connected to the BMC17, but is connected to the BMC17 through the processor 19. That is, the processor 19 is connected to the BMC17, and the processor 19 is connected to the at least one fan 18, while the at least one fan 18 is not directly connected to the BMC 17.
In this way, after acquiring each of the collected voltages in the converter 16, the BMC17 may analyze each of the collected voltages, determine the rotation speed of each of the fans 18, and send the rotation speed signal of each of the fans 18 to the processor 19, and after receiving the rotation speed signal of each of the fans 18, the processor 19 may adjust the rotation speed of each of the fans according to the rotation speed signal of each of the fans 18.
Further, the processor 19 may control the rotation speed of at least one fan 18 by sending information of the rotation speed required by each fan 18 to each fan 18 by the processor 19, and at this time, each fan 18 may adjust its own rotation speed after receiving the information of the rotation speed. The processor 19 may also control the speed of the at least one fan 18 in other ways, as the invention is not limited in this respect.
The BMC17 is specifically configured to acquire the collected voltage in the converter 16 through the I2C protocol, and send a rotational speed control signal of the at least one fan 18 to the processor 19 through the I2C protocol according to the collected voltage.
Further, in order to better manage the fans 18 of the server, at least one fan 18 of the server may periodically send respective current rotational speed information to the processor 19.
At this time, at least one fan 18 for sending the current rotation speed information to the processor 19.
The processor 19 is further configured to receive current rotation speed information returned by the at least one fan 18, and determine whether the at least one fan 18 is operating normally according to the current rotation speed information returned by the at least one fan 18; and if the at least one fan 18 runs abnormally, performing exception handling on the at least one fan 18 which runs abnormally.
Specifically, each fan 18 in the server may send its current speed to the processor 19 via the current speed information. The processor 19 receives the current speed information sent by each fan 18. The processor 19 may interpret the current speed information sent by each fan 18 so that the current speed of each fan 18 may be known. The processor 19, knowing the current speed of each fan 18, can check to see if it matches the speed that the fan is going to reach and, if so, can determine that the fan 18 is operating properly. If not, it may be determined that the fan 18 is operating abnormally. At this time, the processor 19 may perform exception handling on the fan 18 having an abnormal operation according to a preset exception handling method.
When the processor 19 performs exception handling on the fan 18 with an abnormal operation, the exception handling method according to which the processor 19 performs exception handling may be preset, or the processor 19 may feed back an exception to the BMC17 and perform the exception handling by the BMC 17. It is also possible that the processor 19 sends the abnormally operated fan 18 again information about the rotational speed it needs to reach. Of course, the information of the abnormally operated fan may also be fed back to the user. Other processing methods are also possible, and the invention is not limited in this regard.
Further, the BMC17 is a BMC whose processing chip is AST 2400.
Further, the processor 19 is a PSOC (programmable system-On-Chip) processor.
The embodiment of the invention provides a control device of a server fan, which is applied to a server and comprises the following components: the system comprises a collecting resistor, a first power supply, at least one second power supply, at least one controller, at least one switch unit, a converter, a substrate management controller BMC and at least one fan; the first power supply is connected with one end of the acquisition resistor, and the other end of the acquisition resistor and the first end of the at least one switch unit are connected with the other end of the acquisition resistor; the second end of at least one switch unit is connected with at least one second power supply respectively; the control end of at least one switching power supply is respectively connected with the first output end of at least one controller; the input end of at least one controller is connected to the two ends of the acquisition resistor; the second output end of the at least one controller is respectively connected with at least one input channel of the converter, the output end of the converter is connected with the BMC, and the BMC is connected with at least one fan; the first power supply and the second power supply are used for supplying power to the server; the controller is used for acquiring the current of the acquisition resistor, converting the acquired current of the acquisition resistor into acquisition voltage and sending the acquisition voltage to the converter; the converter is used for converting the acquired voltage into the acquired voltage of the digital signal and storing the acquired voltage of the digital signal; and the BMC is used for acquiring the acquisition voltage of the digital signal in the converter and controlling the rotating speed of at least one fan according to the acquisition voltage of the digital signal. Like this, at least one controller in the controlling means of server fan can acquire the electric current of gathering the resistance, because integrated circuit in the server all is through first power and second power supply power, consequently, the electric current of gathering the resistance is the sum of the electric current of each integrated circuit in the server, so, at least one controller is after the electric current of gathering the electric current that will acquire converts the collection voltage into the collection voltage of gathering voltage transmission to converter, the converter is with gathering voltage conversion digital signal's collection voltage, BMC can acquire digital signal's collection voltage in the converter, and then can carry out the adjustment of rotational speed to at least one fan according to digital signal's collection voltage. Therefore, in the invention, the control device of the server fan can adjust the rotating speed of the fan by detecting the current, and the rotating speed of at least one fan can be adjusted according to the power supply current at the initial power-on of the server, thereby realizing the real-time and accurate control of the rotating speed of the server fan.
The embodiment of the invention provides a control method of a server fan, which is applied to a control device of the server fan. Wherein, the controlling means of server fan includes: the system comprises a collecting resistor, a first power supply, at least one second power supply, at least one controller, at least one switch unit, a converter, a substrate management controller BMC and at least one fan; the first power supply is connected with one end of the acquisition resistor, and the other end of the acquisition resistor and the first end of the at least one switch unit are connected with the other end of the acquisition resistor; the second end of at least one switch unit is connected with at least one second power supply respectively; the control end of at least one switch unit is respectively connected with the first output end of at least one controller; the input end of at least one controller is connected to the two ends of the acquisition resistor; the second output end of the at least one controller is respectively connected with at least one input channel of the converter, the output end of the converter is connected with the BMC, and the BMC is connected with at least one fan; the first power supply and the second power supply are used for supplying power to the server; the controller is used for acquiring the current of the acquisition resistor, converting the acquired current of the acquisition resistor into acquisition voltage and sending the acquisition voltage to the converter; and the BMC is used for acquiring the acquisition voltage in the converter and controlling the rotating speed of the at least one fan according to the acquisition voltage. As shown in fig. 3, the method includes:
301, the controller acquires the current of the acquisition resistor, converts the acquired current of the acquisition resistor into acquisition voltage and sends the acquisition voltage to the converter.
Step 302, the converter receives the collected voltage, converts the collected voltage into a collected voltage of a digital signal, and stores the collected voltage of the digital signal.
And step 303, the baseboard management controller BMC obtains the acquisition voltage of the digital signal stored in the converter, and controls the rotating speed of at least one fan according to the acquisition voltage of the digital signal.
Further, when the control device of the server fan further includes a processor, in this case, the step 303BMC obtains the collected voltage stored in the converter, and controls the rotation speed of at least one fan according to the collected voltage includes:
the BMC obtains the acquisition voltage of the digital signal stored in the converter, and sends a rotating speed control signal of at least one fan to the processor according to the acquisition voltage.
The processor receives the rotating speed control signal of the at least one fan sent by the BMC, and controls the rotating speed of the at least one fan according to the rotating speed control signal of the at least one fan.
The embodiment of the invention provides a control method of a server fan, which is applied to a control device of the server fan. The controller obtains the current of the acquisition resistor, converts the obtained current of the acquisition resistor into acquisition voltage and sends the acquisition voltage to the converter. The converter receives the acquisition voltage, converts the acquisition voltage into the acquisition voltage of the digital signal, and stores the acquisition voltage of the digital signal. The BMC obtains the acquisition voltage of the digital signal stored in the converter, and controls the rotating speed of at least one fan according to the acquisition voltage of the digital signal. Like this, the controller among the controlling means of server fan can acquire the electric current of gathering the resistance, because integrated circuit in the server all is through first power and second power supply power, consequently, the electric current of gathering the resistance is the sum of the electric current of each integrated circuit in the server, so, the controller is after the electric current of gathering the electric current that will acquire converts the collection voltage into the collection voltage of gathering voltage transmission to the converter, the converter is the collection voltage of data signal with gathering voltage conversion, BMC can acquire the collection voltage of data signal in the converter, and then can carry out the adjustment of rotational speed to at least one fan according to the collection voltage of data signal. Therefore, in the invention, the control device of the server fan can adjust the rotating speed of the fan by detecting the current, and the rotating speed of at least one fan can be adjusted according to the power supply current at the initial power-on of the server, thereby realizing the real-time and accurate control of the rotating speed of the server fan.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. A control device of a server fan is applied to a server and comprises: the system comprises a collecting resistor, a first power supply, at least one second power supply, at least one controller, at least one switch unit, a converter, a substrate management controller BMC and at least one fan; wherein,
the first power supply is connected with one end of the acquisition resistor, and the other end of the acquisition resistor and the first end of the at least one switch unit are connected with the first power supply; the second end of the at least one switch unit is connected with the at least one second power supply respectively; the control end of the at least one switch unit is respectively connected with the first output end of the at least one controller; the input end of the at least one controller is connected to the two ends of the acquisition resistor; a second output end of the at least one controller is respectively connected with at least one input channel of the converter, an output end of the converter is connected with the BMC, and the BMC is connected with the at least one fan;
the first power supply and the second power supply are used for supplying power to the server;
the controller is used for acquiring the current of the acquisition resistor, converting the acquired current of the acquisition resistor into acquisition voltage and sending the acquisition voltage to the converter;
the converter is used for converting the acquisition voltage into an acquisition voltage of a digital signal and storing the acquisition voltage of the digital signal;
the BMC is used for acquiring the acquisition voltage of the digital signal in the converter and controlling the rotating speed of the at least one fan according to the acquisition voltage of the digital signal.
2. The apparatus of claim 1, further comprising: a processor;
the BMC being coupled to the at least one fan includes:
the BMC is connected with the processor, and the processor is connected with the at least one fan;
the BMC is specifically configured to acquire a collection voltage of a digital signal in the converter, and send a rotation speed control signal of at least one fan to the processor according to the collection voltage of the digital signal;
the processor is used for receiving a rotating speed control signal of at least one fan sent by the BMC and controlling the rotating speed of the at least one fan according to the rotating speed control signal of the at least one fan.
3. The apparatus of claim 2,
the at least one fan is used for sending current rotating speed information to the processor;
the processor is further configured to receive current rotation speed information returned by the at least one fan, and determine whether the at least one fan normally operates according to the current rotation speed information returned by the at least one fan; and if at least one fan runs abnormally, performing exception handling on the at least one fan with abnormal running.
4. The apparatus according to claim 2 or 3,
the BMC is specifically configured to acquire the acquisition voltage in the converter through an I2C protocol, and send a rotation speed control signal of at least one fan to the processor through an I2C protocol according to the acquisition voltage.
5. The apparatus according to any one of claims 1 to 3,
the converter is an analog/digital converter (ADC) converter.
6. The apparatus of claim 5,
the ADC converter is TMS320F 2803X.
7. The apparatus according to any one of claims 1 to 3,
the at least one controller is a MAX5977 controller.
8. The apparatus according to any one of claims 1 to 3,
the processor is a programmable system on a chip PSOC processor.
9. A server fan control method applied to the server fan control apparatus according to any one of claims 1 to 8, the method comprising:
the controller acquires the current of the acquisition resistor, converts the acquired current of the acquisition resistor into acquisition voltage and sends the acquisition voltage to the converter;
the converter receives the acquisition voltage, converts the acquisition voltage into an acquisition voltage of a digital signal, and stores the acquisition voltage of the digital signal;
and the baseboard management controller BMC acquires the acquisition voltage of the digital signal stored in the converter and controls the rotating speed of at least one fan according to the acquisition voltage of the digital signal.
10. The method of claim 9, wherein when the server fan control device further comprises a processor, the BMC obtains a collection voltage stored in the converter and controls a speed of at least one fan according to the collection voltage comprises:
the BMC acquires the acquisition voltage of the digital signal stored in the converter and sends a rotating speed control signal of at least one fan to the processor according to the acquisition voltage;
the processor receives a rotating speed control signal of at least one fan sent by the BMC, and controls the rotating speed of the at least one fan according to the rotating speed control signal of the at least one fan.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201511031452.7A CN105676978B (en) | 2015-12-31 | 2015-12-31 | A kind of control method and device of server fan |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201511031452.7A CN105676978B (en) | 2015-12-31 | 2015-12-31 | A kind of control method and device of server fan |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN105676978A true CN105676978A (en) | 2016-06-15 |
| CN105676978B CN105676978B (en) | 2018-12-14 |
Family
ID=56189943
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201511031452.7A Active CN105676978B (en) | 2015-12-31 | 2015-12-31 | A kind of control method and device of server fan |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN105676978B (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107105599A (en) * | 2017-04-13 | 2017-08-29 | 广东浪潮大数据研究有限公司 | A kind of design method based on the autonomous fan regulation and controlling of InCloudRack racks |
| CN107703352A (en) * | 2016-09-13 | 2018-02-16 | 郑州云海信息技术有限公司 | A method and system for monitoring power consumption based on Openpower platform |
| CN113900501A (en) * | 2021-09-30 | 2022-01-07 | 苏州浪潮智能科技有限公司 | Cooling system for server and server |
| CN114003539A (en) * | 2021-10-27 | 2022-02-01 | 苏州浪潮智能科技有限公司 | Server mainboard hot plug control protection circuit and protection method |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN202230428U (en) * | 2011-08-26 | 2012-05-23 | 深圳市宝德计算机系统有限公司 | Speed regulating radiation device for simplex 1-unit (1U) server |
| CN103807192A (en) * | 2012-11-06 | 2014-05-21 | 鸿富锦精密工业(武汉)有限公司 | Computer fan control circuit |
| US20140327384A1 (en) * | 2012-02-03 | 2014-11-06 | Fujitsu Ltd | Electronic device and control method |
-
2015
- 2015-12-31 CN CN201511031452.7A patent/CN105676978B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN202230428U (en) * | 2011-08-26 | 2012-05-23 | 深圳市宝德计算机系统有限公司 | Speed regulating radiation device for simplex 1-unit (1U) server |
| US20140327384A1 (en) * | 2012-02-03 | 2014-11-06 | Fujitsu Ltd | Electronic device and control method |
| CN103807192A (en) * | 2012-11-06 | 2014-05-21 | 鸿富锦精密工业(武汉)有限公司 | Computer fan control circuit |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107703352A (en) * | 2016-09-13 | 2018-02-16 | 郑州云海信息技术有限公司 | A method and system for monitoring power consumption based on Openpower platform |
| CN107703352B (en) * | 2016-09-13 | 2020-08-21 | 苏州浪潮智能科技有限公司 | Openpower platform-based power consumption monitoring method and system |
| CN107105599A (en) * | 2017-04-13 | 2017-08-29 | 广东浪潮大数据研究有限公司 | A kind of design method based on the autonomous fan regulation and controlling of InCloudRack racks |
| CN113900501A (en) * | 2021-09-30 | 2022-01-07 | 苏州浪潮智能科技有限公司 | Cooling system for server and server |
| CN113900501B (en) * | 2021-09-30 | 2023-07-14 | 苏州浪潮智能科技有限公司 | Cooling system and server for server |
| CN114003539A (en) * | 2021-10-27 | 2022-02-01 | 苏州浪潮智能科技有限公司 | Server mainboard hot plug control protection circuit and protection method |
| CN114003539B (en) * | 2021-10-27 | 2023-07-14 | 苏州浪潮智能科技有限公司 | A server motherboard hot plug control protection circuit and protection method |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105676978B (en) | 2018-12-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9912224B2 (en) | Power supply system and short circuit and/or bad connection detection method thereof, and power converter thereof | |
| US10164457B2 (en) | Charging method and apparatus | |
| CN105676978A (en) | Method and device for controlling server fan | |
| CN110426549B (en) | Current detection circuit and electronic device for power supply channel | |
| CN102457384A (en) | Power supply device | |
| CN110535666B (en) | Nonstandard PoE power management device | |
| CN108508343A (en) | A kind of detection device and method of printed circuit board | |
| CN115933851A (en) | Power supply control circuit, method, device and storage medium of storage system | |
| US11262825B2 (en) | Power supply identification | |
| CN101127608A (en) | Wireless network card overcurrent protection method and device | |
| US10069309B2 (en) | Controlling redundant power supplies in an information handling system | |
| CN114625234A (en) | Server voltage monitoring method, device and system | |
| CN103235176A (en) | Method and server for acquiring component power consumption | |
| CN103092246A (en) | A power supply monitoring system and method | |
| CN114204788A (en) | a power supply circuit | |
| CN104569547A (en) | Low-voltage monitoring circuit for battery voltage of automotive system | |
| CN104679200B (en) | The control method of time sequences after server system and its energization | |
| CN108352992A (en) | Power supply apparatus and method | |
| CN109405993A (en) | Temperature sensing circuit | |
| CN114064543A (en) | System and method for monitoring serial communication between devices | |
| CN221595564U (en) | Voltage control circuit and semiconductor device | |
| CN113630022A (en) | ATX power supply control circuit and ATX power supply device | |
| CN110622388A (en) | Charging method and charger | |
| CN119051534A (en) | Electric tool system capable of accurately identifying detection signals | |
| CN102402268A (en) | Voltage regulation device and system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |