Heat dissipation control method and electronic device

By employing a dual-loop PID control strategy, linear combination calculations are performed on the temperature difference and airflow difference, solving the problems of insufficient dynamic response and anti-interference capability in traditional heat dissipation control methods, and achieving efficient heat dissipation of the server module.

CN120848707BActive Publication Date: 2026-01-27INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511353648.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-09-22
Publication Date
2026-01-27
Estimated Expiration
2045-09-22

AI Technical Summary

Technical Problem

Traditional heat dissipation control methods use single-loop PID control, which has poor dynamic response and anti-interference capabilities, resulting in low heat dissipation efficiency of server modules.

Method used

A dual-loop PID control strategy is adopted. The reference airflow of the cooling fan is obtained by performing a first linear combination calculation on the temperature difference, and the reference speed is obtained by performing a second linear combination calculation on the airflow difference, so as to achieve precise control of the fan.

Benefits of technology

It improves the response speed to changes in airflow and the ability to eliminate temperature deviations, achieving a fast and efficient heat dissipation effect and enhancing the heat dissipation efficiency of the server module.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120848707B_ABST
    Figure CN120848707B_ABST
Patent Text Reader

Abstract

The embodiment of the application provides a heat dissipation control method and electronic equipment, and relates to the field of computers, and the method comprises the following steps: in the case that the current temperature of a server module is greater than a reference temperature, obtaining a temperature difference value between the current temperature and the reference temperature; performing first linear combination operation on the temperature difference value to obtain a reference air volume of a heat dissipation fan, wherein the first linear combination operation is used to indicate that proportional, integral and differential operations are performed on the temperature difference value, and the heat dissipation fan is used for dissipating heat of the server module; obtaining an air volume difference value between a current air volume of the heat dissipation fan and the reference air volume; performing second linear combination operation on the air volume difference value to obtain a reference rotating speed of the heat dissipation fan, wherein the second linear combination operation is used to indicate that proportional, integral and differential operations are performed on the air volume difference value; and controlling the heat dissipation fan to rotate according to the reference rotating speed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computers, and more specifically, to a heat dissipation control method and an electronic device. Background Technology

[0002] During server operation, traditional heat dissipation control methods often employ a temperature-based single-loop proportional-integral-derivative (PID) control strategy. This strategy collects the temperature of each module at fixed intervals and uses the temperature as the input for PID control to determine the target fan speed. This method, using single-loop control, suffers from poor dynamic response and interference resistance. The accuracy of the target speed obtained directly from temperature is also unreliable, leading to poor fan cooling performance and consequently, low heat dissipation efficiency for the server modules. Summary of the Invention

[0003] This application provides a heat dissipation control method and an electronic device to at least solve the technical problem of low heat dissipation efficiency of server modules in the related art.

[0004] According to one embodiment of this application, a heat dissipation control method is provided, comprising: when the current temperature of a server module is greater than a reference temperature, obtaining a temperature difference between the current temperature and the reference temperature; performing a first linear combination operation on the temperature difference to obtain a reference airflow of a cooling fan, wherein the first linear combination operation is used to indicate proportional, integral, and derivative operations on the temperature difference, and the cooling fan is used to dissipate heat from the server module; obtaining an airflow difference between the current airflow of the cooling fan and the reference airflow; performing a second linear combination operation on the airflow difference to obtain a reference rotation speed of the cooling fan, wherein the second linear combination operation is used to indicate proportional, integral, and derivative operations on the airflow difference; and controlling the cooling fan to rotate according to the reference rotation speed.

[0005] According to one embodiment of this application, a heat dissipation control device is provided, comprising: a first acquisition unit, configured to acquire a temperature difference between the current temperature and the reference temperature when the current temperature of the server module is greater than a reference temperature; a first calculation unit, configured to perform a first linear combination operation on the temperature difference to obtain a reference airflow of a cooling fan, wherein the first linear combination operation is used to indicate proportional, integral, and derivative operations on the temperature difference, and the cooling fan is used to dissipate heat from the server module; a second acquisition unit, configured to acquire an airflow difference between the current airflow of the cooling fan and the reference airflow; a second calculation module, configured to perform a second linear combination operation on the airflow difference to obtain a reference rotation speed of the cooling fan, wherein the second linear combination operation is used to indicate proportional, integral, and derivative operations on the airflow difference; and a control unit, configured to control the cooling fan to rotate according to the reference rotation speed.

[0006] According to yet another embodiment of this application, a computer-readable storage medium is also provided, in which a computer program is stored, wherein the computer program is configured to perform the steps in any of the above method embodiments when it is run.

[0007] According to yet another embodiment of this application, an electronic device is also provided, including a memory and a processor, wherein a computer program is stored in the memory and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.

[0008] The embodiments provided in this application first determine whether the current temperature of the server module exceeds the reference temperature. If it does, the temperature difference between the current temperature and the reference temperature is used as input. A first linear combination operation (proportional, integral, and derivative operations for the temperature difference) is used to calculate the reference airflow of the cooling fan. This operation can quickly adjust the heat dissipation intensity according to the magnitude of the temperature difference and changes over time, ensuring that the system can respond quickly when the temperature suddenly rises, reducing the risk of overheating. Next, based on the airflow difference between the actual airflow of the cooling fan and the reference airflow, a second linear combination operation (proportional, integral, and derivative operations for the airflow difference) is used to obtain the reference speed of the cooling fan. Through a dual-loop control structure that calls the proportional-integral-derivative (PID) control logic twice, the response speed to changes in airflow and the ability to eliminate temperature deviations under steady-state conditions are improved. This achieves rapid adjustment of airflow and precise control of speed, thereby achieving the goal of fast and efficient heat dissipation through the fan. This achieves the technical effect of improving the heat dissipation efficiency of the server module and solves the technical problem of low heat dissipation efficiency of the server module. Attached Figure Description

[0009] Figure 1 This is a hardware structure block diagram of a heat dissipation control method according to an embodiment of this application.

[0010] Figure 2 This is a flowchart of a heat dissipation control method according to an embodiment of this application.

[0011] Figure 3 This is a schematic diagram of a dual closed-loop PID control system architecture according to an embodiment of this application.

[0012] Figure 4 This is a schematic diagram of a dynamic frequency-adjustable server cooling fan dual closed-loop control method according to an embodiment of this application.

[0013] Figure 5 This is a structural block diagram of a data storage device for an edge node according to an embodiment of this application. Detailed Implementation

[0014] The embodiments of this application will be described in detail below with reference to the accompanying drawings and examples.

[0015] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0016] The methods and embodiments provided in this application can be executed on a computer terminal or similar computing device. Taking running on a computer terminal as an example, Figure 1 This is a hardware structure block diagram of a computer terminal according to an embodiment of the heat dissipation control method of this application. Figure 1 As shown, a computer terminal may include one or more ( Figure 1 Only one is shown in the diagram. A processor 102 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing data are also shown. The computer terminal may further include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the computer terminal described above. For example, the computer terminal may also include components that are more complex than those described above. Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.

[0017] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the heat dissipation control method in this embodiment. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, thus implementing the aforementioned method. The memory 104 may include high-speed random access memory and non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to a computer terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0018] The transmission device 106 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider for the computer terminal. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 may be a Radio Frequency (RF) module used for wireless communication with the Internet.

[0019] As an optional solution, this embodiment provides a heat dissipation control method, such as... Figure 2 As shown, it includes:

[0020] S202, if the current temperature of the server module is higher than the reference temperature, obtain the temperature difference between the current temperature and the reference temperature;

[0021] S204, perform a first linear combination operation on the temperature difference to obtain the reference airflow of the cooling fan. The first linear combination operation is used to indicate the proportional, integral and differential operations on the temperature difference. The cooling fan is used to dissipate heat from the server module.

[0022] S206, obtain the airflow difference between the current airflow and the reference airflow of the cooling fan;

[0023] S208, perform a second linear combination operation on the air volume difference to obtain the reference speed of the cooling fan, wherein the second linear combination operation is used to indicate the proportional, integral and differential operations on the air volume difference;

[0024] S210 controls the cooling fan to rotate according to the reference speed.

[0025] Optionally, in this embodiment, the server module refers to one or more hardware components that constitute the server system, such as CPU, GPU, memory, hard disk, etc. These components generate heat during operation and need to be cooled by a heat dissipation system.

[0026] Optionally, in this embodiment, the current temperature refers to the actual measured temperature of the server module at a certain moment. The reference temperature is the expected temperature for the server module to operate normally, i.e., the safe or ideal operating temperature threshold set by the system. The temperature difference is the difference between the current temperature and the reference temperature, used to measure the deviation between the current state and the ideal operating state of the server module.

[0027] Optionally, in this embodiment, the first linear combination operation is a proportional-integral-derivative (PID) control operation oriented towards the temperature difference. The temperature difference is comprehensively processed through three basic mathematical operations: proportional, integral, and derivative, in order to determine the target airflow of the cooling fan.

[0028] Optionally, in this embodiment, the reference airflow is the target airflow obtained after PID control calculation, that is, the airflow level that the cooling system should provide in order to achieve the ideal temperature state. The current airflow is the actual airflow generated by the cooling fan, which may differ from the reference airflow due to various factors.

[0029] Optionally, in this embodiment, the second linear combination operation is also based on PID control logic, but is performed based on the airflow difference to adjust the fan speed to the target level. The reference speed is the target speed obtained from the PID control operation, which guides the cooling fan to adjust its operating state to achieve the required reference airflow.

[0030] Optionally, in this embodiment, the temperature of the server module is continuously monitored by a temperature sensor. Once the current temperature of a module exceeds a preset reference temperature, the heat dissipation control process is triggered to start the heat dissipation response, preventing the temperature from being too high and affecting the server's performance and lifespan.

[0031] Optionally, in this embodiment, the detected temperature difference is used as input, and a PID control algorithm is applied to perform a first linear combination calculation to generate the target reference airflow for the cooling fan. Based on the magnitude and rate of change of the temperature difference, the required airflow for the cooling fan is automatically adjusted to achieve effective temperature control, balancing rapid response and stable operation.

[0032] Optionally, in this embodiment, an airflow sensor installed on the fan detects the current airflow of the fan in real time and compares it with the reference airflow calculated in the above steps to obtain the airflow difference. This provides information on the difference between the actual airflow and the required airflow, serving as a basis for subsequent fan speed adjustments.

[0033] Optionally, in this embodiment, the airflow difference is used as a new input signal, and the PID control algorithm is used again for a second linear combination operation to calculate the target speed of the cooling fan. Based on the airflow difference, the fan speed is dynamically adjusted to ensure that the actual airflow can quickly and accurately reach the reference airflow, thereby improving heat dissipation efficiency and reducing energy consumption.

[0034] Optionally, in this embodiment, the speed of the cooling fan is adjusted using pulse width modulation (PWM) signals or other methods based on the calculated reference speed, until the actual airflow matches the reference airflow. This achieves fine-grained control of the fan speed, ensuring that the cooling effect meets expectations while reducing unnecessary power consumption and improving the overall energy efficiency of the server.

[0035] Understandably, this embodiment employs a two-layer PID control strategy to precisely adjust fan airflow to adapt to temperature changes in the server module. First, by detecting the temperature difference, a reference airflow is determined using proportional, integral, and derivative calculations. This ensures the cooling system can respond quickly and improve heat dissipation rate when the server temperature rises. Subsequently, by monitoring the difference between the actual fan airflow and the reference airflow in real time, the PID control logic is invoked again to dynamically adjust the fan speed to the optimal level. This step not only enhances the system's rapid response capability but also significantly improves control accuracy, effectively addressing the impact of changes in wind resistance or other external interference factors, ensuring the efficient and stable operation of the cooling system under various operating conditions.

[0036] It should be noted that the first linear combination operation is equivalent to outer-loop PID control, primarily focusing on temperature changes and responsible for macroscopic airflow regulation to ensure temperature steady-state operation. The second linear combination operation, on the other hand, is equivalent to inner-loop PID control, focusing on airflow differences to achieve microscopic speed adjustment, ensuring coordination between airflow and temperature control, thereby significantly enhancing the system's anti-interference capability and adaptability. This method not only responds promptly to fluctuations in the server's internal temperature but also maintains a low control frequency in a stable state, achieving a good balance between heat dissipation and energy consumption, providing reliable technical support for the efficient and energy-saving operation of servers.

[0037] The embodiments provided in this application first determine whether the current temperature of the server module exceeds a reference temperature. If it does, the temperature difference between the current temperature and the reference temperature is used as input. A first linear combination operation (proportional, integral, and derivative operations for the temperature difference) is used to calculate the reference airflow of the cooling fan. This operation can quickly adjust the heat dissipation intensity according to the magnitude of the temperature difference and changes over time, ensuring that the system can respond quickly when the temperature suddenly rises, reducing the risk of overheating. Next, based on the airflow difference between the actual airflow of the cooling fan and the reference airflow, a second linear combination operation (proportional, integral, and derivative operations for the airflow difference) is used to obtain the reference speed of the cooling fan. This dual-loop control structure, which calls the PID control logic twice, improves the response speed to changes in airflow and the ability to eliminate temperature deviations under steady-state conditions. It achieves rapid adjustment of airflow and precise control of speed, thereby achieving the goal of rapid and efficient heat dissipation through the fan and realizing the technical effect of improving the heat dissipation efficiency of the server module.

[0038] As an optional approach, a first linear combination calculation is performed on the temperature difference to obtain the reference airflow of the cooling fan, including:

[0039] According to the first frequency, perform the first proportional operation, the first integral operation, and the first differential operation on the temperature difference;

[0040] The results of the first proportional operation, the first integral operation, and the first differential operation are summed to obtain the reference air volume;

[0041] A second linear combination operation is performed on the airflow difference to obtain the reference speed of the cooling fan, including:

[0042] According to the second frequency, perform the second proportional operation, the second integral operation, and the second differential operation on the air volume difference;

[0043] The results of the second proportional operation, the second integral operation, and the second differential operation are summed to obtain the reference rotational speed, wherein the second frequency is greater than the first frequency.

[0044] Optionally, in this embodiment, the first frequency indicates the execution frequency of the first linear combination operation (outer loop PID control), which determines the speed and accuracy of converting the temperature difference into reference air volume. It is usually slower to balance the stability of control and resource consumption.

[0045] Optionally, in this embodiment, the first proportional operation indicates that the temperature difference in the outer-loop PID control is proportionally amplified, and the result reflects the magnitude of the current deviation and its immediate contribution to the reference airflow. The first integral operation indicates that the temperature difference in the outer-loop PID control process is accumulated to eliminate the system steady-state error and ensure that the temperature of the server module can be maintained near the reference temperature for a long time. The first derivative operation indicates that the rate of change of the temperature difference is observed to predict possible future temperature change trends, adjust the control strategy in advance, prevent over- or under-control, and improve dynamic response speed and stability.

[0046] Optionally, in this embodiment, the second frequency indicator is the execution frequency of the second linear combination operation (inner loop PID control), which is usually higher than the outer loop control frequency, so as to respond to changes in air volume more quickly and ensure that the fan speed accurately matches the requirements of the reference air volume.

[0047] Optionally, in this embodiment, the second proportional operation indicates the proportional amplification of the airflow difference in the inner-loop PID control, directly reflecting the real-time adjustment requirements of the fan speed based on the magnitude of the deviation. The second integral operation indicates the accumulation of the airflow difference in the inner-loop PID control, eliminating steady-state errors in airflow control and ensuring that the actual airflow can be stabilized at the target level. The second derivative operation indicates the observation of the changing trend of the airflow difference, predicting the future evolution of airflow demand, adjusting the speed to adapt to real-time airflow changes, and enhancing dynamic response capability and stability.

[0048] Optionally, in this embodiment, the temperature difference value of the server module, i.e., the difference between the current temperature and the preset reference temperature, is collected periodically at a first frequency. A first proportional operation is performed on the temperature difference value to generate an initial airflow adjustment signal based on the proportional coefficient. A first integral operation is performed to accumulate past temperature deviations to reduce the steady-state error of the system and ensure long-term temperature stability. A first differential operation is performed to analyze the changing trend of the temperature difference value, predict and prevent possible temperature fluctuations, and improve the foresight and response speed of the control. The results of the above three operations are linearly combined, i.e., the results of the proportional, integral and differential operations are accumulated to generate the final reference airflow, which reflects the airflow level that the system should provide to achieve the reference temperature.

[0049] Optionally, in this embodiment, the current airflow of the fan and the reference airflow generated by the outer loop control are captured synchronously, and the airflow difference between the two is calculated. A second proportional operation is performed on the airflow difference at a second frequency to quickly respond to airflow deviations and adjust the fan speed in real time. A second integral operation is performed to accumulate past airflow deviations, eliminate long-term errors in airflow control, and ensure consistency between the actual fan airflow and the reference airflow. A second derivative operation is performed to monitor the changing trend of the airflow difference, predict changes in airflow demand, and adjust the fan speed in advance, enhancing the dynamic adaptability and stability of the control. The results of the proportional, integral, and derivative operations are summed to generate a reference speed, which guides the fan to adjust its speed in real time to accurately match airflow demand.

[0050] It should be noted that the inner loop control frequency (second frequency) is greater than the outer loop control frequency (first frequency), which not only speeds up the system's response to changes in air volume demand, but also improves the dynamic performance and stability of the control.

[0051] The embodiments provided in this application demonstrate that the outer-loop PID control, based on temperature difference, operates at a slower first frequency. Its focus is on ensuring the server module's temperature remains stable within the ideal operating range through proportional, integral, and derivative operations, while also considering energy consumption and stability during the control process. The inner-loop PID control, on the other hand, focuses more on precise airflow adjustment, operating at a higher second frequency. It rapidly responds to changes in airflow demand through proportional operations, eliminates long-term errors in airflow control through integral operations, and predicts future changes in airflow demand through derivative operations. This allows for dynamic adjustment of the fan speed, ensuring that the actual airflow remains consistent with the reference airflow.

[0052] As an optional approach, the temperature difference is subjected to a first proportional operation, a first integral operation, and a first differential operation, including:

[0053] Using the first proportionality coefficient, the temperature difference is multiplied to obtain the result of the first proportionality calculation;

[0054] Using the first integral coefficient, the temperature difference is integrated over the first period to obtain the result of the first integral operation. The first period is the period corresponding to the first frequency.

[0055] Using the first differential coefficient, perform a differential operation on the temperature difference within the first cycle to obtain the result of the first differential operation.

[0056] Optionally, in this embodiment, the first proportional coefficient is the coefficient used to amplify the temperature difference in the outer-loop PID control. It directly reflects the degree of influence of the temperature deviation on the real-time adjustment of the reference airflow and is a key factor in controlling fast response. The first integral coefficient is the coefficient used to accumulate the temperature deviation in the outer-loop PID control, aiming to eliminate steady-state error and ensure that the temperature of the server module remains stable near the reference temperature, maintaining good control accuracy even during long-term operation. The first derivative coefficient is the coefficient used to capture the rate of change of the temperature difference in the outer-loop PID control. By differentiating the temperature difference, it predicts the trend of system temperature change, adjusts the reference airflow of the cooling fan in advance, and improves the foresight and dynamic response capability of the control.

[0057] Optionally, in this embodiment, the first cycle is the execution cycle of the outer loop PID control, which corresponds to the first frequency and determines the frequency and time interval at which the temperature difference is converted into the reference air volume. It is usually relatively long to ensure the stability of the control process and the effective utilization of resources.

[0058] Optionally, in this embodiment, a predetermined first proportional coefficient is used to multiply the detected temperature difference to generate an initial airflow adjustment signal, which reflects the immediate control requirements of the current temperature deviation. Through the first proportional calculation, the system can quickly respond to temperature changes and adjust the reference airflow of the cooling fan in real time, ensuring that the cooling system can react immediately when the server module temperature begins to rise, preventing the temperature from rising further.

[0059] Optionally, in this embodiment, within each first cycle, the accumulated temperature difference is integrated using a first integral coefficient to obtain an integral term output. This output accumulates over time, reflecting compensation for historical temperature deviations. The first integral operation aims to eliminate errors in the system under steady-state conditions, ensuring that the server module's temperature can remain stable near the reference temperature for a long period. Even when the external environment changes or the system load fluctuates, the accumulated deviation compensation can maintain good temperature control.

[0060] Optionally, in this embodiment, within each first cycle, the temperature difference is differentiated using a first differential coefficient to obtain a differential term output. This output reflects the rate of change of the temperature difference and predicts the trend of temperature change. The first differential operation enhances the dynamic performance of the control. By observing the real-time trend of the temperature difference, the system can predict possible fluctuations in the server module temperature in advance, thereby adjusting the reference airflow of the cooling fan before the actual temperature change, avoiding excessive temperature fluctuations, and improving the foresight of the control.

[0061] The embodiments provided in this application, by introducing proportional, integral and derivative operations, can not only respond quickly to temperature changes, but also ensure the long-term stability of the server module temperature. At the same time, it improves the dynamic response capability and predictive capability of the control, effectively solving the shortcomings of traditional control methods in terms of response speed, control accuracy and dynamic performance.

[0062] As an optional approach, the method further includes the following steps during the first proportional operation, first integral operation, and first differential operation of the temperature difference:

[0063] If the temperature difference between two consecutive cycles is greater than the first temperature difference threshold, the first differential coefficient is increased.

[0064] If the temperature difference between two consecutive cycles is less than the second temperature difference threshold, the first integral coefficient is reduced, where the second temperature difference threshold is less than the first temperature difference threshold.

[0065] Optionally, in this embodiment, the two consecutive cycles refer to two consecutive time periods within the first cycle, which can be understood as two consecutive sub-cycles within the first cycle.

[0066] Optionally, in this embodiment, the first temperature difference threshold is a preset upper limit of temperature difference. When the temperature difference exceeds this threshold, the system considers that there is a large temperature fluctuation or potential overheating risk, and it is necessary to enhance the sensitivity of differential operation in order to predict and prevent further deterioration of temperature.

[0067] Optionally, in this embodiment, the second temperature difference threshold is a preset lower limit of temperature difference. When the temperature difference is lower than this threshold, the system determines that the temperature of the server module has approached or reached the ideal working state, and it is necessary to reduce the cumulative effect of integral calculation in order to avoid temperature control oscillation caused by overcompensation.

[0068] Optionally, in this embodiment, when the system detects that the temperature difference exceeds the first temperature difference threshold for two consecutive cycles, this indicates that the server module temperature has fluctuated significantly or there is a potential risk of overheating. Under this condition, the system automatically increases the value of the first differential coefficient to improve the sensitivity of the differential operation, so as to more accurately capture the rate of change of the temperature difference, predict the future trend of the temperature, and thus adjust the reference airflow of the cooling fan in advance to avoid excessive temperature rise.

[0069] Optionally, in this embodiment, when the system detects that the temperature difference over two consecutive cycles is lower than the second temperature difference threshold, it indicates that the server module's temperature has approached or stabilized near the ideal reference temperature. In this case, the system automatically reduces the first integral coefficient to decrease the cumulative compensation effect of the integral operation, preventing temperature control oscillations caused by excessive cumulative compensation when the temperature approaches stability, thus ensuring high-quality maintenance of the temperature steady state.

[0070] The embodiments provided in this application enhance the adaptability and robustness of the control strategy by dynamically adjusting the first derivative coefficient and the first integral coefficient. Specifically, when the system detects that the temperature difference for two consecutive cycles exceeds the first temperature difference threshold, it automatically increases the first derivative coefficient to improve the sensitivity of the derivative operation, enabling a faster response to temperature changes, avoiding overheating risks, and ensuring the heat dissipation performance of the server module under sudden high loads or rapid changes in ambient temperature. When the temperature difference for two consecutive cycles is lower than the second temperature difference threshold, the system determines that the server module temperature has reached or is close to the ideal state, and automatically decreases the first integral coefficient to reduce the cumulative compensation of the integral operation, avoiding oscillations in the steady state of temperature control, and ensuring the temperature control accuracy and stability of the system during long-term operation.

[0071] As an optional approach, the airflow difference is subjected to a second proportional operation, a second integral operation, and a second differential operation, including:

[0072] Using the second proportional coefficient, the air volume difference is multiplied to obtain the result of the second proportional calculation.

[0073] Using the second integral coefficient, the air volume difference is integrally calculated within the second cycle to obtain the result of the second integral calculation. The second cycle is the cycle corresponding to the second frequency.

[0074] Using the second differential coefficient, perform differential calculation on the air volume difference within the second cycle to obtain the result of the second differential calculation.

[0075] Optionally, in this embodiment, the second proportional coefficient is the direct proportional gain used to adjust the airflow difference in the inner-loop PID control strategy, which determines the degree of immediate influence of the airflow difference on the fan reference speed, ensuring that the system can respond quickly to changes in airflow demand.

[0076] Optionally, in this embodiment, the second integral coefficient is the gain coefficient used to accumulate airflow deviation in the inner loop PID control, which aims to eliminate airflow error under steady-state control and ensure that the actual airflow can be maintained stably at the target reference airflow level for a long time, so as to provide consistent heat dissipation performance even under complex operating conditions such as changes in wind resistance or fluctuations in system load.

[0077] Optionally, in this embodiment, the second differential coefficient is the gain coefficient used in the inner loop PID control to capture the trend of air volume difference changes. By observing the instantaneous rate of change of air volume difference, the future changes in the fan's operating state are predicted, which enhances the dynamic response and predictive capabilities of the control, helps to avoid over- or under-control, and improves control accuracy.

[0078] Optionally, in this embodiment, the second cycle is the execution cycle of the inner loop PID control, which corresponds to the second frequency and determines the speed and time interval at which the air volume difference is converted into the fan reference speed. It is usually short to adapt to the rapidly changing air volume demand on the fan side and ensure high dynamic performance of the control.

[0079] Optionally, in this embodiment, during the inner-loop control process, a second proportional coefficient is used to multiply the actual detected airflow difference to generate a preliminary adjustment signal for the fan reference speed, reflecting the real-time changes in airflow demand. Through the second proportional calculation, the system can instantly capture changes in airflow demand, quickly adjust the reference speed of the cooling fan, ensure the fan's rapid response to airflow demand, and improve overall heat dissipation efficiency.

[0080] Optionally, in this embodiment, according to each second cycle, the accumulated airflow difference is integrated using a second integral coefficient to generate an integral term output, which is used to compensate for historical airflow deviations, reduce steady-state errors, and ensure that the actual airflow remains stable at the reference airflow level. The second integral operation enhances the accuracy of the system's steady-state airflow control. Even when changes in wind resistance or other factors cause airflow fluctuations, the system can ensure long-term stability and high accuracy of airflow control through compensation for accumulated deviations, avoiding unnecessary energy consumption and control oscillations.

[0081] Optionally, in this embodiment, within each second cycle, the airflow difference is differentiated using a second differential coefficient to obtain a differential term output, reflecting the changing trend of the airflow difference and predicting the future direction of the fan's operating state. The second differential operation improves the dynamic response capability of the inner loop control. By capturing the rate of change of the airflow difference, it can predict possible changes in airflow demand in advance, adjust the fan reference speed in a timely manner, avoid delays or over-control of airflow, and ensure the accuracy and stability of the fan's operating state.

[0082] Through the embodiments provided in this application, the second proportional, integral, and derivative operations in the inner loop control can not only respond quickly to changes in air volume demand and ensure that the working state of the cooling fan accurately matches the air volume demand, but also improve the long-term stability and control accuracy of the system through cumulative deviation compensation and trend prediction, effectively solving the problems of slow control response speed, low accuracy, and poor energy consumption control in the prior art.

[0083] As an optional approach, the method further includes the following steps during the second proportional operation, second integral operation, and second differential operation of the air volume difference:

[0084] If the air volume difference between two consecutive cycles is greater than the first air volume threshold, the second differential coefficient is increased.

[0085] If the air volume difference between two consecutive cycles is less than the second air volume threshold, the second integral coefficient is reduced, where the second air volume threshold is less than the first air volume threshold.

[0086] Optionally, in this embodiment, the two consecutive cycles refer to two consecutive time periods within the second cycle, which can be understood as two consecutive sub-cycles within the second cycle.

[0087] Optionally, in this embodiment, the first airflow threshold is a preset upper limit threshold for airflow difference, used to identify a significant increase in airflow demand or unstable fan operation. When the airflow difference detected within two consecutive control cycles exceeds this threshold, the system will increase a second differential coefficient to enhance the predictive ability of airflow change trends.

[0088] Optionally, in this embodiment, the second airflow threshold is a preset lower limit threshold for airflow difference. When the airflow difference is lower than this threshold, the system determines that the airflow demand has reached or is close to a stable state. This threshold is less than the first airflow threshold. When the airflow difference detected in two consecutive control cycles is lower than the second airflow threshold, the system will reduce the second integral coefficient to reduce the impact of cumulative compensation on the current airflow control and avoid unnecessary overreaction.

[0089] Optionally, in this embodiment, when the system detects that the airflow difference exceeds the first airflow threshold for two consecutive second cycles, it indicates a significant change in airflow demand or unstable fan operation, requiring improved prediction and response capabilities. In this case, the system automatically increases the value of the second differential coefficient to enhance the sensitivity of differential operations, more accurately capture the changing trend of the airflow difference, and thus adjust the reference speed of the cooling fan in advance. This ensures that the system can quickly respond to rapid changes in airflow demand, improving the dynamic response capability and stability of the control.

[0090] Optionally, in this embodiment, when the system detects that the airflow difference in two consecutive second cycles is lower than the second airflow threshold, it indicates that the airflow demand has approached or reached a stable state. At this time, it is necessary to reduce the cumulative compensation to avoid unnecessary oscillations during the control process. Under this condition, the system automatically reduces the second integral coefficient, thereby reducing the cumulative compensation effect of the integral operation. This ensures that when the airflow demand is stable, the system can reduce the impact of historical deviations, avoid overreaction, maintain the stability of the cooling fan's reference speed, and improve control accuracy and system stability.

[0091] The mechanism of dynamically adjusting the second derivative coefficient and the second integral coefficient, as provided in this application, further enhances the adaptability and robustness of the control strategy. When the system detects that the airflow difference between two consecutive cycles exceeds the first airflow threshold, it automatically increases the second derivative coefficient, improving the predictive capability and dynamic response speed of the inner-loop control. This ensures that the cooling system can react quickly and precisely adjust the fan speed to meet airflow demands and avoid overheating risks when airflow demand changes rapidly or the fan's operating state is unstable. When the airflow difference between two consecutive cycles is lower than the second airflow threshold, the system determines that the airflow demand is in a steady state and automatically decreases the second integral coefficient. This reduces the impact of historical deviation compensation, avoids control oscillations when airflow demand is close to stable, and maintains long-term stable operation of the system.

[0092] As an optional approach, before performing the second proportional operation, the second integral operation, and the second differential operation on the air volume difference, the method further includes:

[0093] Obtain the total airflow change and airflow change rate of the cooling fan over a historical time period;

[0094] The base frequency of the cooling fan is updated based on the rate of change of air volume and the total change of air volume to obtain the second frequency.

[0095] Optionally, in this embodiment, the historical time period refers to the time window used to analyze the trend of changes in the air volume of the cooling fan. This time window can be a recent fixed period used to obtain statistical information on changes in air volume and assist in frequency updates.

[0096] Optionally, in this embodiment, the total airflow change indicates the cumulative value of the airflow change of the cooling fan over a historical period, reflecting the long-term trend of airflow demand or fan operating status.

[0097] Optionally, in this embodiment, the airflow change rate indicates the speed at which the airflow of the cooling fan changes within a historical time period, that is, the amount of airflow change per unit time, reflecting the instantaneous rate of change of airflow demand or fan operating status.

[0098] Optionally, in this embodiment, the base frequency is the basic execution frequency of the cooling fan control, which is the initial frequency setting of the inner-loop PID control and can be adjusted within a certain range according to the actual needs of the system. The second frequency is the inner-loop PID control frequency updated based on the total amount and rate of change of airflow. Its value reflects the system's need to respond to real-time airflow changes. Dynamically adjusting the second frequency can improve the flexibility and efficiency of control.

[0099] Optionally, in this embodiment, the airflow change data of the cooling fan in the most recent historical time period is first collected, including the cumulative total airflow change and the rate of change, which serves as the basis for frequency updates. Through statistical analysis of the total airflow change and the rate of change, the system can identify the long-term trend and real-time rate of change of the cooling fan's operating status, providing data support for subsequent frequency updates and ensuring that the control strategy can adapt to changes in actual airflow demand.

[0100] Optionally, in this embodiment, based on the rate and total change in airflow, the system updates the base frequency of the cooling fan to obtain a second frequency, which better matches the actual cooling requirements. Through frequency updates, the system can dynamically adjust the execution frequency of the inner-loop PID control according to changes in the cooling fan's operating state. When the rate or total change in airflow is high, the system increases the second frequency to improve control response speed and ensure the cooling fan can quickly adapt to changes in airflow demand; conversely, when airflow changes tend to stabilize, the system reduces the second frequency to lower control energy consumption and resource usage while maintaining cooling efficiency.

[0101] The embodiments provided in this application further improve the intelligence level of the inner-loop PID control by introducing airflow change statistics and frequency update mechanisms. Through analysis of historical airflow data, the long-term trend and instantaneous rate of change of airflow demand can be intelligently identified, thereby dynamically adjusting the execution frequency of PID control, making the control strategy more precise and adaptable to rapidly changing heat dissipation needs.

[0102] As an optional approach, the base frequency of the cooling fan is updated based on the rate of change of airflow and the total change of airflow, resulting in a second frequency including:

[0103] The value obtained by subtracting the frequency gain coefficient of the cooling fan from the air volume change rate is determined as the first parameter value, and the value of the total air volume change is determined as the second parameter value.

[0104] The second frequency is obtained by adding the product of the first and second parameter values ​​to the fundamental frequency.

[0105] Optionally, in this embodiment, the frequency gain coefficient is a preset value used to measure the intensity of the influence of airflow change on the control frequency of the cooling fan. It determines the multiple relationship between the airflow change rate and the frequency adjustment amount, and is one of the parameters in the frequency update algorithm.

[0106] Optionally, in this embodiment, the first parameter value is used to represent the difference between the airflow change rate and the frequency gain coefficient, reflecting the adjustment requirements of the instantaneous airflow change rate on the current control frequency. The second parameter value is used to directly represent the cumulative total of airflow changes over a historical period, reflecting the impact of the long-term changing trend of the cooling fan's operating status on the control frequency.

[0107] Optionally, in this embodiment, the difference between the instantaneous airflow change rate and the frequency gain coefficient is calculated to obtain the first parameter value. If the instantaneous airflow change rate is higher than the frequency gain coefficient, the first parameter value is positive, indicating that the current control frequency needs to be increased; conversely, if the first parameter value is negative, it means that the control frequency may need to be decreased. The calculation of the first parameter value provides a quantitative basis for the instantaneous adjustment of the control frequency, ensuring that the control response of the cooling fan can keep up with the changes in instantaneous airflow demand and improve the dynamic performance of the control.

[0108] Optionally, in this embodiment, the cumulative total of airflow changes over a historical time period is directly used as the second parameter value to reflect the overall impact of long-term changes in the cooling fan's operating status on the control frequency. Determining the second parameter value enables the system to identify long-term trends in airflow demand, ensuring that adjustments to the control frequency are not limited to immediate changes in airflow demand but comprehensively consider long-term trends, thus enhancing the predictability and stability of the control strategy.

[0109] Optionally, in this embodiment, the first parameter value and the second parameter value are multiplied, and then the product is added to the current base frequency to update the second frequency. Through this product-based frequency update strategy, the system can combine the impact of instantaneous airflow changes (reflected by the first parameter value) with the impact of long-term airflow change trends (reflected by the second parameter value), intelligently adjusting the control frequency of the cooling fan. This allows for rapid response to changes in instantaneous airflow demand while also ensuring long-term control stability and energy efficiency.

[0110] The embodiments provided in this application introduce a frequency update mechanism based on the rate of change of airflow and the total change of airflow, thereby achieving adaptive optimization of the cooling fan control frequency. By combining the impact of instantaneous airflow changes with the impact of historical airflow change trends, and through simple yet effective mathematical calculations, dynamic frequency adjustment is achieved, ensuring that the cooling fan control strategy can both quickly respond to changes in instantaneous airflow demand and take into account long-term control stability and energy-saving requirements.

[0111] As an alternative approach, the method also includes:

[0112] When the current temperature is less than or equal to the reference temperature, control the cooling fan to rotate at the lowest speed;

[0113] When the current temperature is higher than the upper limit temperature, the cooling fan is controlled to rotate at the highest speed, where the upper limit temperature is higher than the reference temperature.

[0114] Optionally, in this embodiment, the minimum speed is the lowest set speed at which the cooling fan operates, typically used to reduce energy consumption and noise when the server temperature is below a reference temperature. The upper limit temperature is a preset threshold for exceeding the normal operating temperature; when the server component temperature exceeds this temperature, the system will trigger emergency cooling measures. The maximum speed is the maximum operating speed of the cooling fan under emergency cooling requirements, ensuring that the temperature can be quickly reduced when the server temperature exceeds the upper limit temperature, preventing hardware damage.

[0115] Optionally, in this embodiment, when the current temperature of the server is detected to be lower than or equal to the reference temperature, the cooling fan is set to operate at the lowest speed to reduce energy consumption and maintain low operating noise. When the server operating temperature is ideal, by minimizing the fan speed, the system achieves the goal of minimizing energy consumption and operating noise while ensuring effective heat dissipation, thereby improving server operating efficiency and user comfort.

[0116] Optionally, in this embodiment, when the system detects that the server's current temperature exceeds a preset upper limit, the cooling fan is immediately set to operate at its highest speed to quickly reduce the server temperature and prevent overheating damage. When the server temperature rises abnormally, the system can quickly respond to the risk of overheating through emergency cooling measures, avoiding potential damage to the server hardware and ensuring the server's stability and security.

[0117] The embodiments provided in this application utilize fan speed control logic based on a comparison of the current temperature with a preset reference temperature and an upper limit temperature. When the server's current temperature is lower than or equal to the preset reference temperature, the cooling fan will automatically reduce to its lowest speed. This strategy not only effectively reduces energy consumption but also decreases operating noise, improving the server's energy efficiency and user experience under normal operating conditions. Conversely, when the server component temperature abnormally rises, exceeding the preset upper limit temperature, the cooling fan is immediately set to its highest speed, triggering an emergency cooling mode to rapidly reduce the server temperature. This prevents hardware failures or performance degradation caused by overheating, ensuring stable server operation and data security under extreme conditions.

[0118] As an alternative, the aforementioned server module heat dissipation control method can be applied to a dual-closed-loop control scenario for dynamically frequency-adjustable server cooling fans. In this scenario, heat dissipation performance is a core element ensuring stable server operation. Currently, air cooling is the mainstream heat dissipation method in the server field, relying on precise control of fan speed to effectively dissipate system heat and ensure the server operates at a suitable temperature. With the continuous improvement of server performance and functions, heat dissipation control technology faces more stringent challenges, requiring not only fast and stable response but also minimizing energy consumption and saving controller computing resources. Optionally, one server heat dissipation control method involves the Board Management Controller (BMC) collecting the temperature of each component at fixed intervals, and then using the temperature as input for PID control within the BMC to determine the target fan speed. However, this method has significant shortcomings: firstly, it uses single-loop control, resulting in poor dynamic response and anti-interference capabilities; secondly, it uses fixed-frequency control, leading to slow response speed, and there is room for further optimization in energy consumption and resource utilization.

[0119] To address the aforementioned shortcomings, this embodiment adds an airflow sensor to the air outlet of each individual fan unit to achieve real-time and accurate airflow monitoring. Based on the collected component temperature, fan airflow, and fan speed, a dual-closed-loop PID control system is constructed. This system effectively overcomes the challenges of achieving a balance between rapid response and stable control in existing technologies, significantly enhancing its anti-interference capabilities. Simultaneously, the inner loop control frequency is adaptively adjusted based on the dynamic changes in the actual fan airflow, thus properly resolving the prominent issues of insufficient adaptive capability in existing fixed-frequency control technologies, comprehensively improving the intelligence and precision of cooling fan control.

[0120] Optionally, in this embodiment, an airflow sensor is added to the fan body, a corresponding drive communication circuit is added to the drive board circuit, and an airflow acquisition program, a PID inner loop control program, and a dynamic frequency adjustment program are added to the fan drive board. An airflow acquisition program, an airflow warning program, and a PID outer loop control program are added to the BMC.

[0121] Furthermore, a schematic diagram of a dual closed-loop PID control system architecture is shown below. Figure 3As shown, in the server, multiple temperature sensors (such as temperature sensor 1, temperature sensor 2, temperature sensor 3, etc.) are responsible for detecting the temperature at different locations within the server and transmitting the temperature information to the BMC (Baseboard Management Controller). The BMC, acting as an intermediate management unit, receives this temperature data and interacts with the fan control board. The fan control board then controls multiple fans (such as fan 1, fan 2, fan 3, etc.) based on the received information to regulate the temperature within the server. Simultaneously, multiple airflow sensors (such as airflow sensor 1, airflow sensor 2, airflow sensor 3, etc.) detect the fan airflow and feed this information back to the fan control board, forming a closed-loop temperature and airflow control system to ensure the server operates stably in a suitable temperature environment.

[0122] Specifically, in this embodiment, each temperature sensor collects the temperature of each component in real time and sends the temperature data to the BMC; the BMC periodically obtains the temperature of each component and uses the difference between the actual temperature and the target temperature of the component as the input to perform outer-loop PID control, the specific algorithm of which is shown in formula (1):

[0123] (1)

[0124] Among them, K p K i Kd and Kd are the proportional, integral, and derivative coefficients, respectively, which are obtained by optimization based on the actual system; E(k) is the difference between the component temperature and the target temperature at time K; T is the cycle of the BMC executing the outer loop PID control; Q(k) is the output value of the outer loop PID control, i.e., the target air volume of the fan.

[0125] Furthermore, the BMC sends the target airflow to the fan control board, which then sends the target airflow to each fan.

[0126] Furthermore, airflow sensors are added at the air outlets of each fan. The actual airflow of the fan is obtained by the airflow sensor, and the target airflow is obtained by the fan control board. The difference between the actual airflow and the target airflow is used as the input. Inner-loop PID control is performed in the MCU of the fan drive board. The specific algorithm is shown in formula (2):

[0127] (2)

[0128] Among them, K p K iKd and Kd are the proportional, integral, and derivative coefficients, respectively, which are obtained through optimization based on the actual system. The PID coefficients of this inner loop are different from those of the outer loop and are unrelated. E(k) is the difference between the actual airflow and the target airflow of the fan at time K. T is the period of the fan executing the inner loop PID control. The control period of this inner loop is different from that of the outer loop, and the control period of the inner loop is generally shorter than that of the outer loop. N(k) is the output value of the inner loop PID control, i.e., the target speed of the fan.

[0129] Furthermore, the fan controls itself based on the obtained target speed.

[0130] The fan sends the real-time airflow to the fan control board, which then sends the actual airflow of each fan to the BMC. The BMC monitors the airflow of each cooling fan in this way, and can issue timely fault warnings if the fan airflow is abnormal.

[0131] It is understandable that, through the above dual closed-loop PID control, the outer loop control is executed in the BMC, that is, the air volume is obtained from the temperature, and the inner loop control is executed in the fan, that is, the speed is obtained from the air volume. In the control method, the inner loop control is high-frequency adjustment, which can quickly suppress fan-side disturbances (such as sudden changes in duct resistance and airflow fluctuations). When the actual air volume deviates from the target, the inner loop quickly adjusts the fan speed through PID. In the control method, the outer loop control is low-frequency adjustment, which is beneficial to the steady-state accuracy control of temperature, so as to avoid temperature fluctuations and overshoot.

[0132] Optionally, when encountering sudden changes in system duct resistance or load, the system's demand for airflow often changes dramatically, requiring a higher control frequency to respond promptly. During stable system operation, low-frequency control is sufficient, and it not only saves computational resources but also reduces energy consumption. Therefore, to address these issues, a method based on the rate of change of airflow to drive the inner loop control frequency to dynamically adapt is proposed, as shown in formula (3):

[0133] (3)

[0134] Among them, f base The inner loop base control frequency is adjusted according to the actual system, and its value is usually greater than the outer loop control frequency; K is the airflow change rate minus the frequency gain coefficient, which can be determined by adjustment according to the actual system; Q(k) and Q(k-1) are the actual airflow of the fan at time K and time K-1, respectively; f in This is the actual control frequency of the inner loop, where f can be adjusted according to the actual situation of the system. in The size is limited to ensure that the maximum and minimum control frequencies of the inner loop both meet the actual system requirements.

[0135] To further illustrate, a schematic diagram of a dual closed-loop control method for a dynamically frequency-adjustable server cooling fan is shown below. Figure 4 As shown, the specific steps include:

[0136] BMC acquires component temperature and fan airflow: The Baseboard Management Controller (BMC) first collects information on the temperature of server components and the airflow of fans.

[0137] Determine if the component temperature is higher than the preset temperature: If "No", the fan runs at the lowest speed, and the process returns to the "BMC obtains component temperature and fan airflow" step for the next round of detection and control. If "Yes", proceed to the next judgment step.

[0138] Determine if the fan airflow triggers a system alarm: If "yes", the system alarms, the fan runs at full speed, and the process returns to the "BMC obtains component temperature and fan airflow" step. If "no", proceed to the next step.

[0139] The BMC performs PID outer loop control at a fixed frequency to output the target air volume: The BMC performs proportional-integral-derivative (PID) outer loop control at a fixed frequency to calculate and output the target air volume.

[0140] Fan obtains target airflow and actual airflow: The fan receives the target airflow output by the BMC and obtains its own actual airflow.

[0141] The inner loop control frequency is obtained based on the dynamic frequency modulation algorithm: The frequency required for inner loop control is calculated based on the target air volume and the actual air volume using the dynamic frequency modulation algorithm.

[0142] The fan performs PID inner loop control based on the calculated inner loop control frequency: The fan performs PID inner loop control according to the calculated inner loop control frequency.

[0143] The fan controls its speed and feeds back the actual airflow to the BMC: The fan completes the speed adjustment and feeds back the actual airflow to the BMC. Then the process returns to the step of "BMC obtains component temperature and fan airflow", and continues to cycle through the control of server temperature and fan airflow.

[0144] Understandably, the BMC first judges based on the acquired component temperature. If the temperature is lower than the preset temperature, the fan operates at its lowest speed; if the temperature is higher than the preset temperature, heat dissipation regulation is required. Furthermore, if the temperature is higher than the preset temperature, the BMC performs a warning judgment based on the acquired fan airflow. If the warning condition is triggered, the system issues a fault alarm and controls the fan to run at full speed; if the warning is not triggered, PID outer loop control is further executed. The warning condition can be set by the user or developer according to actual conditions, for example, setting a minimum fan airflow K1. If the actual airflow K2 is less than K1, a system alarm is triggered. This warning effectively avoids heat dissipation risks caused by unexpected situations such as system airflow blockage, fan stall, and broken or missing fan blades. Further, the BMC performs PID outer loop control at a fixed control frequency, outputting the target fan airflow, and sends the target airflow to each fan through the system fan control board. Furthermore, based on the actual air volume, the fan uses a dynamic frequency modulation control algorithm to solve for the inner loop control frequency, and performs PID inner loop control based on this frequency to solve for the fan speed and achieve the final control. At the same time, the actual air volume of the fan is sent to the BMC through the system fan control board.

[0145] The embodiments provided in this application implement low-frequency outer-loop control in the BMC to ensure steady-state temperature accuracy; high-frequency inner-loop control is implemented in the fan to quickly respond to fan-side disturbances. An airflow sensor is added to the fan to acquire real-time airflow data, and an airflow warning mechanism is added to the BMC to enhance external interference resistance. Dynamic adjustment of the inner-loop control frequency based on the rate of change of airflow enhances the control's adaptive capability.

[0146] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of this application.

[0147] This embodiment also provides a data storage device for edge nodes, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0148] Figure 5 This is a structural block diagram of a heat dissipation control device according to an embodiment of this application, such as... Figure 5 As shown, the device includes:

[0149] The first acquisition unit 502 is used to acquire the temperature difference between the current temperature and the reference temperature when the current temperature of the server module is greater than the reference temperature.

[0150] The first arithmetic unit 504 is used to perform a first linear combination operation on the temperature difference to obtain the reference airflow of the cooling fan. The first linear combination operation is used to indicate the proportional, integral and differential operations on the temperature difference, and the cooling fan is used to dissipate heat from the server module.

[0151] The second acquisition unit 506 is used to acquire the airflow difference between the current airflow and the reference airflow of the cooling fan.

[0152] The second calculation module 508 is used to perform a second linear combination calculation on the air volume difference to obtain the reference speed of the cooling fan. The second linear combination calculation is used to indicate the proportional, integral and differential calculations on the air volume difference.

[0153] The control unit 510 is used to control the rotation of the cooling fan according to a reference speed.

[0154] As an optional solution, the first arithmetic unit 504 includes:

[0155] The first calculation module is used to perform a first proportional calculation, a first integral calculation, and a first differential calculation on the temperature difference according to a first frequency.

[0156] The first accumulation module is used to accumulate the results of the first proportional operation, the first integral operation, and the first differential operation to obtain the reference air volume;

[0157] The second arithmetic unit 508 includes:

[0158] The second calculation module is used to perform a second proportional calculation, a second integral calculation, and a second differential calculation on the air volume difference according to the second frequency.

[0159] The second accumulation module is used to accumulate the results of the second proportional operation, the second integral operation, and the second differential operation to obtain the reference rotational speed, wherein the second frequency is greater than the first frequency.

[0160] As an optional solution, the first computation module includes:

[0161] The first calculation submodule is used to perform a product operation on the temperature difference using a first proportional coefficient to obtain the result of the first proportional operation.

[0162] The second calculation submodule is used to perform an integral calculation on the temperature difference within a first cycle using the first integral coefficient, and obtain the result of the first integral calculation. The first cycle is the cycle corresponding to the first frequency.

[0163] The third calculation submodule is used to perform differential calculation on the temperature difference within the first cycle using the first differential coefficient, and obtain the result of the first differential calculation.

[0164] As an optional solution, the device also includes:

[0165] The first adjustment module is used to increase the first differential coefficient when the temperature difference is detected to be greater than the first temperature difference threshold for two consecutive cycles during the first proportional operation, the first integral operation and the first differential operation of the temperature difference.

[0166] The second adjustment module is used to reduce the first integral coefficient when the temperature difference is detected to be less than the second temperature difference threshold during the first proportional operation, the first integral operation and the first differential operation of the temperature difference value. The second temperature difference threshold is less than the first temperature difference threshold.

[0167] As an optional solution, the second computing module includes:

[0168] The fourth calculation submodule is used to perform a product operation on the air volume difference using the second proportional coefficient to obtain the result of the second proportional operation;

[0169] The fifth calculation submodule is used to perform an integral calculation on the air volume difference within the second cycle using the second integral coefficient, and obtain the result of the second integral calculation. The second cycle is the cycle corresponding to the second frequency.

[0170] The sixth calculation submodule is used to perform differential calculation on the air volume difference within the second cycle using the second differential coefficient, and obtain the result of the second differential calculation.

[0171] As an optional solution, the device also includes:

[0172] The third adjustment module, during the process of performing the second proportional operation, the second integral operation, and the second differential operation on the air volume difference, increases the second differential coefficient when it detects that the air volume difference for two consecutive cycles is greater than the first air volume threshold.

[0173] The fourth adjustment module, during the process of performing the second proportional operation, the second integral operation, and the second differential operation on the air volume difference, reduces the second integral coefficient when it detects that the air volume difference for two consecutive cycles is less than the second air volume threshold, wherein the second air volume threshold is less than the first air volume threshold.

[0174] As an optional solution, the device also includes:

[0175] The acquisition module is used to acquire the total air volume change and air volume change rate of the cooling fan during the historical time period before performing the second proportional operation, the second integral operation and the second differential operation on the air volume difference.

[0176] The update module is used to update the base frequency of the cooling fan based on the airflow change rate and the total airflow change before performing the second proportional operation, the second integral operation and the second differential operation on the airflow difference, so as to obtain the second frequency.

[0177] As an optional solution, the update module includes:

[0178] The first determining submodule is used to determine the value obtained by subtracting the frequency gain coefficient of the cooling fan from the air volume change rate as the first parameter value, and to determine the value of the total air volume change as the second parameter value.

[0179] The second determining submodule is used to obtain the second frequency by adding the product of the first parameter value and the second parameter value to the fundamental frequency.

[0180] As an optional solution, the device also includes:

[0181] The first control module is used to control the cooling fan to rotate at the minimum speed when the current temperature is less than or equal to the reference temperature.

[0182] The second control module is used to control the cooling fan to rotate at its maximum speed when the current temperature is higher than the upper limit temperature, where the upper limit temperature is higher than the reference temperature.

[0183] Specific examples in this embodiment can be found in the examples described in the above embodiments and exemplary implementations, and will not be repeated here.

[0184] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of this application.

[0185] It should be noted that the above modules can be implemented by software or hardware. For the latter, they can be implemented in the following ways, but are not limited to: all the above modules are located in the same processor; or, the above modules are located in different processors in any combination.

[0186] Embodiments of this application also provide a computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the steps in any of the above method embodiments when run.

[0187] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.

[0188] Embodiments of this application also provide an electronic device, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.

[0189] In one exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.

[0190] Embodiments of this application also provide a computer program product, including a non-volatile computer-readable storage medium storing the computer program product, wherein the computer program, when executed by a processor, implements the steps of the methods in various embodiments of this application.

[0191] Specific examples in this embodiment can be found in the examples described in the above embodiments and exemplary implementations, and will not be repeated here.

[0192] Obviously, those skilled in the art should understand that the modules or steps of this application described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those presented here, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, this application is not limited to any particular hardware and software combination.

[0193] The above are merely preferred embodiments of this application and are not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the principles of this application should be included within the protection scope of this application.

Claims

1. A heat dissipation control method, characterized in that, include: If the current temperature of the server module is greater than the reference temperature, obtain the temperature difference between the current temperature and the reference temperature; According to the first frequency, the temperature difference is subjected to a first proportional operation, a first integral operation, and a first differential operation; The results of the first proportional operation, the first integral operation, and the first differential operation are summed to obtain the reference airflow of the cooling fan, which is used to dissipate heat from the server module. Obtain the airflow difference between the current airflow of the cooling fan and the reference airflow; Having obtained the initial second frequency of the cooling fan, the initial second frequency is updated according to the following formula: , Among them, f in f is the second frequency after the cooling fan is updated. base Let K be the initial second frequency, K be the airflow change rate - frequency gain coefficient, Q(k) be the actual airflow of the cooling fan at time K, and Q(k-1) be the actual airflow of the cooling fan at time K-1. According to the updated second frequency, the air volume difference is subjected to a second proportional operation, a second integral operation, and a second differential operation, wherein the updated second frequency is greater than the first frequency; The results of the second proportional operation, the second integral operation, and the second differential operation are summed to obtain the reference rotational speed; The cooling fan is controlled to rotate according to the reference rotation speed.

2. The method according to claim 1, characterized in that, The first proportional operation, the first integral operation, and the first differential operation on the temperature difference include: Using a first proportionality coefficient, the temperature difference is multiplied to obtain the result of the first proportionality calculation; Using a first integral coefficient, the temperature difference is integrally calculated over a first period to obtain the result of the first integral calculation, where the first period is the period corresponding to the first frequency. Using the first differential coefficient, perform a differential operation on the temperature difference within the first cycle to obtain the result of the first differential operation.

3. The method according to claim 2, characterized in that, In the process of performing the first proportional operation, the first integral operation, and the first differential operation on the temperature difference value, the method further includes: If the temperature difference value of two consecutive cycles is detected to be greater than the first temperature difference threshold, the first differential coefficient is increased; If the temperature difference value of two consecutive cycles is detected to be less than the second temperature difference threshold, the first integral coefficient is reduced, wherein the second temperature difference threshold is less than the first temperature difference threshold.

4. The method according to claim 1, characterized in that, The second proportional operation, the second integral operation, and the second differential operation on the air volume difference include: Using the second proportional coefficient, the air volume difference is multiplied to obtain the result of the second proportional calculation; Using the second integral coefficient, the air volume difference is integrally calculated over the second period to obtain the result of the second integral calculation, where the second period is the period corresponding to the second frequency. Using the second differential coefficient, perform a differential operation on the air volume difference within the second cycle to obtain the result of the second differential operation.

5. The method according to claim 4, characterized in that, In the process of performing the second proportional operation, the second integral operation, and the second differential operation on the air volume difference, the method further includes: If the air volume difference between two consecutive cycles is greater than the first air volume threshold, the second differential coefficient is increased. If the airflow difference between two consecutive cycles is less than the second airflow threshold, the second integral coefficient is reduced, wherein the second airflow threshold is less than the first airflow threshold.

6. The method according to any one of claims 1 to 5, characterized in that, The method further includes: When the current temperature is less than or equal to the reference temperature, the cooling fan is controlled to rotate at the lowest speed. When the current temperature is greater than the upper limit temperature, the cooling fan is controlled to rotate at the highest speed, wherein the upper limit temperature is greater than the reference temperature.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Speed regulation method, speed regulation device and equipment of server fan and medium

    CN115263793A

  • Constant-temperature and constant-humidity test chamber temperature control system based on multistage PID algorithm and control method of constant-temperature and constant-humidity test chamber temperature control system

    CN120540037A