Cooling fan speed control method, device, computer equipment and storage medium
By calculating the temperature margin value of each heating component in the projection equipment and adjusting it, combined with PID control, the problem of temperature consistency of the heating components in the projection equipment is solved, fan noise and energy consumption are reduced, and heat dissipation efficiency and stability are improved. .
Patent Information
- Application Number
- CN202210299624.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-25
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2042-03-25
AI Technical Summary
In projection equipment, the temperature margins of multiple heating devices have small differences and consistency issues. Conventional PID control may increase the risk of heat dissipation of other heating devices, resulting in greater noise and energy consumption.
By obtaining the permitted operating temperature and actual temperature of each heating device, the minimum temperature margin value is calculated. If it is not equal to the difference of the target device, the permitted operating temperature of the target device is adjusted, and PID control is performed based on the adjusted temperature. Adjust cooling fan speed.
It reduces fan noise and energy consumption, meets the heat dissipation needs of multiple heating devices, avoids system disturbances caused by large adjustments in fan speed, and improves the temperature control accuracy and stability of the equipment.
Smart Images

Figure CN114635868B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of heat dissipation technology, and in particular to a heat dissipation fan speed control method, device, computer equipment, storage medium and computer program product. Background Art
[0002] In projection equipment, the optical machine is the main source of heat, which is composed of heat-generating devices such as light source, color wheel and light modulator. The brightness affects the heat generation power of the device. The temperature of the heat-generating device is affected by the ambient temperature and the brightness of the whole device, and the speed and amplitude of the temperature increase with power consumption also vary. In addition, due to the influence of assembly and parts differences, it is difficult to guarantee the complete uniformity of projection equipment.
[0003] At present, the heat dissipation of projection equipment mostly adopts the step-by-step control method. When the heating device reaches a certain temperature, the fan is adjusted to the corresponding speed. This fan speed control method that divides the target temperature into multiple levels makes the product noisy and not energy-efficient.
[0004] PID intelligent control can achieve infinite dynamic adjustment of fan speed, fast temperature control, energy saving, and can effectively reduce equipment noise and improve user experience. It is widely used in server cooling. However, the heat dissipation of projection equipment needs to ensure that multiple heating components can operate within the allowable temperature specifications, and conventional PID control usually selects the component with the lowest heat dissipation margin as the control target, which is only applicable to situations where the temperature margins of multiple heating components vary greatly. For devices with multiple heating components with small temperature margin differences and consistency issues, setting a single control target may increase the heat dissipation risk of other heating components. Summary of the invention
[0005] Based on this, it is necessary to provide a cooling fan speed control method, device, computer equipment, computer readable storage medium and computer program product that can reduce fan noise in order to solve the above technical problems.
[0006] In a first aspect, the present application provides a method for controlling the speed of a cooling fan. The method comprises:
[0007] Obtaining the permitted operating temperature, actual temperature and cooling fan speed of each heating device; wherein a heating device is a target device;
[0008] Obtaining a minimum temperature margin value based on an actual temperature of each heating device and an allowable operating temperature of each heating device;
[0009] Determining whether the minimum temperature margin value is equal to the difference between the actual temperature of the target device and the permitted operating temperature;
[0010] If the minimum temperature margin value is not equal to the difference between the actual temperature of the target device and the permitted operating temperature, the permitted operating temperature of the target device is adjusted based on the minimum temperature margin value, and the cooling fan speed is PID controlled based on the adjusted permitted operating temperature.
[0011] In one embodiment, obtaining the minimum temperature margin value based on the actual temperature of each heating component and the permitted operating temperature of each heating component includes:
[0012] Calculate the difference between the actual temperature of each heating device and the allowable operating temperature of each heating device as the temperature margin of each heating device;
[0013] The minimum temperature margin is obtained from the temperature margins of the heating components as the minimum temperature margin value.
[0014] In one of the embodiments, the method further includes: if the minimum temperature margin value is equal to the difference between the actual temperature of the target device and the permitted operating temperature, performing PID control on the speed of the cooling fan based on the permitted operating temperature of the target device.
[0015] In one embodiment, the performing PID control on the speed of the cooling fan based on the allowable operating temperature of the target device includes:
[0016] respectively calculating a first current step deviation value between the actual temperature of the target device in the current step and the permitted operating temperature of the target device, a first previous step deviation value between the actual temperature of the target device in the previous step and the permitted operating temperature of the target device, and a first previous two step deviation value between the actual temperature of the target device in the previous two steps and the permitted operating temperature of the target device;
[0017] Obtaining a first PID gain value based on the first current step deviation value, the first previous step deviation value, the first previous two step deviation values and a PID parameter;
[0018] The rotation speed of the cooling fan is PID controlled based on the first PID increase value.
[0019] In one embodiment, adjusting the permissible operating temperature of the target device based on the minimum temperature margin value includes:
[0020] The difference between the permissible operating temperature of the target device and the minimum temperature margin value is calculated as the adjusted permissible operating temperature.
[0021] In one embodiment, the PID control of the speed of the cooling fan based on the adjusted permissible operating temperature includes:
[0022] Calculate respectively a second current step deviation value between the actual temperature of the target device in the current step and the adjusted permissible operating temperature, a second previous step deviation value between the actual temperature of the target device in the previous step and the adjusted permissible operating temperature, and a second previous two step deviation value between the actual temperature of the target device in the previous two steps and the adjusted permissible operating temperature;
[0023] Obtaining a second PID gain value based on the second current step deviation value, the second previous step deviation value, the second previous two step deviation values and the PID parameter;
[0024] The speed of the cooling fan is PID controlled based on the second PID increase value.
[0025] In a second aspect, the present application also provides a cooling fan speed control device. The device comprises:
[0026] A first acquisition module is used to acquire the permitted operating temperature, actual temperature and cooling fan speed of each heating device; wherein a heating device is a target device;
[0027] A second acquisition module, used for acquiring a minimum temperature margin value based on an actual temperature of each heating device and a permissible operating temperature of each heating device;
[0028] A judging module, used for judging whether the minimum temperature margin value is equal to the difference between the actual temperature of the target device and the permitted operating temperature;
[0029] The speed control module is used to adjust the permissible operating temperature of the target device based on the minimum temperature margin value when the minimum temperature margin value is equal to the difference between the actual temperature of the target device and the permissible operating temperature, and to perform PID control on the speed of the cooling fan based on the adjusted permissible operating temperature.
[0030] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0031] Obtaining the permitted operating temperature, actual temperature and cooling fan speed of each heating device; wherein a heating device is a target device;
[0032] Obtaining a minimum temperature margin value based on an actual temperature of each heating device and an allowable operating temperature of each heating device;
[0033] Determining whether the minimum temperature margin value is equal to the difference between the actual temperature of the target device and the permitted operating temperature;
[0034] If the minimum temperature margin value is not equal to the difference between the actual temperature of the target device and the permitted operating temperature, the permitted operating temperature of the target device is adjusted based on the minimum temperature margin value, and the cooling fan speed is PID controlled based on the adjusted permitted operating temperature.
[0035] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0036] Obtaining the permitted operating temperature, actual temperature and cooling fan speed of each heating device; wherein a heating device is a target device;
[0037] Obtaining a minimum temperature margin value based on an actual temperature of each heating device and an allowable operating temperature of each heating device;
[0038] Determining whether the minimum temperature margin value is equal to the difference between the actual temperature of the target device and the permitted operating temperature;
[0039] If the minimum temperature margin value is not equal to the difference between the actual temperature of the target device and the permitted operating temperature, the permitted operating temperature of the target device is adjusted based on the minimum temperature margin value, and the cooling fan speed is PID controlled based on the adjusted permitted operating temperature.
[0040] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0041] Obtaining the permitted operating temperature, actual temperature and cooling fan speed of each heating device; wherein a heating device is a target device;
[0042] Obtaining a minimum temperature margin value based on an actual temperature of each heating device and an allowable operating temperature of each heating device;
[0043] Determining whether the minimum temperature margin value is equal to the difference between the actual temperature of the target device and the permitted operating temperature;
[0044] If the minimum temperature margin value is not equal to the difference between the actual temperature of the target device and the permitted operating temperature, the permitted operating temperature of the target device is adjusted based on the minimum temperature margin value, and the cooling fan speed is PID controlled based on the adjusted permitted operating temperature.
[0045] The above-mentioned cooling fan speed control method, device, computer equipment, storage medium and computer program product obtain the permitted operating temperature, actual temperature and cooling fan speed of each heating device, obtain the minimum temperature margin value based on the actual temperature of each heating device and the permitted operating temperature of each heating device, and judge whether the minimum temperature margin value is equal to the difference between the actual temperature of the target device and the permitted operating temperature. If the minimum temperature margin value is not equal to the difference between the actual temperature of the target device and the permitted operating temperature, the permitted operating temperature of the target device is adjusted based on the minimum temperature margin value, and the cooling fan speed is PID controlled based on the adjusted permitted operating temperature. This method adjusts the permitted operating temperature of the target device based on the minimum temperature margin value. Even if the temperature margins of multiple heating devices are slightly different and there are consistency problems in the equipment, the cooling fan speed is PID controlled with the adjusted permitted operating temperature, which can meet the heat dissipation requirements of multiple heating devices and reduce the heat dissipation risk. In addition, due to the use of PID to control the cooling fan speed, the system disturbance caused by the large adjustment of the fan speed is avoided, and the fan noise and energy consumption are reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 A schematic flow chart of a method for controlling the speed of a cooling fan in one embodiment;
[0047] Figure 2 is a structural block diagram of a cooling fan speed control device in one embodiment;
[0048] Figure 3 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0050] The cooling fan speed control method provided in the embodiment of the present application can be applied to various electronic devices including fans, such as servers, personal computers, laptops, and projectors.
[0051] In one embodiment, Figure 1 As shown, a cooling fan speed control method is provided, which is described by taking the method applied to a projector as an example, and includes the following steps:
[0052] Step 102, obtaining the permitted operating temperature, actual temperature and cooling fan speed of each heating component; wherein a heating component is a target component.
[0053] Specifically, the permissible operating temperature of each heating device can be found in the device specification. In actual use, considering the consistency of the equipment and a certain safety margin, a permissible operating temperature lower than the specifications of each device is often used. A target device is selected from the heating devices. If there is only one heating device, the heating device is the target device; if there are more than one heating devices, one heating device is selected as the target device as needed. For example, in a projection device, including multiple heating devices such as a light source, a color wheel, and a DMD chip, the light source can be set as the target device. The actual temperature of each heating device is obtained through a temperature sensor. Optionally, the actual temperature of each heating device is periodically obtained through a temperature sensor at preset time intervals.
[0054] Step 104 : obtaining a minimum temperature margin value based on the actual temperature of each heating component and the permitted operating temperature of each heating component.
[0055] Specifically, the temperature margin of each heating device is obtained based on the actual temperature of each heating device and the allowable operating temperature of each heating device. The temperature margin is the deviation between the allowable operating temperature of each heating device and the actual temperature of each heating device. After obtaining the temperature margin of each heating device, the minimum temperature margin is obtained as the minimum temperature margin value based on the size of each temperature margin. The minimum temperature margin value is used to control the speed of the cooling fan.
[0056] Step 106 , determining whether the minimum temperature margin value is equal to the difference between the actual temperature of the target device and the permitted operating temperature.
[0057] Specifically, the minimum temperature margin value is compared with the difference between the actual temperature of the target device and the permitted operating temperature to determine whether the minimum temperature margin value is equal to the difference between the actual temperature of the target device and the permitted operating temperature.
[0058] Step 108: If the minimum temperature margin value is not equal to the difference between the actual temperature of the target device and the permitted operating temperature, the permitted operating temperature of the target device is adjusted based on the minimum temperature margin value, and the cooling fan speed is PID controlled based on the adjusted permitted operating temperature.
[0059] Specifically, if the minimum temperature margin value is not equal to the difference between the actual temperature of the target device and the allowable operating temperature of the target device, the allowable operating temperature of the target device is adjusted based on the minimum temperature margin value, and the adjusted allowable operating temperature of the target device is obtained by calculating the difference between the allowable operating temperature of the target device and the minimum temperature margin value. The adjusted allowable operating temperature is used to perform PID control on the speed of the cooling fan.
[0060] In the above-mentioned cooling fan speed control method, by obtaining the permitted operating temperature, actual temperature and cooling fan speed of each heating device, the minimum temperature margin value is obtained based on the actual temperature of each heating device and the permitted operating temperature of each heating device, and it is judged whether the minimum temperature margin value is equal to the difference between the actual temperature of the target device and the permitted operating temperature. If the minimum temperature margin value is not equal to the difference between the actual temperature of the target device and the permitted operating temperature, the permitted operating temperature of the target device is adjusted based on the minimum temperature margin value, and the cooling fan speed is PID controlled based on the adjusted permitted operating temperature. This method adjusts the permitted operating temperature of the target device based on the minimum temperature margin value. Even if the temperature margins of multiple heating devices are slightly different and there are consistency problems in the equipment, the cooling fan speed is PID controlled with the adjusted permitted operating temperature, which can meet the heat dissipation requirements of multiple heating devices and reduce heat dissipation risks. In addition, since the cooling fan speed is controlled by PID, the system disturbance caused by the large adjustment of the fan speed is avoided, and the fan noise and energy consumption are reduced.
[0061] In one embodiment, obtaining the minimum temperature margin value based on the actual temperature of each heating component and the permitted operating temperature of each heating component includes:
[0062] Calculate the difference between the actual temperature of each heating device and the allowable operating temperature of each heating device as the temperature margin of each heating device;
[0063] The minimum temperature margin is obtained from the temperature margins of the heating components as the minimum temperature margin value.
[0064] Specifically, the difference between the actual temperature of each heating device and the permissible operating temperature of each heating device is calculated as the temperature margin of each heating device; since the permissible operating temperature of each heating device is greater than or equal to the actual temperature of each heating device, the calculation formula of the temperature margin of each heating device is: the permissible operating temperature of each heating device minus the actual temperature of each heating device. The value of the temperature margin is greater than or equal to zero, and the minimum temperature margin is obtained from the temperature margin of each heating device as the minimum temperature margin value, and the minimum temperature margin value is used for fan speed PID control.
[0065] In this embodiment, the difference between the actual temperature of each heating device and the permitted operating temperature of each heating device is calculated as the temperature margin of each heating device, and the minimum temperature margin is obtained from the temperature margin of each heating device as the minimum temperature margin value, thereby realizing the calculation of the minimum temperature margin value, and the fan speed can be further controlled according to the minimum temperature margin value, thereby meeting the heat dissipation requirements of multiple heating devices, reducing heat dissipation risks, and reducing fan noise and energy consumption.
[0066] In one embodiment, the method further includes: if the minimum temperature margin value is equal to the difference between the actual temperature of the target device and the permitted operating temperature, performing PID control on the speed of the cooling fan based on the permitted operating temperature of the target device.
[0067] Specifically, if the minimum temperature margin value is equal to the difference between the actual temperature of the target device and the permissible operating temperature of the target device, PID speed control is entered. PID control is a control algorithm that combines the three links of proportion, integration and differentiation. The parameters required for PID control include Kp, Ki and Kd; among them, Kp is the proportional adjustment coefficient, which can speed up the response speed of the system and improve the adjustment accuracy of the system; Ki is the integral adjustment coefficient, which can eliminate the residual; Kd is the differential adjustment coefficient, which can improve the dynamic performance of the system.
[0068] In this embodiment, when the minimum temperature margin value is equal to the difference between the actual temperature of the target device and the allowable operating temperature of the target device, PID control is performed on the cooling fan speed based on the allowable operating temperature of the target device, thereby avoiding system disturbances caused by large adjustments to the fan speed and reducing fan noise and energy consumption.
[0069] In one embodiment, the performing PID control on the speed of the cooling fan based on the allowable operating temperature of the target device includes:
[0070] respectively calculating a first current step deviation value between the actual temperature of the target device in the current step and the permitted operating temperature of the target device, a first previous step deviation value between the actual temperature of the target device in the previous step and the permitted operating temperature of the target device, and a first previous two step deviation value between the actual temperature of the target device in the previous two steps and the permitted operating temperature of the target device;
[0071] Obtaining a first PID gain value based on the first current step deviation value, the first previous step deviation value, the first previous two step deviation values and a PID parameter;
[0072] The rotation speed of the cooling fan is PID controlled based on the first PID increase value.
[0073] Specifically, if the minimum temperature margin value is equal to the difference between the actual temperature of the target device and the permitted operating temperature of the target device, the PID speed control is entered. The specific speed control method is to calculate the first current step deviation value between the actual temperature of the target device in the current step and the permitted operating temperature of the target device, the first previous step deviation value between the actual temperature of the target device in the previous step and the permitted operating temperature of the target device, and the first previous two step deviation value between the actual temperature of the target device in the previous two steps and the permitted operating temperature of the target device within the PID control cycle; based on the first current step deviation value, the first previous step deviation value, the first previous two step deviation value and the PID parameter, the first PID gain value is obtained, wherein the calculation formula for obtaining the first PID gain value is:
[0074] Δout1=Kp[e(n1)-e(n1-1)]+Kie(n1)+Kd[e(n1)-2e(n1-1)+e(n1-2)]
[0075] Wherein, Δout1 is the first PID amplification value, e(n1) is the first current step deviation value, e(n1-1) is the first previous step deviation value, and e(n1-2) is the first previous two step deviation value. The speed of the cooling fan is PID controlled based on the first PID amplification value.
[0076] The PID control algorithm is a control algorithm that combines the three links of proportion, integration and differentiation. The PID parameters include Kp, Ki and Kd; Kp is the proportional adjustment coefficient, which can speed up the response speed of the system and improve the adjustment accuracy of the system; Ki is the integral adjustment coefficient, which can eliminate the residual; Kd is the differential adjustment coefficient, which can improve the dynamic performance of the system. It is also necessary to obtain the permissible operating temperature of each heating component and the initial speed of the cooling fan.
[0077] In this embodiment, when the minimum temperature margin value is not equal to the difference between the actual temperature of the target device and the allowable operating temperature of the target device, the difference between the allowable operating temperature of the target device and the minimum temperature margin value is calculated to obtain the adjusted allowable operating temperature of the target device, and the cooling fan speed is PID controlled based on the adjusted allowable operating temperature. This can meet the heat dissipation needs of multiple heat-generating devices, reduce heat dissipation risks, avoid system disturbances caused by large adjustments to the fan speed, and reduce fan noise and energy consumption.
[0078] In one embodiment, adjusting the permissible operating temperature of the target device based on the minimum temperature margin value includes:
[0079] The difference between the permissible operating temperature of the target device and the minimum temperature margin value is calculated as the adjusted permissible operating temperature.
[0080] Specifically, when the permissible operating temperature of the target device is adjusted based on the minimum temperature margin value, the difference between the permissible operating temperature of the target device and the minimum temperature margin value is calculated as the adjusted permissible operating temperature.
[0081] In this embodiment, the difference between the allowable operating temperature of the target device and the minimum temperature margin value is calculated as the adjusted allowable operating temperature, so that the cooling fan speed can be further PID controlled according to the adjusted allowable operating temperature, which is beneficial to reducing the noise and energy consumption of the fan.
[0082] In one embodiment, the PID control of the speed of the cooling fan based on the adjusted permissible operating temperature includes:
[0083] Calculate respectively a second current step deviation value between the actual temperature of the target device in the current step and the adjusted permissible operating temperature, a second previous step deviation value between the actual temperature of the target device in the previous step and the adjusted permissible operating temperature, and a second previous two step deviation value between the actual temperature of the target device in the previous two steps and the adjusted permissible operating temperature;
[0084] Obtaining a second PID gain value based on the second current step deviation value, the second previous step deviation value, the second previous two step deviation value and PID parameters; the PID parameters include Kp, Ki and Kd;
[0085] The speed of the cooling fan is PID controlled based on the second PID increase value.
[0086] Specifically, the second current step deviation value between the actual temperature of the target device in the current step and the adjusted permitted operating temperature, the second previous step deviation value between the actual temperature of the target device in the previous step and the adjusted permitted operating temperature, and the second previous two step deviation value between the actual temperature of the target device in the previous two steps and the adjusted permitted operating temperature are calculated respectively, and the second PID gain value is obtained based on the second current step deviation value, the second previous step deviation value, the second previous two step deviation value and the PID parameter. The calculation formula of the second PID gain value is:
[0087] Δout2=Kp[e(n2)-e(n2-1)]+Kie(n2)+Kd[e(n2)-2e(n2-1)+e(n2-2)]
[0088] Among them, Δout2 is the second PID amplification value, e(n2) is the second current step deviation value, e(n2-1) is the second previous step deviation value, and e(n2-2) is the second previous two step deviation value; PID control is performed on the cooling fan speed based on the second PID amplification value.
[0089] In this embodiment, the second current step deviation value, the second previous step deviation value and the second previous two step deviation value of the actual temperature of the target device in the current step, the previous step and the previous two steps and the adjusted permitted operating temperature are calculated respectively, and the second PID increase value is obtained based on the second current step deviation value, the second previous step deviation value, the second previous two step deviation value and the PID parameters. The speed of the cooling fan is PID controlled based on the second PID increase value, which can meet the cooling needs of multiple heating devices, reduce cooling risks, avoid system disturbances caused by large adjustments to the fan speed, and reduce fan noise and energy consumption.
[0090] In one embodiment, as in a projection device, the light source, color wheel and DMD chip are the main optical and mechanical heating devices. The light source, color wheel and DMD chip are used as heating devices to obtain the actual temperature of each heating device, where Tm is the actual temperature of the light source, Tc is the actual temperature of the color wheel, and Tp is the actual temperature of the DMD chip. If the allowable operating temperature of the light source is 65, the allowable operating temperature of the color wheel is 75, and the allowable operating temperature of the DMD chip is 55. If within the PID control cycle, Tm=62, Tc=70, Tp=46, and the light source is set as the target device, the minimum temperature margin value can be obtained as Tmin=(65-62, 75-70, 55-46)=3. At this time, the minimum temperature margin value is equal to the difference between the actual temperature of the target device and the allowable operating temperature of the target device, so PID control is directly entered. If within the PID control cycle, Tm=60, Tc=72, Tp=48, then the minimum temperature margin value Tmin=(65-60, 75-72, 55-48)=3. Since the minimum temperature margin value is not equal to the difference between the actual temperature of the target device and the allowable operating temperature of the target device, the difference between the allowable operating temperature of the target device and the minimum temperature margin value is calculated as the adjusted allowable operating temperature, that is, the adjusted allowable operating temperature is 65-3=62. At this time, the second current step deviation value, the second previous step deviation value and the second first two step deviation values are calculated respectively. Based on the second current step deviation value, the second previous step deviation value, the second first two step deviation value and the PID parameters, the second PID gain value is obtained, and the cooling fan speed is PID controlled based on the second PID gain value.
[0091] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0092] Based on the same inventive concept, the embodiment of the present application also provides a cooling fan speed control device for implementing the cooling fan speed control method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more cooling fan speed control device embodiments provided below can refer to the limitations of the cooling fan speed control method above, and will not be repeated here.
[0093] In one embodiment, Figure 2 As shown, a cooling fan speed control device is provided, comprising: a first acquisition module 201, a second acquisition module 202, a residual acquisition module 203 and a speed control module 204, wherein:
[0094] The first acquisition module 201 is used to acquire the permitted operating temperature, actual temperature and cooling fan speed of each heating device; wherein a heating device is a target device;
[0095] A second acquisition module 202, configured to acquire a minimum temperature margin value based on an actual temperature of each heating component and an allowable operating temperature of each heating component;
[0096] A judgment module 203 is used to judge whether the minimum temperature margin value is equal to the difference between the actual temperature of the target device and the allowed operating temperature;
[0097] The speed control module 204 is used to adjust the permissible operating temperature of the target device based on the minimum temperature margin value when the minimum temperature margin value is not equal to the difference between the actual temperature of the target device and the permissible operating temperature, and to perform PID control on the speed of the cooling fan based on the adjusted permissible operating temperature.
[0098] In one embodiment, the second acquisition module 202 is specifically used to: calculate the difference between the actual temperature of each heating device and the allowed operating temperature of each heating device as the temperature margin of each heating device; and obtain the minimum temperature margin from the temperature margin of each heating device as the minimum temperature margin value.
[0099] In one embodiment, the speed control module 204 is further configured to: when the minimum temperature margin value is equal to the difference between the actual temperature of the target device and the permitted operating temperature, perform PID control on the speed of the cooling fan based on the permitted operating temperature of the target device.
[0100] In one embodiment, the speed control module 204 is also used to: respectively calculate a first current step deviation value between the actual temperature of the target device in the current step and the permitted operating temperature of the target device, a first previous step deviation value between the actual temperature of the target device in the previous step and the permitted operating temperature of the target device, and a first two previous step deviation value between the actual temperature of the target device in the previous two steps and the permitted operating temperature of the target device; obtain a first PID increase value based on the first current step deviation value, the first previous step deviation value, the first two previous step deviation value and PID parameters; the PID parameters include Kp, Ki and Kd; and perform PID control on the speed of the cooling fan based on the first PID increase value.
[0101] In one embodiment, the rotation speed control module 204 is further configured to calculate a difference between the allowable operating temperature of the target device and the minimum temperature margin value as the adjusted allowable operating temperature.
[0102] In one embodiment, the speed control module 204 is also used to: respectively calculate the second current step deviation value between the actual temperature of the target device in the current step and the adjusted permitted operating temperature, the second previous step deviation value between the actual temperature of the target device in the previous step and the adjusted permitted operating temperature, and the second first two step deviation value between the actual temperature of the target device in the first two steps and the adjusted permitted operating temperature; obtain a second PID increase value based on the second current step deviation value, the second previous step deviation value, the second first two step deviation value and PID parameters; the PID parameters include Kp, Ki and Kd; and perform PID control on the speed of the cooling fan based on the second PID increase value.
[0103] The above-mentioned cooling fan speed control device obtains the permitted operating temperature, actual temperature and cooling fan speed of each heating device, obtains the minimum temperature margin value based on the actual temperature of each heating device and the permitted operating temperature of each heating device, and determines whether the minimum temperature margin value is equal to the difference between the actual temperature of the target device and the permitted operating temperature. If the minimum temperature margin value is not equal to the difference between the actual temperature of the target device and the permitted operating temperature, the permitted operating temperature of the target device is adjusted based on the minimum temperature margin value, and the cooling fan speed is PID controlled based on the adjusted permitted operating temperature, which can meet the cooling requirements of multiple heating devices, reduce cooling risks, avoid system disturbances caused by large adjustments to the fan speed, and reduce fan noise and energy consumption.
[0104] Each module in the above cooling fan speed control device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0105] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 3 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a cooling fan speed control method is implemented.
[0106] Those skilled in the art will understand that Figure 3 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0107] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0108] Obtaining the permitted operating temperature, actual temperature and cooling fan speed of each heating device; wherein a heating device is a target device;
[0109] Obtaining a minimum temperature margin value based on an actual temperature of each heating device and an allowable operating temperature of each heating device;
[0110] Determining whether the minimum temperature margin value is equal to the difference between the actual temperature of the target device and the permitted operating temperature;
[0111] If the minimum temperature margin value is not equal to the difference between the actual temperature of the target device and the permitted operating temperature, the permitted operating temperature of the target device is adjusted based on the minimum temperature margin value, and the cooling fan speed is PID controlled based on the adjusted permitted operating temperature.
[0112] In one embodiment, when the processor executes the computer program, the following steps are also implemented: respectively calculating the difference between the actual temperature of each heating device and the allowable operating temperature of each heating device as the temperature margin of each heating device; and obtaining the minimum temperature margin from the temperature margin of each heating device as the minimum temperature margin value.
[0113] In one embodiment, when the processor executes the computer program, the following steps are also implemented: when the minimum temperature margin value is equal to the difference between the actual temperature of the target device and the permitted operating temperature, PID control is performed on the speed of the cooling fan based on the permitted operating temperature of the target device.
[0114] In one embodiment, when the processor executes the computer program, the following steps are also implemented: respectively calculating a first current step deviation value between the actual temperature of the target device in the current step and the permitted operating temperature of the target device, a first previous step deviation value between the actual temperature of the target device in the previous step and the permitted operating temperature of the target device, and a first two previous step deviation value between the actual temperature of the target device in the previous two steps and the permitted operating temperature of the target device; obtaining a first PID increase value based on the first current step deviation value, the first previous step deviation value, the first two previous step deviation value and PID parameters; the PID parameters include Kp, Ki and Kd; and performing PID control on the speed of the cooling fan based on the first PID increase value.
[0115] In one embodiment, when the processor executes the computer program, the following steps are further implemented: calculating the difference between the allowable operating temperature of the target device and the minimum temperature margin value as the adjusted allowable operating temperature.
[0116] In one embodiment, when the processor executes the computer program, the following steps are also implemented: respectively calculating the second current step deviation value between the actual temperature of the target device in the current step and the adjusted permitted operating temperature, the second previous step deviation value between the actual temperature of the target device in the previous step and the adjusted permitted operating temperature, and the second first two step deviation value between the actual temperature of the target device in the previous two steps and the adjusted permitted operating temperature; obtaining a second PID increase value based on the second current step deviation value, the second previous step deviation value, the second first two step deviation value and the PID parameters; the PID parameters include Kp, Ki and Kd; and performing PID control on the cooling fan speed based on the second PID increase value.
[0117] The above-mentioned computer equipment obtains the permitted operating temperature, actual temperature and cooling fan speed of each heating device, obtains the minimum temperature margin value based on the actual temperature of each heating device and the permitted operating temperature of each heating device, and determines whether the minimum temperature margin value is equal to the difference between the actual temperature of the target device and the permitted operating temperature. If the minimum temperature margin value is not equal to the difference between the actual temperature of the target device and the permitted operating temperature, the permitted operating temperature of the target device is adjusted based on the minimum temperature margin value, and the cooling fan speed is PID controlled based on the adjusted permitted operating temperature, which can meet the heat dissipation requirements of multiple heating devices, reduce heat dissipation risks, avoid system disturbances caused by large adjustments to the fan speed, and reduce fan noise and energy consumption.
[0118] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0119] Obtaining the permitted operating temperature, actual temperature and cooling fan speed of each heating device; wherein a heating device is a target device;
[0120] Obtaining a minimum temperature margin value based on an actual temperature of each heating device and an allowable operating temperature of each heating device;
[0121] Determining whether the minimum temperature margin value is equal to the difference between the actual temperature of the target device and the permitted operating temperature;
[0122] If the minimum temperature margin value is not equal to the difference between the actual temperature of the target device and the permitted operating temperature, the permitted operating temperature of the target device is adjusted based on the minimum temperature margin value, and the cooling fan speed is PID controlled based on the adjusted permitted operating temperature.
[0123] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: respectively calculating the difference between the actual temperature of each heating device and the allowable operating temperature of each heating device as the temperature margin of each heating device; and obtaining the minimum temperature margin from the temperature margin of each heating device as the minimum temperature margin value.
[0124] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: when the minimum temperature margin value is equal to the difference between the actual temperature of the target device and the permitted operating temperature, PID control is performed on the speed of the cooling fan based on the permitted operating temperature of the target device.
[0125] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: respectively calculating the first current step deviation value between the actual temperature of the target device in the current step and the permitted operating temperature of the target device, the first previous step deviation value between the actual temperature of the target device in the previous step and the permitted operating temperature of the target device, and the first previous two step deviation value between the actual temperature of the target device in the previous two steps and the permitted operating temperature of the target device; obtaining a first PID increase value based on the first current step deviation value, the first previous step deviation value, the first previous two step deviation value and PID parameters; the PID parameters include Kp, Ki and Kd; and performing PID control on the speed of the cooling fan based on the first PID increase value.
[0126] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: calculating the difference between the allowable operating temperature of the target device and the minimum temperature margin value as the adjusted allowable operating temperature.
[0127] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: respectively calculating the second current step deviation value between the actual temperature of the target device in the current step and the adjusted permitted operating temperature, the second previous step deviation value between the actual temperature of the target device in the previous step and the adjusted permitted operating temperature, and the second previous two step deviation value between the actual temperature of the target device in the previous two steps and the adjusted permitted operating temperature; obtaining a second PID increase value based on the second current step deviation value, the second previous step deviation value, the second previous two step deviation value and PID parameters; the PID parameters include Kp, Ki and Kd; and performing PID control on the cooling fan speed based on the second PID increase value.
[0128] The above storage medium obtains the permitted operating temperature, actual temperature and cooling fan speed of each heating device, obtains the minimum temperature margin value based on the actual temperature of each heating device and the permitted operating temperature of each heating device, and determines whether the minimum temperature margin value is equal to the difference between the actual temperature of the target device and the permitted operating temperature. If the minimum temperature margin value is not equal to the difference between the actual temperature of the target device and the permitted operating temperature, the permitted operating temperature of the target device is adjusted based on the minimum temperature margin value, and the cooling fan speed is PID controlled based on the adjusted permitted operating temperature, which can meet the heat dissipation requirements of multiple heating devices, reduce heat dissipation risks, avoid system disturbances caused by large adjustments to the fan speed, and reduce fan noise and energy consumption.
[0129] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0130] Obtaining the permitted operating temperature, actual temperature and cooling fan speed of each heating device; wherein a heating device is a target device;
[0131] Obtaining a minimum temperature margin value based on an actual temperature of each heating device and an allowable operating temperature of each heating device;
[0132] Determining whether the minimum temperature margin value is equal to the difference between the actual temperature of the target device and the permitted operating temperature;
[0133] If the minimum temperature margin value is not equal to the difference between the actual temperature of the target device and the permitted operating temperature, the permitted operating temperature of the target device is adjusted based on the minimum temperature margin value, and the cooling fan speed is PID controlled based on the adjusted permitted operating temperature.
[0134] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: respectively calculating the difference between the actual temperature of each heating device and the allowable operating temperature of each heating device as the temperature margin of each heating device; and obtaining the minimum temperature margin from the temperature margin of each heating device as the minimum temperature margin value.
[0135] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: when the minimum temperature margin value is equal to the difference between the actual temperature of the target device and the permitted operating temperature, PID control is performed on the speed of the cooling fan based on the permitted operating temperature of the target device.
[0136] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: respectively calculating the first current step deviation value between the actual temperature of the target device in the current step and the permitted operating temperature of the target device, the first previous step deviation value between the actual temperature of the target device in the previous step and the permitted operating temperature of the target device, and the first previous two step deviation value between the actual temperature of the target device in the previous two steps and the permitted operating temperature of the target device; obtaining a first PID increase value based on the first current step deviation value, the first previous step deviation value, the first previous two step deviation value and PID parameters; the PID parameters include Kp, Ki and Kd; and performing PID control on the speed of the cooling fan based on the first PID increase value.
[0137] In one embodiment, when the computer program is executed by the processor, the following steps are further implemented: calculating the difference between the allowable operating temperature of the target device and the minimum temperature margin value as the adjusted allowable operating temperature.
[0138] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: respectively calculating the second current step deviation value between the actual temperature of the target device in the current step and the adjusted permitted operating temperature, the second previous step deviation value between the actual temperature of the target device in the previous step and the adjusted permitted operating temperature, and the second previous two step deviation value between the actual temperature of the target device in the previous two steps and the adjusted permitted operating temperature; obtaining a second PID increase value based on the second current step deviation value, the second previous step deviation value, the second previous two step deviation value and PID parameters; the PID parameters include Kp, Ki and Kd; and performing PID control on the cooling fan speed based on the second PID increase value.
[0139] The above-mentioned computer program product obtains the permitted operating temperature, actual temperature and cooling fan speed of each heating device, obtains the minimum temperature margin value based on the actual temperature of each heating device and the permitted operating temperature of each heating device, and determines whether the minimum temperature margin value is equal to the difference between the actual temperature of the target device and the permitted operating temperature. If the minimum temperature margin value is not equal to the difference between the actual temperature of the target device and the permitted operating temperature, the permitted operating temperature of the target device is adjusted based on the minimum temperature margin value, and the cooling fan speed is PID controlled based on the adjusted permitted operating temperature, which can meet the heat dissipation requirements of multiple heating devices, reduce heat dissipation risks, avoid system disturbances caused by large adjustments to the fan speed, and reduce fan noise and energy consumption.
[0140] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0141] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0142] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0143] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A cooling fan speed control method, It is characterized in that The method comprises: Obtaining the permitted operating temperature, actual temperature and cooling fan speed of each heating device; wherein a heating device is a target device; The difference between the actual temperature of each heating device and the permissible operating temperature of each heating device is calculated as the temperature margin of each heating device; the permissible operating temperature of each heating device is greater than or equal to the actual temperature of each heating device; the temperature margin of each heating device is calculated as follows: the permissible operating temperature of each heating device minus the actual temperature of each heating device; the minimum temperature margin is obtained from the temperature margin of each heating device as the minimum temperature margin value; the minimum temperature margin value is used for fan speed PID control; Determining whether the minimum temperature margin value is equal to the difference between the actual temperature of the target device and the permitted operating temperature; If the minimum temperature margin value is not equal to the difference between the actual temperature of the target device and the permitted operating temperature, the permitted operating temperature of the target device is adjusted based on the minimum temperature margin value, and the cooling fan speed is PID controlled based on the adjusted permitted operating temperature.
2. The method according to claim 1, It is characterized in that The method further comprises: If the minimum temperature margin value is equal to the difference between the actual temperature of the target device and the permitted operating temperature, the rotation speed of the cooling fan is PID controlled based on the permitted operating temperature of the target device.
3. The method according to claim 2, It is characterized in that The performing PID control on the speed of the cooling fan based on the permitted operating temperature of the target device comprises: respectively calculating a first current step deviation value between the actual temperature of the target device in the current step and the permitted operating temperature of the target device, a first previous step deviation value between the actual temperature of the target device in the previous step and the permitted operating temperature of the target device, and a first previous two step deviation value between the actual temperature of the target device in the previous two steps and the permitted operating temperature of the target device; Obtaining a first PID gain value based on the first current step deviation value, the first previous step deviation value, the first previous two step deviation values and a PID parameter; The rotation speed of the cooling fan is PID controlled based on the first PID increase value.
4. The method according to claim 1, It is characterized in that The adjusting the permissible operating temperature of the target device based on the minimum temperature margin value includes: The difference between the permissible operating temperature of the target device and the minimum temperature margin value is calculated as the adjusted permissible operating temperature.
5. The method according to claim 4, It is characterized in that The PID control of the speed of the cooling fan based on the adjusted permissible operating temperature comprises: Calculate respectively a second current step deviation value between the actual temperature of the target device in the current step and the adjusted permissible operating temperature, a second previous step deviation value between the actual temperature of the target device in the previous step and the adjusted permissible operating temperature, and a second previous two step deviation value between the actual temperature of the target device in the previous two steps and the adjusted permissible operating temperature; Obtaining a second PID gain value based on the second current step deviation value, the second previous step deviation value, the second previous two step deviation values and the PID parameter; The speed of the cooling fan is PID controlled based on the second PID increase value.
6. A cooling fan speed control device, It is characterized in that The device comprises: A first acquisition module is used to acquire the permitted operating temperature, actual temperature and cooling fan speed of each heating device; wherein a heating device is a target device; The second acquisition module is used to calculate the difference between the actual temperature of each heating device and the allowable operating temperature of each heating device as the temperature margin of each heating device; the allowable operating temperature of each heating device is greater than or equal to the actual temperature of each heating device; the calculation formula of the temperature margin of each heating device is: the allowable operating temperature of each heating device minus the actual temperature of each heating device; the minimum temperature margin is obtained from the temperature margin of each heating device as the minimum temperature margin value; the minimum temperature margin value is used for fan speed PID control; A judging module, used for judging whether the minimum temperature margin value is equal to the difference between the actual temperature of the target device and the permitted operating temperature; The speed control module is used to adjust the permissible operating temperature of the target device based on the minimum temperature margin value when the minimum temperature margin value is not equal to the difference between the actual temperature of the target device and the permissible operating temperature, and to perform PID control on the speed of the cooling fan based on the adjusted permissible operating temperature.
7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
9. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
