Fan control method and system, electronic equipment and storage medium

Through the fan control system, the fan speed is dynamically adjusted according to the board temperature of the server hardware components, and the problem of imbalance in energy efficiency, performance and cost in the existing technology is solved, and effective optimization of server thermal management is achieved.

CN119393365AActive Publication Date: 2025-02-07INSPUR SUZHOU INTELLIGENT TECH CO LTD

Patent Information

Application Number
CN202411397322.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-08
Publication Date
2025-02-07
Estimated Expiration
2044-10-08

AI Technical Summary

Technical Problem

Existing server thermal management technologies are difficult to balance energy efficiency, performance and cost, resulting in increased energy consumption, reduced performance and maintenance complexity.

Method used

By setting up a fan control system, the fan speed is adjusted according to the board temperature of the hardware components, the fan control board is used to obtain the board temperature of the hardware components in the server in real time, and the fan speed is dynamically adjusted through the PID control algorithm.

Benefits of technology

Effectively prevent hardware components from overheating, improve system stability and reliability, reduce energy consumption of fans for long-term high speed operation, and achieve balanced optimization of server thermal management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119393365A_ABST
    Figure CN119393365A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a fan control method and system, electronic equipment and a storage medium, and relates to the technical field of server equipment, the fan control method and system are applied to a fan control system, the fan control system comprises a fan control panel, a server and a plurality of fans, and the fan control panel is connected with the server through a universal serial bus. The fan control panel is in communication connection with the multiple fans, the server is composed of a hardware assembly, and the method comprises the steps that the board card temperature of the hardware assembly is obtained through the fan control panel, and the board card temperature is sent to the server through a universal serial bus; the control server determines a target temperature interval where the board card temperature is located from the preset temperature intervals, and obtains a first control signal corresponding to the target temperature interval; the target control signal is determined through the fan control panel based on the first control signal, the rotating speed of the fan is adjusted according to the target control signal, hardware components are effectively prevented from being overheated, and the stability and reliability of the system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of server equipment, and in particular to a fan control method, system, electronic equipment and storage medium. Background Art

[0002] With the advancement of technology and the acceleration of digital transformation, the demand and importance of computing power will continue to grow. As the carrier of computing resources, servers are the key to achieving efficient and stable computing services. Servers generate a lot of heat during operation. If the heat cannot be dissipated in time, the server temperature will rise, which will affect its performance and stability.

[0003] High temperature may cause server performance degradation, system crashes, component damage, and increased energy consumption. Therefore, server thermal management is the key to maintaining the healthy operation of data centers. At present, server thermal management is mainly achieved through hardware optimization, dynamic power management, and server layout adjustment. Among them, the introduction of hardware may affect the compatibility and operability of the server, and both layout adjustment and dynamic management have the problem of increased costs and increased maintenance complexity caused by technical deployment. Although the existing thermal management methods have brought significant improvements in reducing server energy consumption, they have not achieved a balance between energy efficiency, performance, and cost. Summary of the invention

[0004] The purpose of the embodiments of the present invention is to provide a fan control method, system, electronic device and storage medium. By setting a fan control system, the fan is adjusted according to the board temperature of the hardware component, and the hardware component is effectively prevented from overheating on the basis of balancing performance and energy consumption, thereby improving the stability and reliability of the system. The specific technical solutions are as follows:

[0005] In a first aspect of the present invention, a fan control method is provided, which is applied to a fan control system. The fan control system includes a fan control board and a plurality of fans. The fan control board is connected to a server via a communication interface. The fan control board is in communication connection with each of the plurality of fans. The method includes:

[0006] Acquire the board temperature of the hardware component in the server through the fan control board, and send the board temperature to the server through the communication interface;

[0007] Controlling the server to determine a target temperature interval of the board temperature from a preset temperature interval, and obtaining a first control signal corresponding to the target temperature interval;

[0008] A target control signal is determined by the fan control board based on the first control signal, and a rotation speed of the fan is adjusted according to the target control signal.

[0009] Optionally, the fan control board includes a multiplexer, the first control signal is sent to the multiplexer through the communication interface, and the fan control board determines a target control signal based on the first control signal, and adjusts the speed of the fan according to the target control signal, including:

[0010] In case of detecting that the multiplexer receives a second control signal sent by a user end, using the second control signal as the target control signal;

[0011] In case of detecting that the multiplexer does not receive the second control signal sent by the user end, using the first control signal as the target control signal;

[0012] The target control signal is outputted through the multiplexer, and the average rotation speed of the fan is adjusted according to the target control signal.

[0013] Optionally, outputting the target control signal through the multiplexer and adjusting the average rotation speed of the fan according to the target control signal includes:

[0014] Acquiring a high voltage duty cycle of the target control signal;

[0015] determining a target average voltage applied to both ends of the motor of the fan according to the high voltage duty cycle, wherein the target average voltage is obtained based on a first preset corresponding relationship between the high voltage duty cycle and the average voltage;

[0016] The target average voltage is output to adjust the rotation speed of the fan.

[0017] Optionally, outputting the target control signal through the multiplexer and adjusting the average speed of the fan according to the target control signal further includes:

[0018] Converting the target control signal into an actual control signal through a control circuit of the fan;

[0019] According to the actual control signal, an actual voltage applied to both ends of the motor of the fan is output to adjust the rotation speed of the fan.

[0020] Optionally, the preset temperature interval includes a first temperature interval, a second temperature interval, a third temperature interval and a fourth temperature interval, and the controlling the server determines a target temperature interval in which the temperature of the board is located from the preset temperature interval, and obtains a first control signal corresponding to the target temperature interval, including:

[0021] When it is detected that the temperature of the board is greater than a first temperature threshold and less than or equal to a second temperature threshold, taking the first temperature interval as a target temperature interval;

[0022] When it is detected that the board temperature is greater than the second temperature threshold and less than or equal to the third temperature threshold, the second temperature interval is used as the target temperature interval;

[0023] When it is detected that the temperature of the board is greater than a third temperature threshold and less than or equal to a fourth temperature threshold, taking the third temperature interval as a target temperature interval;

[0024] When it is detected that the board temperature is greater than a fourth temperature threshold, taking the fourth temperature interval as a target temperature interval;

[0025] Based on the corresponding relationship between the preset temperature interval and the second preset temperature interval, a first control signal corresponding to the target temperature interval is determined.

[0026] Optionally, determining the first control signal corresponding to the target temperature range based on the corresponding relationship between the preset temperature range and the second preset temperature range includes:

[0027] When it is detected that the target temperature interval is the first temperature interval, using a control signal of a first duty cycle as the first control signal;

[0028] When it is detected that the target temperature interval is the second temperature interval, using the control signal of the second duty cycle as the first control signal;

[0029] When it is detected that the target temperature interval is a third temperature interval, using a control signal of a third duty cycle as the first control signal;

[0030] When it is detected that the target temperature interval is the fourth temperature interval, a control signal with a fourth duty cycle is used as the first control signal.

[0031] Optionally, the fan control board further includes a micro control unit, and the control of the fan control board to obtain the board temperature of the hardware component in the server and send the board temperature to the server through the communication interface includes:

[0032] Acquiring the board temperature through the microcontroller unit;

[0033] When a change in the board temperature is detected, the board temperature is sent to the server through the communication interface.

[0034] In a second aspect of the present invention, a fan control system is provided, the system comprising a fan control board and a plurality of fans, the fan control board being connected to a server via a communication interface, the fan control board being in communication connection with each of the plurality of fans, wherein:

[0035] The fan control board is used to obtain the board temperature of the hardware components in the server and send the board temperature to the server through the communication interface;

[0036] The fan control board is used to control the server to determine the target temperature interval of the board temperature from the preset temperature interval, and obtain a first control signal corresponding to the target temperature interval;

[0037] The fan control board is further used to determine a target control signal based on the first control signal, and adjust the rotation speed of the fan according to the target control signal.

[0038] In the third aspect of the implementation of the present invention, an electronic device is also provided, comprising: one or more processors; a memory; and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute any of the above-mentioned fan control methods.

[0039] In a fourth aspect of the implementation of the present invention, a non-volatile readable storage medium is further provided. When instructions in the non-volatile readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute any of the above-mentioned fan control methods.

[0040] The fan control method provided in the embodiment of the present invention controls the speed of each fan in the server through a fan control system, obtains the board temperature of the hardware component through a fan control board, and sends the board temperature to the server through a universal serial bus; controls the server to determine the target temperature range of the board temperature from a preset temperature range, and obtains a first control signal corresponding to the target temperature range; determines a target control signal based on the first control signal through the fan control board, and adjusts the speed of the fan according to the target control signal. The present invention obtains the current board temperature of the hardware components in the server in real time through the fan control board in the fan control system, and executes PID control through the server, and dynamically adjusts the fan speed according to the target temperature range of the board temperature, thereby realizing accurate control of the temperature of the hardware components, avoiding damage to the hardware caused by excessively high or low temperature, and sending corresponding control signals based on the changing board temperature of the hardware components. The speed of each fan can be adjusted according to the actual temperature requirement, avoiding the fan from running at the highest speed for a long time, thereby saving energy consumption, and ensuring that the system can respond to temperature changes quickly through real-time monitoring and dynamic adjustment of the fan speed, effectively preventing overheating of hardware components, and improving the stability and reliability of the system. Through the relatively simple structural setting in the fan control system, the thermal management of the server is realized on the basis of balancing the energy consumption and performance of the server.

[0041] It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0043] Figure 1 is a flow chart of the steps of a fan control method provided by an embodiment of the present invention;

[0044] Figure 2 is a schematic diagram of a server executing control in a fan control method provided by an embodiment of the present invention;

[0045] Figure 3 A schematic diagram of data transmission in a fan control method provided by an embodiment of the present invention;

[0046] Figure 4 is a structural block diagram of a fan control system provided by an embodiment of the present invention;

[0047] Figure 5It is a block diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0048] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0049] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, some technical features involved in the embodiments of the present invention are explained and illustrated below:

[0050] USB (Universal Serial Bus) is a serial bus standard and a technical specification for input and output interfaces. It is widely used in information and communication products such as personal computers and mobile devices, and has been extended to other related fields such as photographic equipment, digital televisions (set-top boxes), and game consoles.

[0051] PWM (Pulse Width Modulation) is a technology widely used in electronic devices, especially in motor control, LED dimming, audio signal processing, etc. PWM controls the average voltage or power of the output signal by adjusting the pulse width of the signal (i.e. the ratio of the high level time to the cycle time).

[0052] Duty cycle is an important parameter of PWM (Pulse Width Modulation) signal, which indicates the proportion of time that the signal is at a high level (or valid state), and can be obtained by the ratio of high level time to cycle time. The higher the duty cycle, the higher the average voltage or power of the output signal.

[0053] PID (Proportional-Integral-Derivative) controller is a feedback control algorithm widely used in industrial automation and control systems. PID controller adjusts the control variables (such as motor speed, valve opening, etc.) to make the output (such as temperature, pressure, speed, etc.) of the controlled object reach the desired value.

[0054] MCU (Microcontroller Unit) is a chip that integrates microprocessor core, storage and peripheral interface functions. It is usually used to control the operation of embedded systems and is widely used in electronic products.

[0055] A multiplexer (MUX) is a device that can selectively transmit one of multiple input signals to a single output port, which is used to improve data transmission efficiency and save resources.

[0056] As an example, a server generates a large amount of heat during operation. If the heat cannot be dissipated in time, the server temperature will rise, which will affect its performance and stability. In addition, the electricity consumed to process the heat generated inside the server accounts for up to 40% of the total energy consumption. Server-level thermal management is a key optimization direction under the topic of energy saving. At present, server thermal management is optimized by introducing optimized hardware, dynamic power supply management, and adjusting server layout. However, there are problems of increased cost and increased maintenance complexity, and it is impossible to achieve a balance between energy saving, performance maintenance and cost control.

[0057] In this regard, in an embodiment of the present invention, the current board temperature of the hardware components in the server is obtained in real time through the fan control board in the fan control system, and PID control is performed through the server. According to the target temperature range of the board temperature, the fan speed is dynamically adjusted, thereby achieving precise control of the temperature of the hardware components to avoid damage to the hardware caused by excessively high or low temperatures. A corresponding control signal is issued based on the changing board temperature of the hardware components. The speed of each fan can be adjusted according to the actual temperature requirements to avoid the fan running at the highest speed for a long time, thereby saving energy consumption. By real-time monitoring and dynamic adjustment of the fan speed, it is ensured that the system can respond quickly to temperature changes, effectively prevent overheating of hardware components, and improve the stability and reliability of the system. Through the relatively simple structural setting in the fan control system, thermal management of the server is achieved on the basis of balancing the energy consumption and performance of the server.

[0058] Reference Figure 1 , shows a flow chart of the steps of a fan control method provided in an embodiment of the present invention, the method is applied to a fan control system, the fan control system includes a fan control board and a plurality of fans, the fan control board is connected to a server through a communication interface, the fan control board is in communication connection with each of the plurality of fans, and specifically may include the following steps:

[0059] S101, obtaining the board temperature of the hardware component in the server through the fan control board, and sending the board temperature to the server through the communication interface.

[0060] The board temperature is one of the important indicators for measuring system performance. By monitoring the board temperature, the current operating status of the system can be understood. The temperature acquisition of the hardware components in the server can be achieved in a variety of ways. When a temperature sensor is integrated in the fan control board, the board temperature of the hardware component can be monitored in real time through the temperature sensor. Preferably, the temperature monitoring of the hardware component in the embodiment of the present invention can be for CPU (Central Processing Unit) temperature monitoring and fan adjustment. These temperature sensors are usually thermistors (such as NTC) or digital temperature sensors (such as DS18B20). The board temperature is read from the temperature sensor in real time through a specific communication interface (such as I2C, SPI or GPIO) between the fan control board and the hardware component.

[0061] Optionally, the server may receive temperature data from the fan control board via a USB interface, and perform subsequent analysis and processing on the board temperature via the server.

[0062] S102, the control server determines a target temperature range of the board temperature from a preset temperature range, and obtains a first control signal corresponding to the target temperature range.

[0063] The control server determines the target temperature range of the board temperature from the preset temperature range, and obtains the first control signal corresponding to the target temperature range in combination with the PID control algorithm, so as to achieve more accurate and dynamic fan control. Figure 2 , showing a schematic diagram of a server executing a function in a fan control method provided by an embodiment of the present invention, obtaining a board temperature of a hardware component through a temperature sensor, and using the board temperature of the hardware component together with a preset set temperature of the hardware component as input data of a PID controller, the set temperature may be a temperature setting value or a temperature setting interval, wherein a PID controller is provided in the server, and PID control is performed through an operating system according to the received board temperature of the hardware component and the set temperature, and an output, i.e., a first control signal corresponding to the actual board temperature, is obtained. Preferably, in an embodiment of the present invention, 30°C to 50°C is set as the set temperature of the hardware component, and when it is monitored that the board temperature of the hardware component is in the temperature range of 30°C-50°C, it indicates that the hardware temperature of the server is in a normal range, and no additional adjustment of the fan is required. At this time, corresponding to the normal temperature range, the fan of the server can run at a rotation speed of 20%, and the normal operating rotation speed of the fan can be set based on actual needs. The present invention is only used as an example for illustration and is not limited.

[0064] The first control signal may be a PWM signal, indicating a target rotation speed or duty cycle of the fan.

[0065] S103, determining a target control signal based on the first control signal through the fan control board, and adjusting the rotation speed of the fan according to the target control signal.

[0066] The fan control board is installed on the backplane of the server and can receive the power supply and the first control signal from the server through the USB bus, wherein the first control signal is a PWM signal, which indicates the target speed or duty cycle of the fan. The duty cycle can be expressed as the ratio of the high level time to the cycle time, usually expressed as a percentage. The duty cycle can be calculated by the following formula:

[0067]

[0068] Wherein, D represents duty cycle, Ton represents high level time, and T represents cycle time. The cycle time T of PWM signal is the sum of high level time and low level time.

[0069] Usually, the duty cycle of the first control signal is proportional to the fan speed. The higher the duty cycle, the faster the fan speed. The first control signal is sent by the server, and the fan control board determines the target control signal and obtains the corresponding target duty cycle to achieve precise control of the fan speed.

[0070] In one possible example, refer to Figure 3 , showing a schematic diagram of data transmission in a fan control method provided by an embodiment of the present invention, wherein the fan control board may include a microcontroller unit and a multiplexer, the microcontroller unit is used to read the data of each sensor, and to run the firmware between the USB port of the server and the fan interface, and the signal source of the fan control board can also be specified by switching the multiplexer. In the embodiment of the present invention, the fan can be controlled by the user or automatically by the server. Specifically, the user end sends a second control signal for controlling the fan, and the server sends a first control signal for controlling the fan. The control signal is determined by the multiplexer to determine the target control signal, which is output to each fan for speed adjustment.

[0071] Specifically, when it is detected that the multiplexer receives the second control signal sent by the user end, the user is designated to control the fan, and the second control signal is determined as the target control signal. When it is detected that the multiplexer does not receive the second control signal sent by the user end, the server is designated to automatically control the fan, and the first control signal is determined as the target control signal. It can be understood that, by default, the fan is automatically controlled by the server, and the fan is controlled by the user only when a control signal sent by the user end is received.

[0072] The target control signal is determined from the acquired control signal by switching the multiplexer and the target control signal is output, and the average speed of the fan is adjusted according to the target control signal. The adjustment of the fan speed can be achieved in many ways.

[0073] In one example, after confirming the target control signal, the high voltage duty cycle of the target control signal can be obtained. The high voltage duty cycle refers to the ratio of the high level time to the cycle time in the PWM signal, which is usually expressed as a percentage. For example, a 20% PWM signal means that in each cycle, the high level accounts for 20% of the time and the low level accounts for 80% of the time. According to the high voltage duty cycle, the target average voltage applied to both ends of the fan motor can be obtained. The target average voltage is obtained based on the first preset correspondence between the high voltage duty cycle and the average voltage. Generally, the average voltage is proportional to the high voltage duty cycle, such as: target average voltage = high voltage duty cycle × power supply voltage. The first preset correspondence can be linear or nonlinear. For example, if the power supply voltage is 12V and the high voltage duty cycle is 50%, the target average voltage is 6V. The fan is driven by the output target average voltage. When the target average voltage increases, the fan speed increases. When the target average voltage decreases, the fan speed decreases accordingly.

[0074] In another example, the control circuit (such as MOSFET, H-bridge, etc.) is the core part of the fan control board. It is responsible for receiving the target control signal from the server or other control source and converting it into an actual control signal that can directly control the speed of the fan motor. The actual control signal is a voltage signal directly applied to both ends of the fan motor. The power electronic components (such as MOSFET, IGBT, etc.) in the control circuit will adjust the voltage applied to both ends of the fan motor according to the PWM signal or directly according to the calculated voltage value. These components can switch quickly to generate the required voltage waveform at both ends of the motor. The actual voltage signal is applied to both ends of the fan motor through the control circuit. When the voltage at both ends of the fan motor changes, the speed of the motor will be adjusted accordingly. If the voltage increases, the fan speed will increase; if the voltage decreases, the fan speed will decrease.

[0075] In a possible embodiment, the control server analyzes and processes the current board temperature of the hardware component. Specifically, multiple temperature thresholds can be pre-set to divide the board temperature into multiple preset temperature intervals, such as by setting a first temperature threshold, a second temperature threshold, a third temperature threshold and a fourth temperature threshold, the entire board temperature is divided into a first temperature interval, a second temperature interval, a third temperature interval and a fourth temperature interval. When the server receives the board temperature of the hardware component, the target temperature interval of the board temperature can be determined by comparing the board temperature with the temperature threshold. Specifically, this can be achieved by the following steps:

[0076] When it is detected that the board temperature is greater than the first temperature threshold and less than or equal to the second temperature threshold, the first temperature interval is used as the target temperature interval;

[0077] When it is detected that the board temperature is greater than the second temperature threshold and less than or equal to the third temperature threshold, the second temperature interval is used as the target temperature interval;

[0078] When it is detected that the board temperature is greater than the third temperature threshold and less than or equal to the fourth temperature threshold, the third temperature interval is used as the target temperature interval;

[0079] When it is detected that the board temperature is greater than the fourth temperature threshold, the fourth temperature interval is used as the target temperature interval;

[0080] Based on the corresponding relationship between the preset temperature interval and the second preset temperature interval, a first control signal corresponding to the target temperature interval is determined.

[0081] Among them, each temperature threshold can be set according to actual needs. For example, the first temperature threshold can be set to 30°C, the second temperature threshold can be set to 50°C, the third temperature threshold can be set to 50°C, and the fourth temperature threshold can be set to 85°C. Accordingly, the first temperature interval is 30°C (not included) to 50°C, the second temperature interval is 50°C (not included) to 70°C, the third temperature interval is 70°C (not included) to 85°C, and the fourth temperature interval is above 85°C, excluding 85°C. Specifically, different temperature thresholds can be set based on actual scenarios, and the present invention does not make any specific limitations on this.

[0082] When the board temperature of the hardware component is in different temperature intervals, it can indicate the heat regulation demand in the current server. For example, when the board temperature is in the first temperature interval, it can indicate that the server is in normal operation at this time, does not generate a lot of heat, and does not require additional fan regulation. When the board temperature is in the fourth temperature interval, it can indicate that the server generates a lot of heat at this time. In order to protect the hardware components and the system itself, heat dissipation treatment is urgently needed. Corresponding to the heat dissipation demand of different temperature intervals, a second preset corresponding relationship can be pre-set, and control signals with different duty ratios can be set for each temperature interval. Specifically, when the target temperature interval is detected to be the first temperature interval, the control signal of the first duty ratio can be used as the first control signal; when the target temperature interval is detected to be the second temperature interval, the control signal of the second duty ratio can be used as the first control signal; when the target temperature interval is detected to be the third temperature interval, the control signal of the third duty ratio can be used as the first control signal; when the target temperature interval is detected to be the fourth temperature interval, the control signal of the fourth duty ratio can be used as the first control signal.

[0083] Among them, the duty cycle of the control signal corresponding to each temperature interval can be set according to actual needs. For example, the first duty cycle can be set to 20%, the second duty cycle can be set to 50%, the third duty cycle can be set to 80%, and the fourth duty cycle can be set to 100%. When the duty cycle of the target control signal is 100%, it indicates that a high voltage is continuously output during the signal period. Different temperature thresholds can be set based on actual scenarios, and the present invention does not make any specific limitations on this.

[0084] In a possible embodiment, the microcontroller unit in the fan control board is used to obtain the board temperature of the hardware component from the temperature sensor. In order to save energy and reduce the number of execution times of the PID controller, the board temperature sent to the server can be controlled by the microcontroller unit. Specifically, the board temperature can be obtained by the microcontroller unit, and when a change in the board temperature is detected, the board temperature can be sent to the server through the universal serial bus. If the board temperature does not change, it is only monitored by the microcontroller unit and does not need to be sent to the server.

[0085] The present invention obtains the current board temperature of the hardware components in the server in real time through the fan control board in the fan control system, and controls the server to perform PID control, and dynamically adjusts the fan speed according to the target temperature range of the board temperature, thereby realizing accurate control of the temperature of the hardware components and avoiding damage to the hardware caused by excessively high or low temperature. The corresponding control signal is sent based on the changing board temperature of the hardware components, and the speed of each fan can be adjusted according to the actual temperature requirement, avoiding the fan from running at the highest speed for a long time, thereby saving energy consumption. By real-time monitoring and dynamic adjustment of the fan speed, it is ensured that the system can respond to temperature changes quickly, effectively prevent overheating of hardware components, and improve the stability and reliability of the system. Through the relatively simple structural setting in the fan control system, the thermal management of the server is realized on the basis of balancing the energy consumption and performance of the server.

[0086] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0087] Reference Figure 4 , shows a fan control system provided by an embodiment of the present invention, the system includes a fan control board 410 and a plurality of fans 420, the fan control board 410 is connected to the server through a communication interface, and the fan control board 410 is in communication connection with each of the plurality of fans 420, wherein,

[0088] The fan control board 410 is used to obtain the board temperature of the hardware component and send the board temperature to the server via the universal serial bus;

[0089] The fan control board 410 is used to control the server to determine a target temperature range for the board temperature from a preset temperature range, and obtain a first control signal corresponding to the target temperature range;

[0090] The fan control board 410 is further used to determine a target control signal based on the first control signal, and adjust the rotation speed of the fan according to the target control signal.

[0091] Further, the fan control board 410 includes a multiplexer, and the first control signal is sent to the multiplexer via the universal serial bus 440. The fan control board 410 is also used for:

[0092] In case of detecting that the multiplexer receives a second control signal sent by a user end, using the second control signal as the target control signal;

[0093] In case of detecting that the multiplexer does not receive the second control signal sent by the user end, using the first control signal as the target control signal;

[0094] The target control signal is outputted through the multiplexer, and the average rotation speed of the fan is adjusted according to the target control signal.

[0095] Furthermore, the fan control board 410 is specifically used for:

[0096] Acquiring a high voltage duty cycle of the target control signal;

[0097] determining a target average voltage applied to both ends of the motor of the fan according to the high voltage duty cycle, wherein the target average voltage is obtained based on a first preset corresponding relationship between the high voltage duty cycle and the average voltage;

[0098] The target average voltage is output to adjust the rotation speed of the fan.

[0099] Furthermore, the fan control board 410 can also be specifically used for:

[0100] Converting the target control signal into an actual control signal through a control circuit of the fan;

[0101] According to the actual control signal, an actual voltage applied to both ends of the motor of the fan is output to adjust the rotation speed of the fan.

[0102] Furthermore, the preset temperature range includes a first temperature range, a second temperature range, a third temperature range and a fourth temperature range, and the fan control board 410 is also used for:

[0103] When it is detected that the temperature of the board is greater than a first temperature threshold and less than or equal to a second temperature threshold, taking the first temperature interval as a target temperature interval;

[0104] When it is detected that the board temperature is greater than the second temperature threshold and less than or equal to the third temperature threshold, the second temperature interval is used as the target temperature interval;

[0105] When it is detected that the temperature of the board is greater than a third temperature threshold and less than or equal to a fourth temperature threshold, taking the third temperature interval as a target temperature interval;

[0106] When it is detected that the board temperature is greater than a fourth temperature threshold, taking the fourth temperature interval as a target temperature interval;

[0107] Based on the corresponding relationship between the preset temperature interval and the second preset temperature interval, a first control signal corresponding to the target temperature interval is determined.

[0108] Furthermore, the fan control board 410 is specifically used for:

[0109] When it is detected that the target temperature interval is the first temperature interval, using a control signal of a first duty cycle as the first control signal;

[0110] When it is detected that the target temperature interval is the second temperature interval, using the control signal of the second duty cycle as the first control signal;

[0111] When it is detected that the target temperature interval is a third temperature interval, using a control signal of a third duty cycle as the first control signal;

[0112] When it is detected that the target temperature interval is the fourth temperature interval, a control signal with a fourth duty cycle is used as the first control signal.

[0113] Furthermore, the fan control board 410 further includes a micro control unit, and the fan control board 410 can also be specifically used for:

[0114] Acquiring the board temperature through the microcontroller unit;

[0115] When a change in the temperature of the board card is detected, the temperature of the board card is sent to a server via the universal serial bus.

[0116] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0117] refer to Figure 5 The embodiment of the present invention further provides an electronic device, including a processor 501, a communication interface 502, a memory 503 and a communication bus 504, wherein the processor 501, the communication interface 502 and the memory 503 communicate with each other via the communication bus 504.

[0118] Memory 503, used for storing computer programs;

[0119] The processor 501 is used to execute the program stored in the memory 503, and implements the following steps:

[0120] Acquire the board temperature of the hardware component through the fan control board, and send the board temperature to the server through the universal serial bus;

[0121] Controlling the server to determine a target temperature interval of the board temperature from a preset temperature interval, and obtaining a first control signal corresponding to the target temperature interval;

[0122] A target control signal is determined by the fan control board based on the first control signal, and a rotation speed of the fan is adjusted according to the target control signal.

[0123] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0124] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0125] The embodiment of the present invention further provides a non-volatile readable storage medium. When the instructions in the non-volatile readable storage medium are executed by the processor of the electronic device, the electronic device can perform the various processes of the above-mentioned fan control method embodiment and achieve the same technical effect. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0126] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0127] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.

[0128] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0129] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0130] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A fan control method, characterized in that: Applied to a fan control system, the fan control system includes a fan control board and a plurality of fans, the fan control board is connected to a server via a communication interface, the fan control board is in communication connection with each of the plurality of fans, the method includes: Acquire the board temperature of the hardware component in the server through the fan control board, and send the board temperature to the server through the communication interface; Controlling the server to determine a target temperature interval of the board temperature from a preset temperature interval, and obtaining a first control signal corresponding to the target temperature interval; A target control signal is determined by the fan control board based on the first control signal, and a rotation speed of the fan is adjusted according to the target control signal.

2. The method according to claim 1, characterized in that: The fan control board includes a multiplexer, the first control signal is sent to the multiplexer through the communication interface, the fan control board determines a target control signal based on the first control signal, and adjusts the speed of the fan according to the target control signal, including: In case of detecting that the multiplexer receives a second control signal sent by a user end, using the second control signal as the target control signal; In case of detecting that the multiplexer does not receive the second control signal sent by the user end, using the first control signal as the target control signal; The target control signal is outputted through the multiplexer, and the average rotation speed of the fan is adjusted according to the target control signal.

3. The method according to claim 2, characterized in that Outputting the target control signal through the multiplexer and adjusting the average speed of the fan according to the target control signal includes: Acquiring a high voltage duty cycle of the target control signal; determining a target average voltage applied to both ends of the motor of the fan according to the high voltage duty cycle, wherein the target average voltage is obtained based on a first preset corresponding relationship between the high voltage duty cycle and the average voltage; The target average voltage is output to adjust the rotation speed of the fan.

4. The method according to claim 2, characterized in that: Outputting the target control signal through the multiplexer and adjusting the average speed of the fan according to the target control signal further includes: Converting the target control signal into an actual control signal through a control circuit of the fan; According to the actual control signal, an actual voltage applied to both ends of the motor of the fan is output to adjust the rotation speed of the fan.

5. The method according to claim 1, characterized in that The preset temperature interval includes a first temperature interval, a second temperature interval, a third temperature interval and a fourth temperature interval, and the controlling the server determines a target temperature interval of the board temperature from the preset temperature interval and obtains a first control signal corresponding to the target temperature interval, including: When it is detected that the temperature of the board is greater than a first temperature threshold and less than or equal to a second temperature threshold, taking the first temperature interval as a target temperature interval; When it is detected that the board temperature is greater than the second temperature threshold and less than or equal to the third temperature threshold, the second temperature interval is used as the target temperature interval; When it is detected that the temperature of the board is greater than a third temperature threshold and less than or equal to a fourth temperature threshold, taking the third temperature interval as a target temperature interval; When it is detected that the board temperature is greater than a fourth temperature threshold, taking the fourth temperature interval as a target temperature interval; Based on the corresponding relationship between the preset temperature interval and the second preset temperature interval, a first control signal corresponding to the target temperature interval is determined.

6. The method according to claim 5, characterized in that The determining, based on the corresponding relationship between the preset temperature interval and the second preset temperature interval, a first control signal corresponding to the target temperature interval includes: When it is detected that the target temperature interval is the first temperature interval, using a control signal of a first duty cycle as the first control signal; When it is detected that the target temperature interval is the second temperature interval, using the control signal of the second duty cycle as the first control signal; When it is detected that the target temperature interval is a third temperature interval, using a control signal of a third duty cycle as the first control signal; When it is detected that the target temperature interval is the fourth temperature interval, a control signal with a fourth duty cycle is used as the first control signal.

7. The method according to claim 1, characterized in that The fan control board also includes a micro control unit, and the board temperature of the hardware components in the server is obtained through the fan control board, and the board temperature is sent to the server through the communication interface, including: Acquiring the board temperature through the microcontroller unit; When a change in the board temperature is detected, the board temperature is sent to the server through the communication interface.

8. A fan control system, characterized in that: The system includes a fan control board and a plurality of fans, wherein the fan control board is connected to a server via a communication interface, and the fan control board is in communication connection with each of the plurality of fans, wherein: The fan control board is used to obtain the board temperature of the hardware components in the server and send the board temperature to the server through the communication interface; The fan control board is used to control the server to determine the target temperature range of the board temperature from the preset temperature range, and obtain a first control signal corresponding to the target temperature range; The fan control board is further used to determine a target control signal based on the first control signal, and adjust the rotation speed of the fan according to the target control signal.

9. An electronic device, comprising: one or more processors; Memory; One or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the fan control method according to any one of claims 1 to 7. 10 . A computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, enable the processors to execute the fan control method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Fan control system and fan control method

    CN103115014A

  • Terminal device, feedback control method, base station, pairing control method, program, and wireless communication system

    CN103404060A

  • Fan control circuit and system

    CN109236714A

  • Method, device and system of server fan speed regulation

    CN110345099A

  • Fan simulating natural wind and natural wind simulating method

    CN111120373A

Cited By

  • Fan control method and device of cooling system, electronic equipment and storage medium

    CN122569701A

  • Fan control method and device of heat dissipation system, electronic equipment and storage medium

    CN122569701B