Summary of the invention
In order to solve the weak problem of scheme function of in prior art, rotation speed of the fan being controlled, the embodiment of the present invention provides a kind of fan rotational frequency control method, comprising:
According to the detected temperatures of target temperature and equipment, the rotating speed of fan is carried out to control operation, and in checkout equipment, shake the shock value of Sensitive Apparatus;
The rotating speed of fan is being carried out in control procedure, if shock value detected, be greater than threshold value, based on current rotation speed of the fan, adopting the mode of sinusoidal speed governing to readjust the rotating speed of fan; While adopting the mode of sinusoidal speed governing to regulate the rotating speed of fan, adjacent fan is phase shifting each other.
The embodiment of the present invention also provides a kind of rotation speed of the fan opertaing device simultaneously, comprising:
Host computer, for carrying out control operation according to the detected temperatures of target temperature and equipment to the rotating speed of fan;
Shock sensor, for detection of the shock value that shakes Sensitive Apparatus in equipment;
Micro-control unit, for the rotating speed of fan is being carried out to control procedure, is greater than threshold value if shock value detected, adopts the mode of sinusoidal speed governing to readjust the rotating speed of fan; While adopting the mode of sinusoidal speed governing to regulate the rotating speed of fan, adjacent fan is phase shifting each other.
By specific embodiments provided by the invention, can be found out, just because of based on shock detection, rotating speed to fan is controlled, make to reduce the possibility of the resonance producing because of structure problem, and then reliability and the life-span of having improved equipment and vibration-sensitive device, compare function with the existing scheme that rotation speed of the fan is controlled and obtained reinforcement.
Embodiment
Below in conjunction with drawings and Examples, the embodiment of a kind of fan rotational frequency control method and equipment is described.
First the hardware of the present embodiment equipment is described, this equipment comprises fan, vibrations Sensitive Apparatus, shock sensor, temperature sensor, temperature sensor, host computer and MCU (micro-control unit, Micro Control Unit), at the air inlet place of equipment and temperature sensor as the key chip of equipment and PCB (printed circuit board (PCB), Printed circuit board) near, be provided with temperature sensor, wherein be located at the temperature sensor at air inlet place for detection of the environment temperature of equipment operation, near temperature sensor temperature sensor is for detection of the temperature of temperature sensor.(sensors with auxiliary electrode were is generally micro mechanical structure as the acceleration transducer based on MEMS technology at vibration-sensitive device, to lay shock sensor near as hard disk, with signal conditioning circuit, digital interface circuit is packaged into one single chip together, size only has several millimeters), for detection of the shock value of vibrations Sensitive Apparatus.In order to ensure equipment, can be operated in the temperature range of normal work, host computer is controlled the rotating speed of fan according to the detected temperatures of target temperature and equipment, such object is to guarantee that equipment can be operated in the temperature range of normal work, target temperature in the present embodiment can be the joint temperature of the normal work of key chip, and the detected temperatures of equipment comprises the temperature of the temperature sensor that detection obtains and the environment temperature of equipment operation.Certainly this is a preferred scheme, and host computer also can be controlled the rotating speed of fan according to other condition.As host computer is controlled the rotating speed of fan according to the utilization rate of CPU.The rotating speed of fan is being carried out in control procedure, if it is excessive that shock sensor detects vibrations, reach in the vibration that vibration-sensitive device allows in limited time, the speed controling signal that MCU can send based on host computer readjusts the rotating speed of fan, namely based on current rotation speed of the fan, readjusts the rotating speed of fan.
Need to carry out some experiments below and determine temperature control curve, find environment temperature, target temperature, Sensitive Apparatus temperature and the fan of equipment operation to adjust the relation between rotating speed.During concrete enforcement, equipment can be placed in to high-low temperature test chamber, oepration at full load, the high lower bound when height of the temperature setting of high-low temperature test chamber is limited to equipment and normally moves.For example, it is 20 that high-low temperature test chamber is set to the 20 degree environment temperature that now equipment moves, the target temperature of setting is now 30 degree, the Sensitive Apparatus temperature now measuring is 40 degree, according to the design object of this experiment cooling system, as within 30 seconds, reached thermal equilibrium, test obtains fan and adjusts rotating speed and should improve 500 revs/min.
After carrying out the definite temperature control curve of temperature rise experiment, just need to set up a PID (proportion integration differentiation according to definite temperature control curve, Proportion Integration Differentiation) control model, the temperature that the temperature that during actual motion, host computer detects near the temperature sensor key chip of the equipment detecting, the temperature sensor at air inlet place detect, and the joint temperature of the normal work of key chip is as input, be input to PID control model and obtain digital parameter fOut, fOut is corresponding with adjustment rotating speed.
The first embodiment provided by the invention is a kind of fan rotational frequency control method, and flow process as shown in Figure 1, comprises the following steps:
Step 101, temperature 18 degree that host computer detects according to air intake vent place sensor, tabling look-up 1, to obtain corresponding target temperature be 35 degree.
Environment temperature (degree) |
Target temperature (degree) |
0-10 |
30 |
10-20 |
35 |
20-30 |
40 |
30-40 |
45 |
Table 1
In the present embodiment, adopt the temperature 18 of air intake vent place sensor detection as the environment temperature of equipment operation, target temperature 35 degree refer to that the joint temperature of the normal work of key chip is 35 degree, system temperature rise be now 35 degree to deduct 18 degree be 7 degree, table 1 is the some that PID controls model.
Step 102, temperature 40 degree that host computer detects key chip place sensor subtract each other and obtain deviate ek=5 degree with target temperature 35 degree.
Step 103, host computer carries out PID computing produce output result fOut to deviate ek, and fOut=5 is for adjusting digital parameter corresponding to rotating speed.
While carrying out PID computing, according to the control model of the PID setting up before, this control model can be preserved the information such as the needed P of PID computing, I, D coefficient, adjustment parameter span in the present embodiment is 1-100, the number percent that represents maximum speed, for example maximum speed is 5400 revs/min, and fOut=5 represents to be 270 revs/min by 5% of 5400 revs/min of rotating speed raisings.
Step 104, host computer is corresponding digital parameter 50 according to current rotating speed, and adjusts the digital parameter 55 after being adjusted of digital parameter 5 that rotating speed is corresponding and send to MCU.
Step 105, MCU judges whether the shock value that MEMS sensor detects hard disk in equipment is greater than threshold value 100mg, if perform step 106, otherwise execution step 107.
MEMS (MEMS (micro electro mechanical system) for example, Micro-Electro-Mechanical Systems) shock value of hard disk in equipment to be detected be that 95mg is not more than threshold value 100mg to sensor, perform step 106, the shock value that MEMS sensor detects hard disk in equipment is that 105mg is greater than threshold value 100mg, performs step 107.
Step 106, MCU directly exports digital parameter 55 to fan PWM (pulse-length modulation, Pulse Width Modulation) controller, PWM controller output drive signal is to driving circuit, and under the driving of driving circuit, the rotating speed of fan is adjusted to 2970 revolutions per seconds.In the concrete process of implementing, the process of fan speed-regulating is the process of a reciprocal uninterrupted correction, need to, according to the detected temperatures of target temperature and equipment to real-time the controlling of the rotating speed of fan, guarantee based on adaptive control the dynamic quality correction of controlled system.In control procedure, require system according to measured parameter, as automatically system regulated according to the variation of the detected temperatures of equipment, to make system at any time in optimum condition.
In this step, using digital parameter 55 as numeral output, output to fan PWM controller, through PWM controller, obtain another output signal, this output signal is as the signal that is input to driving circuit.Digital parameter 55 after adjustment is speed controling signals, and as the PWM input signal of a constant.
Step 107, MCU readjusts digital parameter 55, the digital parameter after regulating to the output of PWM controller, PWM controller output drive signal is to driving circuit, and under the driving of driving circuit, the rotating speed of fan is readjusted.
Visible, above-mentioned, the rotating speed of fan is carried out in control procedure, because detecting shock value, MEMS sensor is greater than threshold value, therefore based on digital parameter 55 (based on current rotation speed of the fan), readjust the rotating speed of fan.While regulating the rotating speed of fan, can start the sinusoidal speed governing of fan, the digital parameter 55 based on after current adjustment, 2 acquisition offset parameter ± 4 of tabling look-up, are modulated into sine pulse width modulation (PWM) input signal by the digital parameter 55 after adjusting, and readjust the rotating speed of fan.When MCU adopts the mode of sinusoidal speed governing to regulate the rotating speed of fan, adjacent fan is phase shifting each other, two adjacent fan synchronizations for example, and a fan accelerates another fan and slows down, and guarantees to differ from one another at the rotating speed of these two fans of synchronization.MCU is used timer regularly to look into the shock value of hard disk, if the shock value checking in is greater than threshold value, according to the PWM input signal look-up table 2 of current constant, obtains the PWM output that corresponding sinusoidal side-play amount obtains, by regulating timing value can change sinusoidal frequency.
Numeral parameter |
Side-play amount |
31--50 |
±3 |
51-70 |
±4 |
71-80 |
±7 |
81-90 |
±10 |
Table 2
It is a kind of rotation speed of the fan opertaing device that embodiments of the invention provide the second embodiment, as shown in Figure 2, comprising:
Host computer 201, for carrying out control operation to the rotating speed of fan;
Shock sensor 202, for detection of the shock value that shakes Sensitive Apparatus in equipment;
Micro-control unit 203, for the rotating speed of fan is being carried out to control procedure, is greater than threshold value if shock value detected, based on current rotation speed of the fan, readjusts the rotating speed of fan.
Further, host computer 201, also for controlling the rotating speed of fan according to the detected temperatures of target temperature and equipment.
Further, host computer 201, also for determining target temperature according to the environment temperature of current device operation, according to the temperature of definite target temperature and temperature sensor, obtain deviate, deviate is carried out to pid calculation and obtain rotation speed of the fan adjusted value, according to adjusted value, the rotating speed of fan is controlled, the detected temperatures of equipment comprises the temperature of temperature sensor and the environment temperature of equipment operation.
Further, micro-control unit 203, also for adopting the mode of sinusoidal speed governing to regulate the rotating speed of fan.
Further, micro-control unit 203, also when adopting the mode of sinusoidal speed governing to regulate the rotating speed of fan, adjacent fan is phase shifting each other.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.