Background technique
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.The previous method for fan control, after system boot, set fan for a setting speed, if system temperature continues to raise, reach a critical temperature upper limit, rotation speed of the fan is raise (being generally maximum (top) speed), system temperature drops to lower than critical temperature lower limit because rotation speed of the fan improves by the time, rotation speed of the fan is downgraded to low setting speed.
This practice, because rotation speed of the fan only has height and low two kinds, in the time that system temperature is too high, fan can reach maximum speed at once, produces maximum noise, also needs maximum power consumpiton.Like this, the height of rotation speed of the fan and lowly must set very large difference for, otherwise radiating effect is not obvious, and still, rotation speed of the fan will constantly switch between high rotating speed and the slow-speed of revolution, and it is thermally-stabilised that system cannot reach.
Summary of the invention
The invention provides a kind of fan control system and control method for fan.
A kind of control method for fan comprises step: utilize temperature inductor according to the system temperature value of the time lag periodic, sensed electronic equipment of a setting; In the time that the current system temperature value of obtaining is not more than a threshold values, the system temperature value of repeat sensing electronic equipment; In the time that the current system temperature value of obtaining is greater than a threshold values, calculate the difference of the system temperature value of current sensing and the system temperature value of a upper moment sensing; The size of more described difference and the first setting value, the second setting value and the 3rd setting value; In the time that this difference is greater than this first setting value, the rotating speed of fan is improved to one first numerical value, the time lag of temperature inductor being carried out to the setting of temperature detecting is set as the numerical value that one to one initial value is little; In the time that this difference is less than the second setting value and is greater than the 3rd setting value, the time lag of temperature inductor being carried out to the setting of temperature detecting is set as initial value; And in the time that this difference is less than the 3rd setting value, the rotating speed of fan is reduced to a second value, and the time lag that temperature inductor is carried out the setting of temperature detecting is set as to initial value.
A kind of fan control system, this system runs in an electronic equipment, and this electronic equipment comprises the system temperature value of a temperature inductor for the time lag periodic, sensed electronic equipment according to a setting, a fan, a storage.This fan control system comprises: an acquisition module, for obtaining temperature inductor according to the system temperature value of the time lag periodic, sensed electronic equipment of a setting; One comparison module, in the time that the current system temperature value of obtaining is not more than a threshold values, the system temperature value of repeat sensing electronic equipment; One computing module, in the time that the current system temperature value of obtaining is greater than a threshold values, calculates the difference of the system temperature value of current sensing and the system temperature value of a upper moment sensing; Described comparison module, also for the size of more described difference and the first setting value, the second setting value and the 3rd setting value; One wind speed control module, in the time that this difference is greater than this first setting value, improves one first numerical value by the rotating speed of fan, and in the time that this difference is less than the 3rd setting value, the rotating speed of fan is reduced to a second value; An and setting module, for in the time that this difference is greater than this first setting value, the time lag of temperature inductor being carried out to the setting of temperature detecting is set as the numerical value that one to one initial value is little, in the time that this difference is less than the second setting value, the time lag of temperature inductor being carried out to the setting of temperature detecting is set as initial value.
Fan control system of the present invention and control method for fan are according to the system temperature value of sensing, different when excessive at the system temperature value difference of double sensing, 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 and reach thermally-stabilised.
Embodiment
Referring to Fig. 1, is the system construction drawing of fan control system under preferred embodiments of the present invention.This fan control system 120 runs in an electronic equipment 10.This electronic equipment 10 can be the electronic products such as the high-order network switch, server host and personal computer.Described electronic equipment 10 also comprises a temperature inductor 110, a fan 130, a storage 140 and a warning device 150.
Temperature inductor 110 is for the system temperature value of the time lag periodic, sensed electronic equipment 10 according to a setting.The time lag of the setting of system default is a default initial value.
Fan 130 is according to fan control system 120 regulating and controlling rotating speeds, so that electronic equipment 10 dispels the heat.
Storage 140 is for storing some default numerical value.
Warning device 150 is for sounding or blinking light being provided, too high to warn consumer electronic device 10 inside temperatures.
Fan control system 120 comprises an acquisition module 1201, a computing module 1202, a comparison module 1203, a wind speed control module 1204, a setting module 1205 and a rotating speed judge module 1206.All the function of module is described in connection 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 the time lag periodic, sensed electronic equipment 10 of a setting, and acquisition module 1201 obtains the system temperature value that temperature inductor 110 senses;
In step S202, comparison module 1203 judges whether the current system temperature value of obtaining is greater than a threshold values, and if so, flow process is to step S203, if not, and flow process repeating step S202;
In step S203, computing module 1202 calculates the difference of the system temperature value of current sensing and the system temperature value of a upper moment sensing;
In step S304, comparison module 1203 judges whether this difference is greater than first setting value of storing in storage, and if so, flow process is to step S205, and if not, flow process is to step S208;
In step S205, wind speed control module 1204 is in the time that this difference is greater than this first setting value, the rotating speed of fan 130 is improved to one first numerical value, and the time lag that temperature inductor 110 is carried out the setting of 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, and if not, flow process is to step S201;
In step S207, warning device 150 sends warning, and prompting consumer electronic device 10 inside temperatures are too high;
In step S208, comparison module 1203 judges whether this difference is greater than second setting value of storing in storage, and if so, flow process is to step S201, and if not, flow process is to step S209;
In step S209, comparison module 1203 judges whether this difference is greater than the 3rd setting value of storing in storage, and if so, flow process is to step S211, and if not, flow process is to step S210;
In step S210, wind speed control module 1204, in the time that this difference is less than the 3rd setting value, reduces a second value by the rotating speed of fan 130, and rear flow process is to step S211;
In step S211, the time lag that temperature inductor 110 is carried out the setting of temperature detecting by setting module 1205 is set as initial value.
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 reduces successively.
Under the preferred embodiment for the present invention, the first numerical value is greater than second value.
Under other mode of executions of the present invention, the quantity of temperature inductor 110 can be more than one, and the maximum temperature value that described acquisition module 1201 senses all temperature inductor 110 synchronizations is as system temperature value.
As from the foregoing, above fan control system and control method for fan can be according to the system temperature values of temperature inductor 110 sensings, at the different rotating speed that improves the rotating speed of fan 130 or second value and reduce fan 130 when excessive according to one first numerical value of the system temperature value difference of double sensing, be conducive to system and reach thermally-stabilised.