Heat dissipation control method and electronic device

By setting a temperature and speed balance range for heat-generating components in high-density servers and 5G base stations, and combining PWM and PID control, the problems of unstable speed and slow response in traditional fan control methods are solved, achieving stable and efficient heat dissipation.

CN120821349BActive Publication Date: 2025-12-05INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511343277.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-09-19
Publication Date
2025-12-05
Estimated Expiration
2045-09-19

AI Technical Summary

Technical Problem

Traditional fan control methods in high-density servers and 5G base stations suffer from problems such as fan speed oscillation caused by temperature fluctuations, increased noise, shortened lifespan, and untimely response, especially in terms of unclear fan speed calculation and insufficient fan speed stability within the temperature stable range.

Method used

By setting temperature and speed equalization ranges for each heat-generating component, and using pulse width modulation (PWM) and proportional-integral-derivative (PID) control, the fan speed is dynamically adjusted to ensure stable output within the temperature range and timely response to temperature changes.

Benefits of technology

This achieves stable fan speed, reduces noise fluctuations, extends fan lifespan, improves heat dissipation efficiency, and ensures stable system operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120821349B_ABST
    Figure CN120821349B_ABST
Patent Text Reader

Abstract

The application discloses a heat dissipation control method and electronic equipment, and relates to the technical field of heat dissipation. The method comprises the following steps: verifying the temperatures of the previous n time points of a heat generating component at the current time point according to a temperature equalization interval, and outputting the heat dissipation parameters of the heat dissipation components at the previous n time points of the heat generating component; in response to the temperatures of the previous n time points of the heat generating component being all in the temperature equalization interval of the heat generating component, determining the rotation speed equalization interval corresponding to the current time point of the heat generating component according to the heat dissipation parameters of the heat generating component at the current time point; correcting the heat dissipation parameters output at the next m time points of the current time point of the heat generating component according to the rotation speed equalization interval and the temperature equalization interval corresponding to the current time point of the heat generating component; and controlling the heat dissipation components according to the maximum value in the heat dissipation parameters corresponding to each time point of the multiple heat generating components, so as to dissipate heat from the server through the heat dissipation components. The application can maintain the stability of the fan rotation speed, reduce the noise fluctuation, prolong the service life of the fan, and improve the heat dissipation efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of heat dissipation technology, and in particular to a heat dissipation control method and electronic device. Background Technology

[0002] Currently, with the widespread adoption of high-density servers, 5G base stations, and other equipment, cooling systems face higher demands; however, traditional fan control suffers from the following problems:

[0003] Temperature fluctuations cause fan speed oscillations: Small temperature changes trigger frequent adjustments by the proportional-integral-derivative (PID) controller, leading to unstable fan speed, increased noise, and shortened lifespan. When the temperature of the heat-generating component enters a stable temperature range, the relationship between the calculated speed value and the fan output is not clearly defined. If the temperature changes abruptly, the fan response will be untimely.

[0004] Setting only the temperature hysteresis range (e.g., ±2℃) without considering the stability of the fan speed itself may cause the speed to jump due to sudden load changes; at the same time, fixed temperature parameters cannot adapt to the thermal characteristics of the server at different working stages (e.g., startup, full load). Summary of the Invention

[0005] This application provides a heat dissipation control method and electronic device. The method includes determining a temperature equilibrium range corresponding to a heat-generating component based on a target temperature value of any heat-generating component; verifying the temperature of the heat-generating component at the current moment for the previous n moments based on the temperature equilibrium range, and outputting the heat dissipation parameters of the heat dissipation component at the previous n moments, where n is an integer greater than 1; responding to the fact that the temperature of the heat-generating component at the previous n moments is within the temperature equilibrium range, determining the rotation speed equilibrium range corresponding to the current moment of the heat-generating component based on the heat dissipation parameters at the current moment; correcting the heat dissipation parameters output at the next m moments of the current moment of the heat-generating component based on the rotation speed equilibrium range and temperature equilibrium range corresponding to the current moment of the heat-generating component, obtaining the heat dissipation parameters corresponding to the next m moments of the heat-generating component, where m is an integer greater than 1; controlling the heat dissipation component based on the maximum value among the heat dissipation parameters corresponding to multiple heat-generating components at each moment, so as to dissipate heat from the server through the heat dissipation component. This application can maintain a stable fan speed, reduce noise fluctuations, extend fan life, and improve heat dissipation efficiency.

[0006] This application provides a heat dissipation control method applied to a controller in a server. The server also includes multiple heat-generating components and a fan (heat dissipation assembly). The method includes:

[0007] The temperature equilibrium range corresponding to the heating element is determined based on the target temperature value of any heating element.

[0008] The temperature of the heating component at the current moment is verified based on the temperature equalization range for the previous n moments, and the heat dissipation parameters of the heat dissipation component at the previous n moments are output, where n is an integer greater than 1.

[0009] In response to the fact that the temperature of the heating component has been within the temperature equilibrium range of the heating component for the previous n time moments, the rotational speed equilibrium range corresponding to the heating component at the current time moment is determined according to the heat dissipation parameters of the heating component at the current time moment.

[0010] Based on the rotational speed equalization range and temperature equalization range corresponding to the current moment of the heat-generating component, the heat dissipation parameters output by the heat-generating component at the next m moments are corrected to obtain the heat dissipation parameters corresponding to the heat-generating component at the next m moments, where m is an integer greater than 1.

[0011] The heat dissipation component is controlled according to the maximum value of the heat dissipation parameters corresponding to multiple heat-generating components at each moment, so as to dissipate heat from the server through the heat dissipation component.

[0012] This application also provides an electronic device (server) including multiple heat-generating components, a fan (heat dissipation assembly), and a heat dissipation controller, the heat dissipation controller being used for:

[0013] The temperature equilibrium range corresponding to the heating element is determined based on the target temperature value of any heating element.

[0014] The temperature of the heating component at the current moment is verified based on the temperature equalization range for the previous n moments, and the heat dissipation parameters of the heat dissipation component at the previous n moments are output, where n is an integer greater than 1.

[0015] In response to the fact that the temperature of the heating component has been within the temperature equilibrium range of the heating component for the previous n time moments, the rotational speed equilibrium range corresponding to the heating component at the current time moment is determined according to the heat dissipation parameters of the heating component at the current time moment.

[0016] Based on the rotational speed equalization range and temperature equalization range corresponding to the current moment of the heat-generating component, the heat dissipation parameters output by the heat-generating component at the next m moments are corrected to obtain the heat dissipation parameters corresponding to the heat-generating component at the next m moments, where m is an integer greater than 1.

[0017] The heat dissipation component is controlled according to the maximum value of the heat dissipation parameters corresponding to multiple heat-generating components at each moment, so as to dissipate heat from the server through the heat dissipation component.

[0018] This application also provides an electronic device, including: a memory for storing a computer program; and a processor for implementing a heat dissipation control method when executing the computer program, the method including:

[0019] The temperature equilibrium range corresponding to the heating element is determined based on the target temperature value of any heating element.

[0020] The temperature of the heating component at the current moment is verified based on the temperature equalization range for the previous n moments, and the heat dissipation parameters of the heat dissipation component at the previous n moments are output, where n is an integer greater than 1.

[0021] In response to the fact that the temperature of the heating component has been within the temperature equilibrium range of the heating component for the previous n time moments, the rotational speed equilibrium range corresponding to the heating component at the current time moment is determined according to the heat dissipation parameters of the heating component at the current time moment.

[0022] Based on the rotational speed equalization range and temperature equalization range corresponding to the current moment of the heat-generating component, the heat dissipation parameters output by the heat-generating component at the next m moments are corrected to obtain the heat dissipation parameters corresponding to the heat-generating component at the next m moments, where m is an integer greater than 1.

[0023] The heat dissipation component is controlled according to the maximum value of the heat dissipation parameters corresponding to multiple heat-generating components at each moment, so as to dissipate heat from the server through the heat dissipation component.

[0024] This application also provides a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements a heat dissipation control method, the method comprising:

[0025] The temperature equilibrium range corresponding to the heating element is determined based on the target temperature value of any heating element.

[0026] The temperature of the heating component at the current moment is verified based on the temperature equalization range for the previous n moments, and the heat dissipation parameters of the heat dissipation component at the previous n moments are output, where n is an integer greater than 1.

[0027] In response to the fact that the temperature of the heating component has been within the temperature equilibrium range of the heating component for the previous n time moments, the rotational speed equilibrium range corresponding to the heating component at the current time moment is determined according to the heat dissipation parameters of the heating component at the current time moment.

[0028] Based on the rotational speed equalization range and temperature equalization range corresponding to the current moment of the heat-generating component, the heat dissipation parameters output by the heat-generating component at the next m moments are corrected to obtain the heat dissipation parameters corresponding to the heat-generating component at the next m moments, where m is an integer greater than 1.

[0029] The heat dissipation component is controlled according to the maximum value of the heat dissipation parameters corresponding to multiple heat-generating components at each moment, so as to dissipate heat from the server through the heat dissipation component.

[0030] This application also provides a computer program product, including a computer program, wherein when the computer program is executed by a processor, it implements a heat dissipation control method, the method comprising:

[0031] The temperature equilibrium range corresponding to the heating element is determined based on the target temperature value of any heating element.

[0032] The temperature of the heating component at the current moment is verified based on the temperature equalization range for the previous n moments, and the heat dissipation parameters of the heat dissipation component at the previous n moments are output, where n is an integer greater than 1.

[0033] In response to the fact that the temperature of the heating component has been within the temperature equilibrium range of the heating component for the previous n time moments, the rotational speed equilibrium range corresponding to the heating component at the current time moment is determined according to the heat dissipation parameters of the heating component at the current time moment.

[0034] Based on the rotational speed equalization range and temperature equalization range corresponding to the current moment of the heat-generating component, the heat dissipation parameters output by the heat-generating component at the next m moments are corrected to obtain the heat dissipation parameters corresponding to the heat-generating component at the next m moments, where m is an integer greater than 1.

[0035] The heat dissipation component is controlled according to the maximum value of the heat dissipation parameters corresponding to multiple heat-generating components at each moment, so as to dissipate heat from the server through the heat dissipation component.

[0036] This application provides a method that includes: determining a temperature equilibrium range corresponding to a heat-generating component based on its target temperature value; verifying the temperature of the heat-generating component at the current moment for the previous n moments based on the temperature equilibrium range, and outputting the heat dissipation parameters of the heat dissipation component at the previous n moments, where n is an integer greater than 1; responding to the fact that the temperature of the heat-generating component at the previous n moments is within the temperature equilibrium range, determining the rotation speed equilibrium range corresponding to the current moment based on the heat dissipation parameters of the heat-generating component; correcting the heat dissipation parameters output at the next m moments based on the rotation speed equilibrium range and temperature equilibrium range corresponding to the current moment, obtaining the heat dissipation parameters corresponding to the next m moments, where m is an integer greater than 1; and controlling the heat dissipation component based on the maximum value among the heat dissipation parameters corresponding to multiple heat-generating components at each moment, so as to dissipate heat from the server through the heat dissipation component. This application can solve the problem of frequent speed adjustments caused by small changes in the temperature of heat-generating components, maintain stable fan speed, reduce noise fluctuations, extend fan life, and improve heat dissipation efficiency.

[0037] The technical solution of this application can clearly define that when the temperature is within the stable temperature range twice in a row, the speed output is based on the speed output during the first entry into the stable temperature range; it can also clearly define the speed value calculated by the proportional-integral-derivative controller and the corresponding relationship of the fan after the temperature enters the stable temperature range. When the temperature changes abruptly, the fan can still respond in time to avoid overheating of the heat-generating components and ensure stable operation of the system.

[0038] The technical solution of this application can avoid the limitation of a single temperature range. While setting the temperature hysteresis range, it also considers the stability of the rotation speed itself and sets a stable rotation speed range at the same time. Moreover, this stable rotation speed range is dynamically changing, which improves the dynamic adaptability of the fan response process. Attached Figure Description

[0039] To more clearly illustrate the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0040] Figure 1 A first flowchart of heat dissipation control provided in an embodiment of this application;

[0041] Figure 2 This is a flowchart illustrating the temperature calibration process for the heating element provided in an embodiment of this application.

[0042] Figure 3 This is a flowchart illustrating the first correction of fan speed for the heat-generating component provided in this application embodiment;

[0043] Figure 4 This is a flowchart illustrating the second correction of fan speed for the heat-generating component provided in this application embodiment;

[0044] Figure 5 Exemplary systems provided for embodiments of this application that can be used to implement the various embodiments of this application. Detailed Implementation

[0045] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of this application.

[0046] It should be noted that, in the description of this application, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. The terms "first," "second," etc., in this application are used to distinguish similar objects and are not used to describe a specific order or sequence.

[0047] To enable those skilled in the art to better understand the present application, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0048] Embodiments of this application provide a heat dissipation control method, such as... Figure 1 As shown, the method is applied to the controller in a server, which also includes multiple heat-generating components and a heat dissipation assembly. The method includes:

[0049] The temperature equilibrium range corresponding to the heating element is determined based on the target temperature value of any heating element.

[0050] The temperature of the heating component at the current moment is verified based on the temperature equalization range for the previous n moments, and the heat dissipation parameters of the heat dissipation component at the previous n moments are output, where n is an integer greater than 1.

[0051] In response to the fact that the temperature of the heating component has been within the temperature equilibrium range of the heating component for the previous n time moments, the rotational speed equilibrium range corresponding to the heating component at the current time moment is determined according to the heat dissipation parameters of the heating component at the current time moment.

[0052] Based on the rotational speed equalization range and temperature equalization range corresponding to the current moment of the heat-generating component, the heat dissipation parameters output by the heat-generating component at the next m moments are corrected to obtain the heat dissipation parameters corresponding to the heat-generating component at the next m moments, where m is an integer greater than 1.

[0053] The heat dissipation component is controlled according to the maximum value of the heat dissipation parameters corresponding to multiple heat-generating components at each moment, so as to dissipate heat from the server through the heat dissipation component.

[0054] It is understood that this application sets a temperature equalization range for the temperature of each heating component, and defines the correspondence between the calculated rotational speed and the output rotational speed after the heating component enters the temperature equalization range.

[0055] When the temperature is within the temperature equilibrium range for n consecutive times, the speed is locked, and the calculated speed is compared with the stable speed range, and the speed equilibrium range is updated in real time.

[0056] This application allows for the setting of different temperature and speed equalization ranges based on the temperature of the heating component, the power consumption ratio, and the ambient temperature.

[0057] Embodiments of this application provide a heat dissipation control method, such as... Figure 1 As shown, the method is applied to the controller in a server, which also includes multiple heat-generating components and a fan. The method includes:

[0058] Step S01: Determine the temperature equilibrium range corresponding to any heating element based on the target temperature value of any heating element.

[0059] Specifically, when calculating the pulse width modulation (PWM) temperature for each heat-generating component, a target temperature value Tαsp is set for that component α. A deviation value is taken within the range above and below the target temperature value, named the temperature equilibrium range [Tαsp-γ, Tαsp+γ]. When the temperature of the heat-generating component is controlled within this stable range, the component's performance, temperature, fan power consumption, noise, etc., reach an equilibrium value, all within acceptable limits. The temperature of heat-generating component α at time i is Tα. (i) The pulse width modulation (PWM) calculated by the proportional-integral-derivative (PID) controller at time i is PWMα. (i) Cal, the pulse width modulation (PWM) calculated by PID can accurately reflect the actual fan speed required for temperature changes in the heat-generating component, which is an important factor in ensuring that the heat-generating component does not overheat. The pulse width modulation (PWM) output at time i is defined as PWMα. (i) Out; PWMα (i) The larger the Out value, the faster the fan speed and the stronger the cooling capacity.

[0060] Step S011: Set the temperature equalization amplitude values ​​γ1 and γ2 for the heating components;

[0061] When the temperature T of the heating element is less than or equal to the first preset value T1 (60℃), the temperature equalization range of the heating element is set to [T1-γ1, T1];

[0062] When the temperature T of the heating element is greater than or equal to the first preset value T1 and less than or equal to the second preset value T2 (85℃), the temperature equilibrium range of the heating element is determined to be [T2-γ2, T2].

[0063] Specifically, the temperature equilibrium range determined according to the temperature of the heating component is a fixed value. However, when the heating component is in different temperature ranges, its heat dissipation risk and required rotational speed also vary. Therefore, the dynamic temperature equilibrium range can be matched in real time according to the temperature range where the heating component is located; find the corresponding temperature amplitude value γ according to the temperature range where Tα is located, and determine the temperature equilibrium range according to the γ value. The temperature equilibrium range is generally related to the target temperature value. Different target temperatures are set for the temperature of the heating component in different temperature ranges, and the maximum fan rotational speed value allowed to go out is set according to the target temperature range to avoid excessive fan rotational speed increase at low target temperatures.

[0064] When the temperature of the heating component is low, the real-time power consumption / TDP is low, and the ambient temperature is low, the heat dissipation risk is low. A wider temperature equilibrium range can be set to keep the temperature of the heating component within the temperature equilibrium range for a long time and reduce the adjustment of the rotational speed in a short time. When the temperature is low, the required fan rotational speed generally does not change much, and a wider rotational speed equilibrium range can be set to reduce the dynamic adjustment of the rotational speed. At this time, the change in the fan rotational speed corresponding to the low temperature is also relatively small. Even if the rotational speed is adjusted, the change amount will not be too large. When the temperature is high, the heat dissipation risk is high, and a narrower temperature equilibrium range and rotational speed equilibrium range need to be set so that the rotational speed can respond quickly when the temperature changes and reduce the risk of overheating. For example, the temperature specification of the heating component CPU is Tspec (Target Set Point). When the CPU temperature T ≤ T1, the temperature equilibrium range is set to [T1 - γ1, Tl], and the maximum rotational speed allowed to appear within this stability range is PWM1; when the CPU temperature of the heating component T1 ≤ T ≤ T2, the temperature equilibrium range is set to [T2 - γ2, T2], and the maximum rotational speed allowed to appear within this stability range is PWM2.

[0065] If the CPU temperature specification is 95°C, when the CPU temperature T ≤ 60°C, the temperature equilibrium range is set to [55°C, 60°C], and the maximum rotational speed allowed to appear within this stability range is 40% duty; when the CPU temperature 60°C < T ≤ 85°C, the temperature equilibrium range is set to [83°C, 85°C], and the maximum rotational speed allowed to appear within this stability range is 90% duty.

[0066] Step S02: Verify the temperatures of the previous n moments of the heating component at the current moment according to the temperature equilibrium range of the heating component.

[0067] Step S021: As Figure 2 shown, in the n sampling moments before the current moment i, when the temperature Tα of the heating component α at the i - n moment (i-n)If the temperature is outside the equilibrium range of the heating component, output the pulse width modulation value of the heating component α at time in, and determine the temperature Tα of the heating component α at time i-(n-1). (i-(n-1)) Is it within the temperature equilibrium range of the heating component?

[0068] If so, output the pulse width modulation value of the heating element α at time i-(n-1), and determine the temperature Tα of the heating element α at time i-2. (i-2) Is it within the temperature equilibrium range of the heating component?

[0069] If so, output the pulse width modulation value of the heating element α at time i-2, and determine the temperature Tα of the heating element α at time i-1. (i-1) Is it within the temperature equilibrium range of the heating component?

[0070] If so, output the pulse width modulation value of the heating element α at time i-1, and output the temperature Tα of the heating element α at time i. (i) Whether the temperature is within the uniform range of the heating element is determined;

[0071] If the temperature of the heating element α is not in the temperature equilibrium range of the heating element for the previous n time steps, then the pulse width modulation value corresponding to the heating element α for the previous n time steps is output.

[0072] Specifically, in the above scheme, stabilization operation begins as soon as the temperature enters the temperature equilibrium range. However, in actual operation, the temperature may fluctuate slightly. Therefore, the judgment condition for starting the stabilization operation can be further set. When the temperature falls within the temperature equilibrium range for n consecutive times, the temperature is considered to be gradually stabilizing, and the stabilization operation begins. The temperature falls within the temperature equilibrium range for n consecutive times, and the speed values ​​for these n times are PWM outputs based on real-time PID calculations. Each time the speed value is output based on the real-time calculation, it is equivalent to performing a verification. The PWM value corresponding to the heat-generating component calculated in the nth time is closer to the speed value required in the temperature equilibrium range, which can make the subsequent speed and temperature more stable and reduce the fluctuations of fan speed and heat-generating component temperature.

[0073] At the nth sampling time prior to the current time i, the measured temperature of the heating component α is Tα. (i-n) Assume Tα (i-n) If it is not within the temperature equilibrium range, further determination of Tα is needed. (i-(n-1)) Whether it is within the temperature equilibrium range. If it is not within the temperature equilibrium range, then the temperature of the heating component is not yet the desired temperature value, therefore PWMα is set. (i-(n-1)) Out=PWMα (i-(n-1)) Cal, the speed needs to be further increased or decreased; when Tα (i-(n-1))Within the temperature equilibrium range, it indicates that the temperature of the heating component first enters the temperature equilibrium range at time i, but temperature fluctuations may still occur. Therefore, it is still treated according to PWMα. (i-(n-1)) Out=PWMα (i-(n-1)) Cal; Similarly, it is judged sequentially. In each judgment, if the real-time temperature Tα of the heating component α is not within the temperature range, it means that the temperature deviates from the target temperature. Then, the calculated PWM real-time output is used, i.e., PWMαOut = PWMαCal; until Tα (i-(n-1)) , Tα (i-(n-2)) ... ... Tα (i-1) , Tα (i) The temperatures all fall within the temperature equilibrium range, meaning the temperature remains relatively stable for n consecutive cycles. PWMα (i) Out=PWMα (i) Cal, then at time i, during the nth consecutive entry into the temperature equilibrium range, and according to PWMα (i) Out specifies the corresponding fan speed balance range;

[0074] Step S03: Output the heat dissipation parameters (pulse width modulation values) of the heat dissipation component for the previous n time moments of the heat-generating component, where n is a positive integer greater than 1; wherein, the heat dissipation parameters are pulse width modulation values.

[0075] Step S031: Calculate the pulse width modulation values ​​of the heating element for the previous n moments based on the temperature of the heating element and the proportional-integral-derivative control.

[0076] Based on the temperature of the heating element and the pulse width modulation values ​​of the heating element at the previous n time points calculated by proportional-integral-derivative control, including:

[0077] The pulse width modulation (PWM) value (PID) is obtained by calculating the pulse width modulation value of the heating component at any time k and k-1 within the previous n time steps using proportional-integral-derivative control. (k-1) Temperature values ​​T of the heating element at times k, k-1, and k-2 (k) T (k-1) T (k-2) ;

[0078] Obtain the temperature difference term Kp(T) (k) -T (k-1) ), the integral term Ki(T) (k) -Tsp), differential term Kd(T (k) -2×T (k-1) +T (k-2) ), where Tsp is the temperature control point;

[0079] Through the formula: PWM_PID_Cal (k)=PWM_PID_Cal (k-1) +Kp(T (k) -T (k-1) )+Ki(T (k) -Tsp)+Kd(T (k) -2×T (k-1) +T (k-2) The pulse width modulation value PWM_PID_Cal of the heating component at time k is calculated using proportional-integral-derivative control. (k) ;

[0080] Among them, the pulse width modulation values ​​of the first n moments of the output of the heating component are all pulse width modulation values ​​calculated by the heating component based on the temperature of the heating component and the proportional-integral-derivative control for the first n moments.

[0081] Specifically, currently in servers, the main method for calculating the core temperature of heat-generating components is through a proportional-integral-derivative (PWM) controller: PWM_PID_Cal (k) =PWM_PID_Cal (k-1) +Kp(T (k) -T (k-1) )+Ki(T (k) -Tsp)+Kd(T (k) -2×T (k-1) +T (k-2) ), PWM_PID_Cal (k) The pulse width modulation (PWM) value calculated by PID at time k is PWM_PID_Cal. (k-1) The PWM value is calculated using PID control for this sensor at time (k-1), where Tsp is the set temperature control point, i.e., the maximum temperature the heating element is expected to reach during operation. (k) T (k-1) T (k-2) These are the sensor temperature values ​​at times k, k-1, and k-2, respectively.

[0082] Wherein Kp×[T (k) -T (k-1) [] represents the temperature difference term, indicating the difference between the temperature at time k and the temperature at time k-1. When the temperature of the heating component changes, this term can be used to make the fan respond quickly: when the temperature of the heating component increases, this term is positive, which can increase the corresponding fan speed; when the temperature of the heating component decreases, this term is negative, which can decrease the corresponding fan speed.

[0083] Ki(T (k)-Tsp) is the integral term, representing the difference between the temperature at time k and the control point temperature: when the temperature of the heating component is higher than the control point, this term is positive, which can increase the speed of the corresponding fan; when the temperature of the heating component is lower than the control point, this term is negative, which can decrease the speed of the corresponding fan; the control point Tsp in this term determines the stable value of the temperature during the control process.

[0084] Kd×[T (k) -2×T (k-1) +T (k-2) ] is the differential term, representing the temperature difference at time k and the temperature difference at time k-1, and the difference between the two.

[0085] Step S04: In response to the fact that the temperature of the heating component has been within the temperature equilibrium range of the heating component for the previous n times, the rotational speed equilibrium range corresponding to the heating component at the current time is determined according to the pulse width modulation value of the heating component at the current time.

[0086] Specifically, in the calculation process, it is assumed that Tα (i-1) If it is not within the temperature equilibrium range, further determination of Tα is needed. (i) Whether it is within the temperature equilibrium range; if it is not within the stable range, then the temperature of the heating component is not yet the desired temperature value, therefore PWMα is set. (i) Out=PWMα (i) Cal, the speed needs to be further increased or decreased; when Tα (i) Within the temperature equilibrium range, it indicates that the temperature of the heat-generating component begins to enter the temperature equilibrium range at time i, PWMα (i) Out=PWMα (i) Cal, and according to PWMα (i) Out defines the speed balance range.

[0087] Step S041: Set the rotational speed equalization amplitude value θ corresponding to the heating component based on the ambient temperature and power consumption of the heating component.

[0088] Define the heat-generating component as α, and set the pulse width modulation value of the heat-generating component at the current time i as PWMα. (i) ;

[0089] Based on the pulse width modulation value of the heating component at time i, the speed equalization range corresponding to the heating component at time i is set to [PWMα]. (i) Out-θ, PWMα (i) Out+θ).

[0090] Specifically, the stability range defined for PWM is a fixed value. When the temperature remains stable within the temperature equilibrium range, a range is defined for the rotational speed at this time as the stability range. Furthermore, the rotational speed range can be flexibly set according to the range of the rotational speed at this time.

[0091] The PWMα value remains relatively stable over n consecutive temperatures. (i) Out=PWMα (i) Cal, then at time i, the nth consecutive time the temperature equalization interval is entered, and according to PWMα (i) The value of Out is used to determine the corresponding speed amplitude value θ, and based on the speed amplitude value θ and PWMα... (i) Out defines the speed balance range;

[0092] For example, when the fan speed duty cycle is low, it indicates that the airflow requirement for heat dissipation of the heat-generating components is not high. At this time, the fan's power consumption and noise level are also relatively low. Even if the fan speed fluctuates within a certain range, the risk of overheating of the heat-generating components is relatively low, and the fan noise is also relatively low. The corresponding speed balance range can be set to a wider range to reduce speed adjustments in a short period of time. When the fan speed duty cycle is high, it indicates that the airflow requirement for heat dissipation of the heat-generating components is high, the risk of overheating of the heat-generating components is relatively high, and the noise level is also higher. The corresponding speed balance range can be set to a narrower range to allow the speed to respond quickly, reduce the risk of overheating, and the noise fluctuations corresponding to changes in fan speed are also smaller.

[0093] Furthermore, based on parameters such as the TDP of the heat-generating component, real-time power consumption, and ambient temperature, the γ value of the temperature equalization range and the θ value of the speed equalization range can be dynamically adjusted. When the ambient temperature is low and the real-time power consumption / TDP ratio is low, the heat dissipation risk is low, and a wider temperature equalization range can be set to keep the temperature within the temperature equalization range for a long time, reducing the speed adjustment in a short period of time. When the ambient temperature is high and the real-time power consumption / TDP ratio is high, the heat dissipation risk is high, and a narrower temperature equalization range and speed equalization range need to be set so that the speed can respond quickly when the temperature changes, reducing the risk of overheating.

[0094] Based on calculations, when the temperature remains within a stable range, the rotational speed is dynamically adjusted according to the real-time rotational speed value obtained from the temperature of the heating component via PID control. When the temperature changes slightly and the corresponding change in the required rotational speed is not significant, the rotational speed remains constant, ensuring rotational speed stability and noise balance. Furthermore, when the required rotational speed changes, the target rotational speed range is adjusted in a timely manner to ensure that the rotational speed can vary within a small range. This avoids the situation where the required rotational speed accumulates continuously in a single temperature equilibrium range setting, leading to a large jump in rotational speed when the temperature jumps out of the temperature equilibrium range.

[0095] Furthermore, based on the characteristics of the heating element, different temperature and rotation speed ranges can be set for the heating element, and different temperature equalization ranges (setting different γ values) and rotation speed equalization ranges (setting different θ values) can be set within different ranges.

[0096] Step S042: When the ambient temperature corresponding to the heating component is less than the third preset value (25°C) and the ratio of the power consumption of the heating component to the rated power consumption of the heating component is less than the fourth preset value (0.7), determine that the rotational speed equalization amplitude value corresponding to the heating component is the first threshold value (10);

[0097] When the ambient temperature corresponding to the heating component is between the third preset value and the fifth preset value (35°C) and the ratio of the power consumption of the heating component to the rated power consumption of the heating component is greater than the fourth preset value, determine that the rotational speed equalization amplitude value corresponding to the heating component is the second threshold value (3);

[0098] When the ambient temperature corresponding to the heating component is less than the third preset value and the ratio of the power consumption of the heating component to the rated power consumption of the heating component is greater than the fourth preset value, determine that the rotational speed equalization amplitude value corresponding to the heating component is the third threshold value (8);

[0099] When the ambient temperature corresponding to the heating component is between the third preset value and the fifth preset value and the ratio of the power consumption of the heating component to the rated power consumption of the heating component is less than the fourth preset value, determine that the rotational speed equalization amplitude value corresponding to the heating component is the fourth threshold value (2).

[0100] Specifically, an example of the dynamic value-taking of the rotational speed equalization interval:

[0101] The temperature specification of the heating component CPU is Tspec. When the ambient temperature Inlet is such that Inlet < Inlet1, and the ratio of the power consumption P of the heating component to the rated power consumption TDP (thermal design power) of the heating component is P / TDP < A, the rotational speed equalization amplitude value set within this temperature stabilization interval is θ1, that is, the rotational speed can be adjusted within the range of ±θ1%duty; when the ambient temperature Inlet is such that Inlet1 ≤ Inlet < Inlet2, and the ratio of the power consumption P of the heating component to the rated power consumption TDP of the heating component is P / TDP > A, the rotational speed equalization amplitude value set within this temperature stabilization interval is θ2, that is, the rotational speed can be adjusted within the range of ±θ2%duty;

[0102] For other scenarios where Inlet < Inlet1 and P / TDP > A, or where Inlet1 ≤ Inlet < Inlet2 and P / TDP < A, dynamic rotational speed equalization amplitude values can also be preset respectively

[0103] For example, when the ambient temperature is between 20-25℃, the CPU's TDP is 300W, and the CPU's real-time power consumption is 100W. Setting A=0.7, 150W / 300W=0.5<0.7, the corresponding speed balance amplitude value θ1 is set to 10, meaning the speed can be adjusted within ±10% duty. Similarly, when the ambient temperature is between 25-35℃, the CPU's TDP is 300W, and the CPU's real-time power consumption is 250W. Setting A=0.7, 250W / 300W=0.83>0.7, the corresponding speed balance amplitude value θ2 is set to 3, meaning the speed can be adjusted within ±3% duty.

[0104] Here, A refers to the ratio of the real-time power consumption of the heat-generating component to the maximum power consumption of the same component.

[0105] Step S05: Based on the rotational speed equalization range and temperature equalization range corresponding to the current moment of the heating component, the pulse width modulation value output by the heating component at the next m moments is corrected to obtain the pulse width modulation value corresponding to the heating component at the next m moments, where m is an integer greater than 1 and m can be equal to n.

[0106] Specifically, determine the temperature Tα of the heating component α at time i+1. (i+1) Is it within the temperature equilibrium range of the heating component?

[0107] If yes, then determine whether the pulse width modulation value of the heating component α at time i+1 is within the equalization range of the rotational speed i corresponding to the heating component at the current time; if no, then output the pulse width modulation value of the heating component α at time i+1 as the pulse width modulation value calculated by the proportional-integral-derivative control of the heating component α at time i+1.

[0108] The determination of whether the pulse width modulation value of the heating component α at time i+1 is within the equalization range of the rotational speed at the current time i corresponding to the heating component includes:

[0109] Determine whether the pulse width modulation value of the heating component α at time i+1 is within the equalization range of the rotational speed of the heating component at the current time i.

[0110] If so, then the pulse width modulation value corresponding to the next m times of the heating component is corrected according to the current time i speed equalization interval corresponding to the heating component, so as to obtain the pulse width modulation value corresponding to the next m times of the heating component.

[0111] If not, then the pulse width modulation value corresponding to the last m moments of the heating component is corrected according to the dynamic speed equalization range adjusted by the heating component at the last m moments, so as to obtain the pulse width modulation value corresponding to the last m moments of the heating component.

[0112] Step S051, as follows Figure 3 As shown, the pulse width modulation value of the heating element α at time i+1 is output as the pulse width modulation value of the heating element α at time i, and the temperature Tα of the heating element α at time i+2 is determined. (i+2) Is it within the temperature equilibrium range?

[0113] If yes, then determine whether the pulse width modulation value calculated by the proportional-integral-derivative control for the heating component at time i+2 is within the equalization range of the current speed i of the heating component; if no, then output the pulse width modulation value of the heating component at time i+2 as the pulse width modulation value calculated by the proportional-integral-derivative control for the heating component at time i+2.

[0114] In response to the pulse width modulation value calculated by proportional-integral-derivative control for the heating component at time i+2 falling within the equalization range of the heating component's current speed i, the pulse width modulation value of the heating component at time i+2 is output as the pulse width modulation value of the heating component at time i+1, and the temperature Tα of the heating component α at time i+3 is determined. (i+3) Is it within the temperature equilibrium range?

[0115] If yes, then determine whether the pulse width modulation value calculated by the proportional-integral-derivative control for the heating component at time i+3 is within the equalization range of the rotational speed at the current time i corresponding to the heating component; if no, then output the pulse width modulation value of the heating component at time i+3 as the pulse width modulation value calculated by the proportional-integral-derivative control for the heating component at time i+3.

[0116] In response to the pulse width modulation value calculated by the proportional-integral-derivative control at time i+3 being in the equalization range of the rotational speed at the current time i corresponding to the heating component, the pulse width modulation value of the heating component at time i+3 is output as the pulse width modulation value of the heating component at time i+2.

[0117] If the pulse width modulation value calculated by the proportional-integral-derivative control for the heating component at time i+3 is not in the equal speed range corresponding to the heating component at the current time i, then the pulse width modulation value of the heating component at time i+3 is output as the pulse width modulation value calculated by the proportional-integral-derivative control for the heating component at time i+3, and the equal speed range corresponding to the heating component at time i+3 is set according to the pulse width modulation value output by the heating component at time i+3.

[0118] In response to the fact that the pulse width modulation value calculated by the proportional-integral-derivative control for the heating component at time i+2 is not within the speed equalization range corresponding to the current time i of the heating component, the output pulse width modulation value of the heating component at time i+2 is the pulse width modulation value calculated by the proportional-integral-derivative control for the heating component at time i+2. The speed equalization range corresponding to the heating component at time i+2 is set based on the output pulse width modulation value of the heating component at time i+2, and the temperature Tα of the heating component α at time i+3 is also considered. (i+3) Determine whether it falls within the temperature equilibrium range.

[0119] Step S052, as follows Figure 4 As shown, the pulse width modulation value of the output heating component α at time i+1 is the pulse width modulation value calculated by proportional-integral-derivative control for the heating component α at time i+1. Based on the pulse width modulation value output by the heating component at time i+1, the rotational speed equalization range corresponding to the heating component at time i+1 is set, and the temperature Tα of the heating component α at time i+2 is determined. (i+2) Is it within the temperature equilibrium range?

[0120] If yes, then determine whether the pulse width modulation value calculated by the proportional-integral-derivative control for the heating component at time i+2 is within the speed equalization range corresponding to the heating component at time i+1; if no, then output the pulse width modulation value of the heating component at time i+2 as the pulse width modulation value calculated by the proportional-integral-derivative control for the heating component at time i+2.

[0121] In response to the pulse width modulation value calculated by the proportional-integral-derivative control of the heating component at time i+2 being in the speed equalization range corresponding to the heating component at time i+1, the output pulse width modulation value of the heating component at time i+2 is the pulse width modulation value of the heating component at time i+1.

[0122] If the pulse width modulation (PWM) value calculated by proportional-integral-derivative (PI-DI) control for the heating component at time i+2 is not within the speed equalization range corresponding to the heating component at time i+1, then the output PWM value for the heating component at time i+2 is the PWM value calculated by PI-DI control for the heating component at time i+2. Based on the PWM value output by the heating component at time i+2, the speed equalization range corresponding to the heating component at time i+2 is set, and the temperature Tα of the heating component α at time i+3 is determined. (i+3) Is it within the temperature equilibrium range?

[0123] If yes, then determine whether the pulse width modulation value calculated by the proportional-integral-derivative control for the heating component at time i+3 is within the speed equalization range corresponding to the heating component at time i+2; if no, then output the pulse width modulation value of the heating component at time i+3 as the pulse width modulation value calculated by the proportional-integral-derivative control for the heating component at time i+3.

[0124] In response to the fact that the pulse width modulation value calculated by the proportional-integral-derivative control for the heating component at time i+3 is in the speed equalization range corresponding to the heating component at time i+2, the output pulse width modulation value of the heating component at time i+3 is the pulse width modulation value of the heating component at time i+2.

[0125] If the pulse width modulation value calculated by the proportional-integral-derivative control for the heating component at time i+3 is not in the speed equalization range corresponding to the heating component at time i+2, then the pulse width modulation value of the heating component at time i+3 is output as the pulse width modulation value calculated by the proportional-integral-derivative control for the heating component at time i+3, and the speed equalization range corresponding to the heating component at time i+3 is set according to the pulse width modulation value output by the heating component at time i+3.

[0126] Specifically, determine Tα (i+1) Whether it is within the temperature equilibrium range. If it is not within the temperature equilibrium range, it means that the temperature has deviated far from the target temperature. Therefore, PWMα... (i+1) Out=PWMα (i+1) Cal, to perform real-time PWM output; if Tα (i+1) Within the temperature equilibrium range, further determination of PWMα is then made. (i+1) If Cal is within the speed balance range, and if it is, it indicates that the required speed does not change significantly, then PWMα... (i+1) Out=PWMα (i) If PWMα remains unchanged, the output PWM will retain the previous output value; if PWMα (i+1) If Cal is not in the speed balance range, it means that the required fan speed has deviated significantly, then PWMα (i+1) Out=PWMα (i+1) Cal, the output is based on the real-time calculated PWM, and since the temperature is still within the temperature equilibrium range at this time, according to PWMα (i+1) Out defines a new speed balance range;

[0127] Furthermore, determine Tα (i+2) Whether it is within the temperature equilibrium range. If it is not within the temperature equilibrium range, it means that the temperature has deviated far from the target temperature. Therefore, PWMα... (i+2)Out=PWMα (i+2) Cal, to perform real-time PWM output; if Tα (i+2) Within the temperature equilibrium range, further determination of PWMα is then made. (i+2) If Cal is within the speed equilibrium range at this time, it means that the required speed does not change significantly. Therefore, PWMα... (i+2) Out=PWMα (i+1) If PWMα remains unchanged, the output PWM will retain the previous output value; if PWMα (i+2) If Cal is not in the speed balance range, it means that the required fan speed has deviated significantly, then PWMα (i+2) Out=PWMα (i+2) Cal, the output is based on the real-time calculated PWM, and since the temperature is still within the temperature equilibrium range at this time, according to PWMα (i+2) Out defines a new speed balance range.

[0128] Step S06: Control the heat dissipation component according to the maximum value of the heat dissipation parameters (pulse width modulation value) corresponding to multiple heat-generating components at each moment, so as to dissipate heat from the server through the heat dissipation component.

[0129] Specifically, through the combined action of different sensors, the PWM of each heat-generating component is aggregated at any given moment. (i) The maximum value of the output is taken and sent to the heat dissipation component (fan) to ensure that the temperature of each heat-generating component is controlled within a reliable range through the coordinated action of PID calculation.

[0130] Here, PWM refers to the fan speed calculated by the controller BMC based on the temperature, represented by pulse width modulation PWM. PWM is a base-255 system (corresponding to 100% fan duty). For example, if the calculated PWM is 51, the corresponding fan duty is 51 / 2.55 = 20% duty.

[0131] This application addresses the problem of frequent speed adjustments caused by minor temperature changes in heat-generating components, ensuring stable fan speed, reducing noise fluctuations, and extending fan lifespan. It also establishes criteria for determining when a temperature is within a stable range and defines the relationship between the PID-calculated speed value and the fan output once the temperature is within a stable range. This allows the fan to respond promptly to sudden temperature changes, preventing overheating of heat-generating components and ensuring stable system operation.

[0132] The technical solution of this application can avoid the limitation of a single temperature range. While setting the temperature hysteresis range, it also considers the stability of the rotation speed itself and sets a stable rotation speed range at the same time. Moreover, this stable rotation speed range is dynamically changing, which improves the dynamic adaptability of the fan response process.

[0133] Furthermore, the heat dissipation components are controlled based on the maximum value among the heat dissipation parameters corresponding to multiple heat-generating components at each moment, so as to dissipate heat from the server through the heat dissipation components, including:

[0134] The main control chip generates a 5V or 3.3V square wave signal from the maximum value of the heat dissipation parameter (pulse width modulation value) of the heat-generating component at any given moment, and outputs it to the PWM_Control pin.

[0135] The duty cycle of the pulse width modulation maximum value signal of the heat-generating component at any given moment is decoded by the driver IC inside the heat dissipation component (fan).

[0136] The driver IC adjusts the average current or effective voltage supplied to the motor coils according to the duty cycle;

[0137] Among them, the higher the duty cycle, the higher the average current and voltage, and the faster the motor speed;

[0138] Typical curve: Fan manufacturers provide a "duty cycle vs. speed" curve, for example:

[0139] 20% duty cycle → minimum speed (e.g., 800 RPM);

[0140] 50% duty cycle → medium speed (e.g., 2000 RPM);

[0141] 100% duty cycle → Full speed (e.g., 4000 RPM);

[0142] The fan outputs a square wave signal whose frequency is proportional to its rotational speed through the Tach pin.

[0143] The actual fan speed RPM_actual is calculated by reading the frequency of the Tach signal from the main control chip.

[0144] If RPM_actual is much lower than expected or is 0, the fan may be stuck or disconnected, triggering an alarm. Confirm that the control logic is valid and the correspondence between PWM commands and speed is normal.

[0145] Set PWM_Fan_Min (e.g., 20%) to prevent the fan from stopping and causing no airflow.

[0146] Set PWM_Fan_Max (e.g., 100%) to prevent the fan from overspeeding and causing damage.

[0147] Here, the "temperature" is processed through a chain of "error calculation, PWM demand, maximum value decision, PWM signal generation, and fan speed," achieving automated, dynamic, and prioritized precise control of server heat dissipation.

[0148] The heat dissipation control method provided in the embodiments of this application can be improved and optimized in several ways without departing from the technical solution of this application, and these improvements and optimizations should also be considered within the scope of protection of this application.

[0149] Meanwhile, in other types of proportional-integral-derivative controller speed regulation processes, when two sets of related parameters are involved, the solution in this application can be referenced for nesting, such as speed regulation in air conditioners based on the difference between temperature and cooling capacity.

[0150] The beneficial effects of the technical solutions provided in this application are:

[0151] This application can solve the problem of frequent speed adjustments caused by slight temperature changes in heat-generating components, thereby maintaining a stable fan speed, reducing noise fluctuations, extending fan lifespan, and improving heat dissipation efficiency.

[0152] The technical solution of this application can clearly define that when the temperature is within the stable temperature range twice in a row, the speed output is based on the speed output during the first entry into the stable temperature range; it can also clearly define the speed value calculated by the proportional-integral-derivative controller and the corresponding relationship of the fan after the temperature enters the stable temperature range. When the temperature changes abruptly, the fan can still respond in time to avoid overheating of the heat-generating components and ensure stable operation of the system.

[0153] The technical solution of this application can avoid the limitation of a single temperature range. While setting the temperature hysteresis range, it also considers the stability of the rotation speed itself and sets a stable rotation speed range at the same time. Moreover, this stable rotation speed range is dynamically changing, which improves the dynamic adaptability of the fan response process.

[0154] 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.

[0155] Embodiments of this application also provide an electronic device (server), which includes multiple heat-generating components, a heat dissipation assembly, and a heat dissipation controller. The heat dissipation controller is used for:

[0156] The temperature equilibrium range corresponding to the heating element is determined based on the target temperature value of any heating element.

[0157] The temperature of the heating component at the current moment is verified based on the temperature equalization range for the previous n moments, and the heat dissipation parameters of the heat dissipation component at the previous n moments are output, where n is an integer greater than 1.

[0158] In response to the fact that the temperature of the heating component has been within the temperature equilibrium range of the heating component for the previous n time moments, the rotational speed equilibrium range corresponding to the heating component at the current time moment is determined according to the heat dissipation parameters of the heating component at the current time moment.

[0159] Based on the rotational speed equalization range and temperature equalization range corresponding to the current moment of the heat-generating component, the heat dissipation parameters output by the heat-generating component at the next m moments are corrected to obtain the heat dissipation parameters corresponding to the heat-generating component at the next m moments, where m is an integer greater than 1.

[0160] The heat dissipation component is controlled according to the maximum value of the heat dissipation parameters corresponding to multiple heat-generating components at each moment, so as to dissipate heat from the server through the heat dissipation component.

[0161] In one embodiment, the heat dissipation controller is used to: set temperature equalization values ​​γ1 and γ2 for the heat-generating components;

[0162] When the temperature T of the heating element is less than or equal to the first preset value T1, the temperature equalization range of the heating element is set to [T1-γ1, T1].

[0163] When the temperature T of the heating element is greater than or equal to the first preset value T1 and less than or equal to the second preset value T2, the temperature equalization range of the heating element is set to [T2-γ2, T2].

[0164] In one embodiment, the thermal controller is configured to: at n sampling times prior to the current time i, when the temperature Tα of the heat-generating component α at time in... (i-n) If the temperature is outside the equilibrium range of the heating component, output the pulse width modulation value of the heating component α at time in, and determine the temperature Tα of the heating component α at time i-(n-1). (i-(n-1)) Is it within the temperature equilibrium range of the heating component?

[0165] If so, output the pulse width modulation value of the heating element α at time i-(n-1), and determine the temperature Tα of the heating element α at time i-2. (i-2) Is it within the temperature equilibrium range of the heating component?

[0166] If so, output the pulse width modulation value of the heating element α at time i-2, and determine the temperature Tα of the heating element α at time i-1. (i-1) Is it within the temperature equilibrium range of the heating component?

[0167] If so, output the pulse width modulation value of the heating element α at time i-1, and output the temperature Tα of the heating element α at time i. (i) Whether the temperature is within the uniform range of the heating element is determined;

[0168] If the temperature of the heating element α is not in the temperature equilibrium range of the heating element for the previous n time steps, then the pulse width modulation value corresponding to the heating element α for the previous n time steps is output.

[0169] In one embodiment, the heat dissipation controller is used to: calculate the pulse width modulation value of the heat-generating component for the previous n moments based on the temperature of the heat-generating component and the proportional-integral-derivative control;

[0170] Based on the temperature of the heating element and the pulse width modulation values ​​of the heating element at the previous n time points calculated by proportional-integral-derivative control, including:

[0171] The pulse width modulation (PWM) value (PID) is obtained by calculating the pulse width modulation value of the heating component at any time k and k-1 within the previous n time steps using proportional-integral-derivative control. (k-1) Temperature values ​​T of the heating element at times k, k-1, and k-2 (k) T (k-1) T (k-2) ;

[0172] Obtain the temperature difference term Kp(T) (k) -T (k-1) ), the integral term Ki(T) (k) -Tsp), differential term Kd(T (k) -2×T (k-1) +T (k-2) ), where Tsp is the temperature control point;

[0173] Through the formula: PWM_PID_Cal (k) =PWM_PID_Cal (k-1) +Kp(T (k) -T (k-1) )+Ki(T (k) -Tsp)+Kd(T (k) -2×T (k-1) +T (k-2) The pulse width modulation value PWM_PID_Cal of the heating component at time k is calculated using proportional-integral-derivative control. (k) ;

[0174] Among them, the pulse width modulation values ​​of the first n moments of the output of the heating component are all pulse width modulation values ​​calculated by the heating component based on the temperature of the heating component and the proportional-integral-derivative control for the first n moments.

[0175] In one embodiment, the heat dissipation controller is used to: set the rotational speed equalization amplitude value θ of the heat-generating component according to the ambient temperature and power consumption of the heat-generating component;

[0176] Define the heat-generating component as α, and set the pulse width modulation value of the heat-generating component at the current time i as PWMα. (i) ;

[0177] Based on the pulse width modulation value of the heating component at time i, the speed equalization range corresponding to the heating component at time i is set to [PWMα]. (i) Out-θ,PWMα (i) Out + θ.

[0178] In one embodiment, the heat dissipation controller is used to: determine the temperature Tα of the heat-generating component α at time i+1. (i+1) Is it within the temperature equilibrium range of the heating component?

[0179] If yes, then determine whether the pulse width modulation value of the heating component α at time i+1 is within the equalization range of the rotational speed i corresponding to the heating component at the current time; if no, then output the pulse width modulation value of the heating component α at time i+1 as the pulse width modulation value calculated by the proportional-integral-derivative control of the heating component α at time i+1.

[0180] The determination of whether the pulse width modulation value of the heating component α at time i+1 is within the equalization range of the rotational speed at the current time i corresponding to the heating component includes:

[0181] Determine whether the pulse width modulation value of the heating component α at time i+1 is within the equalization range of the rotational speed of the heating component at the current time i.

[0182] If so, then the pulse width modulation value corresponding to the next m times of the heating component is corrected according to the current time i speed equalization interval corresponding to the heating component, so as to obtain the pulse width modulation value corresponding to the next m times of the heating component.

[0183] If not, then the pulse width modulation value corresponding to the last m moments of the heating component is corrected according to the dynamic speed equalization range adjusted by the heating component at the last m moments, so as to obtain the pulse width modulation value corresponding to the last m moments of the heating component.

[0184] In one embodiment, the heat dissipation controller is configured to: when the ambient temperature corresponding to the heat-generating component is less than a third preset value, and the ratio of the power consumption of the heat-generating component to the rated power consumption of the heat-generating component is less than a fourth preset value, then set the rotational speed equalization amplitude value corresponding to the heat-generating component to a first threshold value.

[0185] When the ambient temperature corresponding to the heating component is between the third and fifth preset values, and the ratio of the power consumption of the heating component to the rated power consumption of the heating component is greater than the fourth preset value, the rotational speed equalization amplitude value corresponding to the heating component is set to the second threshold.

[0186] When the ambient temperature corresponding to the heating component is less than the third preset value, and the ratio of the power consumption of the heating component to the rated power consumption of the heating component is greater than the fourth preset value, the speed equalization amplitude value corresponding to the heating component is set to the third threshold.

[0187] When the ambient temperature corresponding to the heating component is between the third and fifth preset values, and the ratio of the power consumption of the heating component to the rated power consumption of the heating component is less than the fourth preset value, the speed equalization amplitude value corresponding to the heating component is set to the fourth threshold.

[0188] The beneficial effects of the technical solutions provided in this application are:

[0189] This application can solve the problem of frequent speed adjustments caused by slight temperature changes in heat-generating components, thereby maintaining a stable fan speed, reducing noise fluctuations, extending fan lifespan, and improving heat dissipation efficiency.

[0190] The technical solution of this application can clearly define that when the temperature is within the stable temperature range twice in a row, the speed output is based on the speed output during the first entry into the stable temperature range; it can also clearly define the speed value calculated by the proportional-integral-derivative controller and the corresponding relationship of the fan after the temperature enters the stable temperature range. When the temperature changes abruptly, the fan can still respond in time to avoid overheating of the heat-generating components and ensure stable operation of the system.

[0191] The technical solution of this application can avoid the limitation of a single temperature range. While setting the temperature hysteresis range, it also considers the stability of the rotation speed itself and sets a stable rotation speed range at the same time. Moreover, this stable rotation speed range is dynamically changing, which improves the dynamic adaptability of the fan response process.

[0192] For a description of the features in the embodiment corresponding to the data synchronization system, please refer to the relevant description of the embodiment corresponding to the data synchronization method, which will not be repeated here.

[0193] Embodiments of this application also provide an electronic device, including a memory and a processor. The memory stores a computer program, and the processor is configured to run the computer program to perform the steps in the embodiments of the heat dissipation control method, the method including:

[0194] The temperature equilibrium range corresponding to the heating element is determined based on the target temperature value of any heating element.

[0195] The temperature of the heating component at the current moment is verified based on the temperature equalization range for the previous n moments, and the heat dissipation parameters of the heat dissipation component at the previous n moments are output, where n is an integer greater than 1.

[0196] In response to the fact that the temperature of the heating component has been within the temperature equilibrium range of the heating component for the previous n time moments, the rotational speed equilibrium range corresponding to the heating component at the current time moment is determined according to the heat dissipation parameters of the heating component at the current time moment.

[0197] Based on the rotational speed equalization range and temperature equalization range corresponding to the current moment of the heat-generating component, the heat dissipation parameters output by the heat-generating component at the next m moments are corrected to obtain the heat dissipation parameters corresponding to the heat-generating component at the next m moments, where m is an integer greater than 1.

[0198] The heat dissipation component is controlled according to the maximum value of the heat dissipation parameters corresponding to multiple heat-generating components at each moment, so as to dissipate heat from the server through the heat dissipation component.

[0199] like Figure 5 As shown, 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 the heat dissipation control method embodiments at runtime, the method including:

[0200] The temperature equilibrium range corresponding to the heating element is determined based on the target temperature value of any heating element.

[0201] The temperature of the heating component at the current moment is verified based on the temperature equalization range for the previous n moments, and the heat dissipation parameters of the heat dissipation component at the previous n moments are output, where n is an integer greater than 1.

[0202] In response to the fact that the temperature of the heating component has been within the temperature equilibrium range of the heating component for the previous n time moments, the rotational speed equilibrium range corresponding to the heating component at the current time moment is determined according to the heat dissipation parameters of the heating component at the current time moment.

[0203] Based on the rotational speed equalization range and temperature equalization range corresponding to the current moment of the heat-generating component, the heat dissipation parameters output by the heat-generating component at the next m moments are corrected to obtain the heat dissipation parameters corresponding to the heat-generating component at the next m moments, where m is an integer greater than 1.

[0204] The heat dissipation component is controlled according to the maximum value of the heat dissipation parameters corresponding to multiple heat-generating components at each moment, so as to dissipate heat from the server through the heat dissipation component.

[0205] 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.

[0206] Embodiments of this application also provide a computer program product, which includes a computer program. When executed by a processor, the computer program implements the steps in the embodiments of the heat dissipation control method, the method including:

[0207] The temperature equilibrium range corresponding to the heating element is determined based on the target temperature value of any heating element.

[0208] The temperature of the heating component at the current moment is verified based on the temperature equalization range for the previous n moments, and the heat dissipation parameters of the heat dissipation component at the previous n moments are output, where n is an integer greater than 1.

[0209] In response to the fact that the temperature of the heating component has been within the temperature equilibrium range of the heating component for the previous n time moments, the rotational speed equilibrium range corresponding to the heating component at the current time moment is determined according to the heat dissipation parameters of the heating component at the current time moment.

[0210] Based on the rotational speed equalization range and temperature equalization range corresponding to the current moment of the heat-generating component, the heat dissipation parameters output by the heat-generating component at the next m moments are corrected to obtain the heat dissipation parameters corresponding to the heat-generating component at the next m moments, where m is an integer greater than 1.

[0211] The heat dissipation component is controlled according to the maximum value of the heat dissipation parameters corresponding to multiple heat-generating components at each moment, so as to dissipate heat from the server through the heat dissipation component.

[0212] Embodiments of this application also provide another computer program product, including a non-volatile computer-readable storage medium storing a computer program. When executed by a processor, the computer program implements the steps in the heat dissipation control method embodiments, the method including:

[0213] The temperature equilibrium range corresponding to the heating element is determined based on the target temperature value of any heating element.

[0214] The temperature of the heating component at the current moment is verified based on the temperature equalization range for the previous n moments, and the heat dissipation parameters of the heat dissipation component at the previous n moments are output, where n is an integer greater than 1.

[0215] In response to the fact that the temperature of the heating component has been within the temperature equilibrium range of the heating component for the previous n time moments, the rotational speed equilibrium range corresponding to the heating component at the current time moment is determined according to the heat dissipation parameters of the heating component at the current time moment.

[0216] Based on the rotational speed equalization range and temperature equalization range corresponding to the current moment of the heat-generating component, the heat dissipation parameters output by the heat-generating component at the next m moments are corrected to obtain the heat dissipation parameters corresponding to the heat-generating component at the next m moments, where m is an integer greater than 1.

[0217] The heat dissipation component is controlled according to the maximum value of the heat dissipation parameters corresponding to multiple heat-generating components at each moment, so as to dissipate heat from the server through the heat dissipation component.

[0218] This application can solve the problem of frequent speed adjustments caused by slight temperature changes in heat-generating components, thereby maintaining a stable fan speed, reducing noise fluctuations, extending fan lifespan, and improving heat dissipation efficiency.

[0219] The technical solution of this application can clearly define that when the temperature is within the stable temperature range twice in a row, the speed output is based on the speed output during the first entry into the stable temperature range; it can also clearly define the speed value calculated by the proportional-integral-derivative controller and the corresponding relationship of the fan after the temperature enters the stable temperature range. When the temperature changes abruptly, the fan can still respond in time to avoid overheating of the heat-generating components and ensure stable operation of the system.

[0220] The technical solution of this application can avoid the limitation of a single temperature range. While setting the temperature hysteresis range, it also considers the stability of the rotation speed itself and sets a stable rotation speed range at the same time. Moreover, this stable rotation speed range is dynamically changing, which improves the dynamic adaptability of the fan response process.

[0221] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0222] The above provides a detailed description of a heat dissipation control method and electronic device provided in this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only intended to help understand the method and core ideas of this application. It should be noted that those skilled in the art can make various improvements and modifications to this application without departing from its principles, and these improvements and modifications also fall within the protection scope of this application.

Claims

1. A heat dissipation control method, characterized by, The method comprises the following steps: determining a temperature balance interval corresponding to each heat-generating component according to a target temperature value of the heat-generating component; verifying the temperature of the heat-generating component at the previous n time points according to the temperature balance interval, and outputting the heat dissipation parameter of the heat dissipation component at the previous n time points of the heat-generating component, wherein n is an integer greater than 1; determining a rotation speed balance interval corresponding to the heat-generating component at the current time according to the heat dissipation parameter of the heat-generating component at the current time, in response to the temperature of the heat-generating component at the previous n time points being in the temperature balance interval of the heat-generating component; modifying the heat dissipation parameter output at the next m time points of the heat-generating component at the current time according to the rotation speed balance interval and the temperature balance interval corresponding to the heat-generating component at the current time, to obtain the heat dissipation parameter corresponding to the next m time points of the heat-generating component, wherein m is an integer greater than 1; controlling the heat dissipation component according to the maximum value in the heat dissipation parameter corresponding to each heat-generating component at each time point, so as to dissipate heat from the server through the heat dissipation component; the method of determining a rotation speed balance interval corresponding to the heat-generating component at the current time according to the heat dissipation parameter of the heat-generating component at the current time, comprising: setting a rotation speed balance range value θ corresponding to the heat-generating component according to the ambient temperature and power consumption corresponding to the heat-generating component; setting the heat dissipation parameter of the heat-generating component at the current time i as PWM (i) Out; wherein the heat dissipation parameter is a pulse width modulation value; setting the rotation speed balance interval corresponding to the heat-generating component at the current time i as [PWM (i) Out-θ, PWM (i) Out+θ] according to the pulse width modulation value of the heat-generating component at the current time i.

2. The heat radiation control method according to claim 1, wherein the method of determining a temperature balance interval corresponding to each heat-generating component according to a target temperature value of the heat-generating component, comprising: setting a temperature balance range value γ1, γ2 of the heat-generating component; when the temperature T of the heat-generating component is less than or equal to a first preset value T1, setting the temperature balance interval of the heat-generating component as [T1-γ1, T1]; when the temperature T of the heat-generating component is greater than or equal to the first preset value T1 and less than or equal to a second preset value T2, determining the temperature balance interval of the heat-generating component as [T2-γ2, T2].

3. The heat radiation control method according to claim 1, wherein the method of verifying the temperature of the heat-generating component at the previous n time points according to the temperature balance interval of the heat-generating component, comprising: at the n sampling instants before the current instant i, when the temperature T (i-n) If not in the temperature equalization interval of the heat generating component, the pulse width modulation value of the heat generating component at the i-n instant is outputted, and it is determined whether the temperature T (i-(n-1)) is in the temperature equalization interval of the heat generating component; If so, the pulse width modulation value of the heat generating component at i-(n-1) time is output, and the temperature T of the heat generating component at i-2 time is judged (i-2) whether in a heat generating component temperature equalization section; If so, the pulse width modulation value of the heat generating component at time i-2 is output, and the temperature T of the heat generating component at time i-1 is determined (i-1) whether in a heat generating component temperature equalization section; If so, the pulse width modulation value of the heat generating component at time i-1 is output, and the temperature T of the heat generating component at time i is calculated according to the following formula: (i) whether to make a judgment in the heat generating component temperature equalization interval; in response to the temperature of the heat-generating component at the previous n time points not being in the temperature balance interval of the heat-generating component, outputting the pulse width modulation value corresponding to the heat-generating component at the previous n time points.

4. The heat radiation control method according to claim 3, wherein the method of outputting the heat dissipation parameter of the heat dissipation component at the previous n time points of the heat-generating component, comprising: calculating the heat dissipation parameter corresponding to the previous n time points of the heat-generating component according to the temperature of the heat-generating component and proportional-integral-derivative control; wherein the heat dissipation parameter is a pulse width modulation value; the method of calculating the pulse width modulation value corresponding to the previous n time points of the heat-generating component according to the temperature of the heat-generating component and proportional-integral-derivative control, comprising: At any time k, the pulse width modulation value PWM_PID_Cal calculated by proportional-integral-derivative control of the heat generating component at time k-1 in the previous n time points (k-1) , the heat generating component temperature value T (k) , T (k-1) , T (k-2) at time k, k-1, k-2 Kp(T (k) -T (k-1) ), the integral term Ki(T (k) -Tsp), the differential term Kd(T (k) -2×T (k-1) +T (k-2) ), wherein Tsp is the temperature control point; The PWM_PID_Cal is calculated by the formula: (k) = PWM_PID_Cal (k-1) + Kp(T (k) -T (k-1) ) + Ki(T (k) -Tsp) + Kd(T (k) -2×T (k-1) +T (k-2) ) (k) ; The pulse width modulation values of the first n time points output by the heat generating component are all pulse width modulation values corresponding to the heat generating component calculated according to the heat generating component temperature and proportional-integral-derivative control at the first n time points.

5. The heat radiation control method according to claim 1, wherein The heat dissipation parameters output by the heat generating component at the last m time points of the current time point of the heat generating component are corrected according to the speed balance interval and the temperature balance interval corresponding to the current time point of the heat generating component, to obtain the heat dissipation parameters corresponding to the last m time points of the heat generating component, including: determining the temperature T of the heat generating component at the time i+1 (i+1) whether in the heat generating component temperature equalization section; If yes, it is judged whether the pulse width modulation value of the heat generating component at the i+1 time point is in the speed balance interval corresponding to the current time point i of the heat generating component; if no, the pulse width modulation value of the heat generating component at the i+1 time point is output as the pulse width modulation value corresponding to the heat generating component calculated according to proportional-integral-derivative control at the i+1 time point; The judgment of whether the pulse width modulation value of the heat generating component at the i+1 time point is in the speed balance interval corresponding to the current time point i of the heat generating component includes: It is judged whether the pulse width modulation value of the heat generating component at the i+1 time point is in the speed balance interval corresponding to the current time point i of the heat generating component; If yes, the pulse width modulation values corresponding to the last m time points of the heat generating component are corrected according to the speed balance interval corresponding to the current time point i of the heat generating component, to obtain the pulse width modulation values corresponding to the last m time points of the heat generating component; If no, the pulse width modulation values corresponding to the last m time points of the heat generating component are corrected according to the dynamically adjusted speed balance interval of the last m time points of the heat generating component, to obtain the pulse width modulation values corresponding to the last m time points of the heat generating component.

6. The heat radiation control method according to claim 5, wherein The correction of the pulse width modulation values corresponding to the last m time points of the heat generating component according to the speed balance interval corresponding to the current time point i of the heat generating component, to obtain the pulse width modulation values corresponding to the last m time points of the heat generating component, includes: The pulse width modulation value of the heat generating component at i+1 time is the pulse width modulation value of the heat generating component at i time, and it is judged that the temperature T of the heat generating component at i+2 time (i+2) whether in a temperature equalization interval; If yes, it is judged whether the pulse width modulation value corresponding to the heat generating component calculated according to proportional-integral-derivative control at the i+2 time point is in the speed balance interval corresponding to the current time point i of the heat generating component; if no, the pulse width modulation value of the heat generating component at the i+2 time point is output as the pulse width modulation value corresponding to the heat generating component calculated according to proportional-integral-derivative control at the i+2 time point; In response to the heat generating component at i+2 time according to proportional-integral-derivative control calculation corresponding to the pulse width modulation value obtained in the heat generating component corresponding to the current time i speed balance interval, the pulse width modulation value of the heat generating component at i+2 time is the pulse width modulation value of the heat generating component at i+1 time, and it is judged that the temperature T of the heat generating component at i+3 time (i+3) Whether in temperature balance interval; If yes, it is judged whether the pulse width modulation value corresponding to the heat generating component calculated according to proportional-integral-derivative control at the i+3 time point is in the speed balance interval corresponding to the current time point i of the heat generating component; if no, the pulse width modulation value of the heat generating component at the i+3 time point is output as the pulse width modulation value corresponding to the heat generating component calculated according to proportional-integral-derivative control at the i+3 time point; In response to the pulse width modulation value corresponding to the heat generating component calculated according to proportional-integral-derivative control at the i+3 time point being in the speed balance interval corresponding to the current time point i of the heat generating component, the pulse width modulation value of the heat generating component at the i+3 time point is output as the pulse width modulation value of the heat generating component at the i+2 time point; If yes, it is judged whether the pulse width modulation value corresponding to the heat generating component at i+2 time according to proportional-integral-derivative control calculation is in the rotating speed balance interval corresponding to the heat generating component at i+1 time; if no, the pulse width modulation value of the heat generating component at i+2 time is output as the pulse width modulation value of the heat generating component at i+2 time according to proportional-integral-derivative control calculation; In response to the corresponding pulse width modulation value calculated by the proportional-integral-differential control according to the heat generating component at i+2 time not being in the current speed balance interval corresponding to the heat generating component at i time, the pulse width modulation value of the heat generating component at i+2 time is output as the corresponding pulse width modulation value calculated by the proportional-integral-differential control according to the heat generating component at i+2 time, the speed balance interval corresponding to the heat generating component at i+2 time is set according to the pulse width modulation value output by the heat generating component at i+2 time, and the temperature T of the heat generating component at i+3 time is calculated according to the speed balance interval corresponding to the heat generating component at i+2 time. (i+3) whether to judge in the temperature balance interval.

7. The heat radiation control method according to claim 5, wherein The pulse width modulation value corresponding to the heat generating component at i+2 time is output as the pulse width modulation value of the heat generating component at i+1 time; The pulse width modulation value of the heat generating component at i+1 time is the pulse width modulation value corresponding to the proportional-integral-derivative control calculation according to the heat generating component at i+1 time. According to the pulse width modulation value output by the heat generating component at i+1 time, the corresponding speed balance interval of the heat generating component at i+1 time is set, and the temperature T of the heat generating component at i+2 time is judged (i+2) Whether in the temperature balance interval; If yes, it is judged whether the pulse width modulation value corresponding to the heat generating component at i+3 time according to proportional-integral-derivative control calculation is in the rotating speed balance interval corresponding to the heat generating component at i+2 time; if no, the pulse width modulation value of the heat generating component at i+3 time is output as the pulse width modulation value of the heat generating component at i+3 time according to proportional-integral-derivative control calculation; The pulse width modulation value of the heat generating component at i+3 time is output as the pulse width modulation value of the heat generating component at i+2 time; In response to the corresponding pulse width modulation value calculated by the proportional-integral-differential control according to the heat generating component at the i+2 time not being in the rotation speed equalization interval corresponding to the heat generating component at the i+1 time, the pulse width modulation value of the heat generating component at the i+2 time is the pulse width modulation value corresponding to the heat generating component at the i+2 time calculated by the proportional-integral-differential control, the rotation speed equalization interval corresponding to the heat generating component at the i+2 time is set according to the pulse width modulation value output by the heat generating component at the i+2 time, and whether the temperature T of the heat generating component at the i+3 time is in the temperature equalization interval is determined. (i+3) whether in the temperature equalization interval; If yes, it is judged whether the pulse width modulation value corresponding to the heat generating component at i+3 time according to proportional-integral-derivative control calculation is in the rotating speed balance interval corresponding to the heat generating component at i+2 time; if no, the pulse width modulation value of the heat generating component at i+3 time is output as the pulse width modulation value of the heat generating component at i+3 time according to proportional-integral-derivative control calculation; The pulse width modulation value of the heat generating component at i+3 time is output as the pulse width modulation value of the heat generating component at i+2 time; The pulse width modulation value of the heat generating component at i+3 time is output as the pulse width modulation value of the heat generating component at i+3 time according to proportional-integral-derivative control calculation, and the rotating speed balance interval corresponding to the heat generating component at i+3 time is set according to the pulse width modulation value output by the heat generating component at i+3 time.

8. The heat radiation control method according to claim 1, wherein The rotating speed balance interval corresponding to the heat generating component at i+3 time is set according to the pulse width modulation value output by the heat generating component at i+3 time. The rotating speed balance interval corresponding to the heat generating component at i+3 time is set according to the pulse width modulation value output by the heat generating component at i+3 time. When the ambient temperature corresponding to the heat-generating component is less than a third preset value, and the ratio of the heat-generating component power consumption to the rated power consumption of the heat-generating component is less than a fourth preset value, the rotational speed balance range value corresponding to the heat-generating component is determined as a first threshold value; When the ambient temperature corresponding to the heat-generating component is between the third preset value and a fifth preset value, and the ratio of the heat-generating component power consumption to the rated power consumption of the heat-generating component is greater than the fourth preset value, the rotational speed balance range value corresponding to the heat-generating component is determined as a second threshold value; When the ambient temperature corresponding to the heat-generating component is less than the third preset value, and the ratio of the heat-generating component power consumption to the rated power consumption of the heat-generating component is greater than the fourth preset value, the rotational speed balance range value corresponding to the heat-generating component is determined as a third threshold value; When the ambient temperature corresponding to the heat-generating component is between the third preset value and the fifth preset value, and the ratio of the heat-generating component power consumption to the rated power consumption of the heat-generating component is less than the fourth preset value, the rotational speed balance range value corresponding to the heat-generating component is determined as a fourth threshold value.

9. An electronic device, comprising: The server comprises a plurality of heat-generating components, a heat dissipation assembly, and a controller, wherein the controller is configured to: determine a temperature balance interval corresponding to any heat-generating component according to a target temperature value of the heat-generating component; verify the temperature of the heat-generating component at the previous n time points according to the temperature balance interval, and output the heat dissipation parameters of the heat dissipation assembly at the previous n time points of the heat-generating component, wherein n is an integer greater than 1; determine a rotational speed balance interval corresponding to the heat-generating component at the current time according to the heat dissipation parameter of the heat-generating component at the current time, in response to the temperature of the heat-generating component at the previous n time points being in the temperature balance interval of the heat-generating component; correct the heat dissipation parameter output at the next m time points of the heat-generating component at the current time according to the rotational speed balance interval and the temperature balance interval corresponding to the heat-generating component at the current time, to obtain the heat dissipation parameter corresponding to the heat-generating component at the next m time points, wherein m is an integer greater than 1; control the heat dissipation assembly according to the maximum value in the heat dissipation parameter corresponding to each heat-generating component at each time, to dissipate heat from the server through the heat dissipation assembly; the determination of the rotational speed balance interval corresponding to the heat-generating component at the current time according to the heat dissipation parameter of the heat-generating component at the current time, comprises: determine the rotational speed balance range value θ corresponding to the heat-generating component according to the ambient temperature and the power consumption of the heat-generating component; determine the heat dissipation parameter of the heat-generating component at the current time i as PWM (i) Out, wherein the heat dissipation parameter is a pulse width modulation value; determine the rotational speed balance interval corresponding to the heat-generating component at the current time i as [PWM (i) Out-θ, PWM (i) Out+θ] according to the pulse width modulation value of the heat-generating component at the current time i.

Citation Information

Patent Citations

  • Fan speed control method and device and server

    CN110725806A

  • Method for controlling rotating speed of fan

    CN116464660A