Fan control methods, electronic devices, storage media and software products

By adding a capacitive sensing unit to the fan guard, the system can monitor capacitance changes in real time, actively determine the fan status, and implement control measures. This solves the problem of dust and foreign objects accumulating on the fan, and improves the stability and security of the server.

CN121047834BActive Publication Date: 2026-01-30INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511588799.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-10-31
Publication Date
2026-01-30
Estimated Expiration
2045-10-31

AI Technical Summary

Technical Problem

In existing technologies, dust accumulation and foreign objects in fans cause server instability. Manual cleaning is inaccurate and costly, and cannot be proactively intervened or prevented.

Method used

A capacitance sensing unit is added to the fan guard to collect capacitance values ​​in real time and compare them with historical values. The fan status is judged by the capacitance change information, so as to realize active monitoring and intervention prevention.

Benefits of technology

It improves the safety of fan operation and the stability of server systems, avoids dust affecting heat dissipation and safety accidents caused by foreign objects, and reduces maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121047834B_ABST
    Figure CN121047834B_ABST
Patent Text Reader

Abstract

This application discloses a fan control method, electronic device, storage medium, and program product, relating to the field of intelligent control technology. By adding a capacitance sensing unit to the protective mesh, the real-time capacitance value at the protective mesh is actively collected and compared with historical capacitance values. Combined with the control cycle, the capacitance change information is determined, thereby accurately judging the normal, dust warning, and emergency braking states of the fan and implementing corresponding control. This not only achieves active monitoring and intervention prevention of the fan protective mesh status with a simple and low-cost structural design, but also effectively avoids problems such as dust affecting heat dissipation and foreign objects causing safety accidents. Ultimately, it improves the safety and effectiveness of fan operation and the overall stability and reliability of the system in application scenarios such as servers.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of intelligent control, and particularly relates to a fan control method, an electronic device, a storage medium and a program product. BACKGROUND

[0002] With the development of cloud computing and big data technology, server high-load operation makes fan dust and foreign matter problems more likely to cause failures; at present, the dust and foreign matter of the fan are mainly found and cleaned by operation and maintenance personnel based on experience on a regular basis.

[0003] However, the accuracy of manual cleaning is poor, which may cause accumulation of dust on the fan and reduce the stability of server operation. SUMMARY

[0004] The present application provides a fan control method, an electronic device, a storage medium and a program product to at least solve the problem that the fan cannot actively intervene and prevent in the related art, reducing the stability of server operation.

[0005] The present application provides a fan control method, comprising:

[0006] obtaining a capacitive sensing unit in the fan, a first capacitance value currently collected at a protective net of the fan, and a second capacitance value collected at the protective net of the capacitive sensing unit in a historical period;

[0007] determining capacitive change information at the protective net based on the first capacitance value, the second capacitance value and a preset fan control period;

[0008] determining a current state of the fan based on the capacitive change information, the state of the fan including a normal state, a dust warning state and an emergency braking state;

[0009] controlling the fan based on the state of the fan.

[0010] The present application also provides a fan control device, comprising:

[0011] an obtaining module configured to obtain a capacitive sensing unit in the fan, a first capacitance value currently collected at a protective net of the fan, and a second capacitance value collected at the protective net of the capacitive sensing unit in a historical period;

[0012] a determining module configured to determine capacitive change information at the protective net based on the first capacitance value, the second capacitance value and a preset fan control period;

[0013] The determining module is further configured to determine a current state of the fan based on the capacitive change information, the state of the fan including a normal state, a dust warning state and an emergency braking state;

[0014] The control module is configured to control the fan based on a state of the fan.

[0015] The application further provides an electronic device, comprising a memory configured to store a computer program, and a processor configured to execute the computer program to implement the steps of the fan control method.

[0016] The application further provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the steps of the fan control method.

[0017] The application further provides a computer program product, comprising a computer program, and the computer program is executed by a processor to implement the steps of the fan control method.

[0018] Through the application, by additionally arranging a capacitive sensing unit at the protective net, the real-time capacitance value at the protective net is actively collected and compared with the historical capacitance value, the capacitance change information is determined in combination with the control period, and then the normal state, the dust early warning state and the emergency braking state of the fan are accurately judged and corresponding control is implemented. Not only the active monitoring and intervention prevention of the fan protective net state are realized by a simple and low-cost structure design, but also the problems such as dust affecting heat dissipation and foreign matter causing safety accidents can be effectively avoided, and finally the safety and effectiveness of the fan operation and the overall stability and reliability of the system in the server application scenario are improved. BRIEF DESCRIPTION OF DRAWINGS

[0019] In order to more clearly illustrate the embodiments of the application, the drawings needed in the embodiments will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the application, and other drawings can be obtained by those skilled in the art without creative labor.

[0020] Figure 1 The structural schematic diagram of the fan and the protective net provided by the embodiments of the application;

[0021] Figure 2 The flowchart of the fan control method provided by the embodiments of the application Figure 1 ;

[0022] Figure 3 The flowchart of the fan control method provided by the embodiments of the application Figure 2 ;

[0023] Figure 4 The structural schematic diagram of the fan control device provided by the embodiments of the application;

[0024] Figure 5 The structural schematic diagram of the electronic device provided by the embodiments of the application. DETAILED DESCRIPTION

[0025] The technical solutions in the embodiments of the present application will be described clearly and completely in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, any other embodiments obtained by a person of ordinary skill in the art without creative work fall within the protection scope of the present application.

[0026] It should be noted that, in the description of the present application, the terms “comprise”, “contain” or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device comprising a series of elements not only includes those elements, but also includes other elements not explicitly listed, or includes elements inherent to such process, method, article or device. The terms “first”, “second” and the like in the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence.

[0027] In order for those skilled in the art to better understand the present application, the present application will be further described in detail below in combination with the drawings and specific embodiments.

[0028] In combination with the specific hardware architecture on which the control method of the fan is dependent, the specific hardware architecture is described herein. For reference Figure 1 , Figure 1 The structural schematic diagram of the fan and the protective screen provided by the embodiments of the present application is shown in Figure 1 , which comprises a fan 10 and a protective screen 20.

[0029] The fan comprises fan blades, a motor and a frame, and is usually arranged on a server case for heat dissipation of the server case, injecting cold air into the server case, or extracting hot air from the inside of the server case.

[0030] The protective screen is installed at the air inlet or air outlet of the fan, and is usually made of metal, plastic or composite materials, and has the functions of blocking foreign matters, filtering dust and assisting airflow guiding. The core structure of the protective screen is a grid.

[0031] During server operation, the fan continuously sucks in external air, which first passes through the protective mesh. Large particles of dust (such as dust, fibers, and hair) in the air are blocked by the protective mesh and adhere to the surface of the mesh. The initial dust accumulation is relatively thin and has little impact on ventilation, but over time, the dust will "accumulate in blocks" in the gaps between the mesh, especially in a humid environment, where the dust will absorb moisture and form "dust mud" that adheres firmly to the protective mesh. Some fine dust (such as dust with a particle size of less than 10 μm) will pass through the protective mesh and hit the fan blades with the airflow. Due to the high-speed rotation of the blades, dust will adhere to the windward surface and edges of the blades under the action of centrifugal force and air resistance, forming a uniform layer of dust. The curved structure of the blades causes the dust to accumulate more thickly in the concave parts and is difficult to naturally shed.

[0032] After the fan blades accumulate dust, the weight and air resistance of the blades increase, causing the fan speed to decrease, the wind pressure and volume to decrease, and the internal temperature of the server to rise, thereby reducing the performance of the server. Dust accumulation on the protective mesh reduces the amount of incoming air, and the fan will continue to operate at high speed to maintain heat dissipation, increasing the load on the motor.

[0033] Furthermore, compared to the gradual harm of dust accumulation, the harm of foreign objects entering the fan and the protective mesh is more direct and severe. When metal foreign objects (such as screws and tweezers) enter the high-speed rotating fan, they will collide violently with the running blades, causing the blades to deform and the edges to break, or even directly breaking the blades. The broken blade fragments may further impact other components (such as hard drives and motherboards) inside the server, causing secondary damage.

[0034] Currently, the only way to avoid the above problems is through passive protection: maintenance personnel periodically check whether there are serious dust accumulation problems and foreign object intrusion problems in the fan and the protective mesh; or reduce the size of the protective mesh and add dustproof cotton.

[0035] However, passive protection can alleviate the dust accumulation and foreign object problems of the server fan and the protective mesh to some extent, but it has obvious limitations: it cannot block the risk from the source, and measures such as reducing the size of the mesh and adding dustproof cotton will increase air resistance and the load on the fan, thereby affecting the heat dissipation efficiency and hardware lifespan; at the same time, its effectiveness completely depends on periodic maintenance by human labor, which not only has high labor costs but also can lead to ineffective protection due to delayed maintenance and operational errors, and even make the protective components themselves become "secondary pollution sources". It is difficult to achieve a balance between protection effectiveness, system performance, and maintenance costs.

[0036] To solve the above technical problems, the technical concept is proposed: the size of the capacitance value is related to the facing area of the two plates, the plate spacing, and the dielectric constant of the dielectric. The accumulation of dust will affect the capacitance value of the fan and the protective net, so a capacitance sensing unit can be added to the original fan protective net structure to actively collect the capacitance value of the protective net. By the fluctuation of the capacitance value, the current state of the fan and the protective net can be determined, and active intervention and prevention can be carried out, thereby effectively improving the stability and reliability of the server operation.

[0037] Figure 2 Flowchart of the control method of the fan provided by the embodiment of the application Figure 1 The embodiment of the application provides a control method of a fan applied to any electronic device. As shown in the figure, the method comprises the following steps. Figure 2

[0038] S201, a capacitance sensing unit in the fan, a first capacitance value currently collected at the protective net of the fan, and a second capacitance value collected at the protective net by the capacitance sensing unit in a historical period are acquired.

[0039] The capacitance sensing unit comprises a capacitance sensing electrode and a capacitance sensing controller, which multiplexes the metal protective grid of the fan, and is provided with an electrical connection point at the edge of the protective grid for driving the capacitance sensing electrode and collecting the capacitance value of the capacitance sensing controller; if the original protective grid is a non-metal material, a metal conductor (such as copper foil, conductive silver paste) can be inlaid, printed or attached on the inner side to form the sensing electrode. The capacitance sensing controller can use a dedicated voltage output type capacitance sensing processor, which converts the collected capacitance value into a corresponding voltage value output. The capacitance sensing controller can drive the sensing electrode and collect the capacitance value of the sensing electrode in real time.

[0040] The preset fan control period is the time interval of periodic execution of capacitance detection and state control. For example, the detection process is started once every 5 seconds, 10 seconds or 30 seconds to ensure real-time monitoring of the state of the protective net, which not only avoids too frequent detection leading to high energy consumption, but also prevents missing sudden situations (such as a hand suddenly approaching) due to too long intervals.

[0041] ​Specifically, after the fan is powered on, the capacitance sensing unit will continuously detect the capacitance of the designated area of the protective net according to the preset control period. At the beginning of each detection period, the unit will output the current real-time capacitance value, i.e., the first capacitance value. At the same time, the second capacitance value is retrieved from the internal storage unit. The second capacitance value can be the first capacitance value of the previous control period. The selection of the second capacitance value needs to be combined with the actual scene: if the fan has just completed cleaning, the initial value after cleaning can be called; if it is long-term operation, the average value in the recent normal state is called. For example, the system can automatically exclude extreme abnormal values (such as occasional instantaneous fluctuations caused by flying mosquitoes) within the past 24 hours, calculate the average value of the remaining data as the second capacitance value, to ensure the stability of the reference.

[0042] S202, based on the first capacitance value, the second capacitance value and the preset fan control period, determine the capacitance change information at the protective net.

[0043] Specifically, after obtaining the first capacitance value and the second capacitance value, the difference between the two is calculated by a preset algorithm to obtain the change amplitude. A positive value indicates that the capacitance increases (possibly due to dust adhesion or object proximity, increasing the dielectric constant between the plates), and a negative value indicates that the capacitance decreases (less common, possibly due to the dry surface of the protective net, reducing the dielectric constant). Then, combined with the preset control period, the change rate is obtained, i.e., the amount of capacitance change per unit time, which is used to determine whether the change is slow or sudden. In addition, the system can also compare the change amplitudes of 3-5 consecutive periods to analyze the change trend (such as continuous rise, fluctuation or stabilization), and integrate these data to form complete capacitance change information.

[0044] S203, based on the capacitance change information, determine the current state of the fan, the state of the fan including normal state, dust warning state and emergency braking state.

[0045] Specifically, a plurality of threshold values are preset to determine the state of the fan according to the capacitance change information. These threshold values are usually calibrated through experiments: for example, in the normal state, the capacitance fluctuation amplitude caused by slight changes in environmental humidity, air flow, etc. is usually ≤8pF, and the change rate is ≤0.8pF / s; dust accumulation will cause the capacitance to slowly rise, when the change amplitude is 9-50pF and the change rate is ≤1.2pF / s, it is determined as dust warning (because dust adhesion is a gradual process, the rate will not change suddenly); while the object is close (such as a human hand), it will cause the capacitance to increase sharply, when the change amplitude is >50pF and the change rate is >1.2pF / s, it is determined as emergency braking state (because the object is close is a sudden behavior, the rate is very fast). The system compares the calculated change amplitude and rate with these threshold values, and also refers to the change trend (such as continuous rise is more likely to be dust, sudden jump is more likely to be object proximity), to finally determine the current state.

[0046] S204, control the fan based on the state of the fan.

[0047] Specifically, according to the state of the fan, the control module of the fan will perform corresponding operations to achieve the goal of normal operation, maintenance reminder or safety protection. For the normal state, the current running parameters (such as wind speed, timing setting, etc.) are kept unchanged to ensure that the server runs without disturbance; for the dust warning state, the core is to remind the operation and maintenance personnel to clean and reduce the further accumulation of dust, so as to trigger the warning signal (such as the flashing of the indicator light, the light buzzing of the buzzer), and at the same time, the running mode can be automatically adjusted (such as reducing the wind speed, because the higher the wind speed, the easier it is for dust carried by air flow to adhere to the protective net); for the emergency braking state, the primary goal is to avoid safety accidents, so the motor power is immediately cut off, the fan blade is forced to stop rotating, and an obvious alarm (such as continuous buzzing, red light always on) is issued, and after the operation and maintenance personnel clean up the foreign matter and the capacitance value returns to normal, manual operation (such as pressing the start key) is required to restart to prevent secondary risks caused by automatic recovery.

[0048] The control method of the fan provided by the embodiments of the present application actively collects the real-time capacitance value at the protective net and compares it with the historical capacitance value, determines the capacitance change information in combination with the control period, and then accurately judges the normal, dust warning and emergency braking states of the fan and implements corresponding control. Not only does it realize active monitoring and intervention prevention of the state of the protective net of the fan with a simple and low-cost structure design, but also effectively avoids problems such as dust affecting heat dissipation and foreign matter causing safety accidents, and ultimately improves the safety, effectiveness of the fan operation and the overall stability and reliability of the system in the application scenarios such as servers.

[0049] Figure 3 Flowchart of the control method of the fan provided by the embodiments of the present application Figure 2 . As Figure 3 shown, the method comprises:

[0050] S301, obtaining a capacitance sensing unit in a fan, a first capacitance value currently collected at a protective net of the fan, and a second capacitance value collected at the protective net by the capacitance sensing unit in a historical period.

[0051] In one possible implementation, a first filtering strategy is determined; and the first capacitance value is filtered based on the first filtering strategy.

[0052] The first filtering strategy can be a signal processing algorithm for preprocessing the first capacitance value, and common filtering methods include moving average filtering, median filtering, amplitude limiting filtering, etc. The core purpose is to eliminate abnormal fluctuations caused by possible transient interference (such as electromagnetic pulses, temporary passing of external objects through the protective net) in the capacitance collection process, and to retain the real trend of capacitance value changes.

[0053] Specifically, when the capacitance sensing unit collects the first capacitance value, it may be disturbed by the external environment (such as electromagnetic noise generated by nearby electrical appliances, temporary flying of mosquitoes through the protective net), causing the collected value to suddenly jump (such as suddenly rising from 100 pF to 150 pF and returning to normal after 1 second). If the abnormal value is directly used to calculate the first capacitance difference, it may lead to misjudgment of the fan state (such as misjudgment as emergency braking state). Therefore, before calculating the first capacitance difference, the first capacitance value needs to be processed using the first filtering strategy: for example, the moving average filtering method weakens the influence of single abnormal value by taking the average of multiple consecutive collection points; the median filtering method eliminates extreme abnormal values by selecting the middle value of consecutive data. After filtering, the first capacitance value is closer to the real value, providing reliable data for subsequent difference calculation and state judgment.

[0054] In one possible implementation, a second filtering strategy is determined; and the first capacitance value is filtered based on the second filtering strategy.

[0055] The second filtering strategy can be another type of filtering algorithm for the first capacitance value, usually low-pass filtering, Kalman filtering, etc., mainly used to eliminate periodic interference (such as slight fluctuations in capacitance value due to distance changes as the fan blades rotate) generated by the rotating fan blades, and to ensure that only low-frequency signals (such as slow changes in dust accumulation) of the protective net state change are retained when calculating the second capacitance difference.

[0056] Specifically, when the fan is running, the fan blades rotate at a fixed frequency, which may cause periodic distance changes or air flow disturbances between the fan blades and the protective net, resulting in periodic fluctuations in the first capacitance value (such as ±3 pF every 0.1 second). This high-frequency periodic fluctuation is not caused by the state change of the protective net itself (such as dust), and if it is directly used to calculate the second capacitance difference (compared with the third capacitance value), it may include false fluctuations in the change value, affecting the judgment accuracy. The role of the second filtering strategy (such as low-pass filtering) is to filter out high-frequency periodic interference (retain signals with a frequency below a certain threshold), and only retain low-frequency real changes (such as slow rise in capacitance caused by dust accumulation). For example, low-pass filtering can filter out high-frequency signals above 10 Hz and retain low-frequency changes below 0.1 Hz, ensuring that the second capacitance difference accurately reflects the actual state of the protective net.

[0057] S302, determine a first capacitance difference value between the first capacitance value and the second capacitance value.

[0058] Specifically, the first capacitance difference value satisfies the following formula:

[0059] C-Data = | F-Data – F-PreData |

[0060] Wherein, C-Data is the first capacitance difference value; F-Data is the first capacitance value; F-PreData is the second capacitance value.

[0061] S303, determine the capacitance change information based on the first capacitance value, the first capacitance difference value and the fan control period.

[0062] Possibly, combined with the size of the first capacitance value itself (to avoid misjudgment of relative changes due to too small reference value, for example, the meaning of changing 5pF when the reference is 10pF is different from the meaning of changing 5pF when the reference is 100pF) and the preset fan control period (reflecting the time span of change, for example, the speed difference between changing 10pF in 10 seconds and changing 10pF in 1 minute), the information that can comprehensively describe the capacitance change (such as "increased by 15pF in 10 seconds, current value 115pF") is finally integrated.

[0063] In one possible implementation, the ratio of the first capacitance difference value and the fan control period is determined, and the ratio is determined as the capacitance change rate at the protective net; based on the first capacitance value, the capacitance change value at the protective net is determined.

[0064] Wherein, the capacitance change rate: the change amount of capacitance per unit time, the unit is usually pF / s, which is used to measure the speed of capacitance change, and can be used as a key criterion to distinguish between rapid invasion and slow accumulation. For example, if the capacitance changes by 30pF in 10 seconds, the change rate is 3pF / s, reflecting that the change speed is fast.

[0065] Specifically, the capacitance change rate satisfies the following formula:

[0066] R-Data = C-Data / T

[0067] Wherein, C-Data is the first capacitance difference value; R-Data is the capacitance change rate; T is the fan control period

[0068] In one possible implementation, a third capacitance value is obtained, the third capacitance value is used to indicate the capacitance value when the fan is silent under the current fan control period; a second capacitance difference value between the first capacitance value and the third capacitance value is determined; based on the second capacitance difference value, the capacitance change value is determined.

[0069] The third capacitance value is used to indicate the capacitance value collected by the capacitance sensing unit when the fan is in a silent state (i.e., the fan blade stops rotating and there is no air flow disturbance) in the current fan control period. Its function is to exclude the disturbance of dynamic factors such as fan blade rotation and air flow impact on capacitance detection, and serve as a pure reference for measuring the state of the protective net itself (such as dust adhesion and static foreign matter). Possibly, different third capacitance values can be preset based on different scenarios to meet special needs.

[0070] Specifically, when the fan is running, the high-speed rotation of the fan blade will drive the air flow, which may cause the air medium density around the protective net to fluctuate, or a small electromagnetic induction between the fan blade and the protective net, thereby interfering with the capacitance detection (i.e., the first capacitance value may contain interference signals of non-protective net state). To solve this problem, the third capacitance value (capacitance in silent state) is introduced as a reference, and the second capacitance difference value between the first capacitance value and the third capacitance value can effectively eliminate the dynamic disturbance of fan blade rotation and air flow, and only retain the real capacitance change caused by dust accumulation on the surface of the protective net, static foreign matter (such as attached hair), etc., to ensure the accuracy of the capacitance change value. For example, when the fan is running, the first capacitance value is 110pF, which may contain 5pF of fan blade interference, and the third capacitance value in silent state is 100pF, then the second capacitance difference value 10pF is the real protective net state change.

[0071] Possibly, the capacitance change value satisfies the following formula:

[0072] D-Data = | F-Data – B-Data |

[0073] Wherein, D-Data is the capacitance change value; F-Data is the first capacitance value; B-Data is the third capacitance value; F-Data– B-Data is the second capacitance difference value.

[0074] S304, based on the capacitance change information, determine the state of the current fan, the state of the fan includes normal state, dust warning state and emergency braking state.

[0075] In one possible implementation, when the capacitance change rate is less than or equal to a first threshold value, and the capacitance change value is less than or equal to a second threshold value, the state of the current fan is determined to be a normal state; when the capacitance change rate is greater than the first threshold value, the state of the current fan is determined to be an emergency braking state; when the capacitance change rate is less than or equal to the first threshold value, and the capacitance change value is greater than the second threshold value, the state of the current fan is determined to be a dust warning state.

[0076] The first threshold value is a critical value (unit: pF / s) for judging whether the capacitance change rate is abnormal, which is usually determined based on safety experimental data (such as the minimum change rate when a human hand is close). When the capacitance change rate exceeds the threshold value, it indicates that the change speed is too fast, and there may be a safety risk. The second threshold value is a critical value (unit: pF) for judging whether the capacitance change value is abnormal, which is usually determined based on dust impact on heat dissipation experiments (such as the critical capacitance change amount of dust accumulation affecting heat dissipation efficiency). When the capacitance change value exceeds the threshold value, it indicates that the change accumulation is too large, which may affect the fan performance.

[0077] Specifically, when the capacitance change rate is ≤ the first threshold value and the capacitance change value is ≤ the second threshold value, it indicates that the capacitance change is slow and small, and there is no obvious dust accumulation on the protective net, no foreign object close, and the fan operating environment is normal. When the capacitance change rate > the first threshold value, it indicates that the capacitance changes dramatically in a short time (such as a human hand quickly approaching to cause the capacitance to increase instantaneously), which may have a safety hazard (such as a finger being cut by a fan blade), and the fan operation needs to be stopped immediately. When the capacitance change rate is ≤ the first threshold value but the capacitance change value > the second threshold value, it indicates that the capacitance change is slow but the accumulation is large (such as dust gradually accumulating after long-term use), which has no safety risk but may affect the heat dissipation efficiency, and needs to remind the operation and maintenance personnel to clean.

[0078] For example, the first threshold value = 2 pF / s (i.e., it is safe to change no more than 2 pF per second), and the second threshold value = 15 pF (i.e., it is normal to accumulate a change of no more than 15 pF).

[0079] If the capacitance change rate = 1 pF / s (≤ 2 pF / s) and the capacitance change value = 10 pF (≤ 15 pF) → normal state, the fan continues to operate.

[0080] If the capacitance change rate = 5 pF / s (> 2 pF / s) regardless of the change value → emergency braking state, the fan is immediately stopped.

[0081] If the capacitance change rate = 1 pF / s (≤ 2 pF / s) and the capacitance change value = 20 pF (> 15 pF) → dust warning state, prompting cleaning.

[0082] In one possible implementation, a target capacitance change rate is obtained, which is the capacitance change rate collected when an object moves towards the fan at a target speed; and the first threshold value is determined based on the target capacitance change rate.

[0083] Specifically, the first threshold (critical value of the change rate of the emergency brake) needs to ensure that the dangerous rapid approaching behavior can be accurately identified, while avoiding misjudgment (such as slowly moving objects). Select a typical dangerous object (such as an adult finger) to approach the protective net at the maximum possible speed (such as 0.5 m / s), and record the capacitance change rate (such as 6 pF / s) at this time; Then set the first threshold to be slightly lower than the target value (such as 5 pF / s), to ensure that in actual use, when the dangerous object approaches at a speed close to the experimental speed, it can be accurately detected and trigger the emergency brake, while excluding false triggering caused by slow movement (such as dust falling).

[0084] For example, a rubber model simulating a human hand approaches the fan protective net at a speed of 0.4 m / s, and the capacitance change rate is measured to be 7 pF / s (target capacitance change rate); To ensure safety, set the first threshold to 6 pF / s (1 pF / s lower than the target value). When a human hand approaches at a speed of 0.3 m / s in actual use (the capacitance change rate is about 6.5 pF / s > 6 pF / s), the system can trigger the emergency brake; If the object approaches slowly at 0.1 m / s (change rate 3 pF / s < 6 pF / s), it will not be falsely triggered, balancing safety and accuracy.

[0085] In one possible implementation, a fifth capacitance value when the protective net is in a clean state and a sixth capacitance value when the protective net is in a dust accumulation state are obtained; based on the fifth capacitance value and the sixth capacitance value, a second threshold is determined.

[0086] Specifically, the second threshold (critical value of the change value of the dust warning) needs to be set based on the actual impact of dust on the performance of the fan. By obtaining the fifth capacitance value (clean state) and the sixth capacitance value (critical dust state), the difference between the two is the second threshold: when the capacitance change value exceeds the threshold, it indicates that the dust accumulation has reached a level that affects performance, and a warning needs to be triggered.

[0087] For example, an experiment was conducted on a certain fan: the fifth capacitance value after cleaning was measured to be 100 pF; Then run the fan continuously and let the dust accumulate naturally, when the heat imager detects that the heat dissipation efficiency of the fan has decreased by 15% (judging as the critical state that must be cleaned), the sixth capacitance value is measured to be 140 pF. Calculate the second threshold = 140 pF-100 pF=40 pF. When the capacitance change value reaches 41 pF in actual use, it is determined to be a dust warning state, ensuring that cleaning is prompted before the heat dissipation efficiency decreases significantly, and the performance of the fan is guaranteed.

[0088] S305, based on the state of the fan, control the fan.

[0089] In a possible implementation, the state of the fan is a dust warning state; the dust warning information of the fan is generated; and the dust warning information is sent to a baseboard management controller, wherein the fan and the baseboard management controller are components in a server.

[0090] The dust warning information is prompt data generated by the system when the fan is determined to be in the dust warning state, and includes the dust accumulation degree, the warning level, the recommended operation, and the like, and is used to notify relevant equipment or personnel to maintain. The baseboard management controller is a special management processor integrated in the server, is responsible for monitoring the running state of the server hardware (such as the fan, the power supply, and the temperature), receiving and processing the warning information of each component, and can feed back to the user through an indicator light, a log, remote communication, and the like.

[0091] Specifically, when the fan is in the dust warning state, the fan cannot complete cleaning by itself and needs to be solved through external intervention. First, the dust warning information (the content can include the fan number, the current capacitance change value, the dust accumulation degree evaluation, the recommended cleaning time, and the like) is generated; and then the information is sent to the baseboard management controller of the server (because the fan is usually a key heat dissipation component of the server). After receiving the information, the baseboard management controller can notify the user in various ways, such as lighting the “maintenance indicator light” on the server panel, recording the warning details in the system log, sending an email or an SMS to the administrator through the network, and the like, to ensure that the operation and maintenance personnel clean the protective screen in time to avoid too much dust from reducing the heat dissipation efficiency of the fan and affecting the running stability of the server.

[0092] In a possible implementation, the dust thickness on the protective screen is detected; and the dust warning information is generated based on the dust thickness.

[0093] Specifically, the effectiveness of the dust warning information depends on whether it can accurately reflect the severity of dust accumulation, and it is difficult to intuitively reflect (the user may not know how much dust corresponds to 20 pF) by only using the capacitance change value. Therefore, before generating the warning information, the dust thickness on the protective screen needs to be detected first: a corresponding relationship between the “capacitance change value - dust thickness” is established through experiments (for example, it is measured through experiments that “each increase of 10 pF capacitance change value corresponds to an increase of 0.2 mm of dust thickness”), the actual dust thickness is then deduced according to the current capacitance change value; and finally, the graded warning is generated based on the thickness (for example, “mild: ≤0.3 mm”, “moderate: 0.3-0.5 mm”, and “severe: >0.5 mm”), so that the warning information is more intuitive and more operable.

[0094] For example, the experimental calibration results in "capacitance change value (pF) = 50 x dust thickness (mm)" (i.e., 1 mm of dust corresponds to a 50 pF capacitance change). The current capacitance change value is 30 pF, and the reverse calculation of the dust thickness is 30 ÷ 50 = 0.6 mm (belonging to severe). The generated dust warning information is: "fan protective net dust thickness 0.6 mm (severe), has affected the heat dissipation efficiency, and it is recommended to shut down for cleaning within 24 hours", compared with only prompting "capacitance change 30 pF", the information is easier for operation and maintenance personnel to understand and execute.

[0095] In a possible implementation, the state of the fan is an emergency braking state; the fan is subjected to emergency braking, and emergency braking information of the fan is generated; and the emergency braking information is sent to the baseboard management controller.

[0096] The emergency braking is a safety operation of immediately cutting off the power supply loop of the fan motor when the fan is in the emergency braking state, so that the fan blade stops rotating in the shortest time, and the purpose is to avoid that foreign matters (such as hands and tools) are injured or involved by the high-speed rotating fan blade. The emergency braking information is detailed data recording the emergency braking event, usually including triggering time, capacitance change rate (triggering reason), fan number, running state before and after braking, etc., which is used for event tracing, fault analysis and warning to the administrator.

[0097] Specifically, the emergency braking state means that there is an immediate safety risk, and personnel and equipment safety need to be prioritized. First, the emergency braking operation is performed (such as cutting off the motor power supply through a relay, so that the fan blade stops within 1-2 seconds); at the same time, emergency braking information is generated, which records the key parameters of the triggering event in detail; and finally, the information is sent to the baseboard management controller, and the baseboard management controller starts a high-level alarm (such as a sound and light alarm) to remind the operation and maintenance personnel to handle it. After emergency braking, the fan usually does not automatically restart, and needs to be manually confirmed by the user (such as pressing the start key after moving away the foreign matter), to prevent accidental start when the risk has not been eliminated.

[0098] In a possible implementation, the state of the fan is a normal state; an update period corresponding to the third capacitance value and an update corresponding weight coefficient are obtained; and the third capacitance value is updated based on the first capacitance value, the update period and the weight coefficient.

[0099] The update period is a pre-set time interval (such as every 24 hours, every 7 days) for updating the third capacitance value (the reference capacitance in the silent state), which is used to adapt the reference value to the slow change of the environment (such as long-term rise of air humidity, capacitance drift caused by slight oxidation of the protective net). The weight coefficient is a value between 0 and 1 (such as 0.1), which is used to control the influence degree of the first capacitance value on the update of the third capacitance value. The smaller the weight is, the more gentle the change of the reference value caused by single update is, so as to avoid sudden change of the reference value caused by short-term fluctuation.

[0100] Specifically, the third capacitance value serves as a reference in the silent state, which may gradually deviate from the true value due to long-term environmental changes (e.g., seasonal humidity changes causing changes in air dielectric constant, oxidation of the protective net surface). If the reference value is not updated for a long time, the subsequent capacitance change value calculation may be inaccurate (e.g., mistaking environmental changes as dust accumulation). Therefore, when the fan is in a normal state (at this time, the capacitance change is stable and there is no interference), the third capacitance value needs to be dynamically updated according to an update period, combined with the first capacitance value and the weight coefficient: the update amplitude is controlled by the weight coefficient to make the reference value slowly follow the environmental changes, ensuring the stability of the reference value and avoiding long-term drift.

[0101] In a possible implementation, a product of the first capacitance value and the weight coefficient is determined to obtain a fourth capacitance value; an update time is determined based on the update period; and at the update time, the third capacitance value is added to the fourth capacitance value to obtain an updated third capacitance value.

[0102] Specifically, the fourth capacitance value is first calculated, which reflects the adjustment amplitude of the current first capacitance value to the reference value; then at the preset update time, the fourth capacitance value is added to the original third capacitance value to obtain the updated third capacitance value. The weight coefficient limits the amplitude of single update (e.g., when the weight is 0.1, even if the first capacitance value fluctuates by 10 pF, the reference value only changes by 1 pF), which ensures smooth change of the reference value and avoids reference deviation caused by accidental fluctuations.

[0103] Possibly, the updated third capacitance value satisfies the following formula:

[0104] B-NewData = β B-Data + (1-β) F-Data

[0105] Wherein, B-NewData is the updated third capacitance value; β is the weight coefficient; F-Data is the first capacitance value, and (1-β) F-Data is the fourth capacitance value;

[0106] In a possible implementation, historical capacitance data is obtained; based on the historical capacitance data, a corresponding capacitance fluctuation amplitude and a capacitance change trend are determined; and based on a preset sensitivity coefficient, the capacitance fluctuation amplitude and the capacitance change trend, the weight coefficient is updated.

[0107] Specifically, the historical capacitance data includes a plurality of historical recorded first capacitance values, the capacitance fluctuation amplitude is a standard deviation of the historical capacitance data, and reflects a discrete degree of the historical capacitance data; and the capacitance change trend is a linear fitting slope of the historical capacitance data, and reflects an overall drift trend of the historical capacitance data (a positive / negative slope indicates an upward / downward trend).

[0108] Based on the preset sensitivity coefficient, the capacitance fluctuation amplitude and the capacitance change trend, the weight coefficient is updated, and the following formula is satisfied:

[0109] β new =β - α (σ+∣k∣)

[0110] Wherein, β is the weight coefficient; β new is the updated weight coefficient; α is the preset sensitivity coefficient; σ is the capacitance fluctuation amplitude; and k is the capacitance change trend.

[0111] In one possible implementation, the fan further includes a target component, which includes a voltage follower circuit, an analog circuit, a filter rectifier circuit and a voltage comparison circuit.

[0112] The voltage follower circuit is configured to process a voltage corresponding to the first capacitance value to obtain a first voltage, and transmit the first voltage to the analog circuit, the first voltage being equal to the voltage corresponding to the first capacitance.

[0113] The analog circuit is configured to measure a rate of change of the first voltage to obtain a second voltage, and transmit the second voltage to the filter rectifier circuit.

[0114] The filter rectifier circuit is configured to filter out noise in the second voltage to obtain a third voltage, and transmit the third voltage to the voltage comparison circuit.

[0115] The voltage comparison circuit is configured to compare the third voltage and a preset voltage, and transmit a signal for controlling the fan to perform emergency braking when the third voltage is less than the preset voltage, and transmit a signal for controlling the fan not to perform emergency braking when the third voltage is greater than or equal to the preset voltage.

[0116] Wherein, the target component is a hardware circuit module in the fan for processing a capacitance sensing signal and realizing emergency braking judgment, which is composed of the voltage follower circuit, the analog circuit, the filter rectifier circuit and the voltage comparison circuit, and is responsible for converting a voltage signal corresponding to a capacitance value into a fan control signal.

[0117] The voltage follower circuit is a circuit with high input impedance and low output impedance (usually composed of an operational amplifier), which is configured to buffer and isolate an input voltage, output a first voltage equal to the input voltage, and ensure that the signal is not attenuated or distorted during transmission.

[0118] The analog circuit is a circuit (e.g., a differential circuit) for measuring the first voltage rate of change, which can convert the rate of change of the voltage over time into a corresponding second voltage (the greater the rate of change, the higher the second voltage), including an operational amplifier, an input differential capacitor, and a feedback resistor network, etc.

[0119] The filter rectifier circuit is a circuit composed of a filter (e.g., a low-pass filter) and a rectifier, which is used to filter out high-frequency noise (e.g., electromagnetic interference) in the second voltage and convert the alternating signal into a third voltage, retaining the effective rate of change information.

[0120] The voltage comparison circuit is a comparator circuit composed of an operational amplifier, which is used to compare the third voltage with a preset voltage (corresponding to the voltage value of the first threshold) and output a high or low level signal to control whether the fan is emergency braking.

[0121] Specifically, the first capacitance value output by the capacitance sensing controller corresponds to the original voltage (e.g., 100pF of capacitance corresponds to 1V, and 120pF corresponds to 1.2V), which may fluctuate due to load changes. The voltage follower circuit "copies" the original voltage through the high input impedance characteristic, outputs a first voltage consistent with it (e.g., the original voltage 1.2V, and the first voltage is also 1.2V), ensuring stable signal transmission to the analog circuit and avoiding attenuation. The analog circuit measures the rate of change of the first voltage — if the first voltage rises rapidly over time (e.g., from 1V to 1.5V in 1 second, with a rate of change of 0.5V / s), a corresponding second voltage (e.g., a rate of change of 0.5V / s corresponds to a second voltage of 0.5V) is output. The faster the rate of change, the higher the second voltage, which directly reflects the speed of capacitance change. The second voltage may contain high-frequency noise (e.g., 1V high-frequency fluctuations caused by electromagnetic interference), and the filter rectifier circuit filters out high-frequency components through a low-pass filter and rectifies possible alternating signals (e.g., positive and negative fluctuations) into a unidirectional direct current third voltage (e.g., after removing noise, a second voltage of 0.5V is converted into a third voltage of 0.5V), ensuring signal purity. The preset voltage (e.g., 1V corresponding to the first threshold) is used as a reference, and the voltage comparison circuit compares the third voltage with it: if the third voltage < preset voltage (e.g., 0.5V < 1V), it means that the rate of change has not reached the emergency threshold, and the "no braking" signal is output; if the third voltage ≥ preset voltage (e.g., 1.2V ≥ 1V), it means that the rate of change is out of standard, and the "emergency braking" signal is immediately output, cutting off the fan motor power supply.

[0122] For example, when a human hand quickly approaches the protective net: the first capacitance value corresponding to the voltage output by the capacitance induction controller rises from 1V (100pF) to 1.5V (150pF) within 0.2 seconds, and the original voltage is 1.5V; the first voltage 1.5V is output by the voltage follower circuit and stably transmitted to the analog circuit; the analog circuit calculates the voltage change rate: (1.5V-1V) / 0.2s=2.5V / s, and outputs the second voltage 2.5V (containing a small amount of high-frequency noise); after filtering out the noise by the filtering and rectifying circuit, the third voltage 2.5V (direct current) is output; the preset voltage is 1V (corresponding to the first threshold 2pF / s), and the voltage comparison circuit judges that 2.5V is greater than 1V, and immediately outputs the "emergency brake" signal, and the fan stops rotating.

[0123] The control method of the fan provided by the embodiments of the present application actively collects the real-time capacitance value at the protective net and compares it with the historical capacitance value, determines the capacitance change information in combination with the control period, and then accurately judges the normal, dust warning and emergency brake states of the fan and implements corresponding control. The method not only realizes active monitoring and intervention prevention of the fan protective net state with a simple and low-cost structure design, but also effectively avoids problems such as dust affecting heat dissipation and foreign matter causing safety accidents, and finally improves the safety, effectiveness of fan operation and the overall stability and reliability of the system in server and other application scenarios.

[0124] By explicitly defining the steps of "calculating the first capacitance difference value → determining the change information in combination with the first capacitance value, the difference value and the control period", the original capacitance data is converted into quantifiable change characteristics (such as the correlation of change amplitude and time), avoiding single static judgment of the capacitance value, improving the accuracy and comprehensiveness of the capacitance change information, and providing a more reliable basis for subsequent state judgment.

[0125] By splitting the capacitance change information into "capacitance change rate" (reflecting speed) and "capacitance change value" (reflecting absolute amount), the "fast and slow" and "large and small" of the capacitance change are realized. This distinction can accurately identify "sudden rapid change" (such as foreign matter approaching) and "slow and cumulative change" (such as dust), providing clear quantitative indicators for the judgment of different states and improving the fine degree of state judgment.

[0126] The third capacitance value (capacitance in silence) is introduced and the second capacitance difference value is calculated, effectively eliminating dynamic interference such as fan blade rotation and air flow disturbance during fan operation, and only retaining the real capacitance change caused by the state of the protective net (dust, static foreign matter). This design solves the accuracy problem of capacitance detection in dynamic environment, ensures that the capacitance change value can truly reflect the state of the protective net, and reduces false judgments.

[0127] The first capacitance value is pre-processed by the first filtering strategy, which can eliminate abnormal fluctuations caused by electromagnetic noise, instantaneous foreign matter sweeping and other disturbances, making the first capacitance value closer to the true value. This avoids the calculation deviation of the first capacitance difference caused by instantaneous interference, provides more stable raw data for subsequent state judgment, and improves the anti-interference ability of the overall method.

[0128] The second filtering strategy is introduced for the calculation of the second capacitance difference, which specifically filters the periodic high-frequency interference caused by fan rotation and retains the low-frequency signal of the protective screen state change (such as dust accumulation). This further purifies the capacitance change value, ensures that it only reflects the state of the protective screen itself, solves the problem of judgment deviation caused by periodic interference, and improves the accuracy of dust warning and other state judgments.

[0129] By pre-setting the first threshold and the second threshold, a clear state judgment rule is established: using the change rate to distinguish emergency situations and using the change value to distinguish dust accumulation, achieving precise division of three states (normal, dust warning, and emergency braking). This quantitative judgment logic avoids subjective judgment errors, ensures that the fan can automatically execute corresponding control according to different states, and improves the reliability and consistency of control.

[0130] When in the dust warning state, by generating warning information and sending it to the server's baseboard management controller, cross-device state linkage is achieved. The baseboard management controller can remind users to clean through indicators, logs, remote notifications, etc., solving the problem of limited fan self-warning capability, ensuring that dust hazards can be handled in a timely manner, and ensuring the stability of server cooling.

[0131] By detecting the thickness of the dust and generating warning information based on the thickness, the warning content is transformed from the abstract "capacitance change" to the intuitive "dust thickness and level". This allows users to better understand the degree of dust accumulation and the processing priority, improving the practicality and operability of the warning information, and avoiding maintenance delays caused by users' misunderstanding of capacitance values.

[0132] In the emergency braking state, by immediately executing braking and sending emergency information to the baseboard management controller, the dual protection of "safety braking + alarm traceability" is achieved. Emergency braking can quickly avoid foreign object damage, while information transmission ensures that administrators can promptly understand the cause of the event, facilitating subsequent analysis and processing, and improving the safety and traceability of fan operation.

[0133] In the normal state, the third capacitance value (silent reference) is dynamically updated according to the update period and weight coefficient, so that the reference value can slowly adapt to environmental changes (such as humidity and protective screen oxidation). This avoids the calculation deviation of the capacitance change value caused by the long-term fixation of the reference value, ensures that even if the environment changes slowly, the capacitance detection can still accurately reflect the state of the protective screen, and improves the environmental adaptability of the method.

[0134] The third capacitance value is smoothly adjusted through the update algorithm of "the fourth capacitance value (the first capacitance value x the weight) + the original third capacitance value". This "small step accumulation" method avoids the sudden change of the reference caused by single data fluctuation, ensures that the reference value can follow the environmental changes and maintain stability, and further improves the long-term accuracy of capacitance change detection.

[0135] The weight coefficient is dynamically updated based on historical data, so that the weight can adapt to environmental characteristics (such as reducing the weight when the fluctuation is large, and increasing the weight when the trend is obvious). This solves the problem that the fixed weight cannot adapt to different environments, optimizes the update effect of the third capacitance value, ensures that the reference value can accurately reflect the true state in complex environments, and improves the flexibility and robustness of the method.

[0136] The first threshold value is set according to the target capacitance change rate (simulating the approach speed of the dangerous object) obtained through experiments, ensuring that the first threshold value can truly match the actual safety risk scenario. This avoids the delay of braking caused by setting the threshold value too high or the false triggering caused by setting the threshold value too low, balances safety and accuracy, and enables the emergency braking to respond accurately when danger occurs.

[0137] The second threshold value is determined based on the clean state (fifth capacitance value) and the critical dust state (sixth capacitance value), so that the threshold value is directly related to the actual impact of dust on heat dissipation. This ensures that the second threshold value can accurately reflect the critical state of "must clean", avoids unreasonable threshold setting that causes early or late warning, and ensures the fan heat dissipation efficiency and operation stability.

[0138] The capacitance signal is quickly converted to braking control through the hardware circuit (voltage follower, analog circuit, filter rectifier, voltage comparison) of the target component: the voltage follower ensures signal stability, the analog circuit measures the change rate in real time, the filter rectifier purifies the signal, and the voltage comparison quickly judges. This hardware-level processing has a much faster response speed than software algorithms, can complete emergency braking judgment in microseconds, solves the safety risks that may be caused by software delay, and greatly improves the reaction speed and safety in emergency situations.

[0139] Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be realized by means of software and the necessary general hardware platform, of course, it can also be realized by hardware, but in many cases the former is a better embodiment.

[0140] Figure 4 The structural schematic diagram of the fan control device provided by the embodiments of the present application is shown in FIG. 1. Figure 4 As shown in FIG. 1, the embodiments of the present application also provide a fan control device 40 comprising an acquisition module 401, a determination module 402 and a control module 403.

[0141] The acquisition module 401 is configured to acquire a capacitive sensing unit in the fan, a first capacitance value currently collected at the protective screen of the fan, and a second capacitance value collected at the protective screen of the capacitive sensing unit in a historical period;

[0142] The determination module 402 is configured to determine capacitive change information at the protective screen based on the first capacitance value, the second capacitance value, and a preset fan control period.

[0143] The determination module 402 is further configured to determine a current state of the fan based on the capacitive change information, the state of the fan including a normal state, a dust warning state, and an emergency braking state.

[0144] The control module 403 is configured to control the fan based on the state of the fan.

[0145] In a possible implementation, the determination module 402 is specifically configured to:

[0146] determine a first capacitance difference value between the first capacitance value and the second capacitance value;

[0147] determine the capacitive change information based on the first capacitance value, the first capacitance difference value, and the fan control period.

[0148] In a possible implementation, the determination module 402 is specifically configured to:

[0149] determine a ratio of the first capacitance difference value to the fan control period, and determine the ratio as a capacitive change rate at the protective screen;

[0150] determine a capacitive change value at the protective screen based on the first capacitance value.

[0151] In a possible implementation, the determination module 402 is specifically configured to:

[0152] acquire a third capacitance value, the third capacitance value being used to indicate a capacitance value of the fan when the fan is silent in a current fan control period;

[0153] determine a second capacitance difference value between the first capacitance value and the third capacitance value;

[0154] determine the capacitive change value based on the second capacitance difference value.

[0155] In a possible implementation, the determination module 402 is further configured to:

[0156] determine a first filtering strategy;

[0157] perform filtering processing on the first capacitance value based on the first filtering strategy.

[0158] In a possible implementation, the determining module 402 is further configured to:

[0159] determine a second filtering strategy;

[0160] filter the first capacitance value based on the second filtering strategy.

[0161] In a possible implementation, the determining module 402 is specifically configured to:

[0162] determine that the state of the current fan is a normal state when the capacitance change rate is less than or equal to a first threshold value and the capacitance change value is less than or equal to a second threshold value;

[0163] determine that the state of the current fan is an emergency braking state when the capacitance change rate is greater than the first threshold value;

[0164] determine that the state of the current fan is a dust warning state when the capacitance change rate is less than or equal to the first threshold value and the capacitance change value is greater than the second threshold value.

[0165] In a possible implementation, the control module 403 is specifically configured to:

[0166] generate dust warning information of the fan;

[0167] send the dust warning information to a baseboard management controller, wherein the fan and the baseboard management controller are components in a server.

[0168] In a possible implementation, the control module 403 is specifically configured to:

[0169] detect a dust thickness on a protective net;

[0170] generate dust warning information based on the dust thickness.

[0171] In a possible implementation, the control module 403 is specifically configured to:

[0172] perform emergency braking on the fan, and generate emergency braking information of the fan;

[0173] send the emergency braking information to a baseboard management controller.

[0174] In a possible implementation, the control module 403 is specifically configured to:

[0175] obtain an update period corresponding to a third capacitance value and a weight coefficient corresponding to the update;

[0176] update the third capacitance value based on the first capacitance value, the update period, and the weight coefficient.

[0177] In a possible implementation, the control module 403 is specifically configured to:

[0178] The fourth capacitance value is obtained by multiplying the first capacitance value by the weighting coefficient.

[0179] Determine the update time based on the update cycle;

[0180] At the update time, the third capacitor value is added to the fourth capacitor value to obtain the updated third capacitor value.

[0181] In one possible implementation, the control module 403 is further configured to:

[0182] Obtain historical capacitance data;

[0183] Based on historical capacitance data, determine the corresponding capacitance fluctuation range and capacitance change trend.

[0184] The weighting coefficients are updated based on the preset sensitivity coefficient, capacitance fluctuation amplitude, and capacitance change trend.

[0185] In one possible implementation, the determining module 402 is further configured to:

[0186] Obtain the target capacitance change rate, which is the rate of change of capacitance collected when the object moves toward the fan at the target speed;

[0187] The first threshold is determined based on the target capacitance change rate.

[0188] In one possible implementation, the determining module 402 is further configured to:

[0189] Obtain the fifth capacitance value when the protective net is in a clean state, and the sixth capacitance value when the protective net is in a dust accumulation state;

[0190] The second threshold is determined based on the fifth and sixth capacitance values.

[0191] In one possible implementation, the fan further includes a target component, which includes a voltage follower circuit, an analog circuit, a filter and rectifier circuit, and a voltage comparator circuit.

[0192] The voltage follower circuit is used to process the voltage corresponding to the first capacitor value to obtain the first voltage, and transmit the first voltage to the analog circuit. The first voltage is equal to the voltage corresponding to the first capacitor.

[0193] The analog circuit is used to measure the rate of change of the first voltage, obtain the second voltage, and transmit the second voltage to the filter rectifier circuit;

[0194] The filter and rectifier circuit is used to filter out noise from the second voltage to obtain the third voltage, and then transmits the third voltage to the voltage comparison circuit.

[0195] The voltage comparison circuit is used to compare the magnitude of the third voltage and the preset voltage. When the third voltage is less than the preset voltage, it transmits a signal to control the fan to perform emergency braking. When the third voltage is greater than or equal to the preset voltage, it transmits a signal to control the fan not to perform emergency braking.

[0196] For a description of the features of the fan control device in the corresponding embodiment, please refer to the relevant description of the fan control method in the corresponding embodiment, which will not be repeated here.

[0197] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 5 As shown, the electronic device 50 provided in this embodiment includes at least one processor 501 and a memory 502. Optionally, the electronic device 50 further includes a communication component 503. The processor 501, memory 502, and communication component 503 are connected via a bus.

[0198] In a specific implementation, at least one processor 501 executes computer execution instructions stored in memory 502, causing at least one processor 501 to execute the above-described fan control method embodiment.

[0199] The specific implementation process of processor 501 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.

[0200] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the application can be directly manifested as being executed by a hardware processor, or executed by a combination of hardware and software modules within the processor.

[0201] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.

[0202] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.

[0203] Embodiments of this application also provide a computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the steps in any of the above-described XX method embodiments when it is run.

[0204] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.

[0205] Embodiments of this application also provide a computer program product, which includes a computer program that, when executed by a processor, implements the steps in any of the above-described fan control method embodiments.

[0206] Embodiments of this application also provide another computer program product, including a non-volatile computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps in any of the above-described fan control method embodiments.

[0207] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0208] The foregoing has provided a detailed description of a fan control method, electronic device, storage medium, and program product provided in this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are merely for the purpose of helping to understand the method and core ideas of this application. It should be noted that those skilled in the art can make various improvements and modifications to this application without departing from its principles, and these improvements and modifications also fall within the protection scope of the claims of this application.

Claims

1. A control method of a fan, characterized by, The method comprises: obtaining a first capacitance value collected by a capacitive sensing unit in a fan at a protective screen of the fan at present, and a second capacitance value collected by the capacitive sensing unit at the protective screen in a historical period; obtaining a third capacitance value used for indicating a capacitance value when the fan is silent in a current fan control period; determining capacitance change information at the protective screen based on the first capacitance value, the second capacitance value, the third capacitance value and a preset fan control period, the capacitance change information comprising a capacitance change rate and a capacitance change value; determining that a current state of the fan is a normal state when the capacitance change rate is less than or equal to a first threshold value and the capacitance change value is less than or equal to a second threshold value; determining that the current state of the fan is an emergency braking state when the capacitance change rate is greater than the first threshold value; determining that the current state of the fan is a dust early warning state when the capacitance change rate is less than or equal to the first threshold value and the capacitance change value is greater than the second threshold value; controlling the fan based on the state of the fan.

2. The method of claim 1, wherein, The method further comprises: determining a first capacitance difference value between the first capacitance value and the second capacitance value; determining the capacitance change information based on the first capacitance value, the first capacitance difference value, the third capacitance value and the fan control period.

3. The method of claim 2, wherein, The method further comprises: determining a ratio of the first capacitance difference value and the fan control period, and determining the ratio as the capacitance change rate at the protective screen; determining the capacitance change value at the protective screen based on the first capacitance value and the third capacitance value.

4. The method of claim 3, wherein, The method further comprises: determining a second capacitance difference value between the first capacitance value and the third capacitance value; determining the capacitance change value based on the second capacitance difference value.

5. The method of claim 2, wherein, Before determining the first capacitance difference value between the first capacitance value and the second capacitance value, the method further comprises: determining a first filtering strategy; filtering the first capacitance value based on the first filtering strategy.

6. The method of claim 4, wherein, Before determining the second capacitance difference value between the first capacitance value and the third capacitance value, the method further comprises: determining a second filtering strategy; filtering the first capacitance value based on the second filtering strategy.

7. The method according to any one of claims 1 to 6, characterized in that, The state of the fan is the dust early warning state; and the method of controlling the fan based on the state of the fan comprises: generating dust early warning information of the fan; sending the dust early warning information to a baseboard management controller, wherein the fan and the baseboard management controller are components in a server.

8. The method of claim 7, wherein, The method of generating the dust early warning information of the fan comprises: detecting a dust thickness on the protective screen; generating the dust early warning information based on the dust thickness.

9. The method according to any one of claims 1 to 6, characterized in that, The state of the fan is an emergency braking state; based on the state of the fan, the fan is controlled, including: The fan is urgently braked, and emergency braking information of the fan is generated; The emergency braking information is sent to the baseboard management controller.

10. The method of claim 4, wherein, The state of the fan is a normal state; based on the state of the fan, the fan is controlled, including: Obtain the update period corresponding to the third capacitance value and the weight coefficient corresponding to the update; Based on the first capacitance value, the update period and the weight coefficient, the third capacitance value is updated.

11. The method of claim 10, wherein, The third capacitance value is updated based on the first capacitance value, the update period and the weight coefficient, including: Determine the product of the first capacitance value and the weight coefficient to obtain a fourth capacitance value; Determine the update time based on the update period; At the update time, the third capacitance value and the fourth capacitance value are added to obtain an updated third capacitance value.

12. The method of claim 10, wherein, The method further comprises: Obtain historical capacitance data; Based on the historical capacitance data, determine the corresponding capacitance fluctuation amplitude and capacitance change trend; Based on the preset sensitivity coefficient, the capacitance fluctuation amplitude and the capacitance change trend, update the weight coefficient.

13. The method of claim 1, wherein, The method further comprises: Obtain a target capacitance change rate, which is the capacitance change rate collected when an object moves to the fan at a target speed; Determine the first threshold value based on the target capacitance change rate.

14. The method of claim 1, wherein, The method further comprises: Obtain a fifth capacitance value when the protective net is in a clean state, and a sixth capacitance value when the protective net is in a dust accumulation state; Determine the second threshold value based on the fifth capacitance value and the sixth capacitance value.

15. The method according to any one of claims 1 to 6, characterized in that, The fan further comprises a target component, which comprises a voltage follower circuit, an analog circuit, a filter rectifier circuit and a voltage comparison circuit; The voltage follower circuit is used to process the voltage corresponding to the first capacitance value to obtain a first voltage, and transmit the first voltage to the analog circuit, wherein the first voltage is equal to the voltage corresponding to the first capacitance; The analog circuit is used to measure the change rate of the first voltage to obtain a second voltage, and transmit the second voltage to the filter rectifier circuit; The filter rectifier circuit is used to filter noise in the second voltage to obtain a third voltage, and transmit the third voltage to the voltage comparison circuit; The voltage comparison circuit is used to compare the sizes of the third voltage and a preset voltage, and transmit a signal for controlling the fan to urgently brake when the third voltage is less than the preset voltage, and transmit a signal for controlling the fan not to urgently brake when the third voltage is greater than or equal to the preset voltage.

16. A control device for a fan, characterized by Comprise: An acquisition module is used to acquire a capacitance sensing unit in a fan, a first capacitance value currently collected at a protective net of the fan, and a second capacitance value collected at the protective net by the capacitance sensing unit in a historical period; The acquisition module is also used to acquire a third capacitance value, which is used to indicate the capacitance value when the fan is silent in a current fan control period; determining, by a determining module, a capacitance change information at the guard net based on the first capacitance value, the second capacitance value, the third capacitance value, and a preset fan control period, the capacitance change information comprising a capacitance change rate and a capacitance change value; the determining module is further configured to determine that a current state of the fan is a normal state when the capacitance change rate is less than or equal to a first threshold value and the capacitance change value is less than or equal to a second threshold value; the determining module is further configured to determine that the current state of the fan is an emergency braking state when the capacitance change rate is greater than the first threshold value; the determining module is further configured to determine that the current state of the fan is a dust warning state when the capacitance change rate is less than or equal to the first threshold value and the capacitance change value is greater than the second threshold value; a control module configured to control the fan based on the state of the fan.

17. An electronic device, comprising: comprising: a memory configured to store a computer program; a processor configured to implement the steps of the fan control method according to any one of claims 1 to 15 when executing the computer program.

18. A computer-readable storage medium, characterized in that, The computer program is stored in the computer readable storage medium and is executed by the processor to implement the steps of the fan control method according to any one of claims 1 to 15.

19. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the fan control method according to any one of claims 1 to 15.

Citation Information

Patent Citations

  • Filter net dust accumulating detection device and method and air conditioner

    CN109882993A

  • Protection circuit for electric fan capable of stopping rotating by human touch

    CN201865951U