Fan monitoring method and system and computer readable storage medium
By analyzing the fan speed and current trends and identifying the fan module failure types, the server operation risks caused by fan wear or structural failure are solved, the server stability and reliability are improved, and maintenance costs are reduced.
Patent Information
- Application Number
- CN202411214974.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2024-11-26
AI Technical Summary
The fan blades in the server are broken due to wear or structural failure, causing the cooling strategy to be blocked and other fans to be damaged. The existing technology cannot identify the broken fan body, resulting in server operation risks and hidden dangers.
The fan speed and rotor current are obtained through the sampling period, the speed and current change trends are analyzed, the fault types of fan modules are distinguished, including speed failure faults and fan body faults, and the alarm priority and protection measures are implemented.
It avoids the risk of complete machine failure caused by the inability to identify the type of failure, improves the stability and reliability of the server, reduces maintenance costs, and improves customer satisfaction and product competitiveness.
Smart Images

Figure CN119021894A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of servers, and in particular to a fan monitoring method, system and computer-readable storage medium. Background Art
[0002] In server systems, with the development of big data and cloud computing, the amount of data that servers need to process is increasing, and the heat generated by their core components is increasing, which increases the temperature inside the server chassis. If the server runs in a high temperature environment for a long time, it may cause server service interruption, data loss and other problems. To solve this problem, the speed of the cooling fan in the server is usually controlled according to the actual temperature inside the server chassis to achieve precise control of the temperature inside the server chassis.
[0003] The cooling fans in the server are subject to the risk of wear of the fan blades and structural parts due to the quality of the fan itself, the invasion of foreign objects, and the risk of the cooling fan body being broken due to the strength of its own structural parts. Once the cooling fan body is broken, it will cause the abnormality of the cooling fan in that channel and hinder the cooling strategy. More seriously, fan fragments will scatter into other fan channels, causing damage to other fans and physical damage to the electronic devices in the server, which poses great risks and hidden dangers. The current server fan alarm solution is to monitor the fan speed below the threshold and generate an alarm for low fan speed. It is temporarily unable to identify the fan body being broken, and can only be passively repaired after the fan body is abnormal. At this time, the negative impact of the fan body breaking has already caused quality risks in the server chassis, and there will be hidden dangers in long-term operation.
[0004] Therefore, how to provide a solution to the above technical problems is a problem that those skilled in the art need to solve at present. Summary of the invention
[0005] The purpose of the present invention is to provide a fan monitoring method, system and computer-readable storage medium, which can distinguish the failure type of the fan module, avoid the risk of server operation, and avoid other risks while ensuring heat dissipation, thereby improving the stability and reliability of the product, thereby improving customer satisfaction and product competitiveness.
[0006] In order to solve the above technical problems, the present invention provides a fan monitoring method, comprising:
[0007] Obtain the fan speed and rotor current of the fan module in the server according to the sampling period;
[0008] Determine a speed calculation value and a speed change trend based on the fan speed of N consecutive sampling periods, and determine a current change trend based on the rotor current of N consecutive sampling periods; N is an integer greater than 1;
[0009] When the calculated speed value meets a preset fault condition, the fault type of the fan module is determined according to the speed change trend and the current change trend, and the fault type is a fan body fault or a speed failure fault.
[0010] Optionally, the process of determining the speed calculation value and the speed change trend based on the fan speed in N consecutive sampling periods includes:
[0011] Determine an average value of the fan speeds of N consecutive sampling periods as a speed calculation value;
[0012] When the speed calculation value is less than the speed reference value of the current control cycle, determining that the speed change trend is a downward trend;
[0013] When the speed calculation value is greater than the speed reference value of the current control cycle, determining that the speed change trend is an upward trend;
[0014] The process of determining the current variation trend based on the rotor current of N consecutive sampling periods includes:
[0015] Determine an average value of the rotor current of N consecutive sampling periods as a current calculation value;
[0016] When the current calculation value is less than the current reference value of the current control cycle, determining that the current change trend is a downward trend;
[0017] When the current calculation value is greater than the current reference value of the current control cycle, determining that the current change trend is an upward trend;
[0018] The fan monitoring method further includes:
[0019] When the speed change trend is the downward trend, obtaining a speed change value of the speed reference value minus the speed calculation value;
[0020] If the rotation speed change value is within a preset fault threshold range, it is determined that the rotation speed calculation value meets the preset fault condition.
[0021] Optionally, the preset fault condition includes a first fault condition;
[0022] If the speed change value is within a preset fault threshold range, the process of determining that the speed calculation value meets the preset fault condition includes:
[0023] If the speed change value is within a preset fault threshold range greater than a first threshold, determining that the speed calculation value satisfies the first fault condition;
[0024] When the calculated speed value meets the preset fault condition, the process of determining the fault type of the fan module according to the speed change trend and the current change trend includes:
[0025] When the calculated speed value meets the first fault condition, if the speed change trend and the current change trend are the same, the fault type of the fan module is determined to be the speed failure fault; if the speed change trend and the current change trend are opposite, the fault type of the fan module is determined to be the fan body fault.
[0026] Optionally, the fan body fault includes a foreign body intrusion fault;
[0027] If the rotation speed variation trend is opposite to the current variation trend, the process of determining that the fault type of the fan module is the fan body fault includes:
[0028] If the rotation speed change trend is opposite to the current change trend, obtaining a current change value between the current calculation value and the current reference value;
[0029] Determine whether the speed change value is greater than a second threshold and the current change value is greater than a main body fault threshold, the main body fault threshold is the product of the current reference value and the fault coefficient, and the second threshold is greater than the first threshold;
[0030] If so, it is determined that the fault type of the fan module is the foreign object intrusion fault.
[0031] Optionally, the preset fault condition further includes a second fault condition, and the fan body fault further includes a structural interference damage fault;
[0032] If the speed change value is within a preset fault threshold range, the process of determining that the speed calculation value meets the preset fault condition includes:
[0033] If the speed change value is within a preset fault threshold range that is less than or equal to the first threshold, determining that the speed calculation value satisfies the second fault condition;
[0034] When the calculated speed value meets the preset fault condition, the process of determining the fault type of the fan module according to the speed change trend and the current change trend includes:
[0035] When the speed calculation value satisfies the second fault condition, and the speed change trend is opposite to the current change trend, a speed change value per unit time and a current change value per unit time of a current monitoring period are calculated, and the current monitoring period includes N consecutive sampling periods;
[0036] If the speed change values per unit time of M consecutive monitoring cycles are all less than or equal to 0, and the current change values per unit time of M consecutive monitoring cycles are all greater than or equal to 0, it is determined that the fault type of the fan module is the structural interference damage fault.
[0037] Optionally, the fan monitoring method further includes:
[0038] Determining specification information of the fan module;
[0039] A speed reference value and a current reference value of the current control cycle are determined according to the specification information.
[0040] Optionally, the fan monitoring method further includes:
[0041] Configure the alarm priority of each of the fault types; the alarm priority of the speed failure fault is lower than the alarm priority of the fan body fault;
[0042] After determining the fault type of the fan module according to the rotation speed change trend and the current change trend, the fan monitoring method further includes:
[0043] An alarm operation is performed according to the alarm priority corresponding to the fault type of the fan module.
[0044] In order to solve the above technical problems, the present invention further provides a fan monitoring system, comprising:
[0045] A collection module, used for collecting the rotation speed value of the fan module and the current value of the rotor;
[0046] A first processing module, configured to perform a cleaning operation on a continuous preset number of rotation speed values to obtain a fan rotation speed, and perform the cleaning operation on a continuous preset number of current values to obtain a rotor current;
[0047] The second processing module includes a memory and a storage, wherein the memory is used to store a computer program, and the processor is used to implement the steps of the fan monitoring method as described in any one of the above when executing the computer program.
[0048] In order to solve the above technical problem, the present invention further provides a server system, comprising at least one fan module and a fan monitoring system as described above and connected to the fan module.
[0049] To solve the above technical problems, the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the fan monitoring method as described in any one of the above are implemented.
[0050] The present invention provides a fan monitoring method, which obtains the fan speed and rotor current of the fan module, and then determines the speed change trend and current change trend according to the fan speed and rotor current in N consecutive sampling cycles. When the speed calculation value meets the preset fault condition, the fault type of the fan module can be determined as a body fault or a speed failure fault based on the consistency of the speed change trend and the current change trend, thereby avoiding the risk of whole machine failure due to the inability to distinguish the fault type, while ensuring heat dissipation, avoiding the occurrence of other risks, improving the stability and reliability of the product, and thus improving customer satisfaction and product competitiveness. The present invention also provides a fan monitoring system, a server system and a computer-readable storage medium, which have the same beneficial effects as the above-mentioned fan monitoring method. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0052] Figure 1 A flow chart of the steps of a fan monitoring method provided by the present invention;
[0053] Figure 2 A schematic diagram of the structure of a fan monitoring device provided by the present invention;
[0054] Figure 3 A schematic diagram of the structure of a fan monitoring system provided by the present invention;
[0055] Figure 4 A schematic diagram of the structure of an optical coupler isolation circuit provided by the present invention;
[0056] Figure 5 A structural schematic diagram of a filter circuit provided by the present invention;
[0057] Figure 6 This is a schematic diagram of the structure of a computer-readable storage medium provided by the present invention. DETAILED DESCRIPTION
[0058] The core of the present invention is to provide a fan monitoring method, system and computer-readable storage medium, which can distinguish the failure type of the fan module, avoid the operation risk of the whole server, and avoid the occurrence of other risks while ensuring heat dissipation, thereby improving the stability and reliability of the product, thereby improving customer satisfaction and product competitiveness.
[0059] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0060] First, please refer to Figure 1 The present invention provides a fan monitoring method, comprising:
[0061] S101: Obtaining a fan speed and a rotor current of a fan module in a server according to a sampling period;
[0062] In this embodiment, a pin for transmitting the current value of the fan's rotor is added to the fan module end. It can be understood that the fan module in the server is generally a two-rotor mode, that is, there are two groups of fan blades in a fan module that operate together. Therefore, in this embodiment, a pin for transmitting the current value is added to each of the two rotors. The rotor current here includes the rotor current of the first rotor and the rotor current of the second rotor. The fan speed can be determined by the fan's tach signal (i.e., Tachometer signal, which is a signal used to measure the motor speed). In this embodiment, the fan speed and rotor current are obtained based on the sampling period. For the sake of convenience, the rotor current of one rotor is used as an example for subsequent description. The processing method of the rotor current of the other rotor is similar.
[0063] As an optional embodiment, the speed acquisition value and the current sampling value can be processed to obtain the fan speed and the rotor current. Specifically, the q speed acquisition values sampled continuously are sorted in order from large to small, and then the highest p speed acquisition values are removed, the lowest p speed acquisition values are removed, and the remaining speed acquisition values are averaged as the fan speed. The size of q and p is set according to the actual project needs. Exemplarily, 10 speed acquisition values can be sampled continuously, and then the two highest speed acquisition values are removed, the two lowest speed acquisition values are removed, and the remaining 6 speed acquisition values are averaged to obtain the fan speed. In this embodiment, considering that the acquisition of the speed acquisition value is relatively fast, there is a situation where the difference between the i-th speed acquisition value and the i-1th speed acquisition value is small, and the difference between the i+1th speed acquisition value is large. In order to further improve the reliability of the obtained fan speed, the influence of abnormal values on the overall data is reduced by removing extreme values. After sorting the speed acquisition values, multiple of the highest speed acquisition values and the lowest speed acquisition values are removed, thereby further improving the accuracy of subsequent identification of the fault type of the fan module. Correspondingly, the processing of the current sampling values is similar. The q current collection values sampled continuously are sorted in order from large to small, and then the highest p current collection values are removed, the lowest p current collection values are removed, and the average value of the remaining current collection values is taken as the fan current. The size of q and p is set according to actual engineering needs.
[0064] S102: determining a speed calculation value and a speed change trend based on the fan speed of N consecutive sampling periods, and determining a current change trend based on the rotor current of N consecutive sampling periods; N is an integer greater than 1;
[0065] In this embodiment, considering that an abnormal fluctuation or decrease in fan speed may indicate that the fan module has an intrinsic mechanical fault (such as bearing wear, blade damage, motor coil short circuit or open circuit, etc.) or a speed failure fault (such as speed sensor failure, control circuit problem or driver failure, resulting in the fan being unable to reach or maintain the set speed), if the rotor current becomes unstable or increases abnormally, it may be that the fan module has an intrinsic mechanical fault. Therefore, this embodiment obtains the fan speed and rotor current of N consecutive sampling cycles to respectively determine the speed change trend and current change trend. The change trend includes an upward trend or a downward trend. Analyzing the long-term trend helps predict future performance changes of the fan module and provide a basis for preventive maintenance.
[0066] At the same time, this embodiment also calculates a speed calculation value based on the fan speed of N consecutive sampling periods. The speed calculation value is used to determine whether there is an abnormal fluctuation or decrease in the fan speed, thereby determining whether there is a current fault in the fan module.
[0067] S103: When the calculated speed value meets the preset fault condition, the fault type of the fan module is determined according to the speed change trend and the current change trend. The fault type is a fan body fault or a speed failure fault.
[0068] In the present embodiment, considering that the abnormal fluctuation or decrease in the fan speed of the fan module may be caused by a fault in the fan module, the present embodiment presets multiple preset fault conditions for different fault types. When the calculated speed value meets the fault condition corresponding to any fault type, the fault type of the fan module can be jointly identified as a fan body fault or a speed failure fault based on the speed change trend and the current change trend. After identifying the fault type of the fan module, it is determined whether to cut off the fan speed for protection according to the fault type.
[0069] It can be seen that in this embodiment, the fan speed and rotor current of the fan module are obtained, and then the speed change trend and the current change trend are determined according to the fan speed and the rotor current in N consecutive sampling periods. When the speed calculation value meets the preset fault condition, the fault type of the fan module can be determined as a main body fault or a speed failure fault based on the consistency of the speed change trend and the current change trend, thereby avoiding the risk of whole machine failure due to the inability to distinguish the fault type. While ensuring heat dissipation, it avoids the occurrence of other risks, improves the stability and reliability of the product, and thus improves customer satisfaction and product competitiveness.
[0070] Based on the above embodiments:
[0071] In an exemplary embodiment, the process of determining the speed calculation value and the speed change trend based on the fan speed in N consecutive sampling periods includes:
[0072] The average value of the fan speed of N consecutive sampling periods is determined as the speed calculation value;
[0073] When the speed calculation value is less than the speed reference value of the current control cycle, it is determined that the speed change trend is a downward trend;
[0074] When the speed calculation value is greater than the speed reference value of the current control cycle, it is determined that the speed change trend is an upward trend;
[0075] The process of determining the current change trend based on the rotor current of N consecutive sampling periods includes:
[0076] The average value of the rotor current of N consecutive sampling periods is determined as the current calculation value;
[0077] When the current calculation value is less than the current reference value of the current control cycle, it is determined that the current change trend is a downward trend;
[0078] When the current calculation value is greater than the current reference value of the current control cycle, it is determined that the current change trend is an upward trend;
[0079] Fan monitoring methods also include:
[0080] When the speed change trend is a downward trend, obtain the speed change value of the speed reference value minus the speed calculation value;
[0081] If the speed change value is within the preset fault threshold range, it is determined that the speed calculation value meets the preset fault condition.
[0082] In this embodiment, the fan module is controlled by the current PWM (Pulse Width Modulation) signal in the current control cycle, and the duration of the current control cycle is greater than or equal to the duration of N consecutive sampling cycles, so as to ensure that the fan speed and rotor current in N consecutive sampling cycles are data under the control of the same PWM signal, so as to be compared with the reference value later. In this embodiment, the average value of the rotor current in N consecutive sampling cycles is determined as the current calculation value, and the average value of the rotor current in N consecutive sampling cycles is determined as the current calculation value.
[0083] As an optional embodiment, a plurality of speed reference values and current reference values corresponding to PWM signals are preconfigured, and in the actual operation process, the corresponding speed reference value and current reference value are determined according to the PWM signal corresponding to the current control cycle. The speed calculation value is compared with the speed reference value. If the speed calculation value is less than the speed reference value, it means that the fan speed of N consecutive sampling cycles is decreasing compared with the speed reference value, thereby determining that the speed change trend is a downward trend. If the speed calculation value is greater than the speed reference value, it means that the fan speed of N consecutive sampling cycles is increasing compared with the speed reference value, thereby determining that the speed change trend is an upward trend. If the speed calculation value is equal to the speed reference value, it means that the fan speed of N consecutive sampling cycles is unchanged compared with the speed reference value, and the observation continues. Accordingly, the current calculation value is compared with the current reference value. If the current calculation value is less than the current reference value, it means that the rotor current of N consecutive sampling cycles is decreasing compared to the current reference value, thereby determining that the current change trend is a downward trend. If the current calculation value is greater than the current reference value, it means that the rotor current of N consecutive sampling cycles is increasing compared to the current reference value, thereby determining that the current change trend is an upward trend. If the current calculation value is equal to the current reference value, it means that the rotor current of N consecutive sampling cycles is unchanged compared to the current reference value, and continue to observe. It can be understood that the current calculation value and the speed calculation value are both average values. The average value provides a more stable speed representation and current representation. Compared with a single sampling value, it can more accurately reflect the real change trend of the speed, improve the accuracy and reliability of the judgment of the speed change trend and the current change trend, and help to better manage the fan module performance and maintenance activities.
[0084] Considering that when the fan speed has a downward trend, it may be caused by a fault in the fan module. Based on this, when determining that the speed change trend of the fan module is a downward trend, this embodiment obtains the error between the speed reference value and the speed calculation value, that is, the speed change value, and determines whether the speed calculation value meets the preset fault condition based on the relationship between the error and the preset fault threshold range. It can be understood that when the fan module is in different fault types, the preset fault threshold range where the error is located is different. Therefore, this embodiment presets multiple fault threshold ranges for different fault types, and determines the preset fault condition that is met based on the fault threshold range where the error is located. Of course, if the error is not within any preset fault threshold range, continue to observe.
[0085] In an exemplary embodiment, the preset fault condition includes a first fault condition;
[0086] If the speed change value is within the preset fault threshold range, the process of determining that the speed calculation value meets the preset fault condition includes:
[0087] If the speed change value is within a preset fault threshold range greater than a first threshold, determining that the speed calculation value satisfies a first fault condition;
[0088] When the calculated speed value meets the preset fault condition, the process of determining the fault type of the fan module according to the speed change trend and the current change trend includes:
[0089] When the calculated speed value meets the first fault condition, if the speed change trend and the current change trend are the same, the fault type of the fan module is determined to be a speed failure fault; if the speed change trend and the current change trend are opposite, the fault type of the fan module is determined to be a fan body fault.
[0090] In this embodiment, it is assumed that the speed change value is greater than the first threshold value, indicating that the difference between the speed calculation value and the speed reference value is large. At this time, it can be determined that the fan module has a fault, but the fault type needs to be further determined. Therefore, this embodiment identifies the fault type according to the speed change trend and the current change trend. It can be understood that if the speed fluctuates irregularly or drops suddenly, this may indicate that there is a body fault. The speed may gradually decrease over time, indicating that mechanical parts such as bearings are seriously worn. If the current is unstable or increases abnormally, it may be due to problems with the internal winding of the motor or increased mechanical resistance (such as bearing damage). If the speed cannot reach the set value, even if the rotor current is normal, it may be a fault of the speed control system. If the rotor current is normal, but the speed does not respond, it may be a problem with the speed control system. If the current does not change significantly, but the speed cannot reach the expected speed, it may be a sensor failure or a control signal problem. Based on this, it can be obtained that if the speed and current are abnormal at the same time, it may be a body fault. If the speed is abnormal but the current is normal, it may be a speed failure fault. Therefore, this embodiment identifies the fan module fault based on the consistency of the speed change trend and the current change trend. If the speed change trend is consistent with the current change trend, and both are decreasing, it means that the fan module fault type is a speed failure fault. If the speed change trend is decreasing, and the current change trend is increasing, it means that the fan module fault type is a fan body fault. By comprehensively analyzing the speed and current change trends, the fan module fault type can be diagnosed more accurately, and corresponding maintenance measures can be taken, which helps to reduce misdiagnosis, improve maintenance efficiency, and reduce maintenance costs.
[0091] As an optional embodiment, the first threshold can be determined according to the speed reference value of the current control cycle. For example, the first threshold can be 20% of the speed reference value of the current control cycle. That is, the first threshold changes dynamically according to the speed reference value of each control cycle. Under different working conditions, the speed fluctuation of the fan may be normal. The dynamically set first threshold can reduce unnecessary fault alarms in these situations.
[0092] In an exemplary embodiment, the fan body failure includes a foreign object intrusion failure;
[0093] If the speed change trend is opposite to the current change trend, the process of determining that the fault type of the fan module is a fan body fault includes:
[0094] If the speed change trend is opposite to the current change trend, obtain the current change value between the current calculation value and the current reference value;
[0095] Determine whether the speed change value is greater than a second threshold and the current change value is greater than a main body fault threshold, the main body fault threshold is the product of the current reference value and the fault coefficient, and the second threshold is greater than the first threshold;
[0096] If so, it is determined that the fault type of the fan module is a foreign object intrusion fault.
[0097] In this embodiment, the fan body fault is further divided, and the fan body fault includes foreign body intrusion fault. Considering that foreign matter causes the fan load to increase, the motor needs more current to maintain the same speed, so the current will increase significantly. Based on this, when the fan module is judged to have a body fault by the speed change value being greater than the second threshold, the present embodiment judges whether the current change is abnormal. If so, the fault type of the fan module is determined to be a foreign body intrusion fault. If the current change is not in an abnormal state, the observation is continued. The second threshold can be 50% of the speed reference value of the current control cycle. Specifically, the present embodiment judges the difference between the current calculation value and the current reference value, that is, the current change value. If the difference between the current change value and the current reference value is greater than the body fault threshold, it means that the rotor current has increased significantly, and the fault type of the fan module is determined to be a foreign body intrusion fault.
[0098] As an optional embodiment, when the speed change value is greater than 50% of the speed reference value and the current change value is greater than 50% of the current reference value, it is determined that foreign matter may have invaded the fan module and the fault type of the fan module is determined to be a foreign matter intrusion fault.
[0099] In an exemplary embodiment, the preset fault condition further includes a second fault condition, and the fan body fault further includes a structural interference damage fault;
[0100] If the speed change value is within the preset fault threshold range, the process of determining that the speed calculation value meets the preset fault condition includes:
[0101] If the speed change value is within a preset fault threshold range that is less than or equal to the first threshold, determining that the speed calculation value satisfies a second fault condition;
[0102] When the calculated speed value meets the preset fault condition, the process of determining the fault type of the fan module according to the speed change trend and the current change trend includes:
[0103] When the calculated speed value meets the second fault condition, and the speed change trend is opposite to the current change trend, the speed change value per unit time and the current change value per unit time of the current monitoring period are calculated, and the current monitoring period includes N consecutive sampling periods;
[0104] If the speed change per unit time of M consecutive monitoring cycles is less than or equal to 0, and the current change per unit time of M consecutive monitoring cycles is greater than or equal to 0, it is determined that the fault type of the fan module is a structural interference damage fault.
[0105] In this embodiment, if the speed change value is less than 20% of the speed reference value, it means that the downward trend of the fan speed is relatively slow, and continuous observation is required to identify the fault type of the fan module. If the speed change value corresponding to the currently acquired N consecutive sampling periods is less than 20% of the speed reference value, first regard the N consecutive sampling periods as a monitoring period. If N=3, then the first sampling period, the second sampling period and the third sampling period are regarded as the first monitoring period, and the fourth sampling period, the fifth sampling period and the sixth sampling period are regarded as the second monitoring period, and so on. First calculate the speed change value per unit time and the current change value per unit time corresponding to the first monitoring period, divide the speed change values of the first three sampling periods by three to obtain the speed change value per unit time of the first monitoring period, recorded as FAN1, and divide the current change values of the first three sampling periods by three to obtain the current change value per unit time I1. Obtain FAN1, I1, FAN2, I2, ... FAN of M consecutive monitoring periods. M ,I M If the speed change value per unit time is less than or equal to 0, and the current change value per unit time is greater than or equal to 0, then the fault type of the fan module is determined to be a structural interference damage fault.
[0106] As another optional embodiment, assuming that M=10, when (FAN 10 –FAN9<= 0) &…&((FAN2–FAN1<= 0))&((I 10 –I9>=0)&……&((I2–I1>=0)), it is determined that the fault type of the fan module is a structural interference damage fault.
[0107] In an exemplary embodiment, the fan monitoring method further includes:
[0108] Determine the specification information of the fan module;
[0109] The speed reference value and the current reference value of the current control cycle are determined according to the specification information.
[0110] Considering that fan modules with different specification information have different corresponding speed reference values and current reference values under the control of the same PWM signal, the present embodiment pre-stores the speed reference values and current reference values corresponding to fan modules of various specifications under different PWM signals. After the fan module is added, the specification information of the fan module is determined according to the PN code of the fan module, so as to obtain the corresponding relationship between the PWM signal, speed reference value and current reference value under the specification information, which is convenient for subsequent use and improves the reliability and accuracy of fault identification.
[0111] In an exemplary embodiment, the fan monitoring method further includes:
[0112] Configure the alarm priority for each fault type; the alarm priority for speed failure is lower than that for fan body failure;
[0113] After determining the fault type of the fan module according to the speed change trend and the current change trend, the fan monitoring method further includes:
[0114] Perform alarm operations according to the alarm priority corresponding to the fault type of the fan module.
[0115] In order to further ensure the operation safety of the server, in this embodiment, the alarm priority is set for the fault type of the fan module, and different alarm priorities have different alarm operations to timely remind users of the abnormality of the fan module. Specifically, the alarm priority of the speed failure fault is lower than the alarm priority of the structural interference damage fault, and the alarm priority of the structural interference damage fault is lower than the alarm priority of the foreign body intrusion fault. It can be understood that the foreign body intrusion fault has the highest alarm priority, because foreign body intrusion may cause the fan module to stop or be damaged suddenly, thereby causing more extensive safety problems, such as equipment damage or personal injury. Rapid response to this fault can take immediate measures to prevent accidents. The alarm priority of the structural interference damage fault is lower than the alarm priority of the foreign body intrusion fault, but higher than the alarm priority of the speed failure fault, because the structural interference damage may cause permanent damage to the fan module and affect the long-term use of the equipment. Timely handling of this fault can prevent the damage from expanding and protect the integrity of the equipment. The alarm priority of the speed failure fault is the lowest, because the speed failure usually does not immediately cause equipment damage, but affects the performance of the fan. Although it needs to be handled, it does not pose a direct threat to the equipment and operation safety. Different alarm priorities help operation and maintenance personnel to reasonably allocate resources according to the severity and urgency of the fault. Operation and maintenance personnel can make quick decisions according to the alarm priority, such as whether it is necessary to stop the operation of the equipment immediately to prevent further damage. By giving priority to faults that may cause equipment shutdown, the overall downtime can be reduced and production efficiency can be improved. High-priority alarms can trigger preventive maintenance measures to avoid possible safety accidents or equipment damage in the future. In summary, the present invention realizes that when the server fan is abnormal, it can match the corresponding fan alarm scheme according to the specific fault type of the fan, and timely implement the fan power-off protection and alarm scheme, avoiding the risk of the whole machine caused by the inability to distinguish the fault type, and avoiding other risks while ensuring heat dissipation. The protection and alarm of the whole machine fan fragmentation are realized through accurate fan fault type alarm and automatic protection mechanism, which reduces the failure rate of the whole machine, improves the stability and reliability of the product, ensures energy saving and emission reduction of the customer data center computer room, and improves customer satisfaction and product competitiveness.
[0116] Second, please refer to Figure 2 The present invention provides a fan monitoring device, comprising:
[0117] A first acquisition module 11 is used to acquire the fan speed and rotor current of the fan module in the server according to a sampling period;
[0118] A calculation module 12, used to determine a speed calculation value and a speed change trend based on the fan speed of N consecutive sampling periods, and to determine a current change trend based on the rotor current of N consecutive sampling periods; N is an integer greater than 1;
[0119] The identification module 13 is used to determine the fault type of the fan module according to the speed change trend and the current change trend when the speed calculation value meets the preset fault condition. The fault type is the fan body fault or the speed failure fault.
[0120] It can be seen that in this embodiment, the fan speed and rotor current of the fan module are obtained, and then the speed change trend and the current change trend are determined according to the fan speed and the rotor current in N consecutive sampling periods. When the speed calculation value meets the preset fault condition, the fault type of the fan module can be determined as a main body fault or a speed failure fault based on the consistency of the speed change trend and the current change trend, thereby avoiding the risk of whole machine failure due to the inability to distinguish the fault type. While ensuring heat dissipation, it avoids the occurrence of other risks, improves the stability and reliability of the product, and thus improves customer satisfaction and product competitiveness.
[0121] In an exemplary embodiment, the process of determining the speed calculation value and the speed change trend based on the fan speed in N consecutive sampling periods includes:
[0122] The average value of the fan speed of N consecutive sampling periods is determined as the speed calculation value;
[0123] When the speed calculation value is less than the speed reference value of the current control cycle, it is determined that the speed change trend is a downward trend;
[0124] When the speed calculation value is greater than the speed reference value of the current control cycle, it is determined that the speed change trend is an upward trend;
[0125] The process of determining the current change trend based on the rotor current of N consecutive sampling periods includes:
[0126] The average value of the rotor current of N consecutive sampling periods is determined as the current calculation value;
[0127] When the current calculation value is less than the current reference value of the current control cycle, it is determined that the current change trend is a downward trend;
[0128] When the current calculation value is greater than the current reference value of the current control cycle, it is determined that the current change trend is an upward trend;
[0129] The fan monitoring system also includes:
[0130] A second acquisition module is used for acquiring a speed change value of a speed reference value minus a speed calculation value when the speed change trend is a downward trend;
[0131] The first determination module is used to determine that the calculated speed value meets a preset fault condition if the speed change value is within a preset fault threshold range.
[0132] In an exemplary embodiment, the preset fault condition includes a first fault condition;
[0133] If the speed change value is within the preset fault threshold range, the process of determining that the speed calculation value meets the preset fault condition includes:
[0134] If the speed change value is within a preset fault threshold range greater than a first threshold, determining that the speed calculation value satisfies a first fault condition;
[0135] When the calculated speed value meets the preset fault condition, the process of determining the fault type of the fan module according to the speed change trend and the current change trend includes:
[0136] When the calculated speed value meets the first fault condition, if the speed change trend and the current change trend are the same, the fault type of the fan module is determined to be a speed failure fault; if the speed change trend and the current change trend are opposite, the fault type of the fan module is determined to be a fan body fault.
[0137] In an exemplary embodiment, the fan body failure includes a foreign object intrusion failure;
[0138] If the speed change trend is opposite to the current change trend, the process of determining that the fault type of the fan module is a fan body fault includes:
[0139] If the speed change trend is opposite to the current change trend, obtain the current change value between the current calculation value and the current reference value;
[0140] Determine whether the speed change value is greater than a second threshold and the current change value is greater than a main body fault threshold, the main body fault threshold is the product of the current reference value and the fault coefficient, and the second threshold is greater than the first threshold;
[0141] If so, it is determined that the fault type of the fan module is a foreign object intrusion fault.
[0142] In an exemplary embodiment, the preset fault condition further includes a second fault condition, and the fan body fault further includes a structural interference damage fault;
[0143] If the speed change value is within the preset fault threshold range, the process of determining that the speed calculation value meets the preset fault condition includes:
[0144] If the speed change value is within a preset fault threshold range that is less than or equal to the first threshold, determining that the speed calculation value satisfies a second fault condition;
[0145] When the calculated speed value meets the preset fault condition, the process of determining the fault type of the fan module according to the speed change trend and the current change trend includes:
[0146] When the calculated speed value meets the second fault condition, and the speed change trend is opposite to the current change trend, the speed change value per unit time and the current change value per unit time of the current monitoring period are calculated, and the current monitoring period includes N consecutive sampling periods;
[0147] If the speed change per unit time of M consecutive monitoring cycles is less than or equal to 0, and the current change per unit time of M consecutive monitoring cycles is greater than or equal to 0, it is determined that the fault type of the fan module is a structural interference damage fault.
[0148] In an exemplary embodiment, the fan monitoring system further includes:
[0149] A second determination module is used to determine specification information of the fan module;
[0150] The third determination module is used to determine the speed reference value and the current reference value of the current control cycle according to the specification information.
[0151] In an exemplary embodiment, the fan monitoring system further includes:
[0152] Configuration module, used to configure the alarm priority of each fault type; the alarm priority of speed failure fault is lower than the alarm priority of fan body fault;
[0153] After determining the fault type of the fan module based on the speed change trend and current change trend, the fan monitoring system also includes:
[0154] The alarm module is used to perform an alarm operation according to the alarm priority corresponding to the fault type of the fan module.
[0155] Third, please refer to Figure 3 The present invention also provides a fan monitoring system, comprising:
[0156] The acquisition module 21 is used to acquire the rotation speed value of the fan module and the current value of the rotor;
[0157] The first processing module 22 is used to clean up a preset number of continuous speed values to obtain a fan speed, and clean up a preset number of continuous current values to obtain a rotor current;
[0158] The second processing module 23 includes a memory and a storage device, wherein the memory is used to store a computer program, and the processor is used to implement the steps of any one of the above fan monitoring methods when executing the computer program.
[0159] The fan monitoring system further includes a temperature sensor 24 so that the second processing module 23 outputs a corresponding PWM signal according to the temperature value of the server to adjust the rotation speed of the fan module.
[0160] The first processing module 22 may be implemented by a CPLD (Complex Programmable Logic Device) in the server, and the second processing module 23 may be implemented by a BMC (Baseboard Management Controller) in the server.
[0161] In this embodiment, a pin for transmitting the current values of the two rotors of the fan is added at the fan end (the server fan is generally in a two-rotor mode, that is, there are two sets of fan blades in a fan module running together). The tach signal (speed signal) / current signal of the fan module is transmitted to the CPLD, filtered internally by the CPLD (10 values are continuously sampled, the highest 2 are removed, the lowest 2 are removed, and the remaining 6 are averaged as the CPLD output value), and then transmitted to the BMC. It can be understood that the CPLD also obtains the in-place signal (persent signal) of the fan module.
[0162] As an optional embodiment, the tach signal of the fan module is transmitted to the CPLD through physical isolation (optical coupler / inverter, etc.) to avoid signal interference. Furthermore, this embodiment also adds hardware filtering to the circuit from the fan module to the CPLD and from the CPLD to the BMC. Considering that the tach signal may be affected by noise during transmission, such as electromagnetic interference, vibration, etc., in order to accurately measure the speed, it is necessary to filter the signal and remove noise to improve the accuracy and stability of the measurement. Figure 4 As shown, the power supply voltage is represented by Vcc, and the filter circuit is referred to Figure 5 As shown, it includes resistance R, inductance L and capacitance C.
[0163] In a fourth aspect, the present invention further provides a server system, comprising at least one fan module and a fan monitoring system as described above and connected to the fan module.
[0164] For an introduction to a server system provided by the present invention, please refer to the above-mentioned embodiment, and the present invention will not be described in detail here.
[0165] The server system provided by the present invention has the same beneficial effects as the above-mentioned fan monitoring method.
[0166] Fifth, please refer to Figure 6 The present invention further provides a computer-readable storage medium 30, on which a computer program 31 is stored. When the computer program 31 is executed by a processor, the steps of the fan monitoring method described in any one of the above embodiments are implemented.
[0167] The computer-readable storage medium 30 may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
[0168] For an introduction to a computer-readable storage medium 30 provided by the present invention, please refer to the above embodiment, and the present invention will not be described in detail here.
[0169] A computer-readable storage medium 30 provided by the present invention has the same beneficial effects as the above-mentioned fan monitoring method.
[0170] In a sixth aspect, the present invention further provides a computer program product, comprising a computer program / instruction, which, when executed by a processor, implements the steps of the fan monitoring method described in any one of the above embodiments.
[0171] For an introduction to a computer program product provided by the present invention, please refer to the above embodiments, and the present invention will not be described in detail here.
[0172] A computer program product provided by the present invention has the same beneficial effects as the above-mentioned fan monitoring method.
[0173] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0174] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A fan monitoring method, characterized in that: include: Obtain the fan speed and rotor current of the fan module in the server according to the sampling period; Determine a speed calculation value and a speed change trend based on the fan speed of N consecutive sampling periods, and determine a current change trend based on the rotor current of N consecutive sampling periods; N is an integer greater than 1; When the calculated speed value meets a preset fault condition, the fault type of the fan module is determined according to the speed change trend and the current change trend, and the fault type is a fan body fault or a speed failure fault.
2. The fan monitoring method according to claim 1, characterized in that: The process of determining the speed calculation value and the speed change trend based on the fan speed in N consecutive sampling periods includes: Determine an average value of the fan speeds of N consecutive sampling periods as a speed calculation value; When the speed calculation value is less than the speed reference value of the current control cycle, determining that the speed change trend is a downward trend; When the speed calculation value is greater than the speed reference value of the current control cycle, determining that the speed change trend is an upward trend; The process of determining the current variation trend based on the rotor current of N consecutive sampling periods includes: Determine an average value of the rotor current of N consecutive sampling periods as a current calculation value; When the current calculation value is less than the current reference value of the current control cycle, determining that the current change trend is a downward trend; When the current calculation value is greater than the current reference value of the current control cycle, determining that the current change trend is an upward trend; The fan monitoring method further includes: When the speed change trend is the downward trend, obtaining a speed change value of the speed reference value minus the speed calculation value; If the rotation speed change value is within a preset fault threshold range, it is determined that the rotation speed calculation value meets the preset fault condition.
3. The fan monitoring method according to claim 2, characterized in that: The preset fault condition includes a first fault condition; If the speed change value is within a preset fault threshold range, the process of determining that the speed calculation value meets the preset fault condition includes: If the speed change value is within a preset fault threshold range greater than a first threshold, determining that the speed calculation value satisfies the first fault condition; When the calculated speed value meets the preset fault condition, the process of determining the fault type of the fan module according to the speed change trend and the current change trend includes: When the calculated speed value meets the first fault condition, if the speed change trend and the current change trend are the same, the fault type of the fan module is determined to be the speed failure fault; if the speed change trend and the current change trend are opposite, the fault type of the fan module is determined to be the fan body fault.
4. The fan monitoring method according to claim 3, characterized in that: The fan body fault includes a foreign body intrusion fault; If the rotation speed variation trend is opposite to the current variation trend, the process of determining that the fault type of the fan module is the fan body fault includes: If the rotation speed change trend is opposite to the current change trend, obtaining a current change value between the current calculation value and the current reference value; Determine whether the speed change value is greater than a second threshold and the current change value is greater than a main body fault threshold, the main body fault threshold is the product of the current reference value and the fault coefficient, and the second threshold is greater than the first threshold; If so, it is determined that the fault type of the fan module is the foreign object intrusion fault.
5. The fan monitoring method according to claim 3, characterized in that: The preset fault condition also includes a second fault condition, and the fan body fault also includes a structural interference damage fault; If the speed change value is within a preset fault threshold range, the process of determining that the speed calculation value meets the preset fault condition includes: If the speed change value is within a preset fault threshold range that is less than or equal to the first threshold, determining that the speed calculation value satisfies the second fault condition; When the calculated speed value meets the preset fault condition, the process of determining the fault type of the fan module according to the speed change trend and the current change trend includes: When the speed calculation value satisfies the second fault condition, and the speed change trend is opposite to the current change trend, a speed change value per unit time and a current change value per unit time of a current monitoring period are calculated, and the current monitoring period includes N consecutive sampling periods; If the speed change values per unit time of M consecutive monitoring cycles are all less than or equal to 0, and the current change values per unit time of M consecutive monitoring cycles are all greater than or equal to 0, it is determined that the fault type of the fan module is the structural interference damage fault.
6. The fan monitoring method according to claim 2, characterized in that: The fan monitoring method further includes: Determining specification information of the fan module; A speed reference value and a current reference value of the current control cycle are determined according to the specification information.
7. The fan monitoring method according to any one of claims 1 to 6, characterized in that: The fan monitoring method further includes: Configure the alarm priority of each of the fault types; the alarm priority of the speed failure fault is lower than the alarm priority of the fan body fault; After determining the fault type of the fan module according to the rotation speed change trend and the current change trend, the fan monitoring method further includes: An alarm operation is performed according to the alarm priority corresponding to the fault type of the fan module.
8. A fan monitoring system, characterized in that: include: A collection module, used for collecting the rotation speed value of the fan module and the current value of the rotor; A first processing module, configured to perform a cleaning operation on a continuous preset number of rotation speed values to obtain a fan rotation speed, and perform the cleaning operation on a continuous preset number of current values to obtain a rotor current; The second processing module includes a memory and a storage, wherein the memory is used to store a computer program, and the processor is used to implement the steps of the fan monitoring method as described in any one of claims 1-7 when executing the computer program.
9. A server system, characterized in that: The invention comprises at least one fan module and the fan monitoring system as claimed in claim 8 which is connected to the fan module.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the fan monitoring method according to any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Data acquisition supervision platform for operation and maintenance Internet of Things
CN120256265A
