CN112032079A - Server fan PWM signal frequency detection device and method - Google Patents
Server fan PWM signal frequency detection device and method Download PDFInfo
- Publication number
- CN112032079A CN112032079A CN202010775993.5A CN202010775993A CN112032079A CN 112032079 A CN112032079 A CN 112032079A CN 202010775993 A CN202010775993 A CN 202010775993A CN 112032079 A CN112032079 A CN 112032079A
- Authority
- CN
- China
- Prior art keywords
- fan
- frequency
- controller
- logic chip
- led lamp
- 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
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 18
- 238000000034 method Methods 0.000 title claims abstract description 15
- 239000000758 substrate Substances 0.000 claims abstract description 8
- 238000007689 inspection Methods 0.000 abstract description 3
- 238000012360 testing method Methods 0.000 abstract description 3
- 230000017525 heat dissipation Effects 0.000 description 6
- 230000000694 effects Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F04—POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
- F04D—NON-POSITIVE-DISPLACEMENT PUMPS
- F04D25/00—Pumping installations or systems
- F04D25/02—Units comprising pumps and their driving means
- F04D25/08—Units comprising pumps and their driving means the working fluid being air, e.g. for ventilation
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F04—POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
- F04D—NON-POSITIVE-DISPLACEMENT PUMPS
- F04D27/00—Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids
- F04D27/001—Testing thereof; Determination or simulation of flow characteristics; Stall or surge detection, e.g. condition monitoring
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F04—POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
- F04D—NON-POSITIVE-DISPLACEMENT PUMPS
- F04D27/00—Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids
- F04D27/004—Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids by varying driving speed
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F04—POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
- F04D—NON-POSITIVE-DISPLACEMENT PUMPS
- F04D29/00—Details, component parts, or accessories
- F04D29/002—Details, component parts, or accessories especially adapted for elastic fluid pumps
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B5/00—Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied
- G08B5/22—Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied using electric transmission; using electromagnetic transmission
- G08B5/36—Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied using electric transmission; using electromagnetic transmission using visible light sources
Landscapes
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention provides a device and a method for detecting PWM signal frequency of a server fan, wherein the device comprises a fan and a fan controller; the system also comprises a substrate management controller and an editable logic chip; the base plate management controller is connected with the fan controller and used for setting a fan output frequency interval through a register of the fan controller; the editable logic chip is respectively connected with the fan and the fan controller; and the device is used for acquiring the working frequency of the fan and judging whether the working frequency is in a frequency interval. The device also comprises an LED lamp; the LED lamp and the editable logic chip; when the working frequency is in the frequency interval, a lighting signal is sent out to light the LED lamp; otherwise, the LED lamp is not lighted. The invention provides a detection device and a frequency detection method, and the invention utilizes the CPLD to read back the frequency of the PWM signal output by the fan controller, thereby having the advantages of improving the working efficiency of testing the fan signal by a hardware engineer and improving the quality inspection.
Description
Technical Field
The invention belongs to the technical field of hardware detection, and particularly relates to a device and a method for detecting PWM signal frequency of a server fan.
Background
With the integration of servers becoming higher and higher, the heat dissipation of servers is highly emphasized by manufacturers and users from a large number of deployment applications such as blade servers, rack servers, container servers, and general servers, and fans play a great role in the heat dissipation system of servers. Fans used in a server CPU, a chassis, a video card, a power supply, and the like are safeguards that the server operates normally and stably, and therefore, selecting a server fan is one of the necessary conditions for solving the problem of heat dissipation of the server. In order to monitor the heat dissipation effect, the server is provided with a control sensor for monitoring and detecting each fan, the output frequency of the fan can be set through the arrangement of a register in the server, convenience is provided for the fans with different specifications, meanwhile, the revolution value of each fan can be mastered through the reading value of the server, when system equipment such as a CPU (central processing unit) generates too high heat, the rotation speed of the fan can be accelerated, the air sucked from the front part of the box body is improved, and then air flow is circulated at high speed for cold and heat interaction, so that the performance of the whole heat dissipation system of the server is greatly improved. However, whether the setting of the relevant register of the fan controller meets the requirement of the fan specification is unknown, and the setting can only be determined by measuring the relevant signal of the fan by using an oscilloscope, which delays the work of a machine, consumes manpower and wastes time of an engineer. The frequency of a fan PWM (pulse width modulation) signal is one of important indexes for controlling the rotating speed of the fan, if the frequency of the signal does not meet the specification of the fan, the frequency of the signal is too small, the rotating effect of the fan is not smooth, and the requirement of heat dissipation cannot be met; the frequency is too high, the fan may be in a full-speed running state all the time, the rotating speed of the fan cannot be controlled under the system, when the fan runs at full speed, the required power consumption is large, resources are wasted, huge noise is generated, if the fan cannot be found in time, the service life of the fan is shortened by a light person, and even more, safety accidents are caused. Therefore, the visual detection of the PWM signal frequency of the fan is necessary, the working efficiency can be improved, and whether the fan of the server reaches the standard or not can be effectively monitored.
In the prior art, the waveform of a PWM signal of a server fan is manually measured by an oscilloscope, so as to obtain a frequency value of a fan speed, and then the frequency value is compared with a specification of the fan. In the prior art, a manual measurement and comparison mode is adopted, so that the efficiency is low and the consumed time is long. In particular, when the server system is large and the number of fans is large, the method of collecting the fan waveforms and then checking by using the oscilloscope consumes a long time and has low accuracy.
Disclosure of Invention
In order to solve the technical problem, the invention provides a device and a method for detecting the frequency of a PWM signal of a server fan, which read back the PWM signal output by a fan controller through a CPLD, compare the signal frequency value with the specification of the fan, and present the result in a lighting mode, thereby improving the working efficiency of testing the fan signal by a hardware engineer.
In order to achieve the purpose, the invention adopts the following technical scheme:
a server fan PWM signal frequency detection device comprises a fan and a fan controller connected with the fan; the system also comprises a substrate management controller and an editable logic chip;
the base plate management controller is connected with the fan controller and used for setting a fan output frequency interval through a register of the fan controller;
the editable logic chip is respectively connected with the fan and the fan controller; the method is used for obtaining the working frequency of the fan and judging whether the working frequency is located in the frequency interval.
Furthermore, when the editable logic chip obtains the working frequency of the fan, the editable logic chip simultaneously obtains the output frequency interval of the fan.
Further, the device also comprises an LED lamp;
the LED lamp is connected with the editable logic chip;
when the working frequency is in the frequency interval, sending a lighting signal to light the LED lamp; otherwise, the LED lamp is not lighted.
Further, the baseboard management controller sets the fan output frequency interval through a register of the fan controller by using the I2C signal.
Further, the fan output frequency interval value is obtained from a fan specification.
A server fan PWM signal frequency detection method is realized based on a server fan PWM signal frequency detection device, and comprises the following steps:
the baseboard management controller initializes the system and sets a fan output frequency interval through a register of the fan controller;
when the editable logic chip obtains the working frequency of the fan, the editable logic chip simultaneously obtains the output frequency interval of the fan and judges whether the working frequency is in the frequency interval.
Further, the method further comprises: when the editable logic chip judges that the working frequency is in the frequency interval, a lighting signal is sent out to light the LED lamp; otherwise, the LED lamp is not lighted.
Further, the preset times are detected circularly, if the working frequency of the fan is not in the frequency interval, the editable logic chip outputs the working frequency according to the value of the frequency interval, and an alarm signal is sent out through the LED lamp.
The effect provided in the summary of the invention is only the effect of the embodiment, not all the effects of the invention, and one of the above technical solutions has the following advantages or beneficial effects:
the invention provides a device and a method for detecting PWM signal frequency of a server fan, wherein the device comprises a fan and a fan controller connected with the fan; the system also comprises a substrate management controller and an editable logic chip; the base plate management controller is connected with the fan controller and used for setting a fan output frequency interval through a register of the fan controller; the editable logic chip is respectively connected with the fan and the fan controller; the device is used for acquiring the working frequency of the fan, and the editable logic chip simultaneously acquires the output frequency interval of the fan when acquiring the working frequency of the fan and judges whether the working frequency is in the frequency interval. The device also comprises an LED lamp; the LED lamp and the editable logic chip; when the working frequency is in the frequency interval, a lighting signal is sent out to light the LED lamp; otherwise, the LED lamp is not lighted. Based on the server fan PWM signal frequency detection device provided by the invention, the invention also provides a server fan PWM signal frequency detection method. The invention utilizes the CPLD to read back the frequency of the PWM signal output by the fan controller, has the advantages of improving the working efficiency of a hardware engineer in testing the fan signal, improving the quality inspection, having clear and concise inspection result, effectively monitoring whether the frequency of the PWM signal of the server fan reaches the standard or not, and reducing the occurrence of the working fault of the fan.
Drawings
Fig. 1 is a schematic structural diagram of a device for detecting a PWM signal frequency of a server fan according to embodiment 1 of the present invention;
fig. 2 is a flowchart of a method for detecting a PWM signal frequency of a server fan according to embodiment 2 of the present invention.
In order to clearly explain the technical features of the present invention, the following detailed description of the present invention is provided with reference to the accompanying drawings. The following disclosure provides many different embodiments, or examples, for implementing different features of the invention. To simplify the disclosure of the present invention, the components and arrangements of specific examples are described below. Furthermore, the present invention may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. It should be noted that the components illustrated in the figures are not necessarily drawn to scale. Descriptions of well-known components and processing techniques and procedures are omitted so as to not unnecessarily limit the invention.
Example 1
The embodiment 1 of the invention provides a server fan PWM signal frequency detection device, which utilizes a CPLD to read back the frequency of a PWM signal output by a fan controller. Fig. 1 shows a schematic structural diagram of a device for detecting the PWM signal frequency of a server fan.
The device comprises a fan and a fan controller connected with the fan; the system also comprises a baseboard management controller and an editable logic chip.
The baseboard management controller is connected with the fan controller and used for setting the fan output frequency interval through a register of the fan controller.
The editable logic chip is respectively connected with the fan and the fan controller; the device is used for acquiring the working frequency of the fan, and the editable logic chip simultaneously acquires the output frequency interval of the fan when acquiring the working frequency of the fan and judges whether the working frequency is in the frequency interval.
The device also comprises an LED lamp; the LED lamp and the editable logic chip; when the working frequency is within the frequency range, a lighting signal is sent out, the LED lamp is lighted and fed back to the BMC, and the working frequency of the fan is normal. Otherwise, when the working frequency is not in the frequency interval, the lighting signal is not sent, the LED lamp is not lighted and is fed back to the BMC, and the working frequency of the fan is abnormal.
In the invention, the baseboard management controller uses the I2C signal to set the fan output frequency interval through the register of the fan controller.
The fan output frequency interval value is obtained from a fan specification.
After the preset times of circulation, the number of times of protection is set to three times in the invention, the number of times of protection is not limited to the embodiment, if the fan can not reach the value of the fan specification all the time under the control of the substrate management controller, the programmable logic chip can output PWM signals meeting the fan frequency according to the setting, and the programmable logic chip can set the lighting signals to square waves to enable the lighting signals to flash, thereby informing engineers of the problem of the fan setting of the substrate management controller.
In embodiment 1 of the present invention, the frequency of the PWM signal output by the fan controller is read back by the editable logic chip by using the design of the hardware circuit, and compared by the code of the editable logic chip, and the result is displayed by lighting the LED.
Example 2
Based on the server fan PWM signal frequency detection device provided by the invention, a server fan PWM signal frequency detection method is also provided, and fig. 2 shows a flow chart of a server fan PWM signal frequency detection method according to embodiment 2 of the present invention.
In step S201, the computer is powered on and starts processing the flow.
In step S202, the bmc initializes the system and modifies the fan controller register.
In step S203, the fan controller outputs a PWM signal with a set frequency according to the setting of the register. The invention is based on the PWM signal frequency interval set on the fan specification.
In step S204, the editable logic chip obtains the operating frequency of the fan, and when the editable logic chip obtains the operating frequency of the fan, the editable logic chip simultaneously obtains the output frequency interval of the fan, and determines whether the operating frequency is in the frequency interval, and when the operating frequency is in the frequency interval, the editable logic chip sends a lighting signal to light the LED lamp and feed the LED lamp back to the BMC, so that the operating frequency of the fan is normal. Otherwise, when the working frequency is not in the frequency interval, the lighting signal is not sent, the LED lamp is not lighted and is fed back to the BMC, and the working frequency of the fan is abnormal. The steps S202 to S204 are circulated for several times, three times are set in the invention, the protection times of the invention are not limited to the embodiment, if the fan can not reach the value of the fan specification all the time under the control of the substrate management controller, the editable logic chip can output PWM signals meeting the fan frequency according to the setting, the editable logic chip can set the lighting signal into square wave to flash, send out alarm signals to inform engineers of the problem of the fan setting of the substrate management controller,
although the embodiments of the present invention have been described with reference to the accompanying drawings, the scope of the present invention is not limited thereto. Various modifications and alterations will occur to those skilled in the art based on the foregoing description. And are neither required nor exhaustive of all embodiments. On the basis of the technical scheme of the invention, various modifications or changes which can be made by a person skilled in the art without creative efforts are still within the protection scope of the invention.
Claims (8)
1. A server fan PWM signal frequency detection device comprises a fan and a fan controller connected with the fan; the system is characterized by also comprising a substrate management controller and an editable logic chip;
the base plate management controller is connected with the fan controller and used for setting a fan output frequency interval through a register of the fan controller;
the editable logic chip is respectively connected with the fan and the fan controller; the method is used for obtaining the working frequency of the fan and judging whether the working frequency is located in the frequency interval.
2. The apparatus for detecting the PWM signal frequency of a server fan according to claim 1, wherein the editable logic chip obtains the fan output frequency interval when obtaining the fan operating frequency.
3. The device for detecting the PWM signal frequency of the server fan as claimed in claim 1, further comprising an LED lamp;
the LED lamp is connected with the editable logic chip;
when the working frequency is in the frequency interval, sending a lighting signal to light the LED lamp; otherwise, the LED lamp is not lighted.
4. The apparatus as claimed in claim 1, wherein the bmc sets the fan output frequency interval through a register of the fan controller using the I2C signal.
5. The apparatus as claimed in claim 1, wherein the fan output frequency interval value is obtained from a fan specification.
6. A server fan PWM signal frequency detection method, which is implemented based on the server fan PWM signal frequency detection apparatus according to any one of claims 1 to 5, and is characterized by comprising the following steps:
the baseboard management controller initializes the system and sets a fan output frequency interval through a register of the fan controller;
when the editable logic chip obtains the working frequency of the fan, the editable logic chip simultaneously obtains the output frequency interval of the fan and judges whether the working frequency is in the frequency interval.
7. The method for detecting the PWM signal frequency of the server fan as claimed in claim 6, further comprising: when the editable logic chip judges that the working frequency is in the frequency interval, a lighting signal is sent out to light the LED lamp; otherwise, the LED lamp is not lighted.
8. The method as claimed in claim 7, wherein the detecting is performed for a predetermined number of times in a cycle, and if none of the operating frequencies of the fans is within the frequency range, the editable logic chip outputs the operating frequency according to the value of the frequency range, and sends an alarm signal through the LED lamp.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010775993.5A CN112032079A (en) | 2020-08-03 | 2020-08-03 | Server fan PWM signal frequency detection device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010775993.5A CN112032079A (en) | 2020-08-03 | 2020-08-03 | Server fan PWM signal frequency detection device and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112032079A true CN112032079A (en) | 2020-12-04 |
Family
ID=73582388
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010775993.5A Pending CN112032079A (en) | 2020-08-03 | 2020-08-03 | Server fan PWM signal frequency detection device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112032079A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006022686A (en) * | 2004-07-07 | 2006-01-26 | Nec Corp | Failure detecting device for fan and electronic equipment |
CN103870379A (en) * | 2012-12-18 | 2014-06-18 | 鸿富锦精密工业(深圳)有限公司 | Fan abnormity alarming system and method |
CN108873794A (en) * | 2018-07-12 | 2018-11-23 | 郑州云海信息技术有限公司 | A kind of control equipment of radiator fan, system and method |
CN109236714A (en) * | 2018-11-06 | 2019-01-18 | 英业达科技有限公司 | Fan control circuitry and fan control system |
CN109611367A (en) * | 2018-12-11 | 2019-04-12 | 英业达科技有限公司 | Fan control system and server based on CPLD |
CN109899309A (en) * | 2017-12-07 | 2019-06-18 | 陞达科技股份有限公司 | The system and method that clock frequency to detect fan chip deviates |
CN210484156U (en) * | 2019-08-09 | 2020-05-08 | 苏州浪潮智能科技有限公司 | Server fan and BMC fault monitoring circuit based on CPLD |
-
2020
- 2020-08-03 CN CN202010775993.5A patent/CN112032079A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006022686A (en) * | 2004-07-07 | 2006-01-26 | Nec Corp | Failure detecting device for fan and electronic equipment |
CN103870379A (en) * | 2012-12-18 | 2014-06-18 | 鸿富锦精密工业(深圳)有限公司 | Fan abnormity alarming system and method |
CN109899309A (en) * | 2017-12-07 | 2019-06-18 | 陞达科技股份有限公司 | The system and method that clock frequency to detect fan chip deviates |
CN108873794A (en) * | 2018-07-12 | 2018-11-23 | 郑州云海信息技术有限公司 | A kind of control equipment of radiator fan, system and method |
CN109236714A (en) * | 2018-11-06 | 2019-01-18 | 英业达科技有限公司 | Fan control circuitry and fan control system |
CN109611367A (en) * | 2018-12-11 | 2019-04-12 | 英业达科技有限公司 | Fan control system and server based on CPLD |
CN210484156U (en) * | 2019-08-09 | 2020-05-08 | 苏州浪潮智能科技有限公司 | Server fan and BMC fault monitoring circuit based on CPLD |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10394293B2 (en) | Method for preventing over-heating of a device within a data processing system | |
CN111752776B (en) | Cyclic power-on and power-off test method and system for server | |
US20070143058A1 (en) | System and method for testing an input/output functional board | |
US20180164795A1 (en) | Fan monitoring system | |
US10303574B1 (en) | Self-generated thermal stress evaluation | |
US20070050173A1 (en) | Computer-controlled fan unit reliability testing system | |
CN108457888A (en) | A kind of server fan fault detection method, apparatus and system | |
CN107145431A (en) | The method and server of server B MC systems air channel abnormal monitoring alarm | |
TW201328575A (en) | Cabinet system and servers thereof | |
CN208140901U (en) | A kind of server power supply real time monitoring apparatus | |
US20140169936A1 (en) | Method for detecting heat-dissipating air flow and electronic device using the same | |
CN107783788A (en) | The method started shooting after detection means and detection before start | |
CN111397819B (en) | Server cooling liquid leakage detection system and method and readable storage medium | |
TW201508456A (en) | Testing method and testing system for fan modules | |
CN103136081A (en) | Testing device and testing method of data center server stability | |
CN109209962B (en) | Fan detection chip, fan detection method and fan detection system | |
WO2019223230A1 (en) | Method and system for solving non-monotonicity of powergood signal of vr power-down timing test | |
CN104699215A (en) | Power supply protection system and power supply protection method | |
US20140379162A1 (en) | Server system and monitoring method | |
CN112032079A (en) | Server fan PWM signal frequency detection device and method | |
CN103807199A (en) | Fan control circuit | |
CN102541705B (en) | Testing method for computer and tooling plate | |
CN113049946A (en) | Board card test system | |
CN110319044B (en) | Fan testing method | |
CN108873794B (en) | Control equipment, system and method of cooling fan |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201204 |