Heat dissipation control method and electronic equipment
By adjusting the initial weight and speed of the fan and combining it with the total power consumption comparison, precise control of component temperature is achieved, solving the problems of low heat dissipation accuracy and high power consumption in the existing technology, and achieving the effect of efficient heat dissipation and low power consumption.
Patent Information
- Application Number
- CN202511149675.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-15
- Publication Date
- 2025-09-16
- Estimated Expiration
- 2045-08-15
AI Technical Summary
In the prior art, fan speed regulation methods use fixed weight distribution or uniform speed strategies, which results in low heat dissipation accuracy and easily causes inflated overall fan power consumption, resulting in excessive heat dissipation problems.
By adjusting the initial weight and target speed of the fan based on the real-time temperature, multiple fans are controlled to dissipate heat for the components. The target weight and speed of the fan are determined by weight reduction processing and total power consumption comparison to keep the component temperature within the target range while reducing the overall fan power.
It improves the accuracy of heat dissipation control, reduces the overall operating power of the fan, avoids excessive heat dissipation, and ensures that component temperatures remain stable within a reasonable range.
Smart Images

Figure CN120653083A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and more specifically to a heat dissipation control method and an electronic device. Background Art
[0002] During operation, computer components generate a significant amount of heat. To efficiently dissipate heat, these devices typically use multiple fans to regulate the temperature of these components. For example, air-cooled servers and storage devices often include multiple cooling fans.
[0003] In related technologies, current fan speed control methods generally adopt a fixed weight distribution or uniform speed strategy. When faced with multiple fans that affect each other to dissipate heat for components, fixed weights or uniform speeds will result in lower heat dissipation accuracy and easily cause the overall power consumption of the fan to be inflated, resulting in excessive heat dissipation problems. Summary of the Invention
[0004] In view of this, the present application provides a heat dissipation control method and an electronic device.
[0005] One aspect of the present application provides a heat dissipation control method, comprising: based on the first initial weights and first target speeds of multiple target fans for a first component in an electronic device, controlling the multiple target fans to dissipate heat for the first component so that the temperature of the first component is within a target range, wherein the first target speed is determined based on the real-time temperature of the first component. The first initial weight of at least one target fan is reduced at least once, wherein any reduction process includes: reducing the size of the weight. Determining the first total power consumption of the multiple target fans in a predetermined time period after the last reduction process, and the second total power consumption of the multiple target fans in a predetermined time period after the current reduction process; when the second total power consumption is greater than or equal to the first total power consumption, using the weights of the multiple target fans determined after the last reduction process as the first target weights of the multiple target fans, so that when the operation of the multiple target fans is controlled based on the first target weights and first target speeds of the multiple target fans, the temperature of the first component is within the target range.
[0006] Another aspect of the present application provides a heat dissipation control device, comprising: a first control module for controlling multiple target fans to dissipate heat from a first component in an electronic device based on first initial weights and first target speeds of the multiple target fans, respectively, so that the temperature of the first component is within a target range, wherein the first target speed is determined based on the real-time temperature of the first component; a first weight processing module for reducing the first initial weight of at least one target fan at least once, wherein each reduction includes reducing the weight; a first determination module for determining a first total power consumption of the multiple target fans in a predetermined time period after a previous reduction process and a second total power consumption of the multiple target fans in a predetermined time period after a current reduction process; and a second determination module for, if the second total power consumption is greater than or equal to the first total power consumption, using the weights of the multiple target fans determined after the previous reduction process as the first target weights of the multiple target fans, respectively, so that when the multiple target fans are controlled based on the first target weights and first target speeds, the temperature of the first component is within the target range.
[0007] Another aspect of the present application provides an electronic device, comprising: one or more processors; and a memory for storing one or more computer programs, wherein the one or more processors execute the one or more computer programs to implement the steps of the above method.
[0008] Another aspect of the present application further provides a computer-readable storage medium having a computer program or instructions stored thereon, which implements the steps of the above method when the computer program or instructions are executed by a processor.
[0009] Another aspect of the present application further provides a computer program product, including a computer program or instructions, which implements the steps of the above method when the computer program or instructions are executed by a processor.
[0010] According to the technical solution of the present application, by first utilizing the first initial weights and first target speeds of multiple fans to control the temperature of the first component within a target range, a mapping relationship between the component and the multiple fans is established, thereby improving the control accuracy of heat dissipation. The first initial weight of at least one fan is then reduced at least once, and based on the total power of the multiple target fans, the first target weights of the multiple target fans are determined. The multiple target fans are then controlled using the first target weights and first target speed values to keep the temperature of the first component within the target range. This can reduce the overall operating power of the multiple fans while meeting the heat dissipation requirements of the first component, thereby avoiding excessive heat dissipation. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] The above contents and other objects, features and advantages of the present application will become more apparent through the following description of the embodiments of the present application with reference to the accompanying drawings.
[0012] Figure 1 A flow chart of a heat dissipation control method according to an embodiment of the present application is shown.
[0013] Figure 2 A schematic diagram of the layout of a first component and a target fan according to an embodiment of the present application is shown.
[0014] Figure 3 A schematic diagram of a scenario showing multiple components and multiple fans according to an embodiment of the present application is shown.
[0015] Figure 4 A block diagram of a heat dissipation control device according to an embodiment of the present application is shown.
[0016] Figure 5 A block diagram of an electronic device suitable for a heat dissipation control method according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0017] Hereinafter, embodiments of the present application will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present application. In the detailed description below, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present application. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessarily confusing the concepts of the present application.
[0018] The terms used herein are only for describing specific embodiments and are not intended to limit this application. The terms "comprise," "include," etc. used herein indicate the presence of features, steps, operations, and / or first components, but do not exclude the presence or addition of one or more other features, steps, operations, or first components.
[0019] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.
[0020] When expressions such as "at least one of A, B, and C, etc." are used, they should generally be interpreted in accordance with the meaning commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0021] In related technologies, for electronic devices with multiple nodes and a shared fan wall, the fan wall is usually divided into several independent control areas. Different nodes correspond to specific fan partitions according to their physical locations, and the speed weight of each fan partition is set according to the heat load status of the node. However, with this method, the granularity of heat dissipation control is still targeted at the node level, and the mapping relationship between a single component and a specific fan is not refined. Secondly, the current weights generally use 0, 1 or fixed percentage parameters, resulting in low heat dissipation accuracy. And when electronic equipment encounters sudden computing tasks, the fixed weight method is also prone to local overheating or excessive heat dissipation problems.
[0022] Figure 1 A flow chart of a heat dissipation control method according to an embodiment of the present application is shown.
[0023] like Figure 1 As shown, the method includes operations S110 to S140.
[0024] In operation S110, based on first initial weights and first target rotation speeds of multiple target fans for a first component in the electronic device, the multiple target fans are controlled to dissipate heat from the first component so that the temperature of the first component is within a target range, and the first target rotation speed is determined according to the real-time temperature of the first component.
[0025] In operation S120 , at least one reduction process is performed on the first initial weight of at least one target fan, and each reduction process includes reducing the magnitude of the weight.
[0026] In operation S130, a first total power consumption of the plurality of target fans in a predetermined period after a previous reduction process and a second total power consumption of the plurality of target fans in a predetermined period after a current reduction process are determined.
[0027] In operation S140, when the second total power consumption is greater than or equal to the first total power consumption, the weights of the multiple target fans determined after the last reduction process are used as the first target weights of the multiple target fans, so that when the operation of the multiple target fans is controlled based on the first target weights and the first target speeds of the multiple target fans, the temperature of the first component is within the target range.
[0028] The electronic device may be, for example, a server, and the first component may specifically be a component that generates heat during operation, including but not limited to a central processing unit (CPU), a graphics processing unit (GPU), a memory, a power supply unit (PSU), etc. in the server.
[0029] Multiple target fans refer to fans that can dissipate heat for the first component, and each target fan is set with its own first initial weight. The first initial weight is a numerical parameter pre-set for each target fan, and the first initial weight can be a value in the range of 0 to 1. The first initial weight can be determined based on various factors, such as the specifications and installation location of the fan. For example, if a fan is larger in size, has a stronger air volume, and blows air directly at the first component, it can be assigned a higher first initial weight.
[0030] The first target speed is the theoretically target speed that the fan should achieve, determined based on the real-time temperature of the first component. The electronic device can be configured with a corresponding temperature sensor for the first component to monitor the temperature of the first component in real time. After the temperature sensor detects the temperature of the first component, it can transmit the temperature data to a heat dissipation control system, such as a baseboard control manager. The heat dissipation control system determines the first target speed based on a preset temperature-speed relationship or a temperature-speed formula.
[0031] It can be understood that the first target speed can change according to the temperature of the first component. For example, when the temperature of the first component is low, the first target speed may be low to reduce fan noise and energy consumption; and when the temperature of the first component rises, the first target speed will increase accordingly to enhance the heat dissipation effect.
[0032] The actual speeds of the target fans can be calculated by multiplying the first initial weights of the target fans by the first target speed. For example, if the first target speed is Q and the first initial weights of the two target fans are 1 and 0.6, respectively, the actual speeds of the two target fans are Q and 0.6Q, respectively. The actual speeds of the target fans are used to collaboratively dissipate heat from the first component, thereby keeping the temperature of the first component within the target range.
[0033] The target range is a predetermined reasonable operating range of the first component temperature. For example, for a CPU, the target temperature range may be between 30° C. and 70° C. It is understood that the target temperature ranges of different components may be different.
[0034] In actual operation, if the target fan is operated according to the first initial weight, it may cause excessive heat dissipation. For example, if a first component has two fans, and to maintain the temperature of the first component within the target range, the actual required weights of the two fans are 1 and 0.4, respectively. However, the first initial weights of the two fans are 1 and 0.8, respectively. In this case, operating the two fans according to the first initial weight and the first target speed will cause excessive heat dissipation. By reducing the first initial weight of at least one target fan at least once, for example, reducing the weight parameter of a fan with a weight parameter of 0.8 to 0.4, it is possible to avoid excessive heat dissipation while ensuring that the temperature of the first component is within the target range.
[0035] The first target weight may represent maintaining the temperature of the first component within a target range while keeping the total power consumption of the plurality of target fans close to the target total power consumption. The target total power consumption represents the minimum power consumption required to maintain the temperature of the first component within the target range.
[0036] Illustratively, after each reduction process, the total power consumption of the multiple target fans in a predetermined time period may be recorded, and the weights of the multiple target fans corresponding to the target total power consumption may be selected as the first target weights of the multiple target fans.
[0037] For example, after the first initial weight of the target fan is reduced for the last time, when the temperature of the first component is stabilized within the target range, the power consumption of each target fan in a predetermined time period can be recorded, and then the power consumption of all target fans can be added together to obtain the first total power consumption.
[0038] Optionally, the predetermined time period may be divided into multiple sub-time periods, and the total power consumption of multiple target fans in each sub-time period may be recorded. The first total power consumption of the multiple target fans after the last reduction process may be obtained based on the average value of the multiple sub-time periods.
[0039] The second total power consumption of the plurality of target fans in the predetermined period after the current reduction process may be obtained in the same manner.
[0040] By comparing the first total power consumption with the second total power consumption, if the second total power consumption is greater than or equal to the first total power consumption, it indicates that the current reduction in the target fan weight has resulted in an increase in total power consumption. In this case, the current weight adjustment result is discarded, and the weight setting after the previous adjustment is retained as the final first target weight for the target fan. If the second total power consumption is less than the first total power consumption, it indicates that the total power consumption of the multiple target fans can be further reduced, and the next reduction process can be performed.
[0041] By comparing the total power consumption, we ensure that each weight adjustment is made in the direction of reducing the total power consumption, avoid invalid or reverse adjustments, and ultimately find the optimal weight of the target fan.
[0042] According to the technical solution of the present application, by first utilizing the first initial weights and first target speeds of multiple fans to control the temperature of the first component within a target range, a mapping relationship between the component and the multiple fans is established, thereby improving the control accuracy of heat dissipation. The first initial weight of at least one fan is then reduced at least once, and based on the total power of the multiple target fans, the first target weights of the multiple target fans are determined. The multiple target fans are then controlled using the first target weights and first target speed values to keep the temperature of the first component within the target range. This can reduce the overall operating power of the multiple fans while meeting the heat dissipation requirements of the first component, thereby avoiding excessive heat dissipation.
[0043] According to an embodiment of the present application, any reduction process may include: determining a first target fan for main heat dissipation of the first component and at least one second target fan for auxiliary heat dissipation of the first component from multiple target fans; while maintaining the temperature of the first component within the target range, performing at least one reduction process on the first initial weight of the second target fan.
[0044] The first and second target fans can be determined based on the spatial positional relationships of the multiple target fans with the first component and the airflow directions. For example, a fan that can directly convectively dissipate heat with the first component can be designated as the first target fan. A fan that is relatively far away and cannot directly convectively dissipate heat with the first component, but can improve the air environment around the first component, can be designated as the second target fan.
[0045] The first target fan serves as the primary cooling fan, efficiently removing the large amount of heat generated by the first component to meet the cooling requirements of the first component during normal operation or high-load operation. The first initial weight for the first target fan may not be reduced to ensure sufficient cooling energy. This prevents the fan from failing to remove the heat generated by the first component in a timely manner when the temperature suddenly rises, potentially affecting the performance and stability of the electronic device.
[0046] The second target fan is used to assist in cooling the first component. It can play a role when the first target fan cannot fully meet the cooling demand or when it is necessary to balance the airflow distribution of the entire cooling system. Since the cooling importance of the second target fan is relatively low, the first initial weight of the second target fan can be appropriately reduced to reduce energy consumption and avoid excessive cooling while maintaining the temperature of the first component within the target range.
[0047] Figure 2 A schematic diagram of the layout of a first component and a target fan according to an embodiment of the present application is shown.
[0048] like Figure 2As shown, first fan 210 and first component 240 can form direct convection heat dissipation, which is used to primarily dissipate heat for the first component. Therefore, first fan 210 is the first target fan. Second fan 220 and third fan 230 are positioned offset from the first component and are used to provide auxiliary heat dissipation for the first component. Therefore, second fan 220 and third fan 230 are the second target fans. The first initial weights of the second and third fans can be reduced at least once.
[0049] According to an embodiment of the present application, the second target fans include a plurality of fans. Reducing the first initial weights of the second target fans at least once may include: determining an order in which to reduce the first initial weights of the plurality of second target fans based on respective contributions of the plurality of second target fans to heat dissipation of the first component, wherein the contribution is determined according to a spatial position of the second target fan relative to the first component; and sequentially reducing the first initial weights of the plurality of second target fans at least once based on the order in which to reduce the first initial weights of the plurality of second target fans.
[0050] For example, the contribution of the second target fans to heat dissipation of the second component can be determined based on the distances between the second target fans and the first component. The closer the distance between the second target fans and the first component, the greater the contribution to heat dissipation of the first component.
[0051] Optionally, different contribution levels can be set based on the straight-line distance or shortest airflow path distance between the second target fan and the first component. For example, a distance between 0 and 10 cm could be set as a high contribution level, 10 to 20 cm as a medium contribution level, and 20 cm and above as a low contribution level. The closer the distance, the higher the level and the corresponding contribution value.
[0052] Continue with Figure 2 For example, since the second fan 220 is closer to the first component than the third fan 230, the heat dissipation contribution of the second fan 220 is greater than the heat dissipation contribution of the third fan 230. Therefore, the first initial weight of the third fan 230 can be reduced at least once, and then the first initial weight of the second fan 220 can be reduced at least once.
[0053] According to the embodiments of the present application, the first initial weights of multiple second target fans are sequentially reduced at least once in the order determined by their contribution, allowing weight reductions to be prioritized for fans with smaller heat dissipation contributions. This ensures that fans with larger heat dissipation contributions always maintain relatively strong heat dissipation capabilities, and allows for gradual heat dissipation optimization with minimal impact on overall heat dissipation, effectively avoiding the risk of local overheating.
[0054] In some embodiments, if there are multiple second target fans whose contributions to the heat dissipation of the first component are similar, the first initial weights of the multiple second target fans may be reduced simultaneously to improve efficiency.
[0055] According to an embodiment of the present application, based on the processing order, reducing the first initial weight of each of multiple second target fans at least once in sequence may include: reducing the first initial weight of the current second target fan at least once according to a preset reduction value; when the weight of the current second target fan is reduced to a preset lower limit value, using the preset lower limit value as the first target weight of the current second target fan; based on the processing order, reducing the first initial weight of the next second target fan according to the preset reduction value.
[0056] The preset reduction value is the fixed reduction amount set each time the first initial weight of the current second target fan is reduced. For example, if the first initial weight is 1 and the preset reduction value is 0.1, the weight becomes 0.9 after the first reduction, 0.8 after the second reduction, and so on.
[0057] The preset lower limit value is the minimum weight value set when reducing the first initial weight of the second target fan. For example, if the preset lower limit value is 0.4, then when the weight of the current second target fan is reduced to 0.4, the reduction process of the current second target fan is stopped, and 0.4 is set as the first target weight of the current second target fan.
[0058] According to the embodiments of the present application, the preset lower limit ensures that the second target fan can maintain a certain heat dissipation capacity even after multiple weight reduction processes. During the continuous weight reduction process, this can prevent the fan from completely stopping operation or having extremely low heat dissipation, thereby preventing the fan from providing the necessary auxiliary heat dissipation for the first component.
[0059] According to an embodiment of the present application, the first component can be determined in the following manner: obtaining the real-time temperature of each of the multiple components; for any component, performing proportional-integral-differential calculation based on the real-time temperature of the component to obtain the target speed of the component; and determining the first component among the multiple components based on the target speed of the component.
[0060] For example, the baseboard control manager may be used to collect the actual temperature of each component at predetermined time intervals, and perform proportional-integral-derivative (PID) calculation based on the actual temperature value of the component to obtain the target rotation speed of the component.
[0061] During PID calculation, a control value is calculated based on the current error (the difference between the actual temperature value and the target control temperature), the historical accumulation of the error (integral), and the trend of the error (differential). This is the target speed at the current moment in this embodiment. The calculation formula (1) is as follows:
[0062] Formula (1).
[0063] in, Indicates that the component is at time The calculated fan speed, pwm(t-1) represents the fan speed calculated by the component at time t-1; Kp, Ki, Kd are the coefficients of the proportional, integral, and differential terms in formula (1), respectively, and these coefficients are preset constants; SP represents the target temperature of the component; T(t), T(t-1), and T(t-2) represent the time , component temperature at time t-1 and time t-2.
[0064] The temperature of all individual components of the electronic device will calculate their respective target fan speeds according to the above formula.
[0065] The first component among the multiple components is determined according to the target rotational speed of the component. For example, the component with the highest target rotational speed may be selected as the first component. A higher target rotational speed indicates that the component requires stronger heat dissipation.
[0066] According to the embodiments of the present application, by acquiring component temperatures in real time and performing PID calculations, the operating state of the component can be dynamically adjusted based on its actual temperature, achieving precise control of component temperature. By determining the first component based on the target speed, targeted heat dissipation can be prioritized for components with higher temperatures, thereby improving overall heat dissipation performance.
[0067] According to an embodiment of the present application, the target fan includes a third target fan, which is a fan that dissipates heat for the first component and at least one second component at the same time. After the first initial weight of the third target fan is reduced for the current time, when it is determined that the temperature of the second component has risen to the target temperature, the weight determined after the current reduction process is used as the first target weight of the multiple target fans; based on the second initial weights and second target speeds of the multiple target fans for the second component in the electronic device, the multiple target fans for the second component are controlled to dissipate heat for the second component so that the temperature of the second component is within the second target range, and the second target speed is determined based on the real-time temperature of the second component; the second initial weight of at least one target fan for the second component is reduced at least once to determine the second target weights of the multiple target fans.
[0068] The third target fan is a fan shared by the first component and the second component. The first initial weight and the second initial weight of the third target fan for the first component and the second component are set independently of each other. For example, the first initial weight of the third target fan for the first component may be 1, and the second initial weight for the second component may be 0.8.
[0069] After the first initial weight of the third target fan is reduced, the actual speed of the third target fan decreases, and the heat dissipation of the second component that shares the third target fan with the first component may also be affected, causing the temperature of the second component to rise. If the temperature of the second component rises to the target temperature, the weight reduction operation of the third target fan for the first component ends, and the weight obtained from the current reduction process is selected as the first target weight of the multiple target fans. The target temperature of the second component can be the upper limit of the operating temperature of the second component.
[0070] For example, the first initial weight of the third target fan for the first component is 0.8. When the first initial weight is reduced three times with a reduction value of 0.1, the weight is 0.5. At this time, the temperature of the second component sharing the third target fan with the first component rises to the target temperature. At this time, the weight 0.5 after the first initial weight is reduced three times is used as the first target weight of the third target fan for the first component.
[0071] Exemplarily, based on the second initial weights and second target speeds of the multiple target fans of the second component in the electronic device, the multiple target fans of the second component are controlled to dissipate heat for the second component so that the temperature of the second component is within the target range of the second component, and the second target speed is determined based on the real-time temperature of the second component; the second initial weight of at least one target fan of the second component is reduced at least once, and any reduction process includes: reducing the size of the weight.
[0072] Exemplarily, if the target fan is not the third target fan, the second target weight of the target fan can be determined in the same manner as the multiple target fans for the first component. Specifically, the third total power consumption of the multiple target fans in the predetermined time period after the last reduction process and the fourth total power consumption of the multiple target fans in the predetermined time period after the current reduction process are determined; when the fourth total power consumption is greater than or equal to the third total power consumption, the weights of the multiple target fans determined after the last reduction process are used as the second target weights of the multiple target fans.
[0073] According to an embodiment of the present application, by using the weight determined after the current reduction processing as the first target weight of multiple target fans when determining that the temperature of the second component has risen to the target temperature, and reducing the initial weights of the multiple target fans of the second component, it is possible to effectively dissipate heat for the first component while avoiding local overheating of the second component, ensuring timely allocation of heat dissipation resources, and avoiding the risk of overheating.
[0074] According to an embodiment of the present application, performing at least one reduction process on the second initial weight of at least one target fan for the second component to determine the second target weights of the plurality of target fans may include: determining, for a third target fan, a first actual speed based on the first target speed and the first target weight of the third target fan; determining a second actual speed of the third target fan based on the second initial weight and the second target speed of the third target fan; performing at least one reduction process on the second initial weight of the third target fan when the second actual speed is greater than the first actual speed; determining a third actual speed of the third target fan based on the current weight and the second target speed of the third target fan after the current reduction process; when the third actual speed is less than the first actual speed, using the weight determined after the previous reduction process as the second target weight of the third target fan; when the third actual speed is greater than the first actual speed, determining a third total power consumption of the plurality of target fans in a predetermined time period after the previous reduction process and a fourth total power consumption of the plurality of target fans in the predetermined time period after the current reduction process; and when the fourth total power consumption is greater than or equal to the third total power consumption, using the weight of the third target fan determined after the previous reduction process as the second target weight of the third target fan.
[0075] In some cases, the third target fan may be the main cooling fan for the first component and the auxiliary cooling fan for the second component. In this case, the first actual speed of the third target fan is generally greater than the second actual speed, and the third target fan is primarily controlled by the first component. By comparing the first actual speed and the second actual speed of the third target fan before reducing the initial weight of the third target fan, and reducing the initial weight of the third target fan only when the second actual speed is greater than the first actual speed, unnecessary weight reductions can be reduced, thereby improving the efficiency of weight optimization.
[0076] In some cases, the third target fan is an auxiliary cooling fan for both the first component and the second component. If the first actual speed is greater than the second actual speed, the third target fan is still controlled by the first component, and there is no need to reduce the second initial weight of the third target fan. When the second actual speed is greater than the first actual speed, the third target fan is controlled by the second component, that is, the actual speed is determined by the second initial weight and the second target speed. At this time, the actual speed of the third target fan can not only meet the simultaneous heat dissipation of the first component and the second component, but the second initial weight may also have room for downward adjustment, so the second initial weight can be reduced.
[0077] After the second initial weight is reduced, if the third actual speed of the third target fan is less than the first actual speed, at this time, the third actual speed no longer meets the heat dissipation requirements of the first component. Therefore, the weight determined after the last reduction process is used as the second target weight of the third target fan, so that the power consumption of the third target fan is minimized while meeting the heat dissipation requirements of the first component and the second component at the same time.
[0078] After reducing the second initial weight, if the third actual speed of the third target fan is still greater than the first actual speed, but the total power consumption of the multiple target fans is increasing, this indicates that the third actual speed determined by the current weight, while meeting the heat dissipation requirement of the first component, no longer meets the heat dissipation requirement of the second component. Therefore, the weight determined after the previous reduction is used as the second target weight for the third target fan. This minimizes the power consumption of the third target fan while meeting the heat dissipation requirements of both the first and second components.
[0079] According to an embodiment of the present application, for the third target fan, the second initial weight of the third target fan is adjusted based on different strategies, thereby improving the efficiency of weight optimization while also meeting the heat dissipation requirements of different components with lower power consumption. According to an embodiment of the present application, for the third target fan, the following may be included: based on the second target speed and the second target weight of the third target fan, a fourth actual speed is determined, and the larger value of the first actual speed and the fourth actual speed is used as the actual speed of the third target fan.
[0080] For example, if the first target speed is Q1 and the first target weight is W1, the first speed is W1Q1. If the second target speed is Q2 and the second target weight is W2, the fourth actual speed is W2Q2. The larger of W1Q1 and W2Q2 is taken as the third target fan actual speed.
[0081] By selecting the larger value of the first rotation speed and the second rotation speed as the actual rotation speed, it is ensured that the third target fan can simultaneously meet the heat dissipation requirements of the first component and the second component.
[0082] Figure 3 A schematic diagram of a scenario showing multiple components and multiple fans according to an embodiment of the present application is shown.
[0083] like Figure 3 As shown, the first fan 210 is a first target fan for primary heat dissipation of the first component 240, and the third fan 230 is a first target fan for primary heat dissipation of the second component 250. The second fan 220 is a third target fan for auxiliary heat dissipation of both the first component 240 and the second component 250.
[0084] For the first component, the first initial weight of the second fan 220 is reduced at least once, and the total power consumption of the first fan 210 and the second fan 220 after each reduction is recorded. When the current total power consumption is greater than or equal to the previous total power consumption, the weight obtained from the previous reduction is used as the first target weight of the second fan 220. If, during the process of reducing the first initial weight of the second fan 220 at least once, the temperature of the second component 250 rises to the target temperature, the weight determined after the previous reduction is used as the first target weight of the second fan 220.
[0085] For the second component, the first actual speed is determined based on the first target speed and the first target weight of the second fan 220; the second actual speed of the second fan 220 is determined based on the second initial weight and the second target speed of the second fan 220; when the second actual speed is greater than the first actual speed, the second initial weight of the second fan 220 is reduced at least once; the third actual speed of the second fan 220 is determined based on the current weight and the second target speed of the second fan 220 after the current reduction process; when the third actual speed is less than the first actual speed, the weight determined after the last reduction process is used as the second target weight of the second fan 220; when the third actual speed is greater than the first actual speed, the third total power consumption of multiple target fans in a predetermined time period after the last reduction process and the fourth total power consumption of multiple target fans in a predetermined time period after the current reduction process are determined; when the fourth total power consumption is greater than or equal to the third total power consumption, the weight of the second fan 220 determined after the last reduction process is used as the second target weight of the second fan 220.
[0086] The first actual speed of the second fan 220 is determined based on the first target weight and the first target speed, and the fourth actual speed of the second fan 220 is determined based on the second target weight and the second target speed. The larger of the first speed and the second speed is selected as the actual speed of the second fan 220.
[0087] According to an embodiment of the present application, a query is performed in an environment-weight mapping table based on the current ambient temperature of the electronic device, and the environment-weight mapping table is constructed based on the historical ambient temperature and the target weights of multiple fans obtained at the historical ambient temperature; when it is determined that there is a target historical ambient temperature that matches the current ambient temperature in the environment-weight mapping table, the first target weights of the multiple target fans are obtained based on the target historical ambient temperature.
[0088] The environment-weight mapping table includes multiple different historical ambient temperatures and target weights of multiple target fans of each component at the multiple historical ambient temperatures. The target historical ambient temperature that matches the current ambient temperature can be queried in the environment-weight mapping table.
[0089] Exemplarily, a temperature deviation threshold can be preset, such as 5°C. When the deviation between the target historical ambient temperature and the current ambient temperature is ≤5°C, the first target weight of the multiple target fans of the first component at the target historical ambient temperature can be applied to the multiple target fans of the first component to control the operation of the multiple target fans so that the temperature of the first component is within the target range.
[0090] If no target historical ambient temperature matching the current ambient temperature is found in the environment-weight mapping table, operations S110-S140 are performed to obtain the first target weights of the multiple target fans. The environment-weight mapping table is updated using the current ambient temperature and the first target weights of the multiple target fans. This allows for dynamic updating of the environment-weight mapping table.
[0091] According to the embodiments of the present application, through the environment-weight mapping table, the target weight of the fan can be determined quickly and accurately according to the current actual environmental conditions with the help of the mapping relationship between historical ambient temperature and the target weight of the fan, avoiding the complex process and time consumption brought about by calculating the weight from scratch, and improving the response speed of heat dissipation.
[0092] Figure 4 A block diagram of a heat dissipation control device according to an embodiment of the present application is shown.
[0093] like Figure 4 As shown, the heat dissipation control device 400 includes a first control module 410 , a first weight processing module 420 , a first determination module 430 , and a second determination module 440 .
[0094] The first control module 410 is used to control multiple target fans to dissipate heat for the first component in the electronic device based on the first initial weights and first target speeds of the multiple target fans respectively, so that the temperature of the first component is within a target range, and the first target speed is determined according to the real-time temperature of the first component.
[0095] The first weight processing module 420 is configured to perform at least one reduction process on the first initial weight of at least one target fan, wherein any reduction process includes: reducing the magnitude of the weight.
[0096] The first determining module 430 determines a first total power consumption of the plurality of target fans in a predetermined time period after a previous reduction process, and a second total power consumption of the plurality of target fans in a predetermined time period after a current reduction process.
[0097] The second determination module 440 is used to use the weights of the multiple target fans determined after the last reduction process as the first target weights of the multiple target fans when the second total power consumption is greater than or equal to the first total power consumption, so that when the operation of the multiple target fans is controlled based on the first target weights and the first target speeds of the multiple target fans, the temperature of the first component is within the target range.
[0098] According to an embodiment of the present application, the first weight processing module 420 further includes a first determination submodule and a reduction processing submodule.
[0099] The first determining submodule is configured to determine, from a plurality of target fans, a first target fan for performing primary heat dissipation on the first component and at least one second target fan for performing auxiliary heat dissipation on the first component.
[0100] The reduction processing submodule is configured to perform at least one reduction processing on the first initial weight of the second target fan while maintaining the temperature of the first component within a target range.
[0101] According to an embodiment of the present application, the second target fan includes a plurality of fans; and the reduction processing submodule includes a first determining unit and a reduction processing unit.
[0102] The first determination unit is used to determine a processing order for reducing the first initial weights of the multiple second target fans based on the contribution levels of the multiple second target fans to the heat dissipation of the first component, where the contribution levels are determined according to the spatial positions of the second target fans relative to the first component.
[0103] The reduction processing unit is configured to sequentially perform at least one reduction process on the first initial weights of the plurality of second target fans based on a processing order.
[0104] According to an embodiment of the present application, the reduction processing unit includes a first processing subunit, a second determining subunit, and a third processing subunit.
[0105] The first processing subunit is configured to perform at least one reduction process on the first initial weight of the current second target fan according to a preset reduction value.
[0106] The second determining subunit is configured to, when the weight of the current second target fan is reduced to a preset lower limit value, use the preset lower limit value as the first target weight of the current second target fan.
[0107] The third processing subunit is configured to reduce the first initial weight of the next second target fan according to a preset reduction value based on the processing order.
[0108] According to an embodiment of the present application, the heat dissipation control device 400 further includes an acquisition module, a calculation module and a third determination module.
[0109] The acquisition module is used to obtain the real-time temperature of multiple components.
[0110] The calculation module is used to perform proportional-integral-differential calculation on any component based on the real-time temperature of the component to obtain the target speed of the component.
[0111] The third determining module is configured to determine a first component among the plurality of components according to a target rotational speed of the component.
[0112] According to an embodiment of the present application, the target fan includes a third target fan, which is a fan that simultaneously dissipates heat for the first component and at least one second component. The heat dissipation control device 400 also includes a fourth determination module, a second control module and a second weight processing module.
[0113] The fourth determination module is used to, after performing the current reduction processing on the first initial weight of the third target fan, use the weight determined after the current reduction processing as the first target weight of multiple target fans when it is determined that the temperature of the second component has risen to the target temperature.
[0114] The second control module is used to control the multiple target fans for the second component to dissipate heat for the second component based on the second initial weights and second target speeds of the multiple target fans for the second component in the electronic device, so that the temperature of the second component is within a second target range, and the second target speed is determined according to the real-time temperature of the second component.
[0115] The second weight processing module is configured to perform at least one reduction process on a second initial weight of at least one target fan of the second component to determine second target weights of the plurality of target fans.
[0116] According to an embodiment of the present application, the second weight processing module includes a first speed determination unit, a second speed determination unit, a weight reduction unit, a third speed determination unit, a first weight determination unit, a power consumption determination unit and a second weight determination unit.
[0117] The first rotation speed determining unit is configured to determine a first actual rotation speed for the third target fan based on the first target rotation speed and the first target weight of the third target fan.
[0118] The second rotation speed determining unit is configured to determine a second actual rotation speed of the third target fan based on the second initial weight and the second target rotation speed of the third target fan.
[0119] The weight reducing unit is configured to reduce the second initial weight of the third target fan at least once when the second actual rotation speed is greater than the first actual rotation speed.
[0120] The third rotation speed determining unit is configured to determine a third actual rotation speed of the third target fan based on the current weight of the third target fan after the current reduction process and the second target rotation speed.
[0121] The first weight determination unit is configured to use the weight determined after the last reduction process as the second target weight of the third target fan when the third actual rotation speed is less than the first actual rotation speed.
[0122] The power consumption determination unit is configured to determine, when the third actual speed is greater than the first actual speed, a third total power consumption of the plurality of target fans in a predetermined time period after the last reduction process and a fourth total power consumption of the plurality of target fans in a predetermined time period after the current reduction process.
[0123] The second weight determining unit is configured to use the weight of the third target fan determined after the last reduction process as the second target weight of the third target fan when the fourth total power consumption is greater than or equal to the third total power consumption.
[0124] According to an embodiment of the present application, for the third target fan, the heat dissipation control device 400 further includes a first speed determination module and a second speed determination module.
[0125] The first rotation speed determining module is configured to determine a fourth actual rotation speed based on the second target rotation speed and the second target weight of the third target fan.
[0126] The second rotation speed determining module is configured to use the larger value between the first actual rotation speed and the fourth rotation speed as the actual rotation speed of the third target fan.
[0127] According to an embodiment of the present application, the heat dissipation control device 400 further includes a query module and a fifth determination module.
[0128] The query module is used to query the environment-weight mapping table according to the current environment temperature of the electronic device. The environment-weight mapping table is constructed according to the historical environment temperature and the target weights of multiple fans obtained under the historical environment temperature.
[0129] The fifth determining module is configured to obtain first target weights of the plurality of target fans based on the target historical ambient temperature when it is determined that the target historical ambient temperature matches the ambient temperature in the environment-weight mapping table.
[0130] According to an embodiment of the present application, any multiple modules among the first control module 410, the first weight processing module 420, the first determination module 430, and the second determination module 440 can be combined into a single module, or any one of them can be split into multiple modules. Alternatively, at least part of the functionality of one or more of these modules can be combined with at least part of the functionality of other modules and implemented in a single module. According to an embodiment of the present application, at least one of the first control module 410, the first weight processing module 420, the first determination module 430, and the second determination module 440 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application-specific integrated circuit (ASIC), or can be implemented in hardware or firmware by any other reasonable means of integrating or packaging circuits, or can be implemented in any one of the three implementation methods of software, hardware, and firmware, or in any appropriate combination of any of them. Alternatively, at least one of the first control module 410 , the first weight processing module 420 , the first determination module 430 , and the second determination module 440 may be at least partially implemented as a computer program module, which may perform corresponding functions when executed.
[0131] Figure 5 A block diagram of an electronic device suitable for a heat dissipation control method according to an embodiment of the present application is shown.
[0132] Figure 5 A block diagram of an electronic device suitable for implementing the method described above according to an embodiment of the present application is shown. Figure 5 The electronic device shown is merely an example and should not limit the functions and scope of use of the embodiments of the present application.
[0133] Electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. Electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices, and other similar computing devices. The first components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or claimed herein.
[0134] like Figure 5As shown, device 500 includes a computing unit 501, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 502 or a computer program loaded from a storage unit 508 into a random access memory (RAM) 503. RAM 503 may also store various programs and data required for the operation of device 500. Computing unit 501, ROM 502, and RAM 503 are interconnected via a bus 504. An input / output (I / O) interface 505 is also connected to bus 504.
[0135] A plurality of first components in the electronic device 500 are connected to the I / O interface 505, including: an input unit 506, such as a keyboard, a mouse, etc.; an output unit 507, such as various types of displays, speakers, etc.; a storage unit 508, such as a magnetic disk, an optical disk, etc.; and a communication unit 509, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 509 allows the device 500 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0136] Computing unit 501 can be any general-purpose and / or specialized processing component with processing and computing capabilities. Some examples of computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Computing unit 501 performs the various methods and processes described above, such as the testing method. For example, in some embodiments, the testing method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 508. In some embodiments, part or all of the computer program may be loaded and / or installed onto device 500 via ROM 502 and / or communication unit 509. When the computer program is loaded into RAM 503 and executed by computing unit 501, one or more steps of the testing method described above may be performed. Alternatively, in other embodiments, computing unit 501 may be configured to perform the testing method via any other suitable means (e.g., via firmware).
[0137] Various embodiments of the systems and techniques described above can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-a-chip systems (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0138] The program code for implementing the method of the present application can be written in any combination of one or more programming languages. Such program code can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable test device so that when the program code is executed by the processor or controller, the functions / operations specified in the flow chart and / or block diagram are implemented. The program code can be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0139] In the context of this application, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or apparatus. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of machine-readable storage media may include an electrical connection based on one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), optical fibers, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0140] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0141] The systems and techniques described herein can be implemented in a computing system that includes a backend first component (e.g., as a data server), a computing system that includes a middleware first component (e.g., an application server), a computing system that includes a frontend first component (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend first components, middleware first components, or frontend first components. The first components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), and the Internet.
[0142] A computer system may include a client and a server. The client and server are generally remote from each other and typically interact through a communication network. The client-server relationship arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server in a distributed system, or a server integrated with a blockchain.
[0143] Those skilled in the art will appreciate that the features described in the various embodiments of this application may be combined and / or coupled in various ways, even if such combinations or couplings are not explicitly described in this application. In particular, the features described in the various embodiments of this application may be combined and / or coupled in various ways without departing from the spirit and teachings of this application. All such combinations and / or couplings fall within the scope of this application.
[0144] The embodiments of the present application have been described above. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of the present application. Although each embodiment has been described separately above, this does not mean that the measures in each embodiment cannot be advantageously used in combination. Without departing from the scope of the present application, those skilled in the art may make various substitutions and modifications, and these substitutions and modifications should all fall within the scope of the present application.
Claims
1. A heat dissipation control method, characterized in that: The method comprises: controlling the plurality of target fans for a first component of the electronic device to dissipate heat from the first component so that the temperature of the first component is within a target range based on first initial weights and first target rotational speeds of the plurality of target fans for the first component, wherein the first target rotational speed is determined based on the real-time temperature of the first component; performing at least one reduction process on a first initial weight of at least one target fan, Wherein, any reduction process includes: Reduce the size of the weight; determining a first total power consumption of the plurality of target fans in a predetermined time period after a previous reduction process, and a second total power consumption of the plurality of target fans in a predetermined time period after a current reduction process; When the second total power consumption is greater than or equal to the first total power consumption, the weights of the multiple target fans determined after the last reduction process are used as the first target weights of the multiple target fans, so that when the operation of the multiple target fans is controlled based on the first target weights of the multiple target fans and the first target speed, the temperature of the first component is within the target range.
2. The method according to claim 1, characterized in that Any reduction process further includes: determining, from a plurality of target fans, a first target fan for performing primary heat dissipation on the first component and at least one second target fan for performing auxiliary heat dissipation on the first component; In a case where the temperature of the first component is maintained within a target range, the first initial weight of the second target fan is reduced at least once.
3. The method according to claim 2, characterized in that The second target fans include a plurality of fans; and the first initial weight of the second target fans is reduced at least once, comprising: determining a processing order for reducing the first initial weights of the plurality of second target fans based on respective contribution degrees of the plurality of second target fans to heat dissipation of the first component, wherein the contribution degrees are determined according to spatial positions of the second target fans relative to the first component; Based on the processing order, the first initial weights of the plurality of second target fans are sequentially reduced at least once.
4. The method according to claim 3, characterized in that Based on the processing order, sequentially reducing the first initial weight of each of the plurality of second target fans at least once includes: performing at least one reduction process on the first initial weight of the current second target fan according to a preset reduction value; When the weight of the current second target fan is reduced to a preset lower limit value, the preset lower limit value is used as the first target weight of the current second target fan; Based on the processing order, the first initial weight of the next second target fan is reduced according to the preset reduction value.
5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: Get the real-time temperature of multiple components; For any component, a proportional-integral-differential calculation is performed based on the real-time temperature of the component to obtain a target speed of the component; A first component among the plurality of components is determined based on a target rotational speed of the component.
6. The method according to claim 5, characterized in that The target fan includes a third target fan, where the third target fan is a fan that simultaneously dissipates heat for the first component and at least one second component. The method further includes: After performing the current reduction process on the first initial weight of the third target fan, if it is determined that the temperature of the second component has risen to the target temperature, using the weight determined after the current reduction process as the first target weight of the plurality of target fans; controlling the plurality of target fans for the second component to dissipate heat from the second component based on respective second initial weights and second target rotational speeds of the plurality of target fans for the second component, so that the temperature of the second component is within a second target range, wherein the second target rotational speed is determined based on the real-time temperature of the second component; The second initial weight of the at least one target fan for the second component is reduced at least once to determine second target weights of the plurality of target fans.
7. The method according to claim 6, characterized in that For the third target fan, reducing the second initial weight of at least one target fan for the second component at least once to determine second target weights of the plurality of target fans includes: determining a first actual rotational speed based on the first target rotational speed and the first target weight of the third target fan; determining a second actual rotation speed of the third target fan based on a second initial weight of the third target fan and the second target rotation speed; When the second actual rotation speed is greater than the first actual rotation speed, reducing the second initial weight of the third target fan at least once; determining a third actual rotation speed of the third target fan based on the current weight of the third target fan after the current reduction process and the second target rotation speed; When the third actual speed is less than the first actual speed, the weight determined after the last reduction process is used as the second target weight of the third target fan; If the third actual speed is greater than the first actual speed, determining a third total power consumption of the plurality of target fans in a predetermined time period after a previous reduction process, and a fourth total power consumption of the plurality of target fans in a predetermined time period after a current reduction process; When the fourth total power consumption is greater than or equal to the third total power consumption, the weight of the third target fan determined after the last reduction process is used as the second target weight of the third target fan.
8. The method according to claim 7, characterized in that The method further comprises: determining a fourth actual speed based on the second target speed and the second target weight of the third target fan; A larger value between the first actual rotation speed and the fourth actual rotation speed is used as the actual rotation speed of the third target fan.
9. The method according to claim 1, characterized in that The method further comprises: According to the current ambient temperature of the electronic device, a query is performed in an environment-weight mapping table, wherein the environment-weight mapping table is constructed according to historical ambient temperatures and target weights of the plurality of fans obtained at the historical ambient temperatures; When it is determined that the environment-weight mapping table contains a target historical environment temperature that matches the current environment temperature, first target weights of the plurality of target fans are obtained based on the target historical environment temperature.
10. An electronic device comprising: one or more processors; a memory for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors are enabled to implement the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Rotation speed control method and device for cooling fan and vehicle
CN111196145A
Cooling fan control method and device, electronic equipment and storage medium
CN116382437A
Server fan control method and system, terminal and storage medium
CN116641907A
Fan rotating speed adjusting method and device for server operation and maintenance and storage medium
CN117662507A
Server and heat dissipation control method, system, product, equipment and medium thereof
CN119512342A
Cited By
Fan rotating speed regulation and control method and electronic equipment
CN121029541A
Outdoor energy storage device supporting IP65 protection level
CN121216240A