The present invention illustrates a method for optimizing control parameters of a cooling fan, and more particularly, the method for optimizing proportional-integral-derivative controller (PID) parameters of the cooling fan.
With advancement of techniques, various electronic devices are required to achieve high performance and small circuit size. As known, when an electronic device is designed to provide high performance and small circuit size, power consumption and heat generation rate are increased. Thus, a cooling process and a heat dissipation management become two key issues for electronic device design (i.e., such as a personal computer or a server). In general, most electronic devices use a forced convection method to achieve heat dissipation. In the forced convection method, the heat is transferred from a heat source to ambient air. The heat dissipation performance can be improved if the convection is strong. To generate strong convection, various cooling fans are introduced to the electronic devices for facilitating improved heat dissipation.
In general, a proportional-integral-derivative controller is introduced to the cooling fan for controlling operations of the cooling fan. Parameters of the proportional-integral-derivative controller associate with revolutions per minute (RPM) of the cooling fan and RPM adjustment (or say, adjustment acknowledgment) of the cooling fan. The parameters also associate with a rising time, a peak overshoot value, a steady-state error, and a stability response. However, only a trial and error process can be used to adjust the parameters of the proportional-integral-derivative controller. As a result, the trial and error process-based method for adjusting the parameters cannot achieve optimal operational status of the proportional-integral-derivative controller. For example, in the proportional-integral-derivative controller, the circuit response of the cooling fan can be improved when the proportional gain factor is optimized. However, an abnormally high proportional gain factor leads to a high peak overshoot value in conjunction with unstable revolutions of the cooling fan. The steady-state error is substantially equal to zero when the integral time factor is optimized. However, an abnormally high integral time factor leads to a high peak overshoot value of the cooling fan. The peak overshoot value can be reduced when the derivative time factor is optimized. However, an improper derivative time factor leads to noise enhancement of the cooling fan, thereby reducing the stability.
Thus, when the parameters of the proportional-integral-derivative controller are adjusted by using the trial and error process-based method, operations of the cooling fan cannot be optimized. The cooling fan may be operated in unstable condition (i.e., fan jittering) and thus consumes additional power.
In an embodiment of the present invention, a method for optimizing control parameters of a cooling fan is disclosed. The method comprises setting an temperature point of the cooling fan according to a plurality of temperatures corresponding to a plurality of first consecutive time intervals, controlling a duty cycle of the cooling fan according to the temperature point, acquiring temperature variation data of the cooling fan during a plurality of second consecutive time intervals, generating a gain factor and a frequency factor of the cooling fan according to the temperature variation data, and generating a proportional gain factor, an integral time factor and a derivative time factor of a proportional-integral-derivative controller of the cooling fan according to the gain factor and the frequency factor of the cooling fan. The plurality of first consecutive time intervals are followed by the plurality of second consecutive time intervals.
In another embodiment of the present invention, a cooling fan system is disclosed. The cooling fan system includes a cooling fan, a temperature sensor, and a processor. The cooling fan is configured to dissipate heat from an electronic device according to a plurality of control parameters. The temperature sensor is coupled to the electronic device and configured to detect a temperature. The processor is coupled to the cooling fan and the temperature sensor and configured to generate the plurality of control parameters for driving the cooling fan. The processor sets an temperature point of the cooling fan according to a plurality of temperatures corresponding to a plurality of first consecutive time intervals, controls a duty cycle of the cooling fan according to the temperature point, acquires temperature variation data of the cooling fan during a plurality of second consecutive time intervals, generates a gain factor and a frequency factor of the cooling fan according to the temperature variation data, and generates a proportional gain factor, an integral time factor and a derivative time factor of a proportional-integral-derivative controller of the cooling fan according to the gain factor and the frequency factor. The plurality of first consecutive time intervals are followed by the plurality of second consecutive time intervals.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Here, step S201 to step S203 are illustrated below. The detail principles and examples of step S201 to step S203 are also illustrated later. Since the cooling fan 11 is disposed on the electronic device 14, heat dissipation can be achieved by using a forced convection method which heat can be transferred from the electronic device 14 to ambient air through the cooling fan 11. Thus, a temperature of the cooling fan 11 is substantially equal to a temperature of the electronic device 14 detected by the temperature sensor 12 since the cooling fan 11 adjoins the electronic device 14 closely. In other words, a convection path is generated from the electronic device 14 to the cooling fan 11. In step S201, the plurality of temperatures of the cooling fan 11 corresponding to a plurality of first consecutive time intervals are detected. For example, the temperature sensor 12 can sample temperatures during a predetermined time period. Thus, the plurality of temperatures in step S201 can be regarded as a plurality of sampled temperatures in consecutive time intervals. The processor 10 can generate the temperature point ID of the cooling fan 11 according to the plurality of sampled temperatures by invoking an algorithm. Particularly, the temperature point ID can be regarded as a temperature of the cooling fan 11 operated under a stable condition. In step S202, the processor 10 can control the duty cycle of the cooling fan 11 and acquiring temperature variation data of the cooling fan 11 during a plurality of second consecutive time intervals. Here, the plurality of first consecutive time intervals are followed by the plurality of second consecutive time intervals. In other words, in step S201, a relay feedback process can be introduced. The temperature point ID of the cooling fan 11 can be generated during the plurality of first consecutive time intervals. Then, in step S202, the processor 10 controls the duty cycle of the cooling fan 11 and further monitors temperature variation of the cooling fan 11. In step S202, the processor 10 can store temperature data variation during the plurality of second consecutive time intervals. Then, when the data of the temperature variation is sufficient statistic, the processor 10 can generate the gain factor Ku and the frequency factor Pu of the cooling fan 11 according to the temperature variation data. Definitions of the gain factor Ku and the frequency factor Pu are illustrated later. In step S203, the processor 10 can generate the proportional gain factor Kc, the integral time factor Ti and the derivative time factor Td of the PID controller of the cooling fan 11 according to the gain factor Ku and the frequency factor Pu. Specifically, the processor 10 can use any reasonable method to generate the proportional gain factor Kc, the integral time factor Ti and the derivative time factor Td. For example, the processor 10 can generate PID parameters by using specific equations. The generation method is also illustrated later. Briefly, three steps are introduced for optimizing the PID parameters of the cooling fan 11. Step S201 can be regarded as a “preprocessing process”. Step S202 can be regarded as a “system identification process”. Step S203 can be regarded as a “PID parameters calculation process”.
In step S301, the temperature sensor 12 acquiring the N temperatures of the cooling fan 11 corresponding to the N consecutive time intervals of the first consecutive time intervals. For example, the temperature sensor 12 can detect temperatures T(1), T(2), . . . T(N). Specifically, the temperatures T(1), T(2), . . . T(N) can be regarded as N temperatures sampled by the temperature sensor 12. In the embodiment, N is a user-defined positive integer greater than two. When N is sufficiently large, a set of sampled temperatures is also spanned, thereby leading to high reliability. Then, in step S302, the processor 10 averages the N temperatures to generate the average temperature m=Σn=1NT(n)/N, and initializes the flag i equal to zero (i=0). However, any method for counting process can be introduced. For example, a flag-based method can be introduced to the embodiment. The embodiment can also use a counter for counting process. After the N temperatures are sampled during the N consecutive time intervals and the average temperature M is calculated, the temperature sensor 12 is performed to continue detecting temperatures. In step S303, the temperature sensor 12 acquires kth temperature difference ΔT(k) corresponding to kth time interval following the N consecutive time intervals. Here, k is denoted as an index of kth time interval. The temperature difference ΔT(k) is defined as ΔT(k)=M−T(k). For example, after the N consecutive time intervals, the temperature sensor 12 acquires a temperature T(k=1). Then, the processor 10 can generate a temperature difference ΔT(k=1) by using ΔT(k=1)=M−T(k=1). In the following, the temperature sensor 12 acquires a temperature T(k=2). Then, the processor 10 can generate a temperature difference ΔT(k=2) by using ΔT(k=2)=M−T(k=2). Without loss of generality, the temperature difference of the kth time interval is denoted as ΔT(k) in step S303. Further, as aforementioned illustration, the temperature difference ΔT(k) is defined as a difference between a sampled temperature T(k) and the average temperature M. In step S304, the processor 10 determines if ΔT(k)<ε. If ΔT(k)<ε, execute step S305, else executing step S306. Here, ε is a tolerance value (i.e., a user defined value or a system built-in value), such as 0.01. In step S304, stability of temperature of cooling fan 11 can be determined based on the temperature difference ΔT(k). When the temperature difference ΔT(k) is greater than the tolerance value ε (i.e., ΔT(k)>ε), it implies that the cooling fan 11 is operated under unstable condition. Thus, in step S306, the flag i is reset equal to zero. The index k becomes k+1. The processor 10 executes the step S303 again for processing a loop including the step S303, the step S304, and the step S306. When the temperature difference ΔT(k) is smaller than the tolerance value ε (i.e., ΔT(k)<ε), it implies that the cooling fan 11 is operated under stable condition. Thus, in step S305, the flag i becomes i+1. The index k becomes k+1. In other words, a value of the flag i can be regarded as the number of time intervals of the cooling fan 11 continuously operated under the stable condition. Thus, In step S307, the processor 10 determines if i≥K. When i≥K, executing step S308. When i<K, going back to step S303. Here, K is a positive integer greater than 2 and K≥k≥1. In other words, when K temperature differences (i.e., ΔT(k=1) to ΔT(k=K)) are all smaller than the tolerance value ε, it implies that the number of time intervals of the cooling fan 11 continuously operated under the stable condition reaches to K. Then, in step S308, the processor 10 selects one of K temperatures to be the temperature point ID of the cooling fan 11. The processor 10 can also average K temperatures to be the temperature point ID of the cooling fan 11. On the contrary, when the number of time intervals of the cooling fan 11 continuously operated under the stable condition has not reached K, go back to step S303 for processing a loop including step S303 to step S307.
Briefly, the aforementioned steps S301 to S308 can be regarded as a relay feedback process. When K temperature differences of the K consecutive time intervals are all smaller than the tolerance value ε, the cooling fan 11 is operated under the stable condition. Thus, the temperature point ID can be determined by the processor 10. When at least one of the K temperature differences is greater than the tolerance value ε, the cooling fan 11 is operated under the unstable condition. Hereafter, the temperature sensor 12 resamples temperatures of the cooling fan 11 until the cooling fan 11 is stable. By doing so, the temperature point ID can be generated by the processor 10.
In step S401, the processor 10 acquires the temperature point ID of the cooling fan 11. Specifically, the temperature point ID can be generated by using step S301 to step S308 in
For presentation completeness, a concrete example is introduced to illustrate the system identification process.
Ku=(4×h)(π×a),
where h is a difference between the high duty cycle Fhigh and the initial duty cycle F or a difference between the low duty cycle Flow and the initial duty cycle F. For example, in the embodiment, the high duty cycle Fhigh is equal to 50%+(10%×50%)=55%. The low duty cycle Flow is equal to 50%−(10%×50%)=45%. Thus, h can be calculated as a predetermined constant equal to 5%. π is a circular constant substantially equal to 3.1415926. Constant a is an average amplitude of the sinusoidal function. In
In the following, the PID parameters calculation process corresponding to step S203 in
Kc=Ku/2.2
Ti=Pu/0.45
Td=Pu/6.3
The gain factor Ku and the frequency factor Pu are defined previously. Thus, after the system 100 performs the preprocessing process, the system identification process, and the PID parameters calculation process, the proportional gain factor Kc, the integral time factor Ti, and the derivative time factor Td can be generated for driving the cooling fan 11 to operate under optimal condition.
To sum up, the present invention discloses a method and a system for optimizing control parameters of a cooling fan. Specifically, the system can automatically adjust, learning, and determine optimal PID parameters. Further, since sampled temperature data is required to be sufficient, the PID parameters generated by the system have very high reliability. Instead of using a trial and error process-based method for adjusting the PID parameters, the PID parameters generated by the system of the present invention can drive the cooling fan to operate under optimal condition.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
2016 1 0866171 | Sep 2016 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
7098617 | Oljaca | Aug 2006 | B1 |
7138781 | Murray | Nov 2006 | B2 |
7890215 | Duncan | Feb 2011 | B2 |
7979143 | Koo | Jul 2011 | B2 |
20030094004 | Pham | May 2003 | A1 |
20060108962 | Murray | May 2006 | A1 |
20060181232 | Oljaca | Aug 2006 | A1 |
20100073011 | Svidenko | Mar 2010 | A1 |
20120291984 | Li | Nov 2012 | A1 |
20130196038 | Liu | Aug 2013 | A1 |
20150086383 | Toy | Mar 2015 | A1 |
20150156917 | Ogawa | Jun 2015 | A1 |
20170255211 | Haigh | Sep 2017 | A1 |
20180032114 | Hovis | Feb 2018 | A1 |
20180100665 | Brunstetter | Apr 2018 | A1 |
Number | Date | Country | |
---|---|---|---|
20180088610 A1 | Mar 2018 | US |