Fan control method, device and equipment for cooling fan

By collecting and adjusting the temperature deviation and change parameters of multiple temperature control objects on the electronic equipment motherboard, the precise dynamic adjustment of the fan speed is achieved, and the temperature control problem in complex situations of multiple targets is solved, and the heat dissipation and power consumption of electronic equipment is improved. Comprehensive benefits with noise.

CN118934704APending Publication Date: 2024-11-12RAISECOM TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411099924.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

In the complex situation of multiple goals, it is difficult to achieve accurate continuous temperature control on the electronic equipment motherboard, resulting in low temperature control efficiency, waste of resources, and difficult to obtain good comprehensive benefits of heat dissipation, power consumption and noise.

Method used

By collecting the current temperature measurement values ​​of multiple temperature control objects, determining the corrected deviation, selecting the object with the smallest deviation as the target, combining the preset temperature control accuracy and temperature change parameters, adjusting the PWM pulse width strategy of the fan speed to achieve Accurate dynamic adjustment of fan speed.

Benefits of technology

It realizes accurate and efficient temperature control of electronic equipment control systems with multiple temperature control objects, obtains better comprehensive benefits of heat dissipation, power consumption and noise, fully automatic adjustment, and easy operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118934704A_ABST
    Figure CN118934704A_ABST
Patent Text Reader

Abstract

The invention discloses a fan control method and device for a cooling fan and equipment. The fan control method comprises the steps that current temperature measurement values of different temperature control objects on a mainboard of electronic equipment are periodically collected; the deviation of the temperature limit value of each temperature control object relative to the current temperature measurement value is determined, and the corrected deviation is obtained according to the deviation and parameters used for correcting the deviation; selecting the temperature control object with the minimum deviation after correction as a target temperature control object, and taking the deviation after correction of the target temperature control object as a target deviation En; according to the deviation interval where En is located and the temperature change parameter gamma n of the target temperature control object, a PWM pulse width adjusting strategy for controlling the rotating speed of the draught fan is determined; and the current PWM pulse width is adjusted, and rotation of the draught fan is controlled through the adjusted PWM pulse width. Therefore, the problem that accurate, real-time and continuous control is difficult to achieve under the complex condition that a plurality of temperature control objects exist in the existing electronic equipment is solved. The method and the device can be applied to WDM / OTN / OLT optical network equipment of a metropolitan area and an access layer.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] Using fans to dissipate heat in electronic equipment is a common method. The higher the speed of the fan, the stronger the heat dissipation capacity, but the greater the power consumption and the greater the noise. Precise temperature control can achieve better comprehensive benefits in heat dissipation, power consumption and noise.

[0003] Related technologies often use PWM (Pulse Width Modulation) to control the speed of the fan, thereby adjusting the system's adaptability under different working conditions and ambient temperatures. Specifically, a dedicated temperature sensor on the electronic device's mainboard is used to measure and record the ambient temperature, the difference between the ambient temperature and the target temperature (temperature difference), and a temperature difference and fan air volume relationship curve is developed based on the fan's characteristic curve; when the electronic device is running, the ambient temperature is measured using the dedicated temperature sensor on the electronic device's mainboard, and the fan's wind speed and air volume are adjusted based on the temperature difference and fan air volume relationship curve.

[0004] However, for complex multi-target situations, such as electronic equipment motherboards with multiple chips, the dedicated temperature sensors on the electronic equipment motherboards have poor temperature measurement immediacy, slow response, weak coupling, and large deviation. It is extremely difficult to use related technologies to produce a curve of the relationship between the ambient temperature difference and the fan air volume, and it is difficult to achieve accurate real-time continuous control; the hot spots on the monitoring motherboard have slow response, weak coupling, and large deviation. Therefore, in complex multi-target situations, related technologies have to abandon PWM pulse width precise temperature control and use fan speed regulation with extremely large deviations. The temperature control efficiency is low and it causes waste of resources, making it difficult to obtain better comprehensive benefits of heat dissipation, power consumption, and noise. Summary of the invention

[0005] The purpose of the present application is to provide a fan control method, device and equipment for a cooling fan, which is used to solve the complex situation that there are multiple temperature control objects for existing electronic equipment and it is difficult to achieve accurate real-time continuous control.

[0006] In a first aspect, an embodiment of the present application provides a fan control method for a heat dissipation fan, the method comprising:

[0007] During the current control cycle, the current temperature measurement values ​​of different temperature control objects on the mainboard of the electronic device are collected;

[0008] Determine the deviation of the temperature limit value of each temperature-controlled object relative to the current temperature measurement value, and obtain the corrected deviation of each temperature-controlled object according to the deviation and the parameter used to correct the deviation;

[0009] The temperature control object with the smallest corrected deviation is selected as the target temperature control object, and the corrected deviation of the target temperature control object is used as the target deviation E n ;

[0010] Determine the target deviation En The deviation interval in which the temperature is located, wherein the deviation interval mapping different temperature deviation degrees is obtained according to the preset temperature control accuracy Q, where Q is a positive number;

[0011] According to the determined deviation interval and the temperature change parameter γ of the target temperature control object n , determine the PWM pulse width adjustment strategy for controlling the fan speed, the temperature change parameter γ n The change value of the current temperature measurement value compared with the temperature measurement value of the previous control cycle;

[0012] The current PWM pulse width is adjusted based on the determined PWM pulse width adjustment strategy, and the adjusted PWM pulse width is used as the PWM pulse width of the next control period.

[0013] In some possible embodiments, the parameters used to correct the deviation include:

[0014] A temperature margin parameter M for derating the deviation determined according to the durability of each temperature-controlled object;

[0015] The ambient temperature compensation parameter for compensating the temperature margin parameter M according to the real-time ambient temperature, wherein the compensation amount of the ambient temperature compensation parameter to the temperature margin parameter M is:

[0016] β*(maximum ambient temperature specification-real-time ambient temperature) / (maximum ambient temperature specification-normal ambient temperature); β is a set constant.

[0017] In some possible embodiments, the deviation interval includes a suitable interval not less than -Q and not greater than Q, a too high temperature interval less than -Q, and a too low temperature interval greater than Q;

[0018] According to the determined deviation interval and the temperature change parameter γ of the target temperature control object n , determining a PWM pulse width adjustment strategy for controlling the speed of the fan, comprising at least one of the following steps:

[0019] Determine E n When it is in the appropriate range, by comparing E n and γ n , determine whether to keep the PWM pulse width unchanged or increase it according to the set fine-tuning change;

[0020] Determine E n When the temperature is too high, it is determined whether the current temperature measurement value exceeds the temperature limit, and the temperature margin parameters M and γ n The relationship between the PWM pulse width and the increase in the change amount is determined;

[0021] Determine E nWhen the temperature is too low, by comparing E n and γ n , and γ n The positive or negative value of the pulse width determines that when the temperature is rising too fast, the PWM pulse width is increased according to the set fine-tuning amount; otherwise, the PWM pulse width is reduced and the amount of reduction is determined.

[0022] In some possible embodiments, determining E n When it is in the appropriate range, by comparing E n and γ n , determining to keep the PWM pulse width unchanged or to increase it according to the set fine-tuning change amount includes at least one of the following steps:

[0023] If E n ≥γ n When , make sure to keep the PWM pulse width unchanged;

[0024] If E n <γ n When the PWM pulse width is increased according to the set fine-tuning change amount, it is determined.

[0025] In some possible embodiments, determining E n When the temperature is too high, it is determined whether the current temperature measurement value exceeds the temperature limit, and the temperature margin parameters M and γ n , determining to increase the PWM pulse width and the amount of increase, comprises at least one of the following steps:

[0026] Determine that the current temperature measurement value exceeds the temperature limit, and adjust the PWM pulse width to the maximum PWM pulse width;

[0027] If γ n ≥M, determine to adjust the PWM pulse width to the maximum PWM pulse width;

[0028] If M>γ n >0 and the current temperature measurement value is less than the temperature limit, determine the PWM pulse width according to Δ=K(γ n -E n ) is increased, wherein K is the wind resistance coefficient of the fan when it is turned positive;

[0029] If γ n ≤0 and the current temperature measurement value is less than the temperature limit, it is determined to increase the PWM pulse width according to the set fine-tuning change amount.

[0030] In some possible embodiments, determining E n When the temperature is too low, by comparing E n and γ n , γ nWhen the temperature is too high, the PWM pulse width is increased according to the set fine-tuning amount; otherwise, the PWM pulse width is reduced and the amount of the reduction is reduced, including at least one of the following steps:

[0031] If 0>γ n , determine the PWM pulse width according to Δ = K (γ n -E n ) to reduce;

[0032] If E n >γ n When ≥0, it is determined that the PWM pulse width is reduced according to the set fine-tuning change amount;

[0033] If E n <γ n , determine that the current temperature is rising too fast, and increase the PWM pulse width according to the set fine-tuning amount.

[0034] In some possible embodiments, adjusting the current PWM pulse width based on the determined PWM pulse width adjustment strategy includes:

[0035] When it is determined that the adjusted PWM pulse width is less than the minimum PWM pulse width, the adjusted PWM pulse width is updated to the minimum PWM pulse width;

[0036] When it is determined that the adjusted PWM pulse width is greater than the maximum PWM pulse width, the adjusted PWM pulse width is updated to the maximum PWM pulse width.

[0037] In some possible embodiments, the control period is determined according to the temperature measurement response time of the sensor and the fan speed regulation stabilization time;

[0038] The control accuracy is related to the temperature measurement accuracy of the sensor.

[0039] In a second aspect, an embodiment of the present application provides a fan control device for a heat dissipation fan, the device comprising:

[0040] The temperature value acquisition module is used to collect the current temperature measurement values ​​of different temperature control objects on the mainboard of the electronic device during the current control cycle;

[0041] A temperature deviation determination module, used to determine the deviation of the temperature limit value of each temperature-controlled object relative to the current temperature measurement value, and obtain the corrected deviation of each temperature-controlled object according to the deviation and the parameters used to correct the deviation;

[0042] The target deviation determination module is used to select the temperature control object with the smallest deviation after correction as the target temperature control object, and use the corrected deviation of the target temperature control object as the target deviation E n ;

[0043] The deviation interval determination module is used to determine the target deviation E n The deviation interval in which the temperature is located, wherein the deviation interval mapping different temperature deviation degrees is obtained according to the preset temperature control accuracy Q, where Q is a positive number;

[0044] The PWM pulse width adjustment strategy determination module is used to determine the temperature change parameter γ of the target temperature control object according to the determined deviation interval. n , determine the PWM pulse width adjustment strategy for controlling the fan speed, the temperature change parameter γ n The change value of the current temperature measurement value compared with the temperature measurement value of the previous control cycle;

[0045] The fan rotation control module is used to adjust the current PWM pulse width based on the determined PWM pulse width adjustment strategy, and use the adjusted PWM pulse width as the PWM pulse width of the next control cycle.

[0046] In the third aspect, another embodiment of the present application also provides a fan control device for a cooling fan, comprising at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute any fan control method for a cooling fan provided in the embodiments of the present application.

[0047] In a fourth aspect, another embodiment of the present application further provides a computer storage medium, wherein the computer storage medium stores a computer program, and the computer program is used to enable a computer to execute a fan control method for any cooling fan provided in an embodiment of the present application.

[0048] The fan control method, device and equipment of the cooling fan provided in the embodiment of the present application can monitor multiple temperature control objects at the same time for the complex multi-target situation where the electronic device mainboard has multiple temperature control objects, and then take the temperature control object with the smallest temperature control margin as the judgment standard to adjust the PWM pulse width basis, and by introducing the control cycle to calculate the temperature change rate parameter and the target deviation, and combining the two to determine the PWM pulse width adjustment strategy, the accurate dynamic adjustment of the fan PWM pulse width is achieved, and then the electronic device control system with multiple temperature control objects is accurately and efficiently focused on the temperature level of the chip with the smallest temperature margin at all times; better comprehensive benefits of heat dissipation, power consumption and noise can be obtained, and the adjustment is fully automatic, and the operation is simple and easy to use. In this way, the problem that it is difficult to achieve accurate, real-time and continuous control for the complex situation of electronic devices with multiple temperature control objects is solved.

[0049] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0051] Figure 1 This is a flow chart of a fan control method for a heat dissipation fan according to an embodiment of the present application;

[0052] Figure 2 A structural diagram of a fan control device for a heat dissipation fan according to an embodiment of the present application;

[0053] Figure 3 The figure is a structural diagram of a fan control device of a cooling fan according to an embodiment of the present application. DETAILED DESCRIPTION

[0054] The technical solutions in the embodiments of the present application will be described clearly and in detail below with reference to the accompanying drawings.

[0055] To further illustrate the technical solution provided by the embodiment of the present application, this is described in detail below in conjunction with the accompanying drawings and specific implementation methods. Although the embodiment of the present application provides the method operation steps as shown in the following embodiments or drawings, more or fewer operation steps may be included in the method based on routine or no creative labor. In the steps where there is no necessary causal relationship logically, the execution order of these steps is not limited to the execution order provided by the embodiment of the present application. The method can be executed in the order of the method shown in the embodiment or drawings or in parallel during the actual processing process or when the control device is executed.

[0056] The PWM pulse width and the fan speed are generally linear or nearly linear in the adjustable part; the junction temperature of the chip is negatively correlated with the speed: under the premise that the system is stable and other factors remain unchanged, if the PWM control increases, the air volume will increase and the junction temperature will decrease.

[0057] The junction temperature can be calculated by the following formula: Tj = Ta + (RθJA × PD) where:

[0058] Tj is the junction temperature (Junction Temperature);

[0059] Ta is the ambient temperature;

[0060] RθJA is the thermal resistance from the PN junction to the environment, which is generally provided in the data sheet of electronic equipment;

[0061] PD is the power consumption of the device, which is calculated by subtracting the output power from the input power.

[0062] The prior art uses a dedicated temperature sensor on the electronic device motherboard to measure and record the ambient temperature, record the difference between the ambient temperature and the target temperature (temperature difference), and formulate a temperature difference and fan air volume relationship curve based on the fan characteristic curve; when the electronic device is running, the ambient temperature is measured by the dedicated temperature sensor on the electronic device motherboard, and then the fan speed and air volume are adjusted based on the temperature difference and fan air volume relationship curve. For the complex situation of electronic devices with multiple chips, it is difficult to achieve accurate real-time continuous control.

[0063] In view of the above problems in the related art, the present application provides a fan control method for a heat dissipation fan, such as Figure 1 As shown, the method includes:

[0064] Step 101, in the current control cycle, collecting current temperature measurement values ​​of different temperature control objects on the mainboard of the electronic device;

[0065] In the embodiment of the present application, the control period S is used as the time interval for adjusting the PWM pulse width. The PWM pulse width for controlling the fan speed remains unchanged within a control period S. At the end of the current control period, relevant parameters of the current control period are collected, and the PWM pulse width for the next control period S is determined based on the relevant parameters of the current control period. The PWM pulse width for controlling the fan speed is basically linearly related to the corresponding speed.

[0066] Each temperature control object on the above-mentioned mainboard is a temperature control object with a self-temperature measurement function, and the temperature value of each temperature control object can be obtained by reading the software.

[0067] The temperature control object may be, but is not limited to, a chip on the main board, and the temperature value of the chip may be, but is not limited to, a junction temperature value of a PN junction.

[0068] Step 102, determining the deviation of the temperature limit value of each temperature-controlled object relative to the current temperature measurement value, and obtaining the corrected deviation of each temperature-controlled object according to the deviation and the parameter used to correct the deviation;

[0069] The above-mentioned temperature limit represents the temperature value that does not affect the performance of the temperature control object and ensures the normal operation of the temperature control object. Exceeding the temperature limit means there is a risk, which can be obtained from the parameter requirement information on the application manual of the temperature control object of the mainboard. In the embodiment of the present application, L can be used to represent the temperature limit.

[0070] The above parameters for deviation correction are mainly used to derating the deviation. Derating is equivalent to ultimately controlling the temperature to a temperature lower than the temperature limit. This can improve the working stability of the temperature-controlled object. The specific value can be determined according to the product design requirements of the electronic equipment. For example, if some products have strong temperature tolerance, the derating amount can be designed to be a smaller value. If the product has weak temperature tolerance, the derating amount can be designed to be a larger value.

[0071] Step 103: Select the temperature control object with the smallest corrected deviation as the target temperature control object, and use the corrected deviation of the target temperature control object as the target deviation E n ;

[0072] The smaller the deviation, the more the current temperature measurement value is higher than the temperature limit, which means the need for temperature control is stronger, that is, the temperature control margin is the smallest. The embodiment of the present application selects the temperature control object with the smallest temperature control margin as the target temperature control object, and determines the PWM pulse width adjustment strategy based on the relevant parameters of the target temperature control object.

[0073] Step 104, determining the target deviation E n The deviation interval in which the temperature is located, wherein the deviation interval mapping different temperature deviation degrees is obtained according to the preset temperature control accuracy Q, where Q is a positive number;

[0074] The control accuracy Q represents the allowable fluctuation. The deviation range includes a suitable range not less than -Q and not greater than Q, a temperature range less than -Q that is too high, and a temperature range greater than Q that is too low. If the target deviation E n In the appropriate range, it means that the temperature of the current temperature control object meets the requirements. If the target deviation E n In the low temperature range, it means that the temperature of the current temperature control object is low and the deviation from the temperature limit is large. If the target deviation E n Being in the over-temperature range means that the temperature of the current temperature-controlled object is high and the deviation from the temperature limit is large. The purpose of temperature control in the embodiment of the present application is to keep the temperature of the temperature-controlled object in the appropriate range by continuous adjustment. The above control accuracy Q can be limited to selecting any temperature between 2°C and 5°C.

[0075] Step 105: according to the determined deviation interval and the temperature change parameter γ of the target temperature control object n , determine the PWM pulse width adjustment strategy for controlling the fan speed, the temperature change parameter γ nThe change value of the current temperature measurement value compared with the temperature measurement value of the previous control cycle;

[0076] The temperature change parameter γ of the current temperature measurement value of the target temperature control object compared with the temperature value of the previous control cycle n =T n -T n-1 , represents the temperature change of the target temperature control object within a control cycle. T n Represents the current temperature measurement value of the target temperature control object, T n-1 Represents the temperature measurement value of the previous cycle of the target temperature control object. By calculating γ n It can predict the change in the next cycle, γ n =0 indicates that the air volume and temperature are balanced.

[0077] Step 106: adjust the current PWM pulse width based on the determined PWM pulse width adjustment strategy, and use the adjusted PWM pulse width as the PWM pulse width of the next control period.

[0078] The fan control method of the cooling fan provided in the embodiment of the present application can simultaneously monitor the multiple temperature control objects for the complex multi-target situation where the electronic device mainboard has multiple temperature control objects, and then take the temperature control object with the smallest temperature control margin as the judgment standard to adjust the PWM pulse width basis, and by introducing the control cycle to calculate the temperature change rate parameter and the target deviation, and combining the two to determine the PWM pulse width adjustment strategy, it can realize the precise dynamic adjustment of the PWM pulse width of the fan fan control, and then accurately and efficiently realize the electronic device control system with multiple temperature control objects to always focus on the temperature level corresponding to the chip with the smallest temperature margin; better comprehensive benefits of heat dissipation, power consumption and noise can be obtained, and the adjustment is fully automatic, and the operation is simple and easy to use.

[0079] In some possible embodiments, the parameters used to correct the deviation include:

[0080] A temperature margin parameter M for derating the deviation determined according to the durability of each temperature-controlled object;

[0081] The ambient temperature compensation parameter for compensating the temperature margin parameter M according to the real-time ambient temperature, wherein the compensation amount of the ambient temperature compensation parameter to the temperature margin parameter M is:

[0082] β*(maximum ambient temperature specification-real-time ambient temperature) / (maximum ambient temperature specification-normal ambient temperature); β is a set constant.

[0083] Specifically, the temperature margin parameter M can be determined according to the product design requirements of the electronic equipment. The temperature margin parameter M indicates the temperature derating level of the product. For example, the derating levels of civilian products, industrial products, and military products are quite different, that is, the durability is very different, then the M value is relatively large.

[0084] The working environment temperature difference of some electronic equipment products is large within a day, and the working time at the highest ambient temperature is short. For cost factors, when M takes a smaller value, the working temperature of the temperature-controlled object is higher. It is hoped that the temperature of the temperature-controlled object can be β degrees lower than the highest ambient temperature at normal ambient temperature such as 25°C, so that linear compensation can be performed. For this purpose, a sensor with real-time measurement of the air inlet temperature is required to collect the real-time ambient temperature, and calculate the compensation for M according to the above-mentioned compensation calculation method.

[0085] Specifically, the ambient temperature compensation parameter of the fan can be determined according to the product design requirements of the electronic equipment. The ambient temperature compensation parameter is used to optimize the temperature margin parameter M. The compensation amount for the temperature margin parameter M can be determined according to the real-time ambient temperature. The desired effect is to make the derating value reach β at normal ambient temperature.

[0086] In the embodiment of the present application, when the parameters used for correcting the deviation include the above two parameters, the corrected deviation of each temperature control object is obtained according to the deviation and the parameters used for correcting the deviation in the following manner:

[0087] E n =LT n -M-β*(maximum ambient temperature specification-real-time ambient temperature) / (maximum ambient temperature specification-normal ambient temperature).

[0088] The maximum ambient temperature specification parameter indicates the maximum ambient temperature in which the electronic equipment product can operate.

[0089] The target deviation E is given below n When in different deviation ranges, according to the determined deviation range and the temperature change parameter γ of the target temperature control object n , determine possible implementation methods of the PWM pulse width adjustment strategy for controlling the fan speed.

[0090] 1) E n In the appropriate range

[0091] Determine E n When it is in the appropriate range, by comparing E n and γ n , determine whether to keep the PWM pulse width unchanged or increase it according to the set fine-tuning change amount.

[0092] If E nIn the appropriate range, it means that the current target temperature control object has achieved the temperature control purpose, γ n Represents the temperature change value, and further compares E n and γ n , the state of heat consumption can be determined.

[0093] Specifically, if E n ≥γ n When , it means that the heat consumption of the target temperature control object is stable, and the speed of the fan needs to be stabilized to ensure that the PWM pulse width remains unchanged, that is, the change in the PWM pulse width Δ=0;

[0094] If E n <γ n When , although the temperature of the target temperature control object is in the appropriate range, the system power does not increase much, and the wind speed needs to be slightly increased. It is determined that the PWM pulse width is increased according to the set fine-tuning change amount, that is, the change amount of the PWM pulse width Δ=1.

[0095] 2) E n In the temperature range too high

[0096] Determine E n When the temperature is too high, the current temperature measurement value T n Whether the temperature limit L is exceeded, and the temperature margin parameters M and γ n The relationship between the PWM pulse width and the amount of increase is determined. n Whether the temperature limit L is exceeded means that the temperature of the target temperature control object for speed control is out of limit and needs to be cooled quickly. By comparing the temperature margin parameter M and γ n The relationship between the temperature and the input voltage can be used to predict the cooling speed, so that different changes can be made for PWM adjustment.

[0097] In some possible embodiments, the following four adjustment strategies may be included:

[0098] ①Determine the current temperature measurement value T n If the temperature exceeds the limit value L, it means that the temperature of the temperature control object exceeds the limit and the wind speed needs to be increased quickly. Specifically, the PWM pulse width is adjusted to the maximum PWM pulse width, that is, PWM n+1 =PWM max ;

[0099] ②If γ n ≥M, it is predicted that there is a risk of temperature exceeding the limit, and the fan speed needs to be increased quickly. Make sure to adjust the PWM pulse width to the maximum PWM pulse width, that is, PWM n+1 =PWM max ;

[0100] ③If M>γ n>0 and the current temperature measurement value is less than the temperature limit L, indicating that the target temperature control object is in a temperature region higher than the design requirement, and it is predicted that the next control cycle will not exceed the limit value to determine the PWM pulse width according to Δ=K(γ n -E n ) is increased, wherein K is the wind resistance coefficient of the fan when it is turned positive;

[0101] ④If γ n ≤0 and the current temperature measurement value is less than the temperature limit, it means that although the target temperature control object is in a temperature area higher than the design requirement, the target temperature control object is no longer heating up, and it is predicted that the next control cycle will not exceed the limit. The speed only needs to increase slightly, and it is determined that the PWM pulse width is increased according to the set fine-tuning change amount, that is, the change amount of the PWM pulse width Δ=1.

[0102] 3) E n In the low temperature range

[0103] Determine E n When the temperature is too low, by comparing E n and γ n , and γ n If the temperature is too high, the PWM pulse width is increased according to the set fine-tuning amount. Otherwise, the PWM pulse width is reduced and the amount of change is reduced. n <γ n , it means that the target temperature control chip is in a state of over-rapid heating. Although the current temperature is too low, you can increase the speed by fine-tuning. In other cases, slow down according to demand.

[0104] In some possible embodiments, the following three adjustment strategies may be included:

[0105] ①If 0>γ n , indicating that the temperature is still decreasing and the wind speed needs to be reduced to reach the appropriate range. The PWM pulse width is determined according to the change Δ=K(γ n -E n ) to reduce;

[0106] ②If E n >γ n When ≥0, it means that even if the target temperature control object is in the state of heating up, its change is not large, and it is predicted that the next cycle will still stay in the too low range, and the wind speed needs to be reduced to reach the appropriate range. The PWM pulse width can be reduced according to the set fine-tuning change. The change of PWM pulse width Δ=-1;

[0107] ③If E n <γ nIt is determined that although the temperature is currently in the too low range, it is in the too fast temperature rise state. According to the temperature rise trend, it is predicted that there is a possibility of entering the appropriate range in the next control cycle. The PWM pulse width is increased according to the set fine-tuning change amount, and the change amount of the PWM pulse width Δ=1.

[0108] The control period of the embodiment of the present application is determined based on the temperature measurement response time of the sensor and the fan speed regulation stabilization time. The control period is greater than the sum of the temperature measurement response time of the sensor and the fan speed regulation stabilization time. The above-mentioned sensor is a sensor for measuring the temperature required by the embodiment of the present application. The required temperature includes the real-time ambient temperature. The above-mentioned real-time ambient temperature can be measured by a sensor set at the air inlet of the mainboard.

[0109] The control accuracy of the embodiment of the present application is related to the temperature measurement accuracy of the sensor. The higher the temperature measurement accuracy of the sensor, the higher the control accuracy.

[0110] In some possible embodiments, adjusting the current PWM pulse width based on the determined PWM pulse width adjustment strategy includes:

[0111] When it is determined that the adjusted PWM pulse width is less than the minimum PWM pulse width, the adjusted PWM pulse width is updated to the minimum PWM pulse width PWM min ;

[0112] When it is determined that the adjusted PWM pulse width is greater than the maximum PWM pulse width, the adjusted PWM pulse width is updated to the maximum PWM pulse width PWM max .

[0113] In the embodiment of the present application, after the change amount Δ of the PWM adjustment is determined, the next control cycle is determined as follows:

[0114] PWM n+1 =PWM n +Δ;

[0115] PWM n : Unit: %, represents the control pulse width implemented in the current control cycle. It is more convenient to take the initial value of PWM pulse width as about 50%;

[0116] PWM n+1 : Unit: %, the control pulse width to be implemented in the next control cycle;

[0117] Δ value: the change in PWM pulse width duty cycle correction, unit: %.

[0118] The embodiment of the present application determines the PWM pulse width range of the fan according to the fan selection / noise extreme value requirements. min and PWM max The specific method can be determined by any of the following methods:

[0119] Determine PWM according to the parameters corresponding to the fan model min and PWM max ;

[0120] By measuring the noise of the fan at different PWM levels, according to the required noise extreme value, the PWM level measured at the minimum and maximum noise values ​​is determined as the PWM min and PWM max ; To ensure that the noise dimension of the fan meets the standard when it is working.

[0121] The above drag coefficient K is a value obtained through wind tunnel test, and 0.5 is selected. The design of the heat sink and ventilation holes of the fan should follow the rule that wind resistance is affected by the drag coefficient.

[0122] Based on the same inventive concept, the present application also provides a fan control device 200 for a cooling fan, such as Figure 2 As shown, the device comprises:

[0123] The temperature value acquisition module 201 is used to collect the current temperature measurement values ​​of different temperature control objects on the mainboard of the electronic device during the current control cycle;

[0124] The temperature deviation determination module 202 is used to determine the deviation of the temperature limit value of each temperature-controlled object relative to the current temperature measurement value, and obtain the corrected deviation of each temperature-controlled object according to the deviation and the parameter used to correct the deviation;

[0125] The target deviation determination module 203 is used to select the temperature control object with the smallest deviation after correction as the target temperature control object, and use the corrected deviation of the target temperature control object as the target deviation E n ;

[0126] The deviation interval determination module 204 is used to determine the target deviation E n The deviation interval in which the temperature is located, wherein the deviation interval mapping different temperature deviation degrees is obtained according to the preset temperature control accuracy Q, where Q is a positive number;

[0127] The PWM pulse width adjustment strategy determination module 205 is used to determine the temperature change parameter γ of the target temperature control object according to the determined deviation interval. n , determine the PWM pulse width adjustment strategy for controlling the fan speed, the temperature change parameter γ n The change value of the current temperature measurement value compared with the temperature measurement value of the previous control cycle;

[0128] The fan rotation control module 206 is used to adjust the current PWM pulse width based on the determined PWM pulse width adjustment strategy, and use the adjusted PWM pulse width as the PWM pulse width of the next control period.

[0129] In some possible embodiments, the parameters used to correct the deviation include:

[0130] A temperature margin parameter M for derating the deviation determined according to the durability of each temperature-controlled object;

[0131] The ambient temperature compensation parameter for compensating the temperature margin parameter M according to the real-time ambient temperature, wherein the compensation amount of the ambient temperature compensation parameter to the temperature margin parameter M is:

[0132] β*(maximum ambient temperature specification-real-time ambient temperature) / (maximum ambient temperature specification-normal ambient temperature); β is a set constant.

[0133] In some possible embodiments, the deviation interval includes a suitable interval not less than -Q and not greater than Q, a too high temperature interval less than -Q, and a too low temperature interval greater than Q;

[0134] The PWM pulse width adjustment strategy determination module determines the temperature change parameter γ of the target temperature control object according to the determined deviation interval. n , determining a PWM pulse width adjustment strategy for controlling the speed of the fan, comprising at least one of the following steps:

[0135] Determine E n When it is in the appropriate range, by comparing E n and γ n , determine whether to keep the PWM pulse width unchanged or increase it according to the set fine-tuning change;

[0136] Determine E n When the temperature is too high, it is determined whether the current temperature measurement value exceeds the temperature limit, and the temperature margin parameters M and γ n The relationship between the PWM pulse width and the increase in the change amount is determined;

[0137] Determine E n When the temperature is too low, by comparing E n and γ n , and γ n The positive or negative value of the pulse width determines that when the temperature is rising too fast, the PWM pulse width is increased according to the set fine-tuning amount; otherwise, the PWM pulse width is reduced and the amount of reduction is determined.

[0138] In some possible embodiments, the PWM pulse width adjustment strategy determination module determines E n When it is in the appropriate range, by comparing E n and γ n , determining to keep the PWM pulse width unchanged or to increase it according to the set fine-tuning change amount includes at least one of the following steps:

[0139] If En ≥γ n When , make sure to keep the PWM pulse width unchanged;

[0140] If E n <γ n When the PWM pulse width is increased according to the set fine-tuning change amount, it is determined.

[0141] In some possible embodiments, the PWM pulse width adjustment strategy determination module determines E n When the temperature is too high, it is determined whether the current temperature measurement value exceeds the temperature limit, and the temperature margin parameters M and γ n , determining to increase the PWM pulse width and the amount of increase, comprises at least one of the following steps:

[0142] Determine that the current temperature measurement value exceeds the temperature limit, and adjust the PWM pulse width to the maximum PWM pulse width;

[0143] If γ n ≥M, determine to adjust the PWM pulse width to the maximum PWM pulse width;

[0144] If M>γ n >0 and the current temperature measurement value is less than the temperature limit, determine the PWM pulse width according to Δ=K(γ n -E n ) is increased, wherein K is the wind resistance coefficient of the fan when it is turned positive;

[0145] If γ n ≤0 and the current temperature measurement value is less than the temperature limit, it is determined to increase the PWM pulse width according to the set fine-tuning change amount.

[0146] In some possible embodiments, the PWM pulse width adjustment strategy determination module determines E n When the temperature is too low, by comparing E n and γ n , γ n When the temperature is too high, the PWM pulse width is increased according to the set fine-tuning amount; otherwise, the PWM pulse width is reduced and the amount of the reduction is reduced, including at least one of the following steps:

[0147] If 0>γ n , determine the PWM pulse width according to Δ = K (γ n -E n ) to reduce;

[0148] If E n >γ n When ≥0, it is determined that the PWM pulse width is reduced according to the set fine-tuning change amount;

[0149] If En <γ n , determine that the current temperature is rising too fast, and increase the PWM pulse width according to the set fine-tuning amount.

[0150] In some possible embodiments, the PWM pulse width adjustment strategy determination module adjusts the current PWM pulse width based on the determined PWM pulse width adjustment strategy, including:

[0151] When it is determined that the adjusted PWM pulse width is less than the minimum PWM pulse width, the adjusted PWM pulse width is updated to the minimum PWM pulse width;

[0152] When it is determined that the adjusted PWM pulse width is greater than the maximum PWM pulse width, the adjusted PWM pulse width is updated to the maximum PWM pulse width.

[0153] In some possible embodiments, the control period is determined according to the temperature measurement response time of the sensor and the fan speed regulation stabilization time;

[0154] The control accuracy is related to the temperature measurement accuracy of the sensor.

[0155] After introducing the fan control method and apparatus of the heat dissipation fan according to the exemplary embodiment of the present application, next, a fan control device of the heat dissipation fan according to another exemplary embodiment of the present application is introduced.

[0156] Those skilled in the art will appreciate that various aspects of the present application may be implemented as a system, method or program product. Therefore, various aspects of the present application may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to as "circuit", "module" or "system" herein.

[0157] In some possible implementations, the fan control device of the cooling fan according to the present application may include at least one processor and at least one memory. The memory stores program code, and when the program code is executed by the processor, the processor executes the steps of the fan control method of the cooling fan according to various exemplary implementations of the present application described above in this specification.

[0158] Refer to the following Figure 3 The fan control device 130 of the heat dissipation fan according to this embodiment of the present application is described. Figure 3 The fan control device 130 of the cooling fan shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0159] like Figure 3As shown, the fan control device 130 of the cooling fan is in the form of a general electronic device. The components of the cooling fan control device 130 may include but are not limited to: at least one processor 131, at least one memory 132, and a bus 133 connecting different system components (including the memory 132 and the processor 131).

[0160] Bus 133 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a processor, or a local bus using any of a variety of bus architectures.

[0161] The memory 132 may include a readable medium in the form of a volatile memory, such as a random access memory (RAM) 1321 and / or a cache memory 1322 , and may further include a read-only memory (ROM) 1323 .

[0162] The memory 132 may also include a program / utility 1325 having a set (at least one) of program modules 1324, such program modules 1324 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0163] The fan control device 130 of the cooling fan can also communicate with one or more external devices 134 (such as keyboards, pointing devices, etc.), and can also communicate with one or more devices that enable users to interact with the fan control device 130 of the cooling fan, and / or communicate with any device that enables the fan control device 130 of the cooling fan to communicate with one or more other electronic devices (such as routers, modems, etc.). Such communication can be performed through an input / output (I / O) interface 135. In addition, the fan control device 130 of the cooling fan can also communicate with one or more networks (such as local area networks (LANs), wide area networks (WANs) and / or public networks, such as the Internet) through a network adapter 136. As shown in the figure, the network adapter 136 communicates with other modules of the fan control device 130 for the cooling fan through a bus 133. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the fan control device 130 of the cooling fan, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0164] In some possible implementations, various aspects of a fan control method for a cooling fan provided in the present application may also be implemented in the form of a program product, which includes a program code. When the program product is run on a computer device, the program code is used to enable the computer device to execute the steps of a fan control method for a cooling fan according to various exemplary implementations of the present application described above in this specification.

[0165] The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0166] The program product for monitoring of the embodiment of the present application can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on an electronic device. However, the program product of the present application is not limited to this. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, an apparatus or a device or used in combination with it.

[0167] The readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, wherein the readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The readable signal medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0168] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0169] The program code for performing the operations of the present application can be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and also conventional procedural programming languages ​​such as "C" language or similar programming languages. The program code can be executed entirely on the user electronic device, partially on the user device, as an independent software package, partially on the user electronic device and partially on the remote electronic device, or entirely on the remote electronic device or server. In the case of a remote electronic device, the remote electronic device can be connected to the user electronic device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external electronic device (for example, using an Internet service provider to connect through the Internet).

[0170] It should be noted that, although several units or subunits of the device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more units described above can be embodied in one unit. Conversely, the features and functions of one unit described above can be further divided into multiple units to be embodied.

[0171] In addition, although the operations of the method of the present application are described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0172] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0173] The present application is described with reference to the flowcharts and block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and block diagram, as well as the combination of the processes and boxes in the flowchart and block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and block diagram. Figure 1 Process or multiple processes and boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0174] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 Process or multiple processes and boxes Figure 1 A function specified in one or more boxes.

[0175] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 Process or multiple processes and boxes Figure 1 The steps for the functions specified in one or more boxes.

[0176] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0177] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A fan control method for a cooling fan, characterized in that: The method comprises: During the current control cycle, the current temperature measurement values ​​of different temperature control objects on the mainboard of the electronic device are collected; Determine the deviation of the temperature limit value of each temperature-controlled object relative to the current temperature measurement value, and obtain the corrected deviation of each temperature-controlled object according to the deviation and the parameter used to correct the deviation; The temperature control object with the smallest corrected deviation is selected as the target temperature control object, and the corrected deviation of the target temperature control object is used as the target deviation E n ; Determine the target deviation E n The deviation interval in which the temperature is located, wherein the deviation interval mapping different temperature deviation degrees is obtained according to the preset temperature control accuracy Q, where Q is a positive number; According to the determined deviation interval and the temperature change parameter γ of the target temperature control object n , determine the PWM pulse width adjustment strategy for controlling the fan speed, the temperature change parameter γ n The change value of the current temperature measurement value compared with the temperature measurement value of the previous control cycle; The current PWM pulse width is adjusted based on the determined PWM pulse width adjustment strategy, and the adjusted PWM pulse width is used as the PWM pulse width of the next control period.

2. The method according to claim 1, characterized in that The parameters used to correct the deviation include: A temperature margin parameter M for derating the deviation determined according to the durability of each temperature-controlled object; The ambient temperature compensation parameter for compensating the temperature margin parameter M according to the real-time ambient temperature, wherein the compensation amount of the ambient temperature compensation parameter to the temperature margin parameter M is: β*(maximum ambient temperature specification-real-time ambient temperature) / (maximum ambient temperature specification-normal ambient temperature); β is a set constant.

3. The method according to claim 1 or 2, characterized in that: The deviation interval includes a suitable interval not less than -Q and not greater than Q, a too high temperature interval less than -Q, and a too low temperature interval greater than Q; According to the determined deviation interval and the temperature change parameter γ of the target temperature control object n , determining a PWM pulse width adjustment strategy for controlling the speed of the fan, comprising at least one of the following steps: Determine E n When it is in the appropriate range, by comparing E n and γ n , determine whether to keep the PWM pulse width unchanged or increase it according to the set fine-tuning change; Determine E n When the temperature is too high, it is determined whether the current temperature measurement value exceeds the temperature limit, and the temperature margin parameters M and γ n The relationship between the PWM pulse width and the increase in the change amount is determined; Determine E n When the temperature is too low, by comparing E n and γ n , and γ n The positive or negative value of the pulse width determines that when the temperature is rising too fast, the PWM pulse width is increased according to the set fine-tuning amount; otherwise, the PWM pulse width is reduced and the amount of reduction is determined.

4. The method according to claim 3, characterized in that Determine E n When it is in the appropriate range, by comparing E n and γ n , determining to keep the PWM pulse width unchanged or to increase it according to the set fine-tuning change amount includes at least one of the following steps: If E n ≥γ n When , make sure to keep the PWM pulse width unchanged; If E n <γ n When the PWM pulse width is increased according to the set fine-tuning change amount, it is determined.

5. The method according to claim 3, characterized in that: Determine E n When the temperature is too high, it is determined whether the current temperature measurement value exceeds the temperature limit, and the temperature margin parameters M and γ n , determining to increase the PWM pulse width and the amount of increase, comprises at least one of the following steps: Determine that the current temperature measurement value exceeds the temperature limit, and adjust the PWM pulse width to the maximum PWM pulse width; If γ n ≥M, determine to adjust the PWM pulse width to the maximum PWM pulse width; If M>γ n >0 and the current temperature measurement value is less than the temperature limit, determine the PWM pulse width according to Δ=K(γ n -E n ) is increased, wherein K is the wind resistance coefficient of the fan when it is turned positive; If γ n ≤0 and the current temperature measurement value is less than the temperature limit, it is determined to increase the PWM pulse width according to the set fine-tuning change amount.

6. The method according to claim 1, characterized in that Determine E n When the temperature is too low, by comparing E n and γ n , γ n When the temperature is too high, the PWM pulse width is increased according to the set fine-tuning amount; otherwise, the PWM pulse width is reduced and the amount of the reduction is reduced, including at least one of the following steps: If 0>γ n , determine the PWM pulse width according to Δ=K(γ n -E n ) to reduce; If E n >γ n When ≥0, it is determined that the PWM pulse width is reduced according to the set fine-tuning change amount; If E n <γ n , determine that the current temperature is rising too fast, and increase the PWM pulse width according to the set fine-tuning amount.

7. The method according to claim 1, characterized in that Adjusting the current PWM pulse width based on the determined PWM pulse width adjustment strategy includes: When it is determined that the adjusted PWM pulse width is less than the minimum PWM pulse width, the adjusted PWM pulse width is updated to the minimum PWM pulse width; When it is determined that the adjusted PWM pulse width is greater than the maximum PWM pulse width, the adjusted PWM pulse width is updated to the maximum PWM pulse width.

8. The method according to claim 2, characterized in that: The control cycle is determined according to the sensor temperature measurement response time and the fan speed regulation stabilization time; The control accuracy is related to the temperature measurement accuracy of the sensor.

9. A fan control device for a cooling fan, characterized in that: The device comprises: The temperature value acquisition module is used to collect the current temperature measurement values ​​of different temperature control objects on the mainboard of the electronic device during the current control cycle; A temperature deviation determination module, used to determine the deviation of the temperature limit value of each temperature-controlled object relative to the current temperature measurement value, and obtain the corrected deviation of each temperature-controlled object according to the deviation and the parameter used to correct the deviation; The target deviation determination module is used to select the temperature control object with the smallest deviation after correction as the target temperature control object, and use the corrected deviation of the target temperature control object as the target deviation E n ; The deviation interval determination module is used to determine the target deviation E n The deviation interval in which the temperature is located, wherein the deviation interval mapping different temperature deviation degrees is obtained according to the preset temperature control accuracy Q, where Q is a positive number; The PWM pulse width adjustment strategy determination module is used to determine the temperature change parameter γ of the target temperature control object according to the determined deviation interval. n , determine the PWM pulse width adjustment strategy for controlling the fan speed, the temperature change parameter γ n The change value of the current temperature measurement value compared with the temperature measurement value of the previous control cycle; The fan rotation control module is used to adjust the current PWM pulse width based on the determined PWM pulse width adjustment strategy, and use the adjusted PWM pulse width as the PWM pulse width of the next control cycle.

10. A fan control device for a cooling fan, characterized in that: It comprises at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method as described in any one of claims 1-8.

11. A computer storage medium, characterized in that: The computer storage medium stores a computer program, and the computer program is used to enable a computer to execute the method according to any one of claims 1 to 8.