This application claims priority to Chinese Patent Application No. 202310823639.9 filed on Jul. 5, 2023, in China National Intellectual Property Administration, the contents of which are incorporated by reference herein.
The subject matter herein generally relates to computer heat dissipation technologies, and specially relates to a method for controlling heat dissipation fan and related apparatus, the related apparatus includes a module for controlling heat dissipation fan and a non-transitory computer-readable storage medium.
At present, with the rapid development of the Internet and the Internet of Things (IOT), the server industry is also developing continuously, and the demand for servers is also increasing. During a running of the present server, components of the server will generate a lot of heat, so a fan is installed in the server to dissipate heat from the heat-generating components. The fan of the server is jointly controlled by a baseboard management controller (BMC) and a complex programmable logic device (CPLD). During normal running of the server, the BMC controls the fan, but when the BMC is upgrading or hangs up, the CPLD will take over the control. When the CPLD takes over to control the fan, it will control the fan to run at a higher fixed speed, thereby increasing the operating power consumption of the server and generating greater fan noise.
Implementations of the present disclosure will now be described, by way of example only, with reference to the attached figures.
It will be appreciated that for simplicity and clarity of illustration, where appropriate, reference numerals have been repeated among the different figures to indicate corresponding or analogous elements. In addition, numerous specific details are set forth in order to provide a thorough understanding of the embodiments described herein. However, it will be understood by those of ordinary skill in the art that the embodiments described herein may be practiced without these specific details. In other instances, methods, procedures, and components have not been described in detail so as not to obscure the related relevant feature being described. Also, the description is not to be considered as limiting the scope of the embodiments described herein. The drawings are not necessarily to scale and the proportions of certain parts have been exaggerated to better show details and features of the present disclosure.
Several definitions that apply throughout this disclosure will now be presented.
The term “coupled” is defined as connected, whether directly or indirectly through intervening components, and is not necessarily limited to physical connections. The connection may be such that the objects are permanently connected or releasably connected. The term “substantially” is defined to be essentially conforming to the particular dimension, shape, or other feature that the term modifies, such that the component need not be exact. For example, “substantially cylindrical” means that the object resembles a cylinder, but may have one or more deviations from a true cylinder. The term “comprising,” when utilized, means “including, but not necessarily limited to”; it specifically indicates open-ended inclusion or membership in the so-described combination, group, series, and the like.
At present, with the rapid development of the Internet and the Internet of Things (IOT), the server industry is also developing continuously, and the demand for servers is also increasing. During a running of the present server, components of the server will generate a lot of heat, so a fan is installed in the server to dissipate heat from the heat-generating components. The fan of the server is jointly controlled by a baseboard management controller (BMC) and a complex programmable logic device (CPLD). During normal running of the server, the BMC controls the fan, but when the BMC is upgrading or hangs up, the CPLD will take over the control. When the CPLD takes over to control the fan, it will control the fan to run at a higher fixed speed, thereby increasing the operating power consumption of the server and generating greater fan noise.
A method for controlling heat dissipation fan for decreasing a running power consumption and a noise of the heat dissipation fan when the BMC is upgrading or hung up and controlled by the CPLD.
At block S11, controlling the heat dissipation fan by the CPLD when the BMC stopped controlling the heat dissipation fan.
In at least one embodiment, during the server is running, the BMC may need to upgrade firmware, or processes of the BMC hangs up. When the BMC is upgrading or the process hung up, the BMC no longer controls the heat dissipation fan, the corresponding CPLD may take over to control the heat dissipation fan.
When the CPLD controls the heat dissipation fan, firstly obtaining a present status of the heat dissipation fan, identifying a status of the BMC, and identifying a status of the server, to take over to control the heat dissipation fan according to the present status of the heat dissipation fan, the status of the BMC, and the status of the server.
At block S12, obtaining a predetermined rotational speed and a predetermined control curve by the CPLD according to the status of the BMC and/or the status of the server.
In at least one embodiment, after the CPLD took over to control the heat dissipation fan, the CPLD uses the status of the BMC and/or the running status of the server to match and obtain the predetermined rotational speed and the predetermined control curve. The predetermined rotational speed may be a maximum rotational speed of the heat dissipation fan, the predetermined control curve may be a curve of the rotational speed corresponding to an environment temperature. The predetermined rotational speed and the predetermined control curve can be related to the status of the BMC and the running status of the server. The predetermined rotational speed and the predetermined control curve can be stored in a storage medium of the CPLD.
At block S13, detecting an environment temperature, obtaining a target rotational speed according to the environment temperature and the predetermined control curve, and controlling the heat dissipation fan to work with the target rotational speed by the CPLD. The target rotational speed is less or equal to the predetermined rotational speed.
In at least one embodiment, the CPLD detects the environment temperature of the server, uses the environment temperature to match the predetermined control curve, to obtain the target rotational speed corresponding to the environment temperature. The environment temperature includes a temperature of the server or a temperature of a target component of the server. Temperature sensors can be arranged in preset positions of the server or on the target component, the CPLD can obtain the environment temperature by the temperature sensors.
In at least one embodiment, when the BMC stops controlling the heat dissipation fan, the CPLD takes over to control the heat dissipation fan, the CPLD can obtain the environment temperature to match the corresponding target rotational speed, so as to achieve an open-loop control of the heat dissipation fan, decrease the operating power consumption of the server and the fan noise.
At block S21, controlling the heat dissipation fan by the CPLD when the BMC stopped controlling the heat dissipation fan.
Block S21 can be referred to block S11, not repeated here.
At block S22, obtaining a first predetermined rotational speed and a first predetermined control curve by the CPLD when determining the BMC is abnormal. The abnormal of the BMC includes hung up or upgrading.
In at least one embodiment, the first predetermined control curve can be obtained by matching a first environment temperature gradient and a corresponding first rotational speed gradient. The first rotational speed gradient can be obtained by operating pressure treatment to the target component in the first environment temperature gradient when the server is running normally. The pressure treatment includes controlling the target component to run with full load. That is, when the server is running normally and the BMC is controlling normally, the CPLD can obtain real time environment temperature and real time rotational speed of the heat dissipation fan, so as to match and obtain the first predetermined control curve.
At block S23, detecting an environment temperature, obtaining a target rotational speed according to the environment temperature and the predetermined control curve, and controlling the heat dissipation fan to work with the target rotational speed by the CPLD. The target rotational speed is less or equal to the predetermined rotational speed.
Block S23 can be referred to block S13, not repeated here.
At block S31, controlling the heat dissipation fan by the CPLD when the BMC stopped controlling the heat dissipation fan.
Block S31 can be referred to block S11, not repeated here.
At block S32, obtaining a second predetermined rotational speed and a second predetermined control curve by the CPLD when determining the BMC is switched off and the server is in a status of an intelligent network card is switched on.
In at least one embodiment, the second predetermined control curve can be obtained by matching a second environment temperature gradient and a corresponding second rotational speed gradient. The second rotational speed gradient can be obtained by operating pressure treatment to the intelligent network card in the second environment temperature gradient when the server is running normally.
The intelligent network card is one of heat generating components of the server, when the BMC controls the heat dissipation fan corresponding to the intelligent network card, the CPLD can obtain an environment temperature of the intelligent network card and the rotational speed of the heat dissipation fan, so as to match and obtain the second predetermined control curve. When the BMC controls the heat dissipation fan, operating pressure treatment to the intelligent network card, that is the intelligent network card runs with full load, obtaining a maximum rotational speed of the heat dissipation fan as the second predetermined rotational speed.
At block S33, detecting an environment temperature, obtaining a target rotational speed according to the environment temperature and the predetermined control curve, and controlling the heat dissipation fan to work with the target rotational speed by the CPLD. The target rotational speed is less or equal to the predetermined rotational speed.
Block S33 can be referred to block S13, not repeated here.
At block S44, controlling the heat dissipation fan to work with the predetermined rotational speed by the CPLD when the CPLD does not detect the environment temperature.
In at least one embodiment, after the CPLD obtained the predetermined rotational speed and the predetermined control curve, and when the CPLD does not detect the environment temperature, the CPLD can control the heat dissipation fan to work with the predetermined rotational speed. The predetermined rotational speed can be the maximum rotational speed of the heat dissipation fan for dissipating heat accumulation.
At block S45, returning the control of the heat dissipation fan to the BMC by the CPLD when detecting the status of the BMC and/or the status of the server recovers to a target status.
In at least one embodiment, the target status is a normal working status of the BMC and a normal activating and running status of the server.
The module 500 for controlling heat dissipation fan includes a BMC 510 and a CPLD 520. The BMC 510 is configured to control the rotational speed of the heat dissipation fan. The CPLD 520 is configured to take over to control the heat dissipation fan when determining the BMC 510 stops controlling the heat dissipation fan. The CPLD 520 is further configured to obtain the target rotational speed and the predetermined control curve according to the status of the BMC and/or the status of the server. The CPLD 520 is further configured to detect the environment temperature, obtain the target rotational speed according to the environment temperature and the predetermined control curve, and control the heat dissipation fan to work with the target rotational speed by the CPLD. The target rotational speed is less or equal to the predetermined rotational speed.
Detail descriptions for the modules can be referred to corresponding contents above, not repeated here.
A non-transitory computer-readable storage medium including program instructions for causing the computer apparatus (such as personal computer, device, or network device, etc.) or the processor to perform the method for controlling heat dissipation fan is also disclosed.
The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the Figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions.
Even though numerous characteristics and advantages of the present technology have been set forth in the foregoing description, together with details of the structure and function of the present disclosure, the disclosure is illustrative only, and changes may be made in the detail, especially in matters of shape, size, and arrangement of the parts within the principles of the present disclosure, up to and including the full extent established by the broad general meaning of the terms used in the claims. It will therefore be appreciated that the embodiments described above may be modified within the scope of the claims.
Number | Date | Country | Kind |
---|---|---|---|
202310823639.9 | Jul 2023 | CN | national |