[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN1591021A - Method and device for testing rotating speeds of multiple fans - Google Patents

Method and device for testing rotating speeds of multiple fans Download PDF

Info

Publication number
CN1591021A
CN1591021A CN 03155480 CN03155480A CN1591021A CN 1591021 A CN1591021 A CN 1591021A CN 03155480 CN03155480 CN 03155480 CN 03155480 A CN03155480 A CN 03155480A CN 1591021 A CN1591021 A CN 1591021A
Authority
CN
China
Prior art keywords
fan
rotating speed
signal
speed
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.)
Pending
Application number
CN 03155480
Other languages
Chinese (zh)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN 03155480 priority Critical patent/CN1591021A/en
Publication of CN1591021A publication Critical patent/CN1591021A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Control Of Positive-Displacement Air Blowers (AREA)

Abstract

The present invention provides a method for detecting rotating speed of several fans. Said method includes the following steps: making rotating speed feedback signal of at least one fan be inputted into one of several input/output ports of CPU; obtaining feedback signal of every fan rotating speed from input/output port of CPU; and defining rotating speed of the described every fan according to obtain rotating speed feedback signal. Said invention also provides a device for detecting rotating speed of several fans, said device includes signal-obtaining module and rotating speed obtaining module. Besides, said invention also provides application range and goal of said device and method.

Description

The method and apparatus that a kind of rotating speed of several fans detects
Technical field
The present invention relates to the network communications technology field, be specifically related to the method and apparatus that a kind of rotating speed of several fans detects.
Background technology
In network communicating system, it is air-cooled often to use fan that network communication equipment is carried out, and with the working temperature of reduction network communication equipment, thereby guarantees that network communication equipment normally moves.
But, much need air-cooled network communication equipment all to adopt the method for regulating rotation speed of the fan to solve the problems referred to above because the lasting high-speed rotation of fan can produce problems such as high noisy, many dusts and shortening fan self life-span.
The prerequisite of regulating rotation speed of the fan is for can obtain rotation speed of the fan.Can therefore simply and accurately detect rotation speed of the fan be one of gordian technique of fan speed-regulating.
Regulate the fan that rotation speed of the fan need be conditioned rotating speed and have the speed feedback function, promptly need the fan can the output speed feedback signal, can obtain rotation speed of the fan according to the speed feedback signal of fan output.
Speed feedback signal with fan output of speed feedback signal is a pulse signal.
Prior art is to utilize FAN_IC (fan monitoring chip) or EPLD (programmable logic chip) to realize that rotation speed of the fan detects; Its implementation is: obtain the speed feedback pulse signal of fan output, and transmit it to FAN_IC or EPLD, obtain rotation speed of the fan by FAN_IC or EPLD according to rotation speed of the fan feedback pulse signal.
The circuit interface of acquisition rotation speed of the fan feedback pulse signal as shown in Figure 1 in the prior art.
In Fig. 1, rotation speed of the fan feedback pulse signal exports the circuit interface part to by the OC-GATE (collector door) of fan, and circuit interface part is carried out rotation speed of the fan feedback pulse signal after the voltage-regulation of pull-up resistor by the output of output end.
Rotation speed of the fan feedback pulse signal can be through isolating or exported to by OC-GATE after non-the isolation output end of circuit interface part, partly by after, can obtain meeting the rotation speed of the fan feedback pulse signal of the voltage request of FAN_IC or EPLD at circuit interface with rotation speed of the fan feedback pulse signal pull-up resistor.
The oscillogram of the rotation speed of the fan feedback pulse signal of the output end output of circuit interface as shown in Figure 2.
The speed feedback pulse signal that fan provides is generally the one-period signal, difference along with rotating speed, the cyclomorphosis of signal, the cycle of signal is meant and produces a needed time of pulse signal, the period T of signal (second/commentaries on classics) with the rotational speed N corresponding relation of fan is:
T=60×TIME/(K×N)
Wherein TIME is the schedule time (second s), and N is rotation speed of the fan (per minute rotating speed rpm), and K is the number of pole-pairs of fan, is generally 2,3 or 4.
The method that rotation speed of the fan detects is that the cycle of tach signal is counted, and obtains the rotating speed of fan by above-mentioned formula conversion.
Existing rotation speed of the fan detection technique is to utilize the dedicated fan monitoring chip or add programmable logic chip to detect fan rotating speed signals, and the implementation of existing rotation speed of the fan detection technique as shown in Figure 3.
FAN_IC is the fan control special chip in Fig. 3; EPLD is a programmable logic chip.
Fan control special chip or programmable logic chip all are to finish by the cycle of detecting rotation speed of the fan feedback pulse signal for the detection of rotation speed of the fan.Its inner principle that realizes is as follows:
1, rising edge or the negative edge flip-flop number according to input signal begins counting, finishes counting at one-period or in several cycle, and this count value is deposited in certain register.
2, CPU reads the register of particular address by internal bus local bus or universal serial bus such as I2C, obtains the periodic quantity of pulse signal, and obtains rotation speed of the fan by above-mentioned reduction formula.
Utilize prior art no matter to be to use programmable logic device (PLD) also to be to use the fan specific control chip to realize that rotation speed of the fan detects, and all can increase the extra cost expense of network communication system equipment.
Because the fan specific control chip is subjected to the restriction of rotation speed of the fan input pin number.Common fan specific control chip has only the rotation speed of the fan below 3 to detect pin, promptly can only carry out rotating speed to three fans at most detects, if the fan number that needs to detect is more than three, then the fan specific control chip can not all satisfy the demand that fan detects rotating speed.
Owing in network communication system equipment, increased testing circuit part and CPU based on operations such as bus read, increased the hardware of network communication apparatus and the error probability of data transmission, the reliability of network communication apparatus is reduced.
Summary of the invention
The objective of the invention is to, the method and apparatus that provides a kind of rotating speed of several fans to detect can not satisfy rotating speed detecting reliability height and the low problem of cost simultaneously to solve in the prior art.
For achieving the above object, the invention provides following technical scheme:
The method that a kind of rotating speed of several fans detects, this method has been utilized the CPU with a plurality of input/output port, comprising:
A, with the speed feedback signal of a plurality of fans input corresponding C PU input/output port;
B, obtain the speed feedback signal of each fan from the input/output port of described CPU;
The speed feedback signal that c, basis are obtained is determined the rotating speed of described each fan.
Described step a is specially: with input corresponding C PU input/output port after the speed feedback signal process voltage-regulation of a plurality of fans.
Described rotation speed of the fan feedback signal comprises rotation speed of the fan feedback pulse signal.
Described step b is specially: the level that obtains each rotation speed of the fan feedback pulse signal in the given time according to predetermined interval from the input/output port of described CPU.
Described step c comprises:
The level of the speed feedback pulse signal of each fan that c1, basis are obtained obtains the change frequency of described level in the given time;
C2, obtain the rotating speed of described fan according to described level change frequency and the described schedule time.
Described step c2 comprises:
C21, obtain cycle of described each rotation speed of the fan feedback pulse signal according to described level change frequency and the described schedule time;
C22, according to cycle of described each rotation speed of the fan feedback pulse signal and utilize formula N=60 * TIME/ (T * K) obtains the rotating speed of described fan;
Described N represent fan rotating speed (rev/min); Described TIME represents the schedule time (second); Described T represents the cycle (second/commentaries on classics) of signal; Described K represents the number of pole-pairs (individual) of fan.
The device that a kind of rotating speed of several fans detects comprises:
Signal acquisition module: be used for obtaining the rotation speed of the fan feedback signal and it being transferred to the rotating speed acquisition module from the input/output port of described CPU;
Rotating speed acquisition module: the rotating speed that is used for determining and exporting described fan according to the rotation speed of the fan feedback signal that described signal acquisition module transmission comes.
Described device also comprises the signal voltage adjustment module that is placed on CPU: be used for the rotation speed of the fan feedback signal is carried out voltage-regulation, and the rotation speed of the fan feedback signal after will regulating transfers to the input/output port of described CPU.
The signal voltage adjustment module of the described CPU of being placed on comprises pull-up resistor.
Described rotating speed acquisition module comprises:
Counting submodule: be used for the beginning count signal that transmission comes according to the timing submodule and begin the variation of the next rotation speed of the fan feedback pulse signal level of described signal acquisition module transmission is counted, and stop counting according to the end count signal that timing submodule transmission comes, count results is outputed to obtain the rotating speed submodule simultaneously;
Timing submodule: be used for the timing of the schedule time and predetermined interval, when the schedule time picks up counting, to begin count signal and transfer to described counting submodule, when the clocking value of the schedule time reaches the schedule time, the clocking value of the schedule time resets and will finish count signal and transfers to described counting submodule, when predetermined interval picks up counting, trigger described signal acquisition module and obtain the rotation speed of the fan feedback signal, when the clocking value of predetermined interval reached predetermined interval, the clocking value of predetermined interval resetted;
Obtain the rotating speed submodule: be used for transmitting the rotating speed that the count results of coming is obtained described fan according to the schedule time and described counting submodule.
Utilize the present invention, by rotation speed of the fan feedback pulse signal directly being introduced the input/output port of CPU, the hardware facility that can not increase network communication apparatus carries out rotation speed of the fan by CPU and detects; Detect owing to utilize CPU to carry out rotation speed of the fan, reduced CPU and read the operation of external data, and then reduced the error probability of data transmission; Simultaneously, because CPU has abundant input/output port, detect so can carry out rotating speed to the windy fan more than three simultaneously; Thereby the purpose that has realized improving the reliability of network communication apparatus and reduced the network communication apparatus cost.
Description of drawings
Fig. 1 is the circuit interface synoptic diagram of the acquisition rotation speed of the fan feedback pulse signal of prior art;
Fig. 2 is the oscillogram of rotation speed of the fan feedback signal;
Fig. 3 is the implementation of the rotation speed of the fan detection technique of prior art;
Fig. 4 is the implementation that rotating speed of several fans of the present invention detects;
Fig. 5 is based on rotating speed of several fans of the present invention and detects the oscillogram that implementation obtains the rotation speed of the fan feedback signal;
Fig. 6 is the logic diagram of rotating speed of several fans pick-up unit of the present invention.
Embodiment
Core concept of the present invention is: utilize the input/output port of CPU to obtain the speed feedback signal of fan and obtain rotation speed of the fan according to speed feedback signal.Because CPU has abundant input/output port,, can carry out rotating speed simultaneously to the windy fan more than three and detect so adopt this method to realize that rotation speed of the fan detects.
Wherein, the concrete scheme of any one fan being carried out the rotating speed detection is: the input/output port of the speed feedback signal of fan being introduced CPU, obtain the speed feedback signal of fan from the input/output port of CPU, when the rotation speed of the fan feedback signal is pulse signal, the level of the rotation speed of the fan feedback pulse signal that record obtains at every turn, detect the level transition times of rotation speed of the fan feedback pulse signal in the given time, can obtain the rotating speed of fan according to the schedule time and level transition times.
Below in conjunction with accompanying drawing the present invention is described in further detail.
The present invention realizes that scheme that rotating speed of several fans detects as shown in Figure 4.
In Fig. 4,, can realize that simultaneously the fan more than three being carried out rotating speed detects by the speed feedback signal of each fan being inserted the different input/output port of CPU.
The voltage of the speed feedback pulse signal of each fan then can directly be imported speed feedback signal the input/output port of CPU if CPU allows the voltage of signals of reception; If the voltage of speed feedback pulse signal has surpassed the voltage of signals that the CPU permission receives, the speed feedback pulse signal of fan output is carried out voltage-regulation through pull-up resistor, and, the speed feedback pulse signal of each fan after the voltage-regulation is inputed to the different input/output port of CPU with its voltage of signals that is adjusted to CPU permission reception.
At the rotating speed testing process of any one fan wherein be: the level that reads rotation speed of the fan feedback pulse signal according to predetermined interval from the input/output port of CPU.
We set predetermined interval is 1ms (millisecond), and the setting schedule time is 1s (second), and it is shorter or longer slightly slightly than 1ms to set predetermined interval, and that also the schedule time can be set is short or longer slightly slightly.The suitable weak point that predetermined interval is set some, the suitable longer testing result of rotation speed of the fan that makes that the schedule time is set is more accurate.
Counting variable is set, the counting variable zero clearing.
In the schedule time of 1s, every predetermined interval 1ms reads the level of rotation speed of the fan pulse signal from the input/output port of CPU, if the level that the order that obtains links to each other has the level saltus step, promptly when a high level, a low level, can think the signal that has obtained a recurrence interval.
When the continuous level of the order that obtains had the saltus step of level, counting variable was its counting.
In the 1s, can obtain the cycle of fan rotating speed signals according to the count results of counting variable at the fixed time.
According to the cycle of fan rotating speed signals, utilize formula N=60 * TIME/ (T * K), can obtain the rotating speed of described fan.
Wherein N represent fan rotating speed (rev/min); TIME represents the schedule time (second); T is illustrated in the cycle (second/commentaries on classics) of signal; K represents the number of pole-pairs (individual) of fan.
Specifically be exemplified below: in the timing of 60s, every predetermined interval 1ms reads the level of rotation speed of the fan pulse signal from the input/output port of CPU, and the count value of level change frequency is 200 times; Then the period T of signal=60/200 (second/commentaries on classics);
If the number of pole-pairs of fan is 2, then the rotational speed N of fan=60 * 1/ (K * T)=100 (rev/min).
With one second the schedule time, one millisecond predetermined space carried out the testing result that level changes to the rotation speed of the fan feedback pulse signal of the input/output port of CPU, as shown in Figure 5.
The device that rotating speed of several fans provided by the invention detects as shown in Figure 6.
In Fig. 6, device provided by the invention comprises: signal acquisition module 600, rotating speed acquisition module 610.
Signal acquisition module 600 obtains the rotation speed of the fan feedback signal and it is transferred to rotating speed acquisition module 610 from the input/output port of described CPU according to predetermined interval.
The rotating speed of described fan is determined and exported to the speed feedback signal that rotating speed acquisition module 610 comes according to described signal acquisition module 600 transmission.
Rotating speed acquisition module 610 comprises: counting submodule 611, timing submodule 612 obtains rotating speed submodule 613.
The counting submodule 611 beginning count signal that 612 transmission come according to the timing submodule begins the variation of the next rotation speed of the fan feedback pulse signal level of described signal acquisition module 600 transmission is counted, and the end count signal that transmission comes according to timing submodule 612 stops counting, count results outputed to obtain rotating speed submodule 613 simultaneously.
Timing submodule 612 is used for the timing of the schedule time and predetermined space, when the schedule time picks up counting, to described counting submodule 611 transmission beginning count signals, when the clocking value of the schedule time reaches the schedule time, the clocking value of the schedule time resets and to described counting submodule 611 end of transmission (EOT) count signals, when predetermined space picks up counting, trigger described signal acquisition module 600 and obtain the rotation speed of the fan feedback signal, when the clocking value of predetermined space reached predetermined space, the clocking value of predetermined space resetted;
Obtain rotating speed submodule 613 obtains described fan according to the schedule time, predetermined space and the next count results of described counting submodule 611 transmission rotating speed.
Import the input/output port of described CPU after the speed feedback signal process voltage-regulation of signal voltage adjustment module 620 with fan.
Though described the present invention by embodiment, those of ordinary skills know, the present invention has many distortion and variation and do not break away from spirit of the present invention, wishes that appended claim comprises these distortion and variation.

Claims (10)

1. the method that detects of a rotating speed of several fans, this method has been utilized the CPU with a plurality of input/output port, it is characterized in that, and this method comprises:
A, with one in a plurality of input/output port of the speed feedback signal of at least one fan input CPU;
B, obtain the feedback signal of each rotation speed of the fan from the input/output port of described CPU;
The speed feedback signal that c, basis are obtained is determined the rotating speed of described each fan.
2. the method that a kind of rotating speed of several fans as claimed in claim 1 detects is characterized in that described step a is specially:
With one in a plurality of input/output port of input CPU after the speed feedback signal process voltage-regulation of each fan.
3. the method that a kind of rotating speed of several fans as claimed in claim 1 or 2 detects is characterized in that described rotation speed of the fan feedback signal comprises rotation speed of the fan feedback pulse signal.
4. the method that a kind of rotating speed of several fans as claimed in claim 3 detects is characterized in that described step b is specially:
Obtain the level of the speed feedback pulse signal of each fan in the given time from the input/output port of described CPU according to predetermined interval.
5. the method that a kind of rotating speed of several fans as claimed in claim 4 detects is characterized in that described step c comprises:
The level of the speed feedback pulse signal of each fan that c1, basis are obtained obtains the change frequency of described level in the given time;
C2, obtain the rotating speed of described each fan according to described level change frequency and the described schedule time.
6. the method that a kind of rotating speed of several fans as claimed in claim 5 detects is characterized in that described step c2 further comprises:
C21, obtain cycle of the speed feedback pulse signal of described each fan according to described level change frequency and the described schedule time;
C22, according to cycle of described rotation speed of the fan feedback pulse signal and utilize formula N=60 * TIME/ (T * K) obtains the rotating speed of described fan;
Described N represent fan rotating speed (rev/min);
Described TIME represents the schedule time (second);
Described T represents the cycle (second/commentaries on classics) of signal;
Described K represents the number of pole-pairs (individual) of fan.
7. the device that detects of a rotating speed of several fans, it includes a CPU with a plurality of input/output port, it is characterized in that, and described device further comprises:
Signal acquisition module: be used for obtaining the rotation speed of the fan feedback signal and it being transferred to the rotating speed acquisition module from the input/output port of described CPU;
Rotating speed acquisition module: the rotating speed that is used for determining and exporting described fan according to the rotation speed of the fan feedback signal that described signal acquisition module transmission comes.
8. the device that a kind of rotating speed of several fans as claimed in claim 7 detects is characterized in that described device also further comprises:
Signal voltage adjustment module: be used for the rotation speed of the fan feedback signal is carried out voltage-regulation, and the rotation speed of the fan feedback signal after will regulating transfers to the input/output port of described CPU.
9. the device that a kind of rotating speed of several fans as claimed in claim 8 detects is characterized in that described signal voltage adjustment module comprises: pull-up resistor.
10. as the pick-up unit of claim 7 or 8 or 9 described a kind of rotation speeds of the fan, it is characterized in that described rotating speed acquisition module comprises:
Counting submodule: be used for the beginning count signal that transmission comes according to the timing submodule and begin the variation of the next rotation speed of the fan feedback pulse signal level of described signal acquisition module transmission is counted, and stop counting according to the end count signal that timing submodule transmission comes, count results is outputed to obtain the rotating speed submodule simultaneously;
Timing submodule: be used for the timing of the schedule time and predetermined interval, when the schedule time picks up counting, to begin count signal and transfer to described counting submodule, when the clocking value of the schedule time reaches the schedule time, the clocking value of the schedule time resets and will finish count signal and transfers to described counting submodule, when predetermined interval picks up counting, trigger described signal acquisition module and obtain the rotation speed of the fan feedback signal, when the clocking value of predetermined interval reached predetermined interval, the clocking value of predetermined interval resetted;
Obtain the rotating speed submodule: be used for transmitting the rotating speed that the count results of coming is obtained described fan according to the schedule time and described counting submodule.
CN 03155480 2003-08-30 2003-08-30 Method and device for testing rotating speeds of multiple fans Pending CN1591021A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 03155480 CN1591021A (en) 2003-08-30 2003-08-30 Method and device for testing rotating speeds of multiple fans

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 03155480 CN1591021A (en) 2003-08-30 2003-08-30 Method and device for testing rotating speeds of multiple fans

Publications (1)

Publication Number Publication Date
CN1591021A true CN1591021A (en) 2005-03-09

Family

ID=34598145

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 03155480 Pending CN1591021A (en) 2003-08-30 2003-08-30 Method and device for testing rotating speeds of multiple fans

Country Status (1)

Country Link
CN (1) CN1591021A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101303662B (en) * 2008-06-18 2012-03-07 中兴通讯股份有限公司 Method and apparatus for capturing fan rotary speed
CN102393296A (en) * 2011-09-15 2012-03-28 东风贝洱热系统有限公司 Silicone oil fan tester
CN102478005A (en) * 2010-11-25 2012-05-30 鸿富锦精密工业(深圳)有限公司 Multi-fan rotating speed adjusting circuit
CN107605777A (en) * 2016-07-11 2018-01-19 奇鋐科技股份有限公司 fan detection system and method
CN110133319A (en) * 2019-05-10 2019-08-16 国网上海市电力公司 High speed grounding switch spindle angular velocity detection device in a kind of GIS device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101303662B (en) * 2008-06-18 2012-03-07 中兴通讯股份有限公司 Method and apparatus for capturing fan rotary speed
CN102478005A (en) * 2010-11-25 2012-05-30 鸿富锦精密工业(深圳)有限公司 Multi-fan rotating speed adjusting circuit
CN102393296A (en) * 2011-09-15 2012-03-28 东风贝洱热系统有限公司 Silicone oil fan tester
CN107605777A (en) * 2016-07-11 2018-01-19 奇鋐科技股份有限公司 fan detection system and method
CN107605777B (en) * 2016-07-11 2019-05-03 奇鋐科技股份有限公司 Fan detection system and method
CN110133319A (en) * 2019-05-10 2019-08-16 国网上海市电力公司 High speed grounding switch spindle angular velocity detection device in a kind of GIS device

Similar Documents

Publication Publication Date Title
CN1228723C (en) Method and equipment for transmitting data parallelly on high speed data bus
CN1242309C (en) Motor control device and method for measuring a mechanical characteristic
CN1117577A (en) Absolute position detection apparatus and error compensation methods therefor
CN101047372A (en) Pulse width modulation circuit
CN1746838A (en) Sampling method and system for multi-channel analog signal
CN1337628A (en) Bus system
CN1841354A (en) Bus receiver and bus signal phase synchronization method
CN1862273A (en) System for testing clock signal dither and method thereof
CN1282864C (en) Intelligent collectingm monitor and collecting monitoring method for large rotary machinery apparatus
CN107565861A (en) Multi-Axis Stepper Motor Control System based on STM32 control L6470H drivers
CN1591021A (en) Method and device for testing rotating speeds of multiple fans
CN101030441A (en) Method and apparatus for reading and sampling data of DDR and DDR2 memory controller
CN101042685A (en) Embedded system and control method thereof
CN1536232A (en) Fan monitoring device and its monitoring method
CN1101961C (en) Semiconductor integrated circuit with multiple flip-flop
CN1286262C (en) Comprehensive measuring method and circuit for electric motor rotating speed and rotor location
CN101047447A (en) Point-to-point industrial series real-time communication system based on optical fibre and its control method
CN1150720C (en) Method for sending time coordination data in bus
CN1119728C (en) Integrated circuit for controlling the rotating positions of several shafts
CN1283060C (en) Data receiving method based on clock signal and apparatus thereof
CN1502167A (en) Apparatus and method for adjusting filter frequency in relation to sampling frequency
CN1655454A (en) Clock signal detection method and apparatus in electronic devices
CN1821924A (en) Threshold current modifying device and method
CN1398060A (en) Test system and method for fast light transmission module
CN101047317A (en) Digital synchronous indication, control method for ship power station generator

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication