CN106438428B - The method of testing and device of a kind of server fan function - Google Patents

The method of testing and device of a kind of server fan function Download PDF

Info

Publication number
CN106438428B
CN106438428B CN201610817513.0A CN201610817513A CN106438428B CN 106438428 B CN106438428 B CN 106438428B CN 201610817513 A CN201610817513 A CN 201610817513A CN 106438428 B CN106438428 B CN 106438428B
Authority
CN
China
Prior art keywords
fan
slot
msub
mrow
rotation speed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610817513.0A
Other languages
Chinese (zh)
Other versions
CN106438428A (en
Inventor
田周鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201610817513.0A priority Critical patent/CN106438428B/en
Publication of CN106438428A publication Critical patent/CN106438428A/en
Application granted granted Critical
Publication of CN106438428B publication Critical patent/CN106438428B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F04POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
    • F04DNON-POSITIVE-DISPLACEMENT PUMPS
    • F04D27/00Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids
    • F04D27/001Testing thereof; Determination or simulation of flow characteristics; Stall or surge detection, e.g. condition monitoring

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Control Of Positive-Displacement Air Blowers (AREA)

Abstract

The invention provides a kind of method of testing of server fan function and device, this method includes:At least one the corresponding rotation speed of the fan of each fan-slot set respectively in detection service device;In at least one corresponding rotation speed of the fan of each fan-slot is judged, when there is any rotation speed of the fan more than fan minimum speed, determine to be mounted on fan in each fan-slot;Determine at least one corresponding rotation speed of the fan of each fan-slot, more than fan minimum speed number for institute's installation fan in each fan-slot effective rotor number;In the rotor bank preset value corresponding not less than the fan-slot of institute's installation fan in judging each fan-slot, determine to be mounted on correspondence fan in each fan-slot.Due to can be it is determined that on fan basis in place, further determining that correspondence fan whether is provided with fan-slot, so as to provide corresponding radiating effect.Therefore, this programme being capable of accurate test server fan functionality.

Description

The method of testing and device of a kind of server fan function
Technical field
The present invention relates to field of computer technology, the method for testing and device of more particularly to a kind of server fan function.
Background technology
For server production, either in board production plant, or in system assembles factory, service is completed After device assembling, it usually needs server fan function is tested.
At present, staff can by observing the rotation situation of server fan, with determine server fan whether Position, whether can rotate.
But, when the part rotor failure in fan, or during fan wrong plug slot, the plug in fan of institute can equally be rotated.Cause This, test of the existing implementation to server fan function is not accurate enough.
The content of the invention
, being capable of accurate test server fan the invention provides a kind of method of testing of server fan function and device Function.
In order to achieve the above object, the present invention is achieved through the following technical solutions:
On the one hand, the invention provides a kind of method of testing of server fan function, including:
For at least one fan-slot set in server, each fan-slot corresponding at least one is detected respectively Individual rotation speed of the fan;
Judge at least one corresponding rotation speed of the fan of each fan-slot, if there is any rotation speed of the fan and be more than in advance The fan minimum speed first set, if being, determines to be mounted on fan in each fan-slot;
For each fan-slot, determine at least one corresponding rotation speed of the fan of the fan-slot, more than the wind Fan effective rotor number of the number of minimum speed for institute's installation fan in the fan-slot;
For each fan-slot, the effective rotor number of institute's installation fan in the fan-slot is judged, if be not less than The corresponding preset value of the fan-slot, if being, determines to be mounted on correspondence fan in each fan-slot.
Further, this method also includes:For each fan-slot, determine the fan-slot it is corresponding at least one In rotation speed of the fan, the number of no more than described fan minimum speed for institute's installation fan in the fan-slot failure rotor number;
The effective rotor number for judging institute's installation fan in the fan-slot, if corresponding not less than the fan-slot Preset value, including:Judge whether the effective rotor number of institute's installation fan in the fan-slot is corresponding pre- equal to the fan-slot If value, and whether the failure rotor number of institute's installation fan is 0 in the fan-slot.
Further, this method also includes:At least one fan duty is set;
It is mounted in described each fan-slot of determination after correspondence fan, in addition to:By fan operational mode It is set as manual mode;It is performed both by for each fan duty of setting:According to current fan duty, it is separately operable each The fan installed in individual fan-slot, and read current at least one fan rotating property value;According to read respectively when Each preceding fan rotating property value, judges the whether normal operation of institute's installation fan in its corresponding fan-slot, if so, The fan operational mode is set as automatic mode.
Further, at least one fan rotating property value includes:Rotation speed of the fan;
Each each current fan rotating property value that the basis is read, judges institute in its corresponding fan-slot The whether normal operation of fan is installed, including:Judge whether each current rotation speed of the fan read is satisfied by formula one;
The formula one includes:
Wherein, kvAllow sliding scales, V for rotating speedixFor current rotation speed of the fan, VimIt is corresponding for current rotation speed of the fan The maximum rotation speed of the fan of institute's installation fan, Y in fan-slotiFor current fan duty.
Further, at least one fan rotating property value includes:Fan rotates level of noise;
Each each current fan rotating property value that the basis is read, judges institute in its corresponding fan-slot The whether normal operation of fan is installed, including:Judge that each current fan read rotates whether level of noise is satisfied by formula Two;
The formula two includes:
Wherein, kNAllow sliding scales, N for noiseixLevel of noise, N are rotated for current fanimRotated for current fan The maximum fan of institute's installation fan rotates level of noise, Y in the corresponding fan-slot of level of noiseiFor current fan duty.
On the other hand, the invention provides a kind of test device of server fan function, including:
Detection unit, at least one fan-slot for being set in server, detects that each fan is inserted respectively At least one corresponding rotation speed of the fan of groove;
First processing units, for judging at least one corresponding rotation speed of the fan of each fan-slot, if exist Any rotation speed of the fan is more than the fan minimum speed pre-set, if being, determines to be mounted on wind in each fan-slot Fan, and trigger determining unit;
The determining unit, for for each fan-slot, determining at least one corresponding fan of the fan-slot In rotating speed, more than the fan minimum speed number for institute's installation fan in the fan-slot effective rotor number;
Second processing unit, for for each fan-slot, judging the effective of institute's installation fan in the fan-slot Rotor bank, if preset value corresponding not less than the fan-slot, if being, determines to be mounted in each fan-slot pair Answer fan.
Further, the determining unit, is additionally operable to for each fan-slot, determines that the fan-slot is corresponding extremely In a few rotation speed of the fan, the number of no more than described fan minimum speed turns for the failure of institute's installation fan in the fan-slot Subnumber;
The second processing unit, specifically for judge institute's installation fan in the fan-slot effective rotor number whether etc. In the corresponding preset value of the fan-slot, and in the fan-slot, whether the failure rotor number of institute's installation fan is 0.
Further, the test device of the server fan function also includes:Setting unit and the 3rd processing unit;
The setting unit, for setting at least one fan duty;
3rd processing unit, for fan operational mode to be set as into manual mode;For each wind of setting Fan duty is performed both by:According to current fan duty, the fan installed in each fan-slot is separately operable, and reading is worked as Preceding at least one fan rotating property value;According to each each the current fan rotating property value read, judge that its is right The whether normal operation of institute's installation fan in the fan-slot answered, if so, the fan operational mode is set as into automatic mode.
Further, at least one fan rotating property value includes:Rotation speed of the fan;
Whether the 3rd processing unit, formula is satisfied by specifically for each current rotation speed of the fan for judging to read One;
The formula one includes:
Wherein, kvAllow sliding scales, V for rotating speedixFor current rotation speed of the fan, VimIt is corresponding for current rotation speed of the fan The maximum rotation speed of the fan of institute's installation fan, Y in fan-slotiFor current fan duty.
Further, at least one fan rotating property value includes:Fan rotates level of noise;
3rd processing unit, specifically for judging that each current fan read rotates whether level of noise is satisfied by Formula two;
The formula two includes:
Wherein, kNAllow sliding scales, N for noiseixLevel of noise, N are rotated for current fanimRotated for current fan The maximum fan of institute's installation fan rotates level of noise, Y in the corresponding fan-slot of level of noiseiFor current fan duty.
The invention provides a kind of method of testing of server fan function and device, set respectively in detection service device At least one corresponding rotation speed of the fan of each fan-slot;Judging at least one corresponding rotation speed of the fan of each fan-slot In, when there is any rotation speed of the fan more than fan minimum speed, determine to be mounted on fan in each fan-slot;Determine each wind Fan at least one corresponding rotation speed of the fan of slot, the number more than fan minimum speed is institute's installation fan in each fan-slot Effective rotor number;The rotor bank of institute's installation fan is corresponding pre- not less than the fan-slot in each fan-slot is judged If during value, determining to be mounted on correspondence fan in each fan-slot.Due to can be it is determined that on fan basis in place, entering one Step determines correspondence fan whether is provided with fan-slot, so as to provide corresponding radiating effect.Therefore, the present invention can Accurate test server fan functionality.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis These accompanying drawings obtain other accompanying drawings.
Fig. 1 is a kind of flow chart of the method for testing for server fan function that one embodiment of the invention is provided;
Fig. 2 is the flow chart of the method for testing for another server fan function that one embodiment of the invention is provided;
Fig. 3 is a kind of schematic diagram of the test device for server fan function that one embodiment of the invention is provided;
Fig. 4 is the schematic diagram of the test device for another server fan function that one embodiment of the invention is provided.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is A part of embodiment of the present invention, rather than whole embodiments, based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained on the premise of creative work is not made, belongs to the scope of protection of the invention.
As shown in figure 1, the embodiments of the invention provide a kind of method of testing of server fan function, can include following Step:
Step 101:For at least one fan-slot set in server, each fan-slot correspondence is detected respectively At least one rotation speed of the fan.
Step 102:Judge at least one corresponding rotation speed of the fan of each fan-slot, if there is any fan and turn Speed is more than the fan minimum speed pre-set, if being, determines to be mounted on fan in each fan-slot, otherwise, enters Row abnormality processing simultaneously terminates current process.
Step 103:For each fan-slot, determine at least one corresponding rotation speed of the fan of the fan-slot, greatly The effective rotor number of institute's installation fan in the number of the fan minimum speed is the fan-slot.
Step 104:For each fan-slot, judge the effective rotor number of institute's installation fan in the fan-slot, be It is no to be not less than the corresponding preset value of the fan-slot, if being, determine to be mounted on correspondence fan in each fan-slot, it is no Then, abnormality processing is carried out.
The embodiments of the invention provide a kind of method of testing of server fan function, set respectively in detection service device At least one corresponding rotation speed of the fan of each fan-slot;Judging at least one corresponding rotation speed of the fan of each fan-slot In, when there is any rotation speed of the fan more than fan minimum speed, determine to be mounted on fan in each fan-slot;Determine each wind Fan at least one corresponding rotation speed of the fan of slot, the number more than fan minimum speed is institute's installation fan in each fan-slot Effective rotor number;The rotor bank of institute's installation fan is corresponding pre- not less than the fan-slot in each fan-slot is judged If during value, determining to be mounted on correspondence fan in each fan-slot.Due to can be it is determined that on fan basis in place, entering one Step determines correspondence fan whether is provided with fan-slot, so as to provide corresponding radiating effect.Therefore, the present invention is implemented Example being capable of accurate test server fan functionality.
Specifically, can be provided with server in multiple fan-slots, and each fan-slot can be provided with one Individual fan, wherein, the rotor bank of institute's installation fan can be different, to provide different radiating effects.
In detail, be the equal of that 1 fan is rotated at the same time, therefore can detect if including 1 rotor in a certain fan To 1 rotation speed of the fan.Similarly, be the equal of that 2 fans are rotated at the same time if including 2 rotors in a certain fan, therefore can be with Detect 2 rotation speeds of the fan.But, if during one of rotor fault, the corresponding fan of the failure rotor may be can't detect Rotating speed, or the value of the rotation speed of the fan detected are relatively low.
Under normal circumstances, when fan propeller number is different, the radiating effect that fan is provided is different.For example, in present invention implementation In example, 2 rotation speeds of the fan of the birotor fan detected can with equal, and with the rotation speed of the fan of the single rotor fan detected It is equal, but the air quantity of birotor fan can be 2 times of single rotor fan in theory, so that in theory it is believed that double turn The heat-sinking capability of sub- fan can be 2 times of single rotor fan.
In a step 102, can be by each rotation speed of the fan detected and the contrast of fan minimum speed, to determine each wind Whether fan is mounted in fan slot.
For example, if the corresponding rotation speed of the fan of a certain fan-slot illustrates the wind no more than fan minimum speed The equal failure of rotor of institute's installation fan in slot is fanned, therefore abnormality processing can be carried out, such as warning reminding, output fan groove position information And the rotation speed of the fan detected etc..
In addition, in an embodiment of the invention, if being not detected by the corresponding rotation speed of the fan of a certain fan-slot, illustrating Fan is not installed in the fan-slot, therefore can equally carry out above-mentioned abnormality processing;If the corresponding multiple wind of a certain fan-slot Fan in rotating speed, while there is a situation where to be more than fan minimum speed and no more than fan minimum speed, then illustrate the fan-slot There is failure rotor in middle installed fan, but can continue executing with subsequent step.
In detail, the fan minimum speed pre-set can be 0rpm, or a suitable tachometer value, such as 10rpm。
In order to ensure to be mounted on correspondence fan in each fan-slot, fan is mounted in each fan-slot is confirmed Basis on, can reaffirm whether installed fan can provide expected radiating effect.Wherein, in fan-slot The following two kinds implementation can be had by being provided with correspondence fan:
Mode 1:The effective rotor number of institute's installation fan in fan-slot, preset value corresponding not less than the fan-slot;
Mode 2:The effective rotor number of institute's installation fan in fan-slot, preset value corresponding equal to the fan-slot, and The failure rotor number of institute's installation fan is 0 in fan-slot.
In detail, for aforesaid way 1:
When the effective rotor number of institute's installation fan in fan-slot is not less than corresponding preset value, you can think the fan There is corresponding fan in slot, therefore the correspondence fan can be:It is equal to expected radiating effect in the absence of failure rotor and radiating effect Fan, there is failure rotor but actual radiating effect and be not less than the fan of expected radiating effect, in the absence of failure rotor but dissipate Thermal effect is not less than any one in the fan of expected radiating effect.
For example, it is desired to which in installing the fan-slot of single rotor fan, single rotor fan can be installed, there is a failure and turn The birotor fan of son, any one in birotor fan.By installing any fan, expected radiating effect can be reached Really.It can be seen that, this implementation can make full use of to all types of fans, and be particularly suitable for use in fan kind and quantity deposit Vacant situation.
In detail, the implementation process of this implementation can be if above-mentioned step 101 is to shown in step 104.
In detail, for aforesaid way 2:
In an embodiment of the invention, this method may further include:For each fan-slot, the wind is determined Fan at least one corresponding rotation speed of the fan of slot, the number of no more than described fan minimum speed is is pacified in the fan-slot Fill the failure rotor number of fan;
The effective rotor number for judging institute's installation fan in the fan-slot, if corresponding not less than the fan-slot Preset value, including:Judge whether the effective rotor number of institute's installation fan in the fan-slot is corresponding pre- equal to the fan-slot If value, and whether the failure rotor number of institute's installation fan is not 0 in the fan-slot.
As shown in the above, the corresponding fan installed in fan-slot can be in the absence of failure rotor and radiating effect Equal to the fan of expected radiating effect.For example, it is desired to which in installing the fan-slot of single rotor fan, single rotor wind can be installed Fan, to reach expected radiating effect, but does not generally install birotor fan or there is the birotor fan of a failure rotor. It can be seen that, this implementation can be avoided using the fan that there is failure rotor, and can reduce the wave of fan cooling effect Take.
In detail, it is predetermined to guarantee to provide after correspondence fan is mounted in determining each fan-slot Radiating effect, can also further consider whether the rotating property of institute's installation fan is normal.
Therefore in one embodiment of the invention, in order to verify whether the rotating property of each fan is normal, to guarantee Predetermined radiating effect is enough provided, so, this method can also include:At least one fan duty is set;
It is mounted on after correspondence fan, further comprises in described each fan-slot of determination:Fan is run Pattern is set as manual mode;It is performed both by for each fan duty of setting:According to current fan duty, it is separately operable The fan installed in each fan-slot, and read current at least one fan rotating property value;According to what is read Each each current fan rotating property value, judges the whether normal operation of institute's installation fan in its corresponding fan-slot, If so, the fan operational mode is set as into automatic mode.
In detail, staff can set at least one fan duty according to self-demand, for example, 3 can be set Fan duty, respectively 100%, 50%, 30%.
In detail, at least one fan rotating property value, can there is following three kinds of implementations:
Mode A:Rotation speed of the fan;
Mode B:Fan rotates level of noise;
Mode C:Rotation speed of the fan and fan rotate level of noise.
In detail, for aforesaid way A:
In one embodiment of the invention, at least one fan rotating property value includes:Rotation speed of the fan;
Each each current fan rotating property value that the basis is read, judges institute in its corresponding fan-slot The whether normal operation of fan is installed, including:Judge whether each current rotation speed of the fan read is satisfied by following formula (1);
Wherein, kvAllow sliding scales, V for rotating speedixFor current rotation speed of the fan, VimIt is corresponding for current rotation speed of the fan The maximum rotation speed of the fan of institute's installation fan, Y in fan-slotiFor current fan duty.
For in theory, for any fan, when fan duty changes, rotation speed of the fan occurs correspondence and changed.Therefore, for Institute's installation fan in any fan-slot, may be required in each when under forefan duty, the fan detected is corresponding The equal coincidence formula of each rotation speed of the fan (1).
As an example it is assumed that current duty is 50%, single rotor fan is installed in the fan-slot currently detected, examined The current rotation speed of the fan of the single rotor fan that measures is 5050rpm, and the maximum rotation speed of the fan of single rotor fan is 10000rpm, rotating speed allows sliding scales to be 5%, is computed understanding,Therefore Judgement passes through.
Similarly, can be to judging when other all rotation speeds of the fan under forefan duty, and to other fans Each rotation speed of the fan under duty judged, if judging to pass through, illustrates that the rotating property of each fan is normal, therefore can be with Fan operational mode is set as automatic mode, so that server is normally run, and using each fan to server running The heat of middle generation is effectively radiated.
In an embodiment of the invention, for aforesaid way 1, institute's installation fan in the fan-slot currently detected , can be without the judgement to the corresponding rotation speed of the fan of failure rotor to exist during many rotor fans of failure rotor.
In detail, for aforesaid way B:
In one embodiment of the invention, at least one fan rotating property value includes:Fan rotates level of noise;
Each each current fan rotating property value that the basis is read, judges institute in its corresponding fan-slot The whether normal operation of fan is installed, including:Judge whether each current fan rotation level of noise read is satisfied by following Formula (2);
Wherein, kNAllow sliding scales, N for noiseixLevel of noise, N are rotated for current fanimRotated for current fan The maximum fan of institute's installation fan rotates level of noise, Y in the corresponding fan-slot of level of noiseiFor current fan duty.
For in theory, for any fan, when fan duty changes, rotation speed of the fan occurs correspondence and changed, and fan turns Correspondence change can equally occur for dynamic level of noise.Therefore, for institute's installation fan in any fan-slot, it may be required in each Individual to work as under forefan duty, each the corresponding fan of the fan detected rotates the equal coincidence formula of level of noise (2).
In detail, for aforesaid way C:
In one embodiment of the invention, at least one fan rotating property value includes:Rotation speed of the fan and fan Rotate level of noise;
Each each current fan rotating property value that the basis is read, judges institute in its corresponding fan-slot The whether normal operation of fan is installed, including:Judge whether each current rotation speed of the fan read is satisfied by above-mentioned formula , and each current fan for reading rotates whether level of noise is satisfied by above-mentioned formula (2) (1).
As shown in the above, for any fan, when fan duty changes, rotation speed of the fan and fan rotation level of noise are equal Can occur correspondence change.Therefore, for institute's installation fan in any fan-slot, it may be required in each and work as forefan The corresponding equal coincidence formula of each rotation speed of the fan (1) of the fan detected under duty and each fan rotation level of noise Equal coincidence formula (2).
In summary, by testing server fan function, it is ensured that in server in each fan-slot Correspondence fan is installed, and the rotating property of each fan is normally errorless, this implementation can be avoided in server quantity of heat production Greatly, in the case of environment temperature is higher etc., thus server fan heat sinking function it is not enough caused by server delay machine phenomenon so that Client can be avoided to lose, improve manufacturer server goodwill.
As shown in Fig. 2 one embodiment of the invention provides the method for testing of another server fan function, this method Based on aforesaid way 2 and mode C, specifically it may comprise steps of:
Step 201:For 4 fan-slots set in server, detect that each fan-slot is corresponding extremely respectively A few rotation speed of the fan.
For example, 4 fan-slots, respectively slot 1, slot 2, slot 3, slot 4 are provided with server.According to Need to install successively in actual radiating requirements, 4 fan-slots:Birotor fan, single rotor fan, single rotor wind Fan, birotor fan.
Assuming that staff installed successively in 4 fan-slots be:The single rotor of birotor fan, rotor fault Fan, birotor fan (belong to install), the birotor fan of rotor fault by mistake.After server fan assembling is completed, Server fan functional test can be carried out.Therefore, at least one the corresponding rotation speed of the fan of 4 fan-slots detected can To be followed successively by:V and v, 0, v and v, 0 and v.Wherein, v > 10rpm, such as can be 5000rpm.
Step 202:Judge at least one corresponding rotation speed of the fan of each fan-slot, if there is any fan and turn Speed is more than the fan minimum speed pre-set, if being, determines to be mounted on fan in each fan-slot, otherwise, enters Row abnormality processing simultaneously terminates current process.
In detail, the fan minimum speed pre-set can be 0rpm, or a suitable tachometer value, such as 10rpm。
In detail, because at least one corresponding rotation speed of the fan of 4 fan-slots is followed successively by:V and v, 0, v and v, 0 and V, therefore slot 2 is not present any rotation speed of the fan and is more than fan minimum speed, therefore abnormality processing, such as warning reminding can be carried out, The identification information of slot 2, the output corresponding rotation speed of the fan of slot 2 etc. are exported, and terminates current process.
Therefore, staff can install fan for slot 2 and be changed, and perform after replacing step again 201.Assuming that the fan after changing is single rotor fan, and the rotating speed detected is inserted for v, i.e. 4 fans of this currently detected At least one corresponding rotation speed of the fan of groove is followed successively by:V and v, v, v and v, 0 and v, therefore subsequent step can be continued executing with.
In an embodiment of the invention, the speed of inspection fan can be gone by IPMI orders, and is turned with fan minimum Speed is contrasted, and this realizes that code can be with as follows:
Step 203:For each fan-slot, determine at least one corresponding rotation speed of the fan of the fan-slot, greatly The effective rotor number of institute's installation fan in the number of fan minimum speed is the fan-slot, no more than fan minimum speed Number for institute's installation fan in the fan-slot failure rotor number.
From the above mentioned, it may be determined that the effective rotor number of institute's installation fan is followed successively by 4 fan-slots:2nd, 1,2,1, Failure rotor number is followed successively by:0、0、0、1.
In an embodiment of the invention, it is assumed that the rotor bank of fan is 1 or 2, can also compare the fan detected Rotating speed number and fan physics number, if both numbers are equal, it is a rotor to mean that fan, if rotation speed of the fan Number is precisely twice of fan physics number, and it is two rotors to mean that fan.Wherein, due to current in a fan-slot One fan can be only installed, therefore fan physics number is 1.This realizes that code can be with as follows:
Step 204:For each fan-slot, judge institute's installation fan in the fan-slot effective rotor number whether Preset value corresponding equal to the fan-slot, and whether the failure rotor number of institute's installation fan is 0 in the fan-slot, if It is to determine to be mounted on correspondence fan in each fan-slot, otherwise, carries out abnormality processing and terminate current process.
As shown in the above, the corresponding preset value of 4 fan-slots can be pre-set and be followed successively by 2,1,1,2.
By the effective rotor number of institute's installation fan in 4 fan-slots is followed successively by:2nd, 1,2,1, failure rotor number according to It is secondary to be:0、0、0、1.Through judging to understand, slot 3 and the corresponding effective rotor number of slot 4 are not equal to corresponding preset value, and insert The corresponding failure rotor number of groove 4 is not 0, therefore can carry out abnormality processing, such as warning reminding, and exports the groove of slot 3 and slot 4 Bit identification information, effective rotor number, failure rotor number etc..
Therefore, staff can install fan and be changed for slot 3 and slot 4, and be held again after replacing Row step 201.Assuming that the fan after slot 3 is changed is single rotor fan, and the rotating speed detected is v, the wind after the replacing of slot 4 Fan as birotor fan, and the rotating speed detected be v and v, i.e. 4 fan-slots of this currently detected it is corresponding at least one Rotation speed of the fan is followed successively by:V and v, v, v, v and v, therefore step 205 can be continued executing with.
Step 205:Fan operational mode is set as manual mode.
In detail, to detect whether the rotating property of each fan is normal, each fan duty set can be directed to, according to Secondary each fan of detection, the realization of this process needs that fan operational mode is set as into manual mode in advance.
In an embodiment of the invention, realize that code can institute as follows by what fan operational mode was set as manual mode Show:
ipmitool raw 0x3A 0x7A 0x01
Step 206:Based on the 3 fan duty pre-set, it is performed both by for each fan duty:According to current Fan duty, is separately operable the fan installed in each fan-slot, and reads current rotation speed of the fan and fan is rotated Level of noise.
In detail, staff can set at least one fan duty according to self-demand, for example, 3 can be set Fan duty, respectively 100%, 50%, 30%.
In an embodiment of the invention, it will set fan duty's to realize that code can be with as follows:
ipmitool raw 0x3A 0x78 fan_num duty
In detail, when fan duty is different, rotation speed of the fan and fan, which rotate level of noise, can be presented respective change, therefore can be with Just whether the current rotation speed of the fan of reading and fan rotate level of noise, with the rotation situation of both basis each fans of comprehensive descision Often.
Step 207:Level of noise is rotated according to each current rotation speed of the fan and fan read, its corresponding fan is judged The whether normal operation of institute's installation fan in slot, if so, performing step 208, otherwise, carries out abnormality processing and terminates current stream Journey.
In detail, judging the implementation that whether institute's installation fan normally runs in each fan-slot can be:Judge Whether each current rotation speed of the fan read is satisfied by above-mentioned formula (1), and whether each current fan rotation level of noise is equal Meet above-mentioned formula (2).
In an embodiment of the invention, each fan duty can also be performed successively, and judges each rotation speed of the fan, if When judgement passes through, then each fan duty is performed successively, and judge that each fan rotates level of noise, if judging not pass through, directly Tap into row abnormality processing.
Step 208:Fan operational mode is set as automatic mode.
In an embodiment of the invention, realize that code can institute as follows by what fan operational mode was set as automatic mode Show:
ipmitool raw 0x3A 0x7A 0x00
After automatic mode is set as, server fan system can be with normal work, with to being produced in server running Raw heat carries out corresponding radiating treatment.
In the embodiment of the present invention, the test script of server fan function, each portion can be write by writing C++ programs Door unit, such as server assembly department, detection department, factory can be by performing the test program with test server wind Fan function.
As shown in figure 3, one embodiment of the invention provides a kind of test device of server fan function, including:
Detection unit 301, at least one fan-slot for being set in server, detects each fan respectively At least one corresponding rotation speed of the fan of slot;
First processing units 302, for judging at least one corresponding rotation speed of the fan of each fan-slot, if deposit It is more than the fan minimum speed pre-set in any rotation speed of the fan, if being, determines to be mounted in each fan-slot Fan, and trigger determining unit 303;
The determining unit 303, for for each fan-slot, determining at least one corresponding wind of the fan-slot Fan rotating speed in, more than the fan minimum speed number for institute's installation fan in the fan-slot effective rotor number;
Second processing unit 304, for for each fan-slot, judging having for institute's installation fan in the fan-slot Imitate rotor bank, if preset value corresponding not less than the fan-slot, if being, determine to be mounted in each fan-slot Correspondence fan.
In an embodiment of the invention, the determining unit 303, is further used for for each fan-slot, really In at least one corresponding rotation speed of the fan of the fixed fan-slot, the number of no more than described fan minimum speed is the fan-slot The failure rotor number of middle installed fan;
The second processing unit 304, specifically for judging that the effective rotor number of institute's installation fan in the fan-slot is It is no to be equal to the corresponding preset value of the fan-slot, and whether the failure rotor number of institute's installation fan is 0 in the fan-slot.
In an embodiment of the invention, Fig. 4 is refer to, the test device of the server fan function can also include: The processing unit 402 of setting unit 401 and the 3rd;
The setting unit 401, for setting at least one fan duty;
3rd processing unit 402, for fan operational mode to be set as into manual mode;For each of setting Fan duty is performed both by:According to current fan duty, the fan installed in each fan-slot is separately operable, and read Current at least one fan rotating property value;According to each each the current fan rotating property value read, it is judged The whether normal operation of institute's installation fan in corresponding fan-slot, if so, the fan operational mode is set as into automatic mold Formula.
In an embodiment of the invention, at least one fan rotating property value includes:Rotation speed of the fan;
Whether the 3rd processing unit 402, be satisfied by specifically for each current rotation speed of the fan for judging to read State formula (1).
In an embodiment of the invention, at least one fan rotating property value includes:Fan rotates level of noise;
Whether equal 3rd processing unit 402, rotate level of noise specifically for each current fan for judging to read Meet above-mentioned formula (2).
In an embodiment of the invention, at least one fan rotating property value includes:Rotation speed of the fan and fan turn Dynamic level of noise;
Whether the 3rd processing unit 402, be satisfied by specifically for each current rotation speed of the fan for judging to read Formula (1) is stated, and each current fan read rotates whether level of noise is satisfied by above-mentioned formula (2).
The contents such as the information exchange between each unit, implementation procedure in said apparatus, due to implementing with the inventive method Example is based on same design, and particular content can be found in the narration in the inventive method embodiment, and here is omitted.
In summary, each embodiment of the invention at least has the advantages that:
1st, in the embodiment of the present invention, at least one the corresponding wind of each fan-slot set respectively in detection service device Fan rotating speed;In at least one corresponding rotation speed of the fan of each fan-slot is judged, there is any rotation speed of the fan more than fan During minimum speed, determine to be mounted on fan in each fan-slot;Determine at least one corresponding rotation speed of the fan of each fan-slot In, more than fan minimum speed number for institute's installation fan in each fan-slot effective rotor number;Judging each fan When the rotor bank of institute's installation fan is not less than the fan-slot corresponding preset value in slot, determine to pacify in each fan-slot Equipped with correspondence fan.Due to can be it is determined that on fan basis in place, further determining that in fan-slot whether be provided with Correspondence fan, so as to provide corresponding radiating effect.Therefore, the embodiment of the present invention being capable of accurate test server fan work( Energy.
2nd, in the embodiment of the present invention, the corresponding fan installed in fan-slot can be in the absence of failure rotor and radiating Effect is equal to the fan of expected radiating effect, there is failure rotor but actual radiating effect is not less than the wind of expected radiating effect Fan, any one being not less than in the absence of failure rotor but radiating effect in the fan of expected radiating effect, this implementation All types of fans can be made full use of, be particularly suitable for use in fan kind and the vacant situation of quantity deposit.
3rd, in the embodiment of the present invention, the corresponding fan installed in fan-slot can be in the absence of failure rotor and radiating Effect is equal to the fan of expected radiating effect, and this implementation can be avoided using the fan that there is failure rotor, Yi Jike To reduce the waste of fan cooling effect.
4th, in the embodiment of the present invention, by testing server fan function, it is ensured that each fan in server Correspondence fan is mounted in slot, and the rotating property of each fan is normally errorless, this implementation can be avoided in service In the case of device quantity of heat production is big, environment temperature is higher etc., thus server fan heat sinking function it is not enough caused by server delay machine Phenomenon, so as to avoid client from losing, improves manufacturer server goodwill.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity Or operation makes a distinction with another entity or operation, and not necessarily require or imply exist between these entities or operation Any this actual relation or order.Moreover, term " including ", " including " or its any other variant be intended to it is non- It is exclusive to include, so that process, method, article or equipment including a series of key elements not only include those key elements, But also other key elements including being not expressly set out, or also include solid by this process, method, article or equipment Some key elements.In the absence of more restrictions, the key element limited by sentence " include one ... ", it is not excluded that including Also there is other identical factor in process, method, article or the equipment of the key element.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through Programmed instruction related hardware is completed, and foregoing program can be stored in the storage medium of embodied on computer readable, the program Upon execution, the step of including above method embodiment is performed;And foregoing storage medium includes:ROM, RAM, magnetic disc or light Disk etc. is various can be with the medium of store program codes.
It is last it should be noted that:Presently preferred embodiments of the present invention is the foregoing is only, the skill of the present invention is merely to illustrate Art scheme, is not intended to limit the scope of the present invention.Any modification for being made within the spirit and principles of the invention, Equivalent substitution, improvement etc., are all contained in protection scope of the present invention.

Claims (10)

1. a kind of method of testing of server fan function, it is characterised in that including:
For at least one fan-slot set in server, at least one corresponding wind of each fan-slot is detected respectively Fan rotating speed;
Judge at least one corresponding rotation speed of the fan of each fan-slot, if exist any rotation speed of the fan be more than set in advance The fan minimum speed put, if being, determines to be mounted on fan in each fan-slot;
For each fan-slot, determine at least one corresponding rotation speed of the fan of the fan-slot, more than the fan most The number of small rotating speed for institute's installation fan in the fan-slot effective rotor number;
For each fan-slot, the effective rotor number of institute's installation fan in the fan-slot is judged, if not less than the wind The corresponding preset value of slot is fanned, if being, determines to be mounted on correspondence fan in each fan-slot.
2. according to the method described in claim 1, it is characterised in that
Further comprise:For each fan-slot, determine at least one corresponding rotation speed of the fan of the fan-slot, less The failure rotor number of institute's installation fan in the number of the fan minimum speed is the fan-slot;
The effective rotor number for judging institute's installation fan in the fan-slot, if corresponding not less than the fan-slot default Value, including:Judge whether the effective rotor number of institute's installation fan in the fan-slot is equal to the corresponding preset value of the fan-slot, And whether the failure rotor number of institute's installation fan is 0 in the fan-slot.
3. according to the method described in claim 1, it is characterised in that
Further comprise:At least one fan duty is set;
It is mounted on after correspondence fan, further comprises in described each fan-slot of determination:By fan operational mode It is set as manual mode;It is performed both by for each fan duty of setting:According to current fan duty, it is separately operable each The fan installed in individual fan-slot, and read current at least one fan rotating property value;According to read respectively when Each preceding fan rotating property value, judges the whether normal operation of institute's installation fan in its corresponding fan-slot, if so, The fan operational mode is set as automatic mode.
4. method according to claim 3, it is characterised in that
At least one fan rotating property value includes:Rotation speed of the fan;
Each each current fan rotating property value that the basis is read, judges to be installed in its corresponding fan-slot The whether normal operation of fan, including:Judge whether each current rotation speed of the fan read is satisfied by formula one;
The formula one includes:
<mrow> <msub> <mi>k</mi> <mi>v</mi> </msub> <mo>-</mo> <mo>|</mo> <mfrac> <msub> <mi>V</mi> <mrow> <mi>i</mi> <mi>x</mi> </mrow> </msub> <mrow> <msub> <mi>V</mi> <mrow> <mi>i</mi> <mi>m</mi> </mrow> </msub> <mo>&amp;times;</mo> <msub> <mi>Y</mi> <mi>i</mi> </msub> </mrow> </mfrac> <mo>-</mo> <mn>1</mn> <mo>|</mo> <mo>&amp;GreaterEqual;</mo> <mn>0</mn> </mrow>
Wherein, kvAllow sliding scales, V for rotating speedixFor current rotation speed of the fan, VimFor the current corresponding fan of rotation speed of the fan The maximum rotation speed of the fan of institute's installation fan, Y in slotiFor current fan duty.
5. the method according to claim 3 or 4, it is characterised in that
At least one fan rotating property value includes:Fan rotates level of noise;
Each each current fan rotating property value that the basis is read, judges to be installed in its corresponding fan-slot The whether normal operation of fan, including:Judge that each current fan read rotates whether level of noise is satisfied by formula two;
The formula two includes:
<mrow> <msub> <mi>k</mi> <mi>N</mi> </msub> <mo>-</mo> <mo>|</mo> <mfrac> <msub> <mi>N</mi> <mrow> <mi>i</mi> <mi>x</mi> </mrow> </msub> <mrow> <msub> <mi>N</mi> <mrow> <mi>i</mi> <mi>m</mi> </mrow> </msub> <mo>&amp;times;</mo> <msub> <mi>Y</mi> <mi>i</mi> </msub> </mrow> </mfrac> <mo>-</mo> <mn>1</mn> <mo>|</mo> <mo>&amp;GreaterEqual;</mo> <mn>0</mn> </mrow> 1
Wherein, kN is that noise allows sliding scales, NixLevel of noise, N are rotated for current fanimNoise is rotated for current fan The maximum fan for being worth institute's installation fan in corresponding fan-slot rotates level of noise, YiFor current fan duty.
6. a kind of test device of server fan function, it is characterised in that including:
Detection unit, at least one fan-slot for being set in server, detects each fan-slot pair respectively At least one rotation speed of the fan answered;
First processing units, for judging at least one corresponding rotation speed of the fan of each fan-slot, if exist any Rotation speed of the fan is more than the fan minimum speed pre-set, if being, determines to be mounted on fan in each fan-slot, and Trigger determining unit;
The determining unit, for for each fan-slot, determining at least one corresponding rotation speed of the fan of the fan-slot In, more than the fan minimum speed number for institute's installation fan in the fan-slot effective rotor number;
Second processing unit, for for each fan-slot, judging the effective rotor of institute's installation fan in the fan-slot Number, if preset value corresponding not less than the fan-slot, if being, determines to be mounted on correspondence wind in each fan-slot Fan.
7. the test device of server fan function according to claim 6, it is characterised in that
The determining unit, is further used for for each fan-slot, determines at least one corresponding wind of the fan-slot Fan in rotating speed, the number of no more than described fan minimum speed for institute's installation fan in the fan-slot failure rotor number;
The second processing unit, is somebody's turn to do specifically for judging whether the effective rotor number of institute's installation fan in the fan-slot is equal to The corresponding preset value of fan-slot, and whether the failure rotor number of institute's installation fan is 0 in the fan-slot.
8. the test device of server fan function according to claim 6, it is characterised in that
Further comprise:Setting unit and the 3rd processing unit;
The setting unit, for setting at least one fan duty;
3rd processing unit, for fan operational mode to be set as into manual mode;For each fan of setting Duty is performed both by:According to current fan duty, the fan installed in each fan-slot is separately operable, and read current At least one fan rotating property value;According to each each the current fan rotating property value read, its correspondence is judged Fan-slot in the whether normal operation of institute's installation fan, if so, the fan operational mode is set as into automatic mode.
9. the test device of server fan function according to claim 8, it is characterised in that
At least one fan rotating property value includes:Rotation speed of the fan;
Whether the 3rd processing unit, formula one is satisfied by specifically for each current rotation speed of the fan for judging to read;
The formula one includes:
<mrow> <msub> <mi>k</mi> <mi>v</mi> </msub> <mo>-</mo> <mo>|</mo> <mfrac> <msub> <mi>V</mi> <mrow> <mi>i</mi> <mi>x</mi> </mrow> </msub> <mrow> <msub> <mi>V</mi> <mrow> <mi>i</mi> <mi>m</mi> </mrow> </msub> <mo>&amp;times;</mo> <msub> <mi>Y</mi> <mi>i</mi> </msub> </mrow> </mfrac> <mo>-</mo> <mn>1</mn> <mo>|</mo> <mo>&amp;GreaterEqual;</mo> <mn>0</mn> </mrow>
Wherein, kvAllow sliding scales, V for rotating speedixFor current rotation speed of the fan, VimFor the current corresponding fan of rotation speed of the fan The maximum rotation speed of the fan of institute's installation fan, Y in slotiFor current fan duty.
10. the test device of server fan function according to claim 8 or claim 9, it is characterised in that
At least one fan rotating property value includes:Fan rotates level of noise;
3rd processing unit, specifically for judging that each current fan read rotates whether level of noise is satisfied by formula Two;
The formula two includes:
<mrow> <msub> <mi>k</mi> <mi>N</mi> </msub> <mo>-</mo> <mo>|</mo> <mfrac> <msub> <mi>N</mi> <mrow> <mi>i</mi> <mi>x</mi> </mrow> </msub> <mrow> <msub> <mi>N</mi> <mrow> <mi>i</mi> <mi>m</mi> </mrow> </msub> <mo>&amp;times;</mo> <msub> <mi>Y</mi> <mi>i</mi> </msub> </mrow> </mfrac> <mo>-</mo> <mn>1</mn> <mo>|</mo> <mo>&amp;GreaterEqual;</mo> <mn>0</mn> </mrow>
Wherein, kNAllow sliding scales, N for noiseixLevel of noise, N are rotated for current fanimNoise is rotated for current fan The maximum fan for being worth institute's installation fan in corresponding fan-slot rotates level of noise, YiFor current fan duty.
CN201610817513.0A 2016-09-12 2016-09-12 The method of testing and device of a kind of server fan function Active CN106438428B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610817513.0A CN106438428B (en) 2016-09-12 2016-09-12 The method of testing and device of a kind of server fan function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610817513.0A CN106438428B (en) 2016-09-12 2016-09-12 The method of testing and device of a kind of server fan function

Publications (2)

Publication Number Publication Date
CN106438428A CN106438428A (en) 2017-02-22
CN106438428B true CN106438428B (en) 2017-08-29

Family

ID=58167641

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610817513.0A Active CN106438428B (en) 2016-09-12 2016-09-12 The method of testing and device of a kind of server fan function

Country Status (1)

Country Link
CN (1) CN106438428B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108279761B (en) * 2018-01-22 2020-06-16 苏州浪潮智能科技有限公司 Server power circuit supporting fan hot plug and control method
CN108768759A (en) * 2018-04-03 2018-11-06 郑州云海信息技术有限公司 A kind of Black-box Testing method and its terminal test platform based on IPMI protocol
CN114320970B (en) * 2021-12-31 2023-09-22 浪潮(北京)电子信息产业有限公司 Fan abnormality early warning method, device, equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103870379A (en) * 2012-12-18 2014-06-18 鸿富锦精密工业(深圳)有限公司 Fan abnormity alarming system and method
CN104317682A (en) * 2014-09-26 2015-01-28 浪潮电子信息产业股份有限公司 Design method for realizing rapid distinguishing and identifying of abnormal state of fan stalling
CN105353323A (en) * 2015-11-19 2016-02-24 浪潮电子信息产业股份有限公司 Detection apparatus, and fan detection system and method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7623344B2 (en) * 2005-08-09 2009-11-24 Dell Products L.P. Method and apparatus for mounting a fan in a chassis
CN101865125B (en) * 2009-04-17 2014-01-15 鸿富锦精密工业(深圳)有限公司 Test method of fan module

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103870379A (en) * 2012-12-18 2014-06-18 鸿富锦精密工业(深圳)有限公司 Fan abnormity alarming system and method
CN104317682A (en) * 2014-09-26 2015-01-28 浪潮电子信息产业股份有限公司 Design method for realizing rapid distinguishing and identifying of abnormal state of fan stalling
CN105353323A (en) * 2015-11-19 2016-02-24 浪潮电子信息产业股份有限公司 Detection apparatus, and fan detection system and method

Also Published As

Publication number Publication date
CN106438428A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
CN106438428B (en) The method of testing and device of a kind of server fan function
Chen et al. Automated on‐line fault prognosis for wind turbine pitch systems using supervisory control and data acquisition
EP2644889B1 (en) Detecting a wake situation in a wind farm
EP2665925B1 (en) A method for diagnostic monitoring of a wind turbine generator system
Dexter et al. A generic approach to identifying faults in HVAC plants
CN104763665A (en) Fan fault detection method and device of network device
WO2014178924A1 (en) Apparatus and method for selection of fault detection algorithms for a building management system
CN104268046A (en) Linux manual interaction NVIDIA GPU automatic testing method
US20200241516A1 (en) Devices, methods, and systems for a distributed rule based automated fault detection
KR20170031985A (en) Fault detection and diagnostics method of air-conditioning system
Borchersen et al. Model‐based fault detection for generator cooling system in wind turbines using SCADA data
US11061915B2 (en) System and method for anomaly characterization based on joint historical and time-series analysis
CN111878320B (en) Monitoring method and system of wind generating set and computer readable storage medium
Dong et al. A fault diagnosis method for rotating machinery based on PCA and Morlet kernel SVM
CN116432361B (en) Service life assessment method and device of wind generating set
CN103018545B (en) Whole cabinet power consumption test method
CN110888763A (en) Disk fault diagnosis method and device, terminal equipment and computer storage medium
CN105573304A (en) Fault diagnosis method for Hall position sensor of permanent magnet synchronous motor
CN116771610A (en) Method for adjusting fault evaluation value of variable pitch system of wind turbine
CN116820821A (en) Disk failure detection method, apparatus, electronic device and computer readable storage medium
Jiang et al. Fault direction space method for on-line fault detection
CN113010843A (en) Method and device for determining measurement parameter set, verification method and fault diagnosis method
US8892389B1 (en) Determining a condition of a system based on plural measurements
CN110751745A (en) Routing inspection method for power grid regulation and control integrated machine room
CN104731955A (en) Methods and systems for diagnostic standard establishment and intelligent diagnosis of wind generation set oil monitoring

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant