Cooling fan regulation and control method and related equipment
By taking over fan control through a programmable logic unit, obtaining ambient temperature and speed control curves, and adjusting the fan speed, the high power consumption and noise problems during upgrades or shutdowns of the baseboard management and control unit are solved, enabling low power consumption and low noise operation of the server.
Patent Information
- Application Number
- CN202310823639.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-05
- Publication Date
- 2025-01-07
AI Technical Summary
When the baseboard management control unit is upgraded or suspended, the fans of the existing server are controlled by the programmable logic unit, resulting in increased power consumption and noise.
The programmable logic unit takes over the control of the cooling fan, obtains the ambient temperature and preset speed control curve, and adjusts the fan to a target speed that is less than or equal to the preset speed, thus realizing open-loop control.
This reduces server power consumption and fan noise, thus improving server energy efficiency.
Smart Images

Figure CN119271011A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer heat dissipation technology, and in particular to a heat dissipation fan control method and related equipment, wherein the related equipment includes a heat dissipation fan control module and a computer storage medium. Background Art
[0002] At present, with the rapid development of the Internet and the Internet of Things, the server industry is also developing continuously, and the demand for servers is also increasing. During the operation of existing servers, the components will generate a lot of heat, so fans will be set up in the server to dissipate the heat of the heat-generating components. Among them, the fan of the server is collaboratively controlled by the baseboard management control unit (BMC, Baseboard Management Controller) and the programmable logic unit (CPLD, Complex Programmable Logic Device). During normal operation, the fan is controlled by the baseboard management control unit, but when the baseboard management control unit is upgraded or hangs, the programmable logic unit will take over the control. When the programmable logic unit takes over the fan, it will control the fan to run at a higher fixed speed, which will increase the operating power consumption of the server and generate greater fan noise. Summary of the invention
[0003] In view of this, the present application provides a cooling fan control method and related equipment, which are used to reduce the operating power consumption of the server and the noise of the cooling fan when the baseboard management control unit is upgraded or hangs up and the programmable logic unit takes over the control. The technical solution of this application is as follows:
[0004] In a first aspect, the present application provides a cooling fan regulation method, which is applied to a host equipped with a cooling fan control module, wherein the cooling fan control module includes a baseboard management control unit and a programmable logic unit, and the method includes: when it is determined that the baseboard management control unit stops controlling the cooling fan, the programmable logic unit takes over the control of the cooling fan; the programmable logic unit obtains a preset speed and a preset control curve according to the state of the baseboard management control unit and / or the state of the host; the programmable logic unit detects the ambient temperature, obtains a target speed according to the ambient temperature and the preset control curve, and controls the cooling fan to adjust to the target speed; wherein the target speed is less than or equal to the preset speed.
[0005] In one embodiment of the present application, the programmable logic unit obtains a preset rotation speed and a preset control curve according to the state of the baseboard management control unit and / or the state of the host, including: when the programmable logic unit determines that the baseboard management control unit is in an abnormal state, the programmable logic unit obtains a first preset rotation speed and a first preset control curve; wherein the abnormal state includes a hanging state or an upgrading state.
[0006] In one embodiment of the present application, the first preset control curve is obtained by fitting according to the first ambient temperature gradient and the corresponding first rotational speed gradient; the first rotational speed gradient is obtained by pressurizing the target element under the first ambient temperature gradient when the host is in normal working condition.
[0007] In one embodiment of the present application, the programmable logic unit obtains a preset rotation speed and a preset control curve according to the state of the baseboard management control unit and / or the state of the host, including: when the programmable logic unit determines that the baseboard management control unit is in a closed state and the host is in an open state of the smart network card, the programmable logic unit obtains a second preset rotation speed and a second preset control curve.
[0008] In one embodiment of the present application, the second preset control curve is obtained by fitting according to the second ambient temperature gradient and the corresponding second rotational speed gradient; the second rotational speed gradient is obtained by pressurizing the smart network card under the second ambient temperature gradient when the host is in normal working condition.
[0009] In an embodiment of the present application, the method further includes: when the programmable logic unit detects that the state of the baseboard management control unit and / or the state of the host has recovered to a target state, the programmable logic unit returns control of the cooling fan to the baseboard management control unit.
[0010] In an embodiment of the present application, the method further includes: when the programmable logic unit does not detect the ambient temperature, controlling the cooling fan to adjust to the preset speed.
[0011] In an embodiment of the present application, the ambient temperature includes the temperature of a target component of the host.
[0012] In a second aspect, the present application provides a cooling fan control module, comprising a baseboard management control unit and a programmable logic unit; the baseboard management control unit is used to control the speed of the cooling fan; the programmable logic unit is used to take over the control of the cooling fan when it is determined that the baseboard management control unit stops controlling the cooling fan, and obtain a preset speed and a preset control curve according to the state of the baseboard management control unit and / or the state of the host, and detect the ambient temperature, obtain a target speed according to the ambient temperature and the preset control curve, and control the cooling fan to adjust to the target speed; wherein the target speed is less than or equal to the preset speed.
[0013] In a third aspect, the present application provides a computer storage medium, wherein the computer storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the cooling fan control method.
[0014] The beneficial effects brought about by the technical solution provided in the present application include at least: when the baseboard management control unit stops controlling the cooling fan, the control is taken over by the programmable logic unit, and the ambient temperature is obtained by the programmable logic unit to match the corresponding target speed, so as to realize open-loop control of the cooling fan, thereby reducing the operating power consumption of the server and reducing fan noise. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 It is a flow chart of a cooling fan control method provided in an embodiment of the present application.
[0016] Figure 2 It is a flow chart of a cooling fan control method provided in an embodiment of the present application.
[0017] Figure 3 It is a flow chart of a cooling fan control method provided in an embodiment of the present application.
[0018] Figure 4 It is a flow chart of a cooling fan control method provided in an embodiment of the present application.
[0019] Figure 5 It is a structural schematic diagram of a cooling fan control module provided in an embodiment of the present application. DETAILED DESCRIPTION
[0020] It should be noted that in the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more than two. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The terms "first", "second", "third", "fourth", etc. (if any) in the specification, claims and drawings of this application are used to distinguish similar objects, rather than to describe a specific order or sequence.
[0021] It should also be noted that the method disclosed in the embodiments of the present application or the method shown in the flowchart includes one or more steps for implementing the method. Without departing from the scope of the claims, the execution order of multiple steps can be interchangeable with each other, and some of the steps can also be deleted.
[0022] At present, with the rapid development of the Internet and the Internet of Things, the server industry is also developing continuously, and the demand for servers is also increasing. During the operation of existing servers, the components will generate a lot of heat, so fans will be installed in the server to dissipate the heat of the heat-generating components. Among them, the fan of the server is collaboratively controlled by the baseboard management control unit and the programmable logic unit. During normal operation, the fan is controlled by the baseboard management control unit, but when the baseboard management control unit is upgraded or hangs, the programmable logic unit will take over the control. When the programmable logic unit takes over the fan, it will control the fan to run at a higher fixed speed, which will increase the operating power consumption of the server and generate greater fan noise.
[0023] An embodiment of the present application provides a cooling fan control method for reducing the operating power consumption of a server and reducing the noise of a cooling fan when a baseboard management control unit is upgraded or hangs up and a programmable logic unit takes over control.
[0024] Please refer to Figure 1 , Figure 1 A schematic flow chart of a cooling fan control method provided in an embodiment of the present application is provided. The cooling fan control method is applied to a host provided with a cooling fan control module, and the cooling fan control module includes a baseboard management control unit and a programmable logic unit. The cooling fan control method includes:
[0025] Step S11: when it is determined that the baseboard management control unit stops controlling the cooling fan, the programmable logic unit takes over the control of the cooling fan.
[0026] In the embodiment of the present application, during the operation of the server, the baseboard management control unit may experience a firmware upgrade or a process hang. When the baseboard management control unit firmware is upgraded or the process hangs, the baseboard management control unit no longer controls the cooling fan to work, and the corresponding programmable logic unit takes over the control of the cooling fan.
[0027] When taking over the control of the cooling fan, the programmable logic unit can first obtain the current state of the cooling fan, identify the state of the baseboard management control unit, and identify the operating state of the server, so as to perform the subsequent cooling fan control process according to the states of the three.
[0028] Step S12: the programmable logic unit obtains a preset rotation speed and a preset control curve according to the state of the baseboard management control unit and / or the state of the host.
[0029] In the embodiment of the present invention, after taking over the control of the cooling fan, the programmable logic unit will use the current state of the baseboard management control unit or the state of the host to match the appropriate preset speed and preset control curve. The preset speed can be the maximum speed of the cooling fan, and the preset control curve can be a curve of ambient temperature corresponding to the speed. The preset speed and preset control curve can be associated with the state of the baseboard management control unit and the state of the host, and stored in the storage medium of the programmable logic unit.
[0030] Step S13: The programmable logic unit detects the ambient temperature, obtains a target speed according to the ambient temperature and a preset control curve, and controls the cooling fan to adjust to the target speed; wherein the target speed is less than or equal to the preset speed.
[0031] In the embodiment of the present application, the programmable logic unit also detects the ambient temperature of the server, and uses the ambient temperature to match the preset control curve to obtain a target speed corresponding to the ambient temperature. The ambient temperature includes the temperature of the host, or the temperature of the target element of the host. A temperature sensor may be provided at a preset position in the host or on the target element, and the programmable logic unit may obtain the ambient temperature through the temperature sensor.
[0032] In an embodiment of the present application, when the baseboard management control unit stops controlling the cooling fan, the programmable logic unit takes over the control, and obtains the ambient temperature through the programmable logic unit to match the corresponding target speed, so as to realize open-loop control of the cooling fan, thereby reducing the operating power consumption of the server and reducing fan noise.
[0033] Please refer to Figure 2 , Figure 2A schematic flow chart of a cooling fan control method provided in an embodiment of the present application is provided. The cooling fan control method is applied to a host provided with a cooling fan control module, and the cooling fan control module includes a baseboard management control unit and a programmable logic unit. The cooling fan control method includes:
[0034] Step S21: when it is determined that the baseboard management control unit stops controlling the cooling fan, the programmable logic unit takes over the control of the cooling fan.
[0035] This step is consistent with the above step S11 and will not be described again here.
[0036] Step S22: When the programmable logic unit determines that the baseboard management control unit is in an abnormal state, the programmable logic unit obtains a first preset rotation speed and a first preset control curve; wherein the abnormal state includes a hung state or an upgraded state.
[0037] In the embodiment of the present application, the first preset control curve is obtained by fitting the first ambient temperature gradient and the corresponding first speed gradient; the first speed gradient is obtained by pressurizing the target element under the first ambient temperature gradient when the host is in normal working state. The pressurization includes controlling the target element to run at full load.
[0038] That is, when the server operates normally and the baseboard management control unit is under normal control, the programmable logic unit can read the real-time ambient temperature and the real-time cooling fan speed, thereby obtaining the first preset control curve through fitting.
[0039] Step S23: The programmable logic unit detects the ambient temperature, obtains a target speed according to the ambient temperature and a preset control curve, and controls the cooling fan to adjust to the target speed; wherein the target speed is less than or equal to the preset speed.
[0040] This step is consistent with the above step S13 and will not be repeated here.
[0041] Please refer to Figure 3 , Figure 3 A schematic flow chart of a cooling fan control method provided in an embodiment of the present application is provided. The cooling fan control method is applied to a host provided with a cooling fan control module, and the cooling fan control module includes a baseboard management control unit and a programmable logic unit. The cooling fan control method includes:
[0042] Step S31: when it is determined that the baseboard management control unit stops controlling the cooling fan, the programmable logic unit takes over the control of the cooling fan.
[0043] This step is consistent with the above step S11 and will not be described again here.
[0044] Step S32: When the programmable logic unit determines that the baseboard management control unit is in the off state and the host is in the on state of the smart network card, the programmable logic unit obtains a second preset rotation speed and a second preset control curve.
[0045] In an embodiment of the present invention, the second preset control curve is obtained by fitting according to the second ambient temperature gradient and the corresponding second speed gradient; the second speed gradient is obtained by pressurizing the smart network card under the second ambient temperature gradient when the host is in normal working state.
[0046] The above-mentioned smart network card is one of the heat generating components of the server. When the cooling fan corresponding to the smart network card is controlled by the baseboard management control unit, the programmable logic unit can read the ambient temperature of the smart network card and the speed of the cooling fan, thereby fitting the above-mentioned second preset control curve. When the cooling fan is controlled by the baseboard management control unit, the smart network card can be pressurized, even if the smart network card is fully loaded, and the maximum speed of the cooling fan is the second preset speed.
[0047] Step S33: The programmable logic unit detects the ambient temperature, obtains a target speed according to the ambient temperature and a preset control curve, and controls the cooling fan to adjust to the target speed; wherein the target speed is less than or equal to the preset speed.
[0048] This step is consistent with the above step S13 and will not be repeated here.
[0049] Please refer to Figure 4 , Figure 4 A schematic flow chart of a cooling fan control method provided in an embodiment of the present application, wherein: Figure 4 The cooling fan control method shown includes steps S41 to S43. Figure 1 The steps S11 to S13 shown are the same and will not be described again. Figure 4 The cooling fan control method shown is similar to Figure 1 The cooling fan control method shown in the figure is different in that it also includes:
[0050] Step S44: When the programmable logic unit does not detect the ambient temperature, the cooling fan is controlled to adjust to the preset speed.
[0051] In the embodiment of the present application, after the programmable logic unit has obtained the preset speed and the preset control curve, if the ambient temperature is not detected, it can control the cooling fan to run at the preset speed. The preset speed can be the maximum speed of the cooling fan to avoid heat accumulation.
[0052] Step S45: When the programmable logic unit detects that the state of the baseboard management control unit and / or the state of the host have recovered to the target state, the programmable logic unit returns the control of the cooling fan to the baseboard management control unit.
[0053] In the embodiment of the present application, the above-mentioned target state is the normal working state of the baseboard management control unit and the normal startup and operation state of the host.
[0054] Please refer to Figure 5 , Figure 5 A schematic diagram of the structure of a cooling fan control module provided in an embodiment of the present application.
[0055] The cooling fan control module 500 includes: a baseboard management control unit 510 and a programmable logic unit 520. The baseboard management control unit 510 is used to control the rotation speed of the cooling fan. The programmable logic unit 520 is used to take over the control of the cooling fan when it is determined that the baseboard management control unit 510 stops controlling the cooling fan, and obtain a preset rotation speed and a preset control curve according to the state of the baseboard management control unit 510 and / or the state of the host, and detect the ambient temperature, obtain a target rotation speed according to the ambient temperature and the preset control curve, and control the cooling fan to adjust to the target rotation speed. Wherein, the target rotation speed is less than or equal to the preset rotation speed.
[0056] In the embodiment of the present application, a more detailed functional description of each of the above modules can be referred to the corresponding content of the aforementioned part, which will not be repeated here.
[0057] An embodiment of the present application further provides a computer storage medium, which stores a computer program. When the computer program is executed by a processor, the processor executes the above-mentioned cooling fan control method.
[0058] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer storage medium or transmitted through the computer storage medium. The computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer storage medium can be any available medium that a computer can access or a data storage device such as a server, data center, etc. that contains one or more available media integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital versatile disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).
[0059] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes. In the absence of conflict, the technical features in this embodiment and the implementation scheme can be combined arbitrarily.
[0060] The embodiments described above are merely preferred embodiments of the present application and are not intended to limit the scope of the present application. Without departing from the design spirit of the present application, various modifications and improvements made to the technical solutions of the present application by ordinary technicians in this field should fall within the protection scope determined by the claims of the present application.
Claims
1. A cooling fan control method, characterized in that: Applied to a host provided with a cooling fan control module, the cooling fan control module includes a baseboard management control unit and a programmable logic unit, the method includes: When it is determined that the baseboard management control unit stops controlling the cooling fan, the programmable logic unit takes over the control of the cooling fan; The programmable logic unit acquires a preset rotation speed and a preset control curve according to the state of the baseboard management control unit and / or the state of the host; The programmable logic unit detects the ambient temperature, obtains a target speed according to the ambient temperature and a preset control curve, and controls the cooling fan to adjust to the target speed; wherein the target speed is less than or equal to the preset speed.
2. The cooling fan control method according to claim 1, characterized in that: The programmable logic unit obtains a preset rotation speed and a preset control curve according to the state of the baseboard management control unit and / or the state of the host, including: When determining that the baseboard management control unit is in an abnormal state, the programmable logic unit obtains a first preset rotation speed and a first preset control curve; wherein the abnormal state includes a hung state or an upgraded state.
3. The cooling fan control method according to claim 2, characterized in that: The first preset control curve is obtained by fitting according to the first ambient temperature gradient and the corresponding first rotation speed gradient; the first rotation speed gradient is obtained by pressurizing the target element under the first ambient temperature gradient when the host is in normal working state.
4. The cooling fan control method according to claim 1, characterized in that: The programmable logic unit obtains a preset rotation speed and a preset control curve according to the state of the baseboard management control unit and / or the state of the host, including: When it is determined that the baseboard management control unit is in a closed state and the host is in an open state of the smart network card, the programmable logic unit obtains a second preset rotation speed and a second preset control curve.
5. The cooling fan control method according to claim 4, characterized in that: The second preset control curve is obtained by fitting according to the second ambient temperature gradient and the corresponding second rotation speed gradient; the second rotation speed gradient is obtained by pressurizing the smart network card under the second ambient temperature gradient when the host is in normal working state.
6. The cooling fan control method according to claim 1, characterized in that: The method further comprises: When the programmable logic unit detects that the state of the baseboard management control unit and / or the state of the host have recovered to a target state, the programmable logic unit returns the control of the cooling fan to the baseboard management control unit.
7. The cooling fan control method according to claim 1, characterized in that: The method further comprises: When the programmable logic unit does not detect the ambient temperature, the cooling fan is controlled to adjust to the preset speed.
8. The cooling fan control method according to claim 1, characterized in that: The ambient temperature includes a temperature of a target component of the host.
9. A cooling fan control module, characterized in that: It includes a baseboard management control unit and a programmable logic unit; The baseboard management control unit is used to control the speed of the cooling fan; The programmable logic unit is used to take over the control of the cooling fan when it is determined that the baseboard management control unit stops controlling the cooling fan, and According to the state of the baseboard management control unit and / or the state of the host, a preset speed and a preset control curve are obtained, and Detecting the ambient temperature, obtaining a target speed according to the ambient temperature and a preset control curve, and controlling the cooling fan to adjust to the target speed; wherein the target speed is less than or equal to the preset speed.
10. A computer storage medium, characterized in that: The computer storage medium stores a computer program, and when the computer program is executed by a processor, the processor is caused to execute the cooling fan control method according to any one of claims 1 to 8.