System and method for automatically detecting state of cooling fan
The automatic detection system monitors the temperature and speed of the cooling fan in real time through the automatic detection system, solves the automatic control of the cooling fan status and real-time monitoring of the status in the existing technology, realizes the automatic monitoring of the cooling fan automatic detection system, solves the technical problems that cannot be solved in the existing technology, realizes the intelligent monitoring of the cooling fan, and realizes the stable operation of the equipment and real-time monitoring of the status.
Patent Information
- Application Number
- CN202510851811.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-24
- Publication Date
- 2025-10-17
AI Technical Summary
Existing technologies are unable to achieve real-time monitoring of the cooling fan status, resulting in unstable equipment operation and insufficient security against hardware damage.
An automatic detection system for the cooling fan status is designed, which includes a main control module, a temperature detection module, a fan control module and an alarm indication module. The temperature sensor monitors the device temperature in real time, the PWM signal is used to control the fan speed, and the actual speed is fed back through the TACH signal to achieve closed-loop control and fault alarm.
It realizes dynamic adjustment of cooling fan speed and real-time status monitoring, timely discovers and locates faults, ensures stable operation of equipment, and avoids hardware damage.
Smart Images

Figure CN120803220A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of computer hardware heat dissipation, for example, to a system and method for automatically detecting the status of a heat dissipation fan. Background Art
[0002] As computer hardware performance improves, high-power devices like processors and bridge chips generate significant heat during operation. To ensure stable operation of these devices and reduce overall chassis temperature, thereby improving user experience, cooling fans are typically incorporated into the computer. These fans are crucial components for ensuring stable operation.
[0003] The cooling fan's operating status can be monitored by feeling the airflow from the chassis or visually observing the fan blades. However, these methods do not provide real-time monitoring of the cooling fan's status, and discrepancies between the actual and set speeds are not readily apparent. Failure to detect cooling fan failures in a timely manner can lead to device overheating, unstable equipment operation, or even hardware damage, resulting in safety deficiencies. Therefore, a method for automatically detecting cooling fan status is urgently needed to address these issues.
[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of this application, and therefore may include information that does not constitute prior art known to ordinary technicians in this field. Summary of the Invention
[0005] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not intended to be an extensive review, nor to identify key / critical elements or to delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.
[0006] The embodiments of the present disclosure provide a system and method for automatically detecting the status of a cooling fan to solve the technical problems of being unable to monitor the cooling fan in real time and having insufficient safety.
[0007] In some embodiments, the automatic detection system for the cooling fan status includes: a main control module, a temperature detection module, a fan control module, and an alarm indication module, wherein:
[0008] The temperature detection module includes temperature sensors deployed around high-power devices, and the temperature sensors are all connected to the main control module;
[0009] The fan control module comprises at least one PWM speed control cooling fan, each of the cooling fans is connected with the main control module through an independent PWM signal line, and the main control module controls the rotating speed of the cooling fan by adjusting the duty cycle of the PWM signal; each of the cooling fans is also connected with the main control module through an independent TACH signal line, and the TACH signal line is used for feeding back the TACH signal to the main control module.
[0010] The alarm indication module comprises a shared buzzer and an indicator light, and each of the cooling fans is provided with an indicator light, and the shared buzzer and the indicator light are connected with the main control module.
[0011] In some embodiments, the main control module comprises a single-chip microcomputer, the single-chip microcomputer is provided with a plurality of timers and an analog-to-digital converter, wherein the temperature sensors are connected with the analog-to-digital converter, the cooling fans are connected with the pins of the plurality of timers through independent PWM signal lines, and the cooling fans are also connected with the pins of the plurality of timers through independent TACH signal lines.
[0012] In some embodiments, the main control module is configured to:
[0013] send the PWM instruction in real time and read the TACH signal, wherein the PWM instruction is used for indicating the target rotating speed required for controlling the cooling fan, and the TACH signal is used for feeding back the actual rotating speed of the cooling fan;
[0014] when the actual rotating speed is greater than the target rotating speed, the PWM duty cycle in the PWM instruction is controlled to be reduced;
[0015] when the actual rotating speed is less than the target rotating speed, the PWM duty cycle in the PWM instruction is controlled to be increased.
[0016] In some embodiments, the main control module is further configured to:
[0017] monitor the collected TACH signal in real time;
[0018] when the TACH signal is lower than a preset threshold, it is determined that the state of the cooling fan corresponding to the TACH signal is abnormal.
[0019] In some embodiments, when the TACH signal is monitored in real time, the main control module is further configured to:
[0020] when the TACH signal is continuously at a low level, or when the TACH signal is continuously at a high level, it is determined that the state of the cooling fan corresponding to the TACH signal is abnormal.
[0021] In some embodiments, the alarm indication module is configured to:
[0022] receive the control instruction sent by the main control module and used for indicating that the state of the cooling fan is abnormal;
[0023] drive the shared buzzer to alarm at a preset frequency according to the control instruction.
[0024] According to the control instruction, the indicator lamp corresponding to the state-exceptional heat dissipation fan is lightened, so as to locate the state-exceptional heat dissipation fan.
[0025] In some embodiments, the shared buzzer and the indicator lamp are connected with the general input and output pin of the single-chip microcomputer.
[0026] In some embodiments, the TACH signal fed back by the heat dissipation fan is an open-drain output, and the main control module provides a pull-up resistor for the TACH signal, so that the output waveform of the TACH signal is a 50% duty cycle rectangular wave.
[0027] In some embodiments, the indicator lamp adopts a common cathode or common anode circuit design, the main control module outputs a high level in a normal state to make the indicator lamp extinguished, and outputs a low level in an abnormal state to make the indicator lamp lightened.
[0028] In some embodiments, the automatic detection method of the heat dissipation fan state utilizes the automatic detection system of the heat dissipation fan state in any of the foregoing embodiments, and the method comprises:
[0029] real-time sending of a PWM instruction and reading of a TACH signal, wherein the PWM instruction is used to indicate a target rotating speed required to control the heat dissipation fan, and the TACH signal is used to feed back an actual rotating speed of the heat dissipation fan;
[0030] when the actual rotating speed is greater than the target rotating speed, control of a decrease in a PWM duty cycle in the PWM instruction;
[0031] when the actual rotating speed is less than the target rotating speed, control of an increase in the PWM duty cycle in the PWM instruction;
[0032] when the TACH signal is lower than a preset threshold value, determination of a state exception of the heat dissipation fan corresponding to the TACH signal.
[0033] The automatic detection system and method of the heat dissipation fan state provided by the embodiments of the present disclosure can achieve the following technical effects:
[0034] The main control module acquires the temperature of the high-power consumption device in real time through the temperature sensor, and sends the PWM instruction to the fan control module in real time and reads the TACH signal. When the target rotating speed of the cooling fan is less than the actual rotating speed, the main control module controls to reduce the PWM duty cycle in the PWM instruction. Conversely, when the target rotating speed of the cooling fan is greater than the actual rotating speed, the main control module controls to increase the PWM duty cycle in the PWM instruction. Therefore, the application can realize dynamic adjustment of the rotating speed of the cooling fan and real-time monitoring of the state through closed-loop control. In addition, the main control module can determine whether the state of the cooling fan is normal through the TACH signal. When any cooling fan is abnormal, the shared buzzer is controlled to alarm, and the indicator light around the cooling fan is turned on, so that the staff can find the possible cooling fan failure in time, and the fault cooling fan can be located without disassembling the machine, the cooling fan can be repaired in time, and the stable operation of the equipment can be ensured.
[0035] The foregoing general description and the following description are only exemplary and explanatory, and are not intended to limit the application. BRIEF DESCRIPTION OF DRAWINGS
[0036] One or more embodiments are exemplarily illustrated by the corresponding drawings, which do not constitute limitation on the embodiments, elements with the same reference numerals in the drawings are shown as similar elements, the drawings do not constitute proportional limitation, and wherein:
[0037] Figure 1 is a system block diagram of an automatic detection system for the state of a cooling fan provided by an embodiment of the present disclosure;
[0038] Figure 2 is a schematic diagram of pin function allocation of a single-chip microcomputer provided by an embodiment of the present disclosure;
[0039] Figure 3 is a closed-loop control schematic diagram of an automatic detection system for the state of a cooling fan provided by an embodiment of the present disclosure;
[0040] Figure 4 is a fault alarm logic diagram of a multi-cooling fan system provided by an embodiment of the present disclosure;
[0041] Figure 5 is a flowchart of an automatic detection method for the state of a cooling fan provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0042] In order to enable more detailed understanding of the features and technical contents of the embodiments of the present disclosure, the implementation of the embodiments of the present disclosure is described in detail below, and the attached drawings are only used for reference and do not limit the embodiments of the present disclosure. In the following technical description, in order to facilitate explanation, through multiple details, a sufficient understanding of the disclosed embodiments is provided. However, one or more embodiments can still be implemented without these details. In other cases, in order to simplify the drawings, well-known structures and devices can be simplified.
[0043] The terms "first", "second", and the like in the embodiments of the present disclosure are used to distinguish similar objects, and do not necessarily describe a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present disclosure described herein can be implemented. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion.
[0044] Unless otherwise specified, the term "multiple" means two or more.
[0045] In the embodiments of the present disclosure, the character " / " represents an "or" relationship between the objects before and after it. For example, A / B represents: A or B.
[0046] The term "and / or" is a description of the association between objects, which means that there can be three relationships. For example, A and / or B means: A or B, or, A and B, the three relationships.
[0047] The term "corresponding" can refer to an association or binding relationship. A and B correspond to each other means that there is an association or binding relationship between A and B.
[0048] The computer cooling fan is a core component to ensure the stable operation of the equipment, and its importance runs through multiple dimensions such as hardware life, performance, and safety in use. With the improvement of computer hardware performance, high-power devices such as processors and bridges will generate a large amount of heat during operation. In order to ensure the stable operation of the device and reduce the temperature of the whole machine case, it is necessary to ensure that the cooling fan can work normally. At present, artificial detection cannot realize continuous monitoring of the state of the cooling fan, and it is difficult to find hidden faults such as abnormal speed. When multiple cooling fans are included in the equipment, it is time-consuming and laborious to manually check the abnormal cooling fan. If the cooling fan failure is not found in time, it may cause the device to overheat, causing unstable operation of the equipment and even hardware damage.
[0049] In order to solve the above problems, the present disclosure provides an automatic detection system for the state of the cooling fan. The automatic detection system for the state of the cooling fan provided by the embodiments of the present disclosure is described in detail below with reference to the drawings.
[0050] Figure 1is a system block diagram of an automatic detection system of a cooling fan state provided by an embodiment of the present disclosure. In combination Figure 1 , the automatic detection system comprises a master control module, a temperature detection module, a fan control module and an alarm indication module connected to the master control module. The master control module comprises a single-chip microcomputer, and the single-chip microcomputer is internally provided with a plurality of timers (Timer) and an analog-to-digital converter (ADC). A domestic single-chip microcomputer such as HuaDa Electronics HC32F series can be selected, which is internally provided with a plurality of Timers, ADCs and GPIO resources.
[0051] In some embodiments, a large-power-consumption device such as a processor or a bridge generates a large amount of heat during operation, and the generated heat can be collected by the temperature detection module. Specifically, a corresponding temperature sensor can be deployed around the large-power-consumption device, and the temperature sensor is connected to the master control module. The master control module can obtain the heat generated by the operation of the device through the temperature sensor. The temperature sensor can be a thermistor or a digital temperature sensor such as DS18B20, which is deployed near the heat source such as the processor or the bridge.
[0052] Figure 2 is a single-chip microcomputer pin function allocation diagram provided by an embodiment of the present disclosure. Referring to Figure 2 , the temperature sensor is connected to the analog-to-digital converter interface of the single-chip microcomputer through I2C. During communication, the single-chip microcomputer sends a device address and a register command to start temperature collection through the I2C protocol, the temperature sensor converts the temperature into an electrical signal and feeds back the electrical signal to the single-chip microcomputer, and the single-chip microcomputer obtains the actual temperature value after receiving the data.
[0053] In some embodiments, after the master control module obtains the temperature of the large-power-consumption device, the master control module controls the PWM speed control cooling fan in the fan control module. The cooling fan is connected to the master control module through an independent PWM signal line, and the master control module controls the speed of the cooling fan by adjusting the duty cycle of the PWM signal. In combination Figure 2 , the cooling fan is connected to the pin of the plurality of timers through an independent PWM signal line. In the PWM speed control cooling fan, the speed of the fan is controlled by the master control module, and the master control module adjusts the speed of the fan by adjusting the duty cycle of the PWM signal with a fixed frequency. For example, when the temperature of the processor exceeds 80℃, the duty cycle of the PWM signal is adjusted to 100% to drive the cooling fan to run at full speed, and when the temperature is lower than 50℃, the duty cycle is adjusted to 20% to reduce noise.
[0054] In some embodiments, the cooling fan is also connected to the master control module through an independent TACH signal line for feeding back a TACH signal to the master control module. Referring to Figure 2The heat dissipation fan can be connected to the pin of the multipath timer through an independent TACH signal line. The detection of the rotation speed of the heat dissipation fan can be realized by detecting the TACH signal output by the fan.
[0055] Generally, the TACH signal feedback by the heat dissipation fan is an open-drain output, and a pull-up resistor needs to be added on the mainboard. Therefore, the main control module can provide a 3.3V high level for the TACH signal through a 10kΩ pull-up resistor, so that the output waveform of the TACH signal is a rectangular wave with a duty cycle of 50%. The low level of the rectangular wave is 0V, the high level is the pull-up level of the main control module, and the frequency is between dozens and hundreds of Hz. The single-chip microcomputer can detect the signal state in real time to determine the rotation speed state of the fan.
[0056] Figure 3 is a closed-loop control schematic diagram of an automatic detection system of a heat dissipation fan state provided by the embodiment of the present disclosure. In combination with Figure 3 When the temperature of the high-power device is obtained, the main control module can send a PWM instruction to the fan control module in real time and read a TACH signal according to the actual situation, wherein the PWM instruction is used to indicate the target rotation speed required for controlling the heat dissipation fan, and the TACH signal is used to feedback the actual rotation speed of the heat dissipation fan.
[0057] The design parameters of the heat dissipation fan are known: how many TACH pulses (usually 2 or 4) are generated per revolution of the rotor of the heat dissipation fan. According to the PPR (Pulses Per Revolution) of the heat dissipation fan, the actual rotation speed can be calculated:
[0058] Actual rotation speed (RPM) = (measured pulse frequency * 60 seconds) / PPR
[0059] For example, the single-chip microcomputer counts 100 times of TACH signal jumps within 1 second (frequency 100Hz), and it is known that the PPR of the fan is 2. Therefore, the actual rotation speed = (100*60) / 2 = 3000 revolutions / minute.
[0060] In some embodiments, when the actual rotation speed is greater than the target rotation speed, the PWM duty cycle in the PWM instruction is controlled to be reduced, and vice versa, when the actual rotation speed is less than the target rotation speed, the PWM duty cycle in the PWM instruction is controlled to be increased. Of course, when the actual rotation speed is equal to the target rotation speed, no adjustment can be made.
[0061] In some embodiments, the main control module monitors the collected TACH signal in real time, and determines that the state of the cooling fan corresponding to the TACH signal is abnormal when the TACH signal is lower than a preset threshold. The state of the TACH signal of the cooling fan speed feedback is different under different conditions. Generally, the cooling fan includes the following conditions: PWM high level duty cycle 0% (control minimum speed), PWM high level duty cycle 100% (control maximum speed), PWM high level duty cycle between 0% and 100%, fan rotor stall, fan TACH signal removal, and fan PWM signal removal.
[0062] The following describes the state of the TACH signal of the cooling fan speed feedback under different conditions by taking a fan with model number AGE077025B12U as an example.
[0063] Scenario one: PWM signal high level duty cycle 0% (control minimum speed): the cooling fan TACH signal is always low, with an amplitude of 0V.
[0064] Scenario two: PWM signal high level duty cycle 100% (control maximum speed): the cooling fan TACH signal is a rectangular wave, with a low level amplitude of 0V, a high level amplitude of 3.3V, and a frequency of 200Hz.
[0065] Scenario three: PWM signal high level duty cycle between 0% and 100%: the cooling fan TACH signal is a rectangular wave, with a low level amplitude of 0V, a high level amplitude of 3.3V, and a frequency of 0-200Hz.
[0066] Scenario four: cooling fan rotor stall: the cooling fan TACH signal is always low, with an amplitude of 0V.
[0067] Scenario five: cooling fan removal: the TACH signal is always high, with an amplitude of 3.3V
[0068] Scenario six: cooling fan PWM signal removal: the cooling fan runs at full speed, and the cooling fan TACH signal is a rectangular wave, with a low level amplitude of 0V, a high level amplitude of 3.3V, and a frequency of 200Hz.
[0069] As long as the cooling fan is rotating normally (scenarios two, three, and six), the cooling fan TACH signal is a rectangular wave, and the frequency cannot be lower than a certain value. When the cooling fan rotates too slowly (extreme low speed in scenario one), stalls (scenario four), or the signal line is broken (scenario five), the frequency of the cooling fan TACH signal can be 0 or close to 0, or an abnormal high level. Therefore, the main control module sets a preset threshold, for example, 10Hz, and determines that the cooling fan is working abnormally as long as the frequency of the cooling fan TACH signal is lower than 10Hz.
[0070] In some embodiments, the preset threshold of the lower limit of the normal rotating speed is set: when the PWM duty cycle is not 0, the cooling fan should be in rotation, at which time the TACH signal frequency should be theoretically higher than an extremely low value (such as 10 Hz). If the frequency is less than 10 Hz, it may mean that the fan is too low in speed due to mechanical failure, abnormal power supply, or the like, and is close to the stall state. It is also necessary to distinguish between “low-speed operation” and “abnormal stall”. For example, when the PWM duty cycle is close to 0%, the cooling fan may be in an extremely low speed state, but if the TACH frequency is still higher than 10 Hz at this time, it can be considered to be still within the “controllable low speed” range; if it is lower than 10 Hz, it may have entered the “pre-stall” or “unable to operate normally” abnormal state. In combination with actual application, the signal may be temporarily disturbed by noise, and setting the threshold of 10 Hz can avoid misjudgment due to instantaneous interference, while ensuring the sensitivity to real low-speed failure.
[0071] In some embodiments, the main control module monitors the collected TACH signal in real time, and when the TACH signal is continuously low, or when the TACH signal is continuously high, it is determined that the state of the cooling fan corresponding to the TACH signal is abnormal.
[0072] In some embodiments, when the main control module detects that the state of the cooling fan is abnormal, the alarm indication module can inform the staff in the form of audible and visual alarm. The alarm indication module includes a shared buzzer and an indicator light, and the cooling fan is surrounded by an indicator light, and the shared buzzer and the indicator light are connected with the main control module.
[0073] In view of the above-mentioned different states of the TACH signal of the rotating speed of the cooling fan, the following explains the alarm in different situations.
[0074] Scenario one (control minimum speed): TACH signal frequency = 0 Hz (<10 Hz), the speed is too low, which may also represent a failure or insufficient cooling, so an alarm is given.
[0075] Scenario four (stall of the rotor of the cooling fan): TACH signal frequency = 0 Hz (<10 Hz), the cooling fan is truly faulty, so an alarm is given.
[0076] Scenario five (removal of the cooling fan): TACH signal frequency = 0 Hz (constant high level, no jump), the cooling fan is truly faulty, so an alarm is given.
[0077] Scenarios two and three (normal medium and high speed), and six (uncontrolled full speed): the TACH signal frequency is in the range of tens to hundreds of Hz (>10 Hz), which is a normal frequency range, and no alarm is given.
[0078] Scenario three (low speed): if the PWM command makes the fan rotate at a very low speed, so low that the TACH frequency is less than 10 Hz, the alarm needs to be triggered even if the fan is not completely blocked, because the speed is below the safety threshold.
[0079] In some embodiments, the alarm indication module can receive the control instruction sent by the single-chip microcomputer for indicating the abnormal state of the cooling fan. The alarm indication module drives the shared buzzer to alarm at a preset frequency according to the control instruction, for example, at a frequency of 0.5 Hz (1 S of sound, 1 S of silence). The alarm indication module also needs to light up the indicator light corresponding to the abnormal cooling fan according to the control instruction, for the purpose of locating the abnormal cooling fan. Here, the indicator light can be a red LED.
[0080] Taking a fan with the model AGE077025B12U as an example, when the rectangular wave frequency of the TACH signal of the cooling fan is detected to be less than 10 Hz, it can be judged that the working state is abnormal. At this time, the single-chip microcomputer drives the shared buzzer to alarm at a frequency of 0.5 Hz, and the user can determine that the whole machine needs to replace the fan according to the buzzing of the shared buzzer. In a whole machine with multiple fans, the abnormality of the corresponding cooling fan can be indicated by means of the on-board indicator light. When the state of any cooling fan is detected to be abnormal, the red LED indicator light near the corresponding cooling fan seat can be lit up while the shared buzzer is buzzing. At this time, the maintenance personnel can quickly locate the position of the abnormal fan after opening the case.
[0081] Figure 4 is a multi-cooling fan system fault alarm logic diagram provided by an embodiment of the present disclosure, which is combined with Figure 4 Taking two cooling fans as an example, cooling fan 1 corresponds to red LED 1, and cooling fan 2 corresponds to red LED 2. Cooling fan 1 and cooling fan 2 share the shared buzzer. If cooling fan 1 is abnormal, the single-chip microcomputer lights up red LED 1 and controls the shared buzzer to alarm. If cooling fan 2 is abnormal, the single-chip microcomputer lights up red LED 2 and controls the shared buzzer to alarm. If both cooling fan 1 and cooling fan 2 are abnormal, the single-chip microcomputer lights up red LED 1 and red LED 2 and controls the shared buzzer to alarm. If both cooling fan 1 and cooling fan 2 are normal, there is no alarm.
[0082] In some embodiments, the shared buzzer and the indicator light are connected with the general-purpose input and output pin (GPIO) of the single-chip microcomputer. The indicator light adopts a common cathode or common anode circuit design. The main control module outputs a high level to make the indicator light extinguished in the normal state, and outputs a low level to make the indicator light light up in the abnormal state.
[0083] Combined with Figure 2, the heat dissipation fan is normal, the single-chip microcomputer can control the general input and output pin to output high level (1, such as 3.3V). The high level indicates that there is no voltage difference (or very small) across the indicator light, so the indicator light is not lit. When the heat dissipation fan is detected to be abnormal, the single-chip microcomputer controls the general input and output pin to output low level (0, 0V). At this time, the current can flow from the power supply (such as 3.3V) through the indicator light, and then flow into the input and output pin of the single-chip microcomputer, so that the indicator light is lit. In addition, under normal circumstances, the single-chip microcomputer can control the general input and output pin to output high level (1, such as 3.3V) or low level (0, 0V) to make the shared buzzer not sound. When any heat dissipation fan is abnormal, the single-chip microcomputer can drive the shared buzzer to alarm at a frequency of 0.5Hz.
[0084] The automatic detection process of the heat dissipation fan state will be explained below in combination with specific examples.
[0085] Taking a certain domestic computer as an example, three heat dissipation fans (CPU fan, case fan and power supply fan) are configured, and the single-chip microcomputer HC32F460 (with 8-way Timer built-in) is selected, and the specific implementation is as follows:
[0086] Pin distribution: Timer0~Timer2: output 3 independent PWM signals respectively; Timer3~Timer5: capture 3 TACH signal frequencies respectively; GPIO1~GPIO3: control the LED indicator lights of the three heat dissipation fans; GPIO4: drive the shared buzzer.
[0087] Under normal circumstances, the TACH frequency corresponding to the speed of each heat dissipation fan meets the design expectation, such as 200Hz when the speed is full, corresponding to 6000RPM. When the heat dissipation fan is blocked, the TACH frequency is reduced to 0Hz, the single-chip microcomputer drives the buzzer to alarm and lights up the corresponding LED indicator light. When the fan is removed, the TACH signal is continuously high, triggering the alarm mechanism.
[0088] Therefore, the application can realize dynamic adjustment of the speed of the heat dissipation fan and real-time monitoring of the state through closed-loop control. Based on the measured data, the threshold is set to effectively distinguish between normal low-speed operation and abnormal fault state, so that the staff can timely find the heat dissipation fan fault, and locate the fault heat dissipation fan without disassembling the machine during maintenance, so as to timely repair the heat dissipation fan and ensure the stable operation of the equipment.
[0089] Based on the same inventive concept as the above automatic detection system of the heat dissipation fan state, the application also provides, in some embodiments, an automatic detection method of the heat dissipation fan state. Figure 5 is a flowchart of an automatic detection method of the heat dissipation fan state provided by the embodiments of the present disclosure. Combined with Figure 5The method comprises: a master module sending a PWM instruction in real time and reading a TACH signal, wherein the PWM instruction is used to indicate a target rotating speed required for controlling the heat dissipation fan, and the TACH signal is used to feed back an actual rotating speed of the heat dissipation fan. When the actual rotating speed is greater than the target rotating speed, a PWM duty cycle in the PWM instruction is controlled to be reduced. When the actual rotating speed is less than the target rotating speed, the PWM duty cycle in the PWM instruction is controlled to be increased. When the TACH signal is lower than a preset threshold, it is determined that a state of the heat dissipation fan corresponding to the TACH signal is abnormal. When the TACH signal is higher than the preset threshold, it is determined that the state of the heat dissipation fan corresponding to the TACH signal is normal.
[0090] The technical scheme of the embodiments of the present disclosure can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes one or more instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in the embodiments of the present disclosure. The aforementioned storage medium can be a non-transitory storage medium, including a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, etc. various media that can store program codes, or can be a transitory storage medium.
[0091] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible variations. Unless explicitly required, separate components and functions are optional, and the order of operations may vary. Parts and features of some embodiments may be included in or replace parts and features of other embodiments. Moreover, the terms used in this application are only used to describe the embodiments and are not used to limit the scope of protection. As used in the description in the text, unless the context clearly indicates otherwise, the singular forms of "a", "an" and "the" are intended to also include plural forms. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of one or more associated listings. In addition, when used in this application, the term "comprise" and its variations "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof. In the absence of further restrictions, an element defined by the statement "comprises a..." does not exclude the presence of other identical elements in the process, method or device that includes the element. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments can be referenced to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can be found in the description of the method part.
[0092] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present disclosure. The technicians will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0093] In the embodiments disclosed herein, the disclosed methods, products (including but not limited to devices, apparatuses, etc.) can be implemented in other manners. For example, the described device embodiments are merely illustrative. For example, the division of the units is merely a logical function division. There can be another division manner for the actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections can be indirect couplings or communication connections through some interfaces, devices or units, and can be in electrical, mechanical or other forms. The units described as separated components can or can not be physical separate units. The units shown as separate components can or can not be physical separate units, i.e., can be located in one place, or can be distributed on multiple network units. Some or all of the units can be selected according to the actual needs to implement the embodiments. In addition, the units in the embodiments disclosed herein can be integrated in a processing unit, or each unit can exist alone physically, or two or more units can be integrated in a unit.
Claims
1. An automatic detection system for cooling fan status, characterized in that: The automatic detection system includes: a main control module, a temperature detection module, a fan control module and an alarm indication module, wherein: The temperature detection module includes temperature sensors deployed around high-power consumption devices, and the temperature sensors are all connected to the main control module; The fan control module includes at least one PWM speed-controlled cooling fan, each of which is connected to the main control module via an independent PWM signal line. The main control module controls the speed of the cooling fan by adjusting the duty cycle of the PWM signal. Each of the cooling fans is also connected to the main control module via an independent TACH signal line for feeding back a TACH signal to the main control module. The alarm indication module includes a shared buzzer and an indicator light. An indicator light is deployed around each cooling fan. The shared buzzer and the indicator light are both connected to the main control module.
2. The automatic detection system for cooling fan status according to claim 1, characterized in that: The main control module includes a single chip microcomputer, which has a built-in multi-channel timer and an analog-to-digital converter, wherein: The temperature sensors are all connected to the analog-to-digital converter interface, the cooling fans are all connected to the pins of the multi-channel timer through independent PWM signal lines, and the cooling fans are all connected to the pins of the multi-channel timer through independent TACH signal lines.
3. The automatic detection system for cooling fan status according to claim 1, characterized in that: The main control module is configured as follows: Sending PWM instructions in real time and reading TACH signals, wherein the PWM instructions are used to indicate the target speed of the cooling fan to be controlled, and the TACH signals are used to feedback the actual speed of the cooling fan; When the actual speed is greater than the target speed, controlling to reduce the PWM duty cycle in the PWM instruction; When the actual speed is less than the target speed, the control increases the PWM duty cycle in the PWM instruction.
4. The automatic detection system for cooling fan status according to claim 3, characterized in that: The main control module is further configured to: monitoring the collected TACH signal in real time; When the TACH signal is lower than a preset threshold, it is determined that the cooling fan corresponding to the TACH signal is in an abnormal state.
5. The automatic detection system for cooling fan status according to claim 4, characterized in that: When monitoring the TACH signal in real time, the main control module is further configured to: When the TACH signal is continuously at a low level, or when the TACH signal is continuously at a high level, it is determined that the cooling fan corresponding to the TACH signal is in an abnormal state.
6. The automatic detection system for cooling fan status according to claim 1, characterized in that: The alarm indication module is configured to: receiving a control instruction sent by the main control module to indicate that the cooling fan is in an abnormal state; Driving the shared buzzer to alarm at a preset frequency according to the control instruction; The indicator light corresponding to the abnormal cooling fan is lit according to the control instruction to locate the abnormal cooling fan.
7. The automatic detection system for cooling fan status according to claim 2, characterized in that: The shared buzzer and the indicator light are both connected to the general input and output pins of the single chip microcomputer.
8. The automatic detection system for cooling fan status according to claim 1, characterized in that: The TACH signal fed back by the cooling fan is an open-drain output, and the main control module provides a pull-up resistor for the TACH signal, so that the output waveform of the TACH signal is a rectangular wave with a duty cycle of 50%.
9. The automatic detection system for cooling fan status according to claim 1, characterized in that: The indicator light adopts a common cathode or common anode circuit design. The main control module outputs a high level in a normal state to turn off the indicator light, and outputs a low level in an abnormal state to turn on the indicator light.
10. A method for automatically detecting the status of a cooling fan, characterized in that: Utilizing the automatic detection system for the cooling fan status according to any one of claims 1 to 9, the method comprises: Sending PWM instructions in real time and reading TACH signals, wherein the PWM instructions are used to indicate the target speed of the cooling fan to be controlled, and the TACH signals are used to feedback the actual speed of the cooling fan; When the actual speed is greater than the target speed, controlling to reduce the PWM duty cycle in the PWM instruction; When the actual speed is less than the target speed, controlling to increase the PWM duty cycle in the PWM instruction; When the TACH signal is lower than a preset threshold, it is determined that the cooling fan corresponding to the TACH signal is in an abnormal state.