Background technology
High-order electronic product now, function is become stronger day by day, and system is also done more complicated and more complicated.In order to help the electronic product radiating of high power consumption, the use of fan is the selection not being able to.Method previously for fan control, after system boot, fan is set to a setting speed, if system temperature continues to raise, reach a critical temperature upper limit, then rotation speed of the fan is raised (being generally maximum (top) speed), wait until that system temperature is decreased below critical temperature lower limit because rotation speed of the fan improves, then rotation speed of the fan is downgraded low setting speed.
This practice, owing to rotation speed of the fan only has high and low two kinds, when system temperature is too high, fan can reach maximum speed at once, produces maximum noise, it is also desirable to maximum power consumption.So, the height of rotation speed of the fan must be set to very big difference with low, and otherwise radiating effect is inconspicuous, but, rotation speed of the fan will constantly switch between high rotating speed and the slow-speed of revolution, and system is unable to reach thermally-stabilised.
Summary of the invention
The present invention provides a kind of fan control system and control method for fan.
A kind of control method for fan includes step: utilize temperature inductor according to the system temperature value of an interval periodic, sensed electronic installation set;When the current system temperature value obtained is not more than a threshold values, the system temperature value of repeat sensing electronic installation;When the current system temperature value obtained is more than a threshold values, calculate the difference of presently sensed system temperature value and the system temperature value of a upper moment sensing;The relatively size of described difference and the first setting value, the second setting value and the 3rd setting value;When this difference is more than this first setting value, the rotating speed of fan being improved one first numerical value, the interval that temperature inductor performs the setting of temperature detecting is set as the numerical value that one to one initial value is little;This difference less than the second setting value more than three setting values time, the interval of the setting that temperature inductor performs temperature detecting is set as initial value;And when this difference is less than three setting values, the rotating speed of fan reduces a second value, and the interval that temperature inductor performs the setting of temperature detecting is set as initial value.
A kind of fan control system, this system runs in an electronic installation, and this electronic installation includes a temperature inductor for the system temperature value according to an interval periodic, sensed electronic installation set, a fan, a memorizer.This fan control system includes: an acquisition module, for obtaining the temperature inductor system temperature value according to an interval periodic, sensed electronic installation set;One comparison module, during for being not more than a threshold values in the system temperature value currently obtained, the system temperature value of repeat sensing electronic installation;One computing module, for when the current system temperature value obtained is more than a threshold values, calculating the difference of presently sensed system temperature value and the system temperature value of a upper moment sensing;Described comparison module, is additionally operable to the size of difference described in comparison and the first setting value, the second setting value and the 3rd setting value;One blast velocity control module, for when this difference is more than this first setting value, improving one first numerical value by the rotating speed of fan, and when this difference is less than three setting values, the rotating speed of fan reduced a second value;And a setting module, for when this difference is more than this first setting value, the interval that temperature inductor performs the setting of temperature detecting is set as the numerical value that one to one initial value is little, when this difference is less than the second setting value, the interval of the setting that temperature inductor performs temperature detecting is set as initial value.
The fan control system of the present invention and the control method for fan system temperature value according to sensing, system temperature value difference at double sensing different excessive time, improve the rotating speed of fan or the rotating speed of the second setting value reduction fan according to one first setting value, be conducive to system to reach thermally-stabilised.
Detailed description of the invention
Refer to Fig. 1, be the system construction drawing of fan control system under better embodiment of the present invention.This fan control system 120 runs in an electronic installation 10.This electronic installation 10 can be the electronic products such as the high-order network switch, server host and personal computer.Described electronic installation 10 also includes temperature inductor 110, fan 130, memorizer 140 and an attention device 150.
Temperature inductor 110 is for the system temperature value according to an interval periodic, sensed electronic installation 10 set.The interval set of system default as one preset initial value.
Fan 130 controls to adjust rotating speed according to fan control system 120, so that electronic installation 10 dispels the heat.
Memorizer 140 is for storing some default numerical value.
Attention device 150 is used for sending sound or providing blinking light, to warn consumer electronic device 10 internal temperature too high.
Fan control system 120 includes acquisition module 1201, computing module 1202, comparison module 1203, blast velocity control module 1204, setting module 1205 and a rotating speed judge module 1206.The function of whole modules will be described in conjunction with Fig. 2.
Fig. 2 is the method flow diagram that the fan control system in Fig. 1 carries out fan control automatically.
In step S201, temperature inductor 110 is according to the system temperature value of an interval periodic, sensed electronic installation 10 set, and acquisition module 1201 obtains the system temperature value that temperature inductor 110 senses;
In step S202, comparison module 1203 judges that whether the system temperature value of current acquisition is more than a threshold values, and if so, flow process is to step S203, if it is not, flow process repeats step S202;
In step S203, computing module 1202 calculates the difference of presently sensed system temperature value and the system temperature value of a upper moment sensing;
In step S304, comparison module 1203 judges that this difference is whether more than the first setting value of storage in memorizer, and if so, flow process is to step S205, if it is not, flow process is to step S208;
In step S205, blast velocity control module 1204 is when this difference is more than this first setting value, the rotating speed of fan 130 is improved one first numerical value, and the interval of the setting that temperature inductor 110 is performed temperature detecting by setting module 1205 is set as a numerical value less than initial value;
In step S206, rotating speed judge module 1206 judges whether the rotating speed of fan 130 reaches a Up limit, and if so, flow process is to step S207, if it is not, flow process is to step S201;
In step S207, attention device 150 sends warning, and prompting consumer electronic device 10 internal temperature is too high;
In step S208, comparison module 1203 judges that this difference is whether more than the second setting value of storage in memorizer, and if so, flow process is to step S201, if it is not, flow process is to step S209;
In step S209, comparison module 1203 judges that this difference is whether more than the 3rd setting value of storage in memorizer, and if so, flow process is to step S211, if it is not, flow process is to step S210;
In step S210, the rotating speed of fan 130, when this difference is less than three setting values, is reduced a second value by blast velocity control module 1204, and rear flow process is to step S211;
In step S211, the interval of the setting that temperature inductor 110 performs temperature detecting is set as initial value by setting module 1205.
Under the preferred embodiment for the present invention, the numerical value of the first setting value, the numerical value of the second setting value, the numerical value of the 3rd setting value is sequentially reduced.
Under the preferred embodiment for the present invention, the first numerical value is more than second value.
Under other embodiments of the present invention, the quantity of temperature inductor 110 can more than one, the maximum temperature value that all temperature inductor 110 synchronizations are sensed by described acquisition module 1201 is as system temperature value.
As from the foregoing, above fan control system and control method for fan can according to the system temperature values of temperature inductor 110 sensing, system temperature value difference at double sensing different excessive time improve the rotating speed of fan 130 according to one first numerical value or second value reduces the rotating speed of fan 130, be conducive to system to reach thermally-stabilised.