Fan control method and device, electronic equipment and storage medium

By using ultrasonic ranging module in the cooler to detect the interference between the air blades and the target components, the problem of starting difficulties or damage caused by interference in the fan during transportation is solved, and the fan is safe and reliable starting and operation is achieved, reducing maintenance costs .

CN119393368APending Publication Date: 2025-02-07ZHUHAI GREE INTELLIGENT EQUIP CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411470662.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-21
Publication Date
2025-02-07

AI Technical Summary

Technical Problem

The heat exchange fan of industrial coolers is susceptible to external impact during handling or transportation, causing the air blades to interfere with other components, which in turn affects the start and operation of the fan, and even causes the motor to burn. The existing technology lacks an effective interference detection mechanism, resulting in equipment operation interruption and production losses.

Method used

The ultrasonic distance measuring module is used to detect the air blades and the target components, generate initial detection instructions, obtain the detection distance between the air blades and the target components, generate fault information through the detection distance, and control the start and operation of the fan based on the fault information.

Benefits of technology

Effectively detect whether there is interference in the air blades, avoid damage to the fan due to interference before starting, improve the reliability and safety of the cooler, and reduce maintenance costs and production pauses.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119393368A_ABST
    Figure CN119393368A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a draught fan control method and device, electronic equipment and a storage medium. The draught fan control method comprises the steps that an initialization detection instruction is generated; based on the initialization detection instruction, calling the ultrasonic ranging module to obtain a detection distance between the fan blade and a target component; and the fault information is generated through the detection distance, and the fan is controlled based on the fault information, so that the problem that the cooling machine cannot detect the interference of the fan blades of the fan in advance is solved, whether the fan blades can operate normally or not can be effectively detected before the fan is started, and the fan is prevented from being burnt down.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of fan control, and in particular to a fan control method, a fan control device, an electronic device and a computer-readable storage medium. Background Art

[0002] Industrial cooling machines work in harsh environments. The heat exchange fan is located on the top of the unit and is very susceptible to external impact. When the equipment is being moved or transported, the top cover is squeezed and deformed, interfering with the fan blades, making it difficult to start the fan or unable to operate. In severe cases, it may even cause the motor to burn out. At present, cooling machines in related technologies lack an effective interference detection mechanism. Once a failure occurs, it will directly affect the operation of the equipment and cause production losses. Summary of the invention

[0003] The embodiments of the present invention provide a fan control method, device, electronic device and computer-readable storage medium to overcome the above problems or at least partially solve the above problems.

[0004] The embodiment of the present invention discloses a fan control method, wherein the fan is equipped with an ultrasonic ranging module, comprising:

[0005] Generate initialization detection instructions;

[0006] Based on the initialization detection instruction, the ultrasonic distance measurement module is called to obtain the detection distance between the wind blade and the target component;

[0007] Fault information is generated according to the detection distance, and the fan is controlled based on the fault information.

[0008] Optionally, the fan is installed inside a cooling machine as a heat exchange fan of the cooling machine, and the cooling machine is provided with a display panel. The step of generating an initialization detection instruction includes:

[0009] monitoring the display panel;

[0010] When the startup instruction generated by the display panel is acquired, an initialization detection instruction is generated.

[0011] Optionally, the cooling machine includes a top cover, and the step of calling the ultrasonic ranging module to obtain the detection distance between the fan blade and the target component based on the initialization detection instruction includes:

[0012] The ultrasonic distance measurement module is called based on the initialization detection instruction to obtain the detection distance between the fan blade and the top cover.

[0013] Optionally, the step of generating fault information according to the detection distance includes:

[0014] When the detection distance between the fan blade and the top cover is less than a preset distance threshold, it is determined that the cooling machine has a fault, and a fault signal is generated to express that there is interference between the fan blades within the preset distance threshold.

[0015] Optionally, the step of controlling the fan based on the fault information includes:

[0016] terminating the start-up of the cooling machine;

[0017] The fault signal is sent to the display panel, and the display panel is controlled to display the fault signal.

[0018] Optionally, the step of generating fault information according to the detection distance includes:

[0019] When the detection distance between the fan blade and the top cover is greater than or equal to a preset distance threshold, it is determined that the cooling machine has not failed, and a fan start control signal is generated to express that there is no interference between the fan blades within the preset distance threshold.

[0020] Optionally, the step of controlling the fan based on the fault information includes:

[0021] The fan start control signal is used to control the operation of the fan and start the cooler.

[0022] The embodiment of the present invention further discloses a cooling machine, wherein the cooling machine is equipped with an ultrasonic ranging module and a fan, and a central control module for controlling the ultrasonic ranging module, wherein the central control module is configured as follows:

[0023] Generate initialization detection instructions;

[0024] Calling the ultrasonic distance measurement module based on the initialization detection instruction to obtain the detection distance between the wind blade and the target component;

[0025] Fault information is generated according to the detection distance, and the fan is controlled based on the fault information.

[0026] Optionally, the cooling machine includes a side plate, and a top cover arranged on the top of the side plate;

[0027] An internal space is formed between the two side panels of the cooling machine;

[0028] The two side panels are fixedly connected by a fan base sheet metal, and the fan base sheet metal is arranged on one side of the internal space close to the top cover;

[0029] The fan is fixedly mounted on the fan base sheet metal;

[0030] The ultrasonic distance measurement module is fixedly mounted on the fan base sheet metal through the ultrasonic distance measurement module mounting hole on the fan base sheet metal.

[0031] The embodiment of the present invention further discloses a fan control device, wherein the fan is equipped with an ultrasonic ranging module, including:

[0032] An initialization detection instruction generation module, used to generate an initialization detection instruction;

[0033] A detection distance acquisition module, used for calling the ultrasonic distance measurement module to acquire the detection distance between the wind blade and the target component based on the initialization detection instruction;

[0034] The fan control module is used to generate fault information according to the detection distance and control the fan based on the fault information.

[0035] The embodiment of the present invention further discloses an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0036] The memory is used to store computer programs;

[0037] The processor is used to implement the method described in the embodiment of the present invention when executing the program stored in the memory.

[0038] The embodiment of the present invention further discloses a computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, enables the processors to execute the method described in the embodiment of the present invention.

[0039] The embodiments of the present invention include the following advantages:

[0040] The embodiment of the present invention generates an initialization detection instruction; based on the initialization detection instruction, the ultrasonic ranging module is called to obtain the detection distance between the fan blade and the target component; fault information is generated according to the detection distance, and the fan is controlled based on the fault information, thereby solving the problem that the cooling machine cannot detect the interference of the fan blade in advance. Before the fan is started, it can effectively detect whether the fan blade can operate normally, thereby avoiding the burning of the fan. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 is a flow chart of steps of a fan control method provided in an embodiment of the present invention;

[0042] Figure 2 is a structural schematic diagram of a functional module of a cooling machine provided in an embodiment of the present invention;

[0043] Figure 3is a flow chart of a fan control method provided in an embodiment of the present invention;

[0044] Figure 4 is a flow chart of another fan control method provided in an embodiment of the present invention;

[0045] Figure 5 is a structural schematic diagram of a cooling machine provided in an embodiment of the present invention;

[0046] Figure 6 It is a schematic diagram of a sheet metal structure of a fan base provided in an embodiment of the present invention;

[0047] Figure 7 is a structural block diagram of a fan control device provided in an embodiment of the present invention;

[0048] Figure 8 is a hardware structure block diagram of an electronic device provided in an embodiment of the present invention;

[0049] Fig. 9 is a schematic diagram of a computer-readable medium provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0050] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0051] A chiller, also known as a water chiller, is a device used to cool a high-temperature medium to a desired temperature. It is widely used in industrial production, data centers, air conditioning systems, and other fields. The chiller absorbs heat from the cooled object through the refrigerant circulation and discharges the heat into the environment, thereby achieving the purpose of cooling.

[0052] The basic working principle of the cooler:

[0053] Compression: The refrigerant is compressed by the compressor, increasing its pressure and temperature.

[0054] Condensation: High-pressure and high-temperature refrigerant releases heat in the condenser and condenses into liquid.

[0055] Throttling: When liquid refrigerant passes through the throttling device, the pressure drops sharply and the temperature decreases.

[0056] Evaporation: Low-temperature and low-pressure refrigerant absorbs heat from the cooled object and vaporizes in the evaporator.

[0057] Cycle: The gaseous refrigerant returns to the compressor and the cycle repeats.

[0058] The heat exchange fan is a very important component in the cooler. Its main function is to force air flow to improve the heat exchange efficiency of the cooler.

[0059] Working principle of heat exchange fan:

[0060] Condensation process: The heat exchange fan draws air into the condenser, takes away the heat released by the refrigerant, and discharges it into the environment.

[0061] Evaporation process: In some types of chillers, the heat exchange fan also blows air toward the evaporator to speed up the evaporation of the refrigerant.

[0062] The function of heat exchange fan:

[0063] Improve heat exchange efficiency: speed up air flow, increase heat transfer area, and improve cooling efficiency.

[0064] Lower the operating temperature of the unit: through forced ventilation, the internal temperature of the unit can be lowered to extend the life of the equipment.

[0065] Improve refrigerant flow: Promote the circulation of refrigerant in the system and improve the refrigeration effect.

[0066] Type of heat exchange fan:

[0067] Axial flow fan: The fan blades are parallel to the axis, with large air volume, suitable for occasions with large air volume and low pressure.

[0068] Centrifugal fan: The fan blades are perpendicular to the shaft, the wind pressure is high, and it is suitable for high-pressure occasions.

[0069] The heat exchange fan is an important part of the cooler. Its function is to improve the heat exchange efficiency of the cooler by forcing air to flow. By understanding the working principle and function of the heat exchange fan, you can better understand the overall operation mechanism of the cooler and provide a reference for equipment maintenance and selection.

[0070] Reference Figure 1 , shows a flow chart of a fan control method provided in an embodiment of the present invention, which may specifically include the following steps:

[0071] Step 101, generating an initialization detection instruction;

[0072] Step 102, calling the ultrasonic distance measurement module based on the initialization detection instruction to obtain the detection distance between the wind blade and the target component;

[0073] Step 103: generating fault information according to the detection distance, and controlling the wind turbine based on the fault information.

[0074] In practical applications, the embodiments of the present invention can be applied to the central control module of the cooling machine. Figure 2 , Figure 2 is a structural schematic diagram of a functional module of a cooling machine provided in an embodiment of the present invention;

[0075] The cooling machine includes a central control module, a display panel module, a temperature sensing package detection, an ultrasonic ranging module, a compressor control module, a pump motor control module, a fan control module, and an electronic expansion valve control module.

[0076] The output end of the ultrasonic distance measuring module is connected to the input end of the central control module to transmit the distance information between the cooling machine top cover or other objects and the fan to the central control module;

[0077] The display panel module is in communication connection with the central control module to display parameters and transmit control instructions to the central control module;

[0078] The output end of the temperature sensing package detection module is connected to the input end of the central control module to detect the inlet and outlet cooling medium temperature of the cooling machine, the ambient temperature, etc.;

[0079] The input end of the compressor control module is connected to the output end of the central control module to drive and control the operation of the compressor;

[0080] The input end of the pump motor control module is connected to the output end of the central control module to drive and control the operation of the pump motor;

[0081] The input end of the fan control module is connected to the output end of the central control module to drive and control the operation of the fan;

[0082] The input end of the electronic expansion valve control module is connected to the output end of the central control module to drive and control the number of steps of the electronic expansion valve.

[0083] The ultrasonic ranging module is an electronic component that uses the characteristics of ultrasonic waves propagating in the air to measure the distance between an object and the sensor. Simply put, it is like a "sonic ruler" that calculates the distance by emitting ultrasonic waves and measuring the time of the echo.

[0084] Working principle of ultrasonic ranging module:

[0085] Transmit ultrasonic wave: The module will transmit a high-frequency sound wave pulse to the target object.

[0086] Receive echo: The emitted ultrasonic wave will be reflected back after encountering an object, and the module will receive the reflected sound wave.

[0087] Measuring time: The module will accurately measure the time interval from transmitting ultrasound to receiving the echo.

[0088] Calculate the distance: Based on the speed of sound waves in the air (about 340 m / s) and the time interval between measurements, use the formula:

[0089] Distance = speed of sound × time / 2

[0090] Calculate the distance between the sensor and the target object.

[0091] Advantages of ultrasonic ranging module:

[0092] Wide measuring range: from a few centimeters to tens of meters.

[0093] High precision: millimeter-level measurement accuracy.

[0094] Non-contact measurement: No contact with the object being measured is required.

[0095] Strong anti-interference ability: not affected by light, color and other factors.

[0096] In specific implementation, when performing interference detection, the following points should be noted:

[0097] Environmental influence: The propagation speed of ultrasound will be affected by environmental factors such as temperature and humidity, so temperature compensation is required for high-precision measurements.

[0098] Multipath interference: In complex environments, ultrasonic waves may produce multipath interference, affecting the measurement results.

[0099] Measurement blind area: The ultrasonic module has a minimum measurement distance, and cannot measure below this distance.

[0100] The ultrasonic ranging module is a powerful and widely used sensor. By understanding its working principle and application scenarios, we can better use it to realize various automation control and measurement tasks.

[0101] The fan of the embodiment of the present invention may be a heat exchange fan on a cooling machine. In practical applications, if the fan blades of the fan interfere with other objects, a series of negative effects may be brought about, as follows:

[0102] 1. Fan performance degradation:

[0103] Reduced wind energy utilization: Interference will destroy the normal aerodynamic shape of the wind blades, resulting in reduced heat exchange efficiency.

[0104] Increased vibration: The unbalanced force generated by interference will increase the vibration of the fan, accelerate component wear, and shorten the life of the equipment.

[0105] Increased noise: Interference will generate additional noise, affecting the surrounding environment.

[0106] 2. Equipment damage:

[0107] Blade damage: Interference may cause scratches, deformation or even breakage of the blade surface.

[0108] Bearing damage: Excessive vibration will accelerate bearing wear and increase the risk of failure.

[0109] Gear damage: The impact force caused by interference may damage the gear transmission system.

[0110] 3. Safety hazards:

[0111] Parts falling off: Severe interference may cause blades or other parts to fall off, resulting in safety accidents.

[0112] Fire risk: Friction or sparks from interference could cause fire.

[0113] 4. Other impacts:

[0114] Increased downtime: In order to repair damage, the plant needs to be shut down for maintenance, which increases downtime and affects power generation revenue.

[0115] Increased maintenance costs: Failures caused by interference require frequent repairs, increasing maintenance costs.

[0116] In short, the interference between fan blades and other objects will bring a series of serious consequences, so it must be taken seriously. By strengthening preventive measures and regular maintenance, the probability of interference can be effectively reduced and the safe and stable operation of the cooling machine can be guaranteed.

[0117] In order to avoid interference between the fan blades and other objects, the embodiment of the present invention can perform interference detection on the fan blades before starting the cooling machine.

[0118] For example, reference Figure 3 , Figure 3 is a flow chart of a fan control method provided in an embodiment of the present invention;

[0119] After the user presses the start button of the cooler and before the cooler is officially started, an initialization detection instruction can be generated to perform an initialization detection on the cooler before starting;

[0120] After generating the initialization detection instruction, the central control module of the embodiment of the present invention may call the ultrasonic distance measurement module to obtain the detection distance between the fan blade and the target component based on the initialization detection instruction to determine whether the fan has a fault;

[0121] If there is a fault, the central control module may send a fault code expressing the fault to the display panel so that the display panel can display the fault to the user;

[0122] If there is no fault, the central control module can control the load to work normally according to the logical function.

[0123] The embodiment of the present invention generates an initialization detection instruction; based on the initialization detection instruction, the ultrasonic ranging module is called to obtain the detection distance between the fan blade and the target component; fault information is generated according to the detection distance, and the fan is controlled based on the fault information, thereby solving the problem that the cooling machine cannot detect the interference of the fan blade in advance. Before the fan is started, it can effectively detect whether the fan blade can operate normally, thereby avoiding the burning of the fan.

[0124] Based on the above embodiment, a variant embodiment of the above embodiment is proposed. It should be noted that in order to make the description concise, only the differences from the above embodiment are described in the variant embodiment.

[0125] In an optional embodiment of the present invention, the fan is installed inside the cooler as a heat exchange fan of the cooler, and the cooler is provided with a display panel. The step of generating the initialization detection instruction includes:

[0126] monitoring the display panel;

[0127] When the startup instruction generated by the display panel is acquired, an initialization detection instruction is generated.

[0128] In actual applications, the display panel of the cooler is an interface used to display the operating status of the cooler, set parameters, and perform operations. Users can monitor and control the cooler through the display panel.

[0129] The functions of the chiller display panel may include:

[0130] Display information: Display the current temperature, pressure, flow rate and other operating parameters of the cooler, as well as alarm information, etc.

[0131] Set parameters: Set the cooling machine's set temperature, operating mode, alarm threshold and other parameters.

[0132] Operation control: start, stop, adjust the cooling machine, etc.

[0133] Fault diagnosis: Display fault codes to help users quickly locate faults.

[0134] Types of cooling machine display panels:

[0135] Traditional cooling machine control panels are mostly button-type or knob-type, and are operated through physical buttons and knobs. This type of panel has a simple structure and low cost, but the operation is not intuitive enough and the functions are relatively limited.

[0136] With the development of technology, touch screen control panels have gradually become mainstream. Touch screen panels have the following advantages:

[0137] Intuitive operation: Various operations can be performed by touching the screen with your fingers, providing a better user experience.

[0138] Rich display information: It can display more information, such as curve graphs, trend graphs, etc., to help users better understand the operating status of the cooler.

[0139] Powerful functions: more functions can be realized, such as remote control, data recording, etc.

[0140] Beautiful interface: The interface design is more flexible and can be customized according to user needs.

[0141] Therefore, the display panel of the cooling machine according to the embodiment of the present invention may be a touch screen panel.

[0142] Advantages of touch screen control panel on chiller:

[0143] Improve user experience: Touch screen operation is more intuitive and convenient, reducing the difficulty of operation.

[0144] Improve efficiency: Through the touch screen, users can quickly set parameters, view data, and improve work efficiency.

[0145] Enhanced functions: The touch screen can realize more functions, such as historical data query, remote monitoring, etc.

[0146] Improved appearance: The touchscreen panel has a more modern look, improving the overall aesthetics of the device.

[0147] The touch screen control panel is the development direction of the cooling machine control system. It has the advantages of simple operation, powerful functions, and beautiful interface, which can greatly improve the user experience and management efficiency of the cooling machine.

[0148] refer to Figure 4 , Figure 4 is a flow chart of another fan control method provided in an embodiment of the present invention;

[0149] When the user presses the start button on the display panel, a start instruction is generated, the display panel sends the start instruction to the central control module, and the central control module generates an initialization detection instruction for the fan to perform initialization detection.

[0150] The embodiment of the present invention monitors the display panel; when a startup instruction generated by the display panel is obtained, an initialization detection instruction is generated, thereby realizing interference detection on the fan blades after the user turns on the machine and before the cooling machine starts, thereby improving the intervention efficiency of the initialization detection.

[0151] In an optional embodiment of the present invention, the cooling machine includes a top cover, and the step of calling the ultrasonic ranging module to obtain the detection distance between the fan blade and the target component based on the initialization detection instruction includes:

[0152] The ultrasonic distance measurement module is called based on the initialization detection instruction to obtain the detection distance between the fan blade and the top cover.

[0153] refer to Figure 5 , Figure 5 is a structural schematic diagram of a cooling machine provided in an embodiment of the present invention;

[0154] The cooling machine includes a side plate 501 and a top cover 502 disposed on the top of the side plate;

[0155] The inner space is formed between the two side panels 501 of the cooling machine;

[0156] The two side panels 501 are fixedly connected by a fan base sheet metal 503, and the fan base sheet metal 503 is arranged on one side of the internal space close to the top cover 502;

[0157] refer to Figure 6 , Figure 6 It is a schematic diagram of a sheet metal structure of a fan base provided in an embodiment of the present invention;

[0158] The fan is fixedly mounted on the fan hole 505 of the fan base sheet metal 503;

[0159] The ultrasonic distance measurement module is fixedly mounted on the fan base sheet metal 503 through the first ultrasonic distance measurement module mounting hole 504 or the second ultrasonic distance measurement module mounting hole 506 on the fan base sheet metal 503 .

[0160] Based on the point-to-point distance measurement feature of the ultrasonic sensor, the first ultrasonic distance measurement module installation hole 504 is closest to the fan, and the fan blade structure is an irregular axial flow structure. The position closer to the fan end is least susceptible to interference, and the closer the fan blade is to the far end of the fan, the more susceptible it is to interference. The second ultrasonic distance measurement module installation hole 506 is at the far end, and the fan blade is closest to external interference, which is the optimal hole position.

[0161] In actual applications, the cooling machine top cover of mobile equipment often produces slight deformation due to external extrusion. This deformation is difficult to detect with the naked eye, but it may cause interference between the fan blades, thereby causing damage to the fan and resulting in high after-sales maintenance costs. In order to effectively solve this problem, the present invention provides an intelligent monitoring system that can monitor the deformation of the cooling machine top cover in real time, accurately determine whether the deformation will cause interference between the fan blades, and issue an early warning, thereby effectively avoiding equipment failures and safety hazards caused by fan damage.

[0162] The advantages of the present invention are mainly reflected in the following aspects:

[0163] High-precision detection: Using advanced sensor technology, the deformation of the cooling machine top cover is measured with high precision to ensure the accuracy of the detection results.

[0164] Real-time monitoring: Through real-time data collection and analysis, potential risks can be discovered in a timely manner, providing maintenance personnel with sufficient response time.

[0165] Intelligent early warning: When the deformation is detected to exceed the safety threshold, the system will automatically issue an audible and visual alarm to remind the operator to carry out maintenance.

[0166] Reduce costs: Prevent fan damage in advance and avoid production stoppages and economic losses caused by equipment failure.

[0167] By calling the ultrasonic ranging module based on the initialization detection instruction to obtain the detection distance between the fan blade and the top cover, the reliability, safety and service life of the mobile device can be significantly improved, providing users with a more stable and reassuring working environment.

[0168] In an optional embodiment of the present invention, the step of generating fault information according to the detection distance includes:

[0169] When the detection distance between the fan blade and the top cover is less than a preset distance threshold, it is determined that the cooling machine has a fault, and a fault signal is generated to express that there is interference between the fan blades within the preset distance threshold.

[0170] refer to Figure 4 , Figure 4 is a flow chart of another fan control method provided in an embodiment of the present invention;

[0171] Exemplarily, the fault signal may be generated in the following manner.

[0172] Sending the start command: After the user presses the start button on the display panel, the display panel will send a start command to the central control module.

[0173] Central control module initialization: After receiving the start command, the central control module will perform a series of initialization tests.

[0174] Ultrasonic ranging:

[0175] Measurement purpose: To detect the distance between the fan and sheet metal or other objects to determine if there is a risk of interference.

[0176] Measurement principle: When the ultrasonic ranging module is placed at a distance of Xmm from the top cover, Ymm from the fan blade, and the overall height of the fan blade is Zmm, the distance between the top cover and the fan blade is A=XYZ (mm).

[0177] Interference judgment: Detect whether the fan is operating normally. When the ultrasonic sensor detects that the signal value remains unchanged for 2 consecutive seconds, the fan is not operating normally; when the ultrasonic sensor detects that the signal value remains unchanged for 2 consecutive seconds and the A value is less than the set safety value, the fan interferes. That is, when the measured distance A is less than the set safety value (i.e. +0.2mm), it is determined that the fan interferes with the sheet metal.

[0178] In the embodiment of the present invention, when the detection distance between the fan blade and the top cover is less than a preset distance threshold, the cooling machine is judged to have a fault, and a fault signal is generated to express that the fan blade has interfered within the preset distance threshold. The system monitors the distance between the fan and the sheet metal in real time through an ultrasonic sensor, and once it detects that the distance is too close or the fan stops running, an alarm is immediately issued, effectively preventing equipment damage caused by fan interference.

[0179] In an optional embodiment of the present invention, the step of controlling the fan based on the fault information includes:

[0180] terminating the start-up of the cooling machine;

[0181] The fault signal is sent to the display panel, and the display panel is controlled to display the fault signal.

[0182] In a specific implementation, the central control module of the cooling machine of the embodiment of the present invention receives a fault signal, stops starting the cooling machine, and sends data to the display panel to display the corresponding fault code to remind the user that fan interference is detected and the fan is interfering within the distance condition.

[0183] After the cooling machine central control module detects a fan interference fault, it terminates the startup and sends a fault code to the display panel. Its main purpose is to:

[0184] Ensure equipment safety: Avoid equipment damage caused by fan interference, such as motor burnout, component wear, etc., thereby extending the service life of the equipment.

[0185] Prevent secondary accidents: Avoid other equipment failures caused by fan failure, such as fire, personal injury, etc.

[0186] Improve user experience: Prompt users of equipment failures to facilitate repairs or replacements, reducing the inconvenience caused by equipment failures.

[0187] Beneficial Effects

[0188] Improved equipment reliability: By detecting and preventing failures before they occur, the overall reliability of the chiller is improved.

[0189] Reduce maintenance costs: timely detection and resolution of problems reduces maintenance costs caused by equipment failures.

[0190] Ensure production safety: avoid production interruptions caused by equipment failure and ensure production continuity.

[0191] Extend equipment service life: Through timely maintenance and care, the service life of the cooler is extended.

[0192] Improve user satisfaction: Timely fault prompts and solutions improve user satisfaction with the product.

[0193] In an optional embodiment of the present invention, the step of generating fault information according to the detection distance includes:

[0194] When the detection distance between the fan blade and the top cover is greater than or equal to a preset distance threshold, it is determined that the cooling machine has not failed, and a fan start control signal is generated to express that there is no interference between the fan blades within the preset distance threshold.

[0195] refer to Figure 4 , Figure 4 is a flow chart of another fan control method provided in an embodiment of the present invention;

[0196] Exemplarily, the fault signal may be generated in the following manner.

[0197] Sending the start command: After the user presses the start button on the display panel, the display panel will send a start command to the central control module.

[0198] Central control module initialization: After receiving the start command, the central control module will perform a series of initialization tests.

[0199] Ultrasonic ranging:

[0200] Measurement purpose: To detect the distance between the fan and sheet metal or other objects to determine if there is a risk of interference.

[0201] Measurement principle: When the ultrasonic ranging module is placed at a distance of Xmm from the top cover, Ymm from the fan blade, and the overall height of the fan blade is Zmm, the distance between the top cover and the fan blade is A=XYZ (mm).

[0202] Interference judgment: Detect whether the fan is operating normally. When the ultrasonic sensor does not detect an unchanged signal value for 2 consecutive seconds, the fan is operating normally. When the ultrasonic sensor does not detect an unchanged signal value for 2 consecutive seconds, and the A value is greater than or equal to the set safety value, there is no interference with the fan. At this time, it can be determined that the cooler has no fault, and a fan start-up control signal is generated to express that there is no interference between the fan blades within the preset distance threshold range.

[0203] In an optional embodiment of the present invention, the step of controlling the fan based on the fault information includes:

[0204] The fan start control signal is used to control the operation of the fan and start the cooler.

[0205] refer to Figure 4 , Figure 4 is a flow chart of another fan control method provided in an embodiment of the present invention;

[0206] Exemplarily, the fault signal may be generated in the following manner.

[0207] Sending the start command: After the user presses the start button on the display panel, the display panel will send a start command to the central control module.

[0208] Central control module initialization: After receiving the start command, the central control module will perform a series of initialization tests.

[0209] Ultrasonic ranging:

[0210] Measurement purpose: To detect the distance between the fan and sheet metal or other objects to determine if there is a risk of interference.

[0211] Measurement principle: When the ultrasonic ranging module is placed at a distance of Xmm from the top cover, Ymm from the fan blade, and the overall height of the fan blade is Zmm, the distance between the top cover and the fan blade is A=XYZ (mm).

[0212] Interference judgment: Detect whether the fan is operating normally. When the ultrasonic sensor does not detect an unchanged signal value for 2 consecutive seconds, the fan is operating normally. When the ultrasonic sensor does not detect an unchanged signal value for 2 consecutive seconds, and the A value is greater than or equal to the set safety value, the fan has not interfered. At this time, it can be determined that the cooler has not failed, and a fan start control signal is generated to express that there is no interference between the fan blades within the preset distance threshold range. The fan start control signal is used to control the operation of the fan and start the cooler, thereby completing the initialization detection of the cooler before starting.

[0213] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0214] The embodiment of the present invention further discloses a cooling machine, wherein the cooling machine is equipped with an ultrasonic ranging module and a fan, and a central control module for controlling the ultrasonic ranging module, wherein the central control module is configured as follows:

[0215] Generate initialization detection instructions;

[0216] Calling the ultrasonic distance measurement module based on the initialization detection instruction to obtain the detection distance between the wind blade and the target component;

[0217] Fault information is generated according to the detection distance, and the fan is controlled based on the fault information.

[0218] In practical applications, the embodiments of the present invention can be applied to the central control module of the cooling machine. Figure 2 , Figure 2 is a structural schematic diagram of a functional module of a cooling machine provided in an embodiment of the present invention;

[0219] The cooling machine includes a central control module, a display panel module, a temperature sensing package detection, an ultrasonic ranging module, a compressor control module, a pump motor control module, a fan control module, and an electronic expansion valve control module.

[0220] The output end of the ultrasonic distance measuring module is connected to the input end of the central control module to transmit the distance information between the cooling machine top cover or other objects and the fan to the central control module;

[0221] The display panel module is in communication connection with the central control module to display parameters and transmit control instructions to the central control module;

[0222] The output end of the temperature sensing package detection module is connected to the input end of the central control module to detect the inlet and outlet cooling medium temperature of the cooling machine, the ambient temperature, etc.;

[0223] The input end of the compressor control module is connected to the output end of the central control module to drive and control the operation of the compressor;

[0224] The input end of the pump motor control module is connected to the output end of the central control module to drive and control the operation of the pump motor;

[0225] The input end of the fan control module is connected to the output end of the central control module to drive and control the operation of the fan;

[0226] The input end of the electronic expansion valve control module is connected to the output end of the central control module to drive and control the number of steps of the electronic expansion valve.

[0227] The ultrasonic ranging module is an electronic component that uses the characteristics of ultrasonic waves propagating in the air to measure the distance between an object and the sensor. Simply put, it is like a "sonic ruler" that calculates the distance by emitting ultrasonic waves and measuring the time of the echo.

[0228] Working principle of ultrasonic ranging module:

[0229] Transmit ultrasonic wave: The module will transmit a high-frequency sound wave pulse to the target object.

[0230] Receive echo: The emitted ultrasonic wave will be reflected back after encountering an object, and the module will receive the reflected sound wave.

[0231] Measuring time: The module will accurately measure the time interval from transmitting ultrasound to receiving the echo.

[0232] Calculate the distance: Based on the speed of sound waves in the air (about 340 m / s) and the time interval between measurements, use the formula:

[0233] Distance = speed of sound × time / 2

[0234] Calculate the distance between the sensor and the target object.

[0235] Advantages of ultrasonic ranging module:

[0236] Wide measuring range: from a few centimeters to tens of meters.

[0237] High precision: millimeter-level measurement accuracy.

[0238] Non-contact measurement: No contact with the object being measured is required.

[0239] Strong anti-interference ability: not affected by light, color and other factors.

[0240] In specific implementation, when performing interference detection, the following points should be noted:

[0241] Environmental influence: The propagation speed of ultrasound will be affected by environmental factors such as temperature and humidity, so temperature compensation is required for high-precision measurements.

[0242] Multipath interference: In complex environments, ultrasonic waves may produce multipath interference, affecting the measurement results.

[0243] Measurement blind area: The ultrasonic module has a minimum measurement distance, and cannot measure below this distance.

[0244] The ultrasonic ranging module is a powerful and widely used sensor. By understanding its working principle and application scenarios, we can better use it to realize various automation control and measurement tasks.

[0245] The fan of the embodiment of the present invention may be a heat exchange fan on a cooling machine. In practical applications, if the fan blades of the fan interfere with other objects, a series of negative effects may be brought about, as follows:

[0246] 1. Fan performance degradation:

[0247] Reduced wind energy utilization: Interference will destroy the normal aerodynamic shape of the wind blades, resulting in reduced heat exchange efficiency.

[0248] Increased vibration: The unbalanced force generated by interference will increase the vibration of the fan, accelerate component wear, and shorten the life of the equipment.

[0249] Increased noise: Interference will generate additional noise, affecting the surrounding environment.

[0250] 2. Equipment damage:

[0251] Blade damage: Interference may cause scratches, deformation or even breakage of the blade surface.

[0252] Bearing damage: Excessive vibration will accelerate bearing wear and increase the risk of failure.

[0253] Gear damage: The impact force caused by interference may damage the gear transmission system.

[0254] 3. Safety hazards:

[0255] Parts falling off: Severe interference may cause blades or other parts to fall off, resulting in safety accidents.

[0256] Fire risk: Friction or sparks from interference could cause fire.

[0257] 4. Other impacts:

[0258] Increased downtime: In order to repair damage, the plant needs to be shut down for maintenance, which increases downtime and affects power generation revenue.

[0259] Increased maintenance costs: Failures caused by interference require frequent repairs, increasing maintenance costs.

[0260] In short, the interference between fan blades and other objects will bring a series of serious consequences, so it must be taken seriously. By strengthening preventive measures and regular maintenance, the probability of interference can be effectively reduced and the safe and stable operation of the cooling machine can be guaranteed.

[0261] In order to avoid interference between the fan blades and other objects, the embodiment of the present invention can perform interference detection on the fan blades before starting the cooling machine.

[0262] For example, reference Figure 3 , Figure 3 is a flow chart of a fan control method provided in an embodiment of the present invention;

[0263] After the user presses the start button of the cooler and before the cooler is officially started, an initialization detection instruction can be generated to perform an initialization detection on the cooler before starting;

[0264] After generating the initialization detection instruction, the central control module of the embodiment of the present invention may call the ultrasonic distance measurement module to obtain the detection distance between the fan blade and the target component based on the initialization detection instruction to determine whether the fan has a fault;

[0265] If there is a fault, the central control module may send a fault code expressing the fault to the display panel so that the display panel can display the fault to the user;

[0266] If there is no fault, the central control module can control the load to work normally according to the logical function.

[0267] The embodiment of the present invention generates an initialization detection instruction; based on the initialization detection instruction, the ultrasonic ranging module is called to obtain the detection distance between the fan blade and the target component; fault information is generated according to the detection distance, and the fan is controlled based on the fault information, thereby solving the problem that the cooling machine cannot detect the interference of the fan blade in advance. Before the fan is started, it can effectively detect whether the fan blade can operate normally, thereby avoiding the burning of the fan.

[0268] Optionally, the cooling machine includes a side plate, and a top cover arranged on the top of the side plate;

[0269] An internal space is formed between the two side panels of the cooling machine;

[0270] The two side panels are fixedly connected by a fan base sheet metal, and the fan base sheet metal is arranged on one side of the internal space close to the top cover;

[0271] The fan is fixedly mounted on the fan base sheet metal;

[0272] The ultrasonic distance measurement module is fixedly mounted on the fan base sheet metal through the ultrasonic distance measurement module mounting hole on the fan base sheet metal.

[0273] refer to Figure 5 , Figure 5is a structural schematic diagram of a cooling machine provided in an embodiment of the present invention;

[0274] The cooling machine includes a side plate 501 and a top cover 502 disposed on the top of the side plate;

[0275] The inner space is formed between the two side panels 501 of the cooling machine;

[0276] The two side panels 501 are fixedly connected by a fan base sheet metal 503, and the fan base sheet metal 503 is arranged on one side of the internal space close to the top cover 502;

[0277] refer to Figure 6 , Figure 6 It is a schematic diagram of a sheet metal structure of a fan base provided in an embodiment of the present invention;

[0278] The fan is fixedly mounted on the fan hole 505 of the fan base sheet metal 503;

[0279] The ultrasonic distance measurement module is fixedly mounted on the fan base sheet metal 503 through the first ultrasonic distance measurement module mounting hole 504 or the second ultrasonic distance measurement module mounting hole 506 on the fan base sheet metal 503 .

[0280] Based on the point-to-point distance measurement feature of the ultrasonic sensor, the first ultrasonic distance measurement module installation hole 504 is closest to the fan, and the fan blade structure is an irregular axial flow structure. The position closer to the fan end is least susceptible to interference, and the closer the fan blade is to the far end of the fan, the more susceptible it is to interference. The second ultrasonic distance measurement module installation hole 506 is at the far end, and the fan blade is closest to external interference, which is the optimal hole position.

[0281] Optionally, the fan is installed inside the cooler as a heat exchange fan of the cooler, and the central control module is further configured as follows:

[0282] monitoring the display panel;

[0283] When the startup instruction generated by the display panel is acquired, an initialization detection instruction is generated.

[0284] Optionally, the cooling machine includes a top cover, and the central control module is further configured to:

[0285] The ultrasonic distance measurement module is called based on the initialization detection instruction to obtain the detection distance between the fan blade and the top cover.

[0286] Optionally, the central control module is further configured to:

[0287] When the detection distance between the fan blade and the top cover is less than a preset distance threshold, it is determined that the cooling machine has a fault, and a fault signal is generated to express that there is interference between the fan blades within the preset distance threshold.

[0288] Optionally, the central control module is further configured to:

[0289] terminating the start-up of the cooling machine;

[0290] The fault signal is sent to the display panel, and the display panel is controlled to display the fault signal.

[0291] Optionally, the central control module is further configured to:

[0292] When the detection distance between the fan blade and the top cover is greater than or equal to a preset distance threshold, it is determined that the cooling machine has not failed, and a fan start control signal is generated to express that there is no interference between the fan blades within the preset distance threshold.

[0293] Optionally, the central control module is further configured to:

[0294] The fan start control signal is used to control the operation of the fan and start the cooler.

[0295] Reference Figure 7 , shows a structural block diagram of a fan control device provided in an embodiment of the present invention, which may specifically include the following modules:

[0296] An initialization detection instruction generating module 701 is used to generate an initialization detection instruction;

[0297] A detection distance acquisition module 702 is used to call the ultrasonic distance measurement module to acquire the detection distance between the wind blade and the target component based on the initialization detection instruction;

[0298] The fan control module 703 is used to generate fault information according to the detection distance and control the fan based on the fault information.

[0299] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0300] In addition, an embodiment of the present invention further provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the various processes of the above-mentioned fan control method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0301] The embodiment of 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, each process of the above-mentioned fan control method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0302] Figure 8 A schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention.

[0303] The electronic device 800 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and a power supply 811. Those skilled in the art will appreciate that Figure 8 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. In the embodiments of the present invention, the electronic device includes but is not limited to a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted terminal, a wearable device, and a pedometer.

[0304] It should be understood that in the embodiment of the present invention, the radio frequency unit 801 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving downlink data from the base station, it is sent to the processor 810 for processing; in addition, uplink data is sent to the base station. Generally, the radio frequency unit 801 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 801 can also communicate with the network and other devices through a wireless communication system.

[0305] The electronic device provides users with wireless broadband Internet access through the network module 802, such as helping users to send and receive emails, browse web pages, and access streaming media.

[0306] The audio output unit 803 can convert the audio data received by the RF unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output it as sound. Moreover, the audio output unit 803 can also provide audio output related to a specific function performed by the electronic device 800 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, etc.

[0307] The input unit 804 is used to receive audio or video signals. The input unit 804 may include a graphics processor (GPU) 8041 and a microphone 8042, and the graphics processor 8041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 806. The image frame processed by the graphics processor 8041 can be stored in the memory 809 (or other storage medium) or sent via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 801 in the case of a telephone call mode.

[0308] The electronic device 800 also includes at least one sensor 805, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 8061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 8061 and / or the backlight when the electronic device 800 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary, which can be used to identify the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 805 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be repeated here.

[0309] The display unit 806 is used to display information input by the user or information provided to the user. The display unit 806 may include a display panel 8061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0310] The user input unit 807 can be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 8071 or near the touch panel 8071 using any suitable object or accessory such as a finger, stylus, etc.). The touch panel 8071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the contact point coordinates, and then sends it to the processor 810, receives the command sent by the processor 810 and executes it. In addition, the touch panel 8071 can be implemented using multiple types such as resistive, capacitive, infrared and surface acoustic waves. In addition to the touch panel 8071, the user input unit 807 may also include other input devices 8072. Specifically, other input devices 8072 may include but are not limited to a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be described in detail here.

[0311] Furthermore, the touch panel 8071 may be overlaid on the display panel 8061. When the touch panel 8071 detects a touch operation on or near it, it transmits the information to the processor 810 to determine the type of the touch event. Then, the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of the touch event. Figure 8 In the figure, the touch panel 8071 and the display panel 8061 are used as two independent components to realize the input and output functions of the electronic device. However, in some embodiments, the touch panel 8071 and the display panel 8061 can be integrated to realize the input and output functions of the electronic device, which is not limited here.

[0312] The interface unit 808 is an interface for connecting an external device to the electronic device 800. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 808 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic device 800 or may be used to transmit data between the electronic device 800 and an external device.

[0313] The memory 809 can be used to store software programs and various data. The memory 809 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 809 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0314] The processor 810 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 809 and calling data stored in the memory 809, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. The processor 810 may include one or more processing units; preferably, the processor 810 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 810.

[0315] The electronic device 800 may also include a power supply 811 (such as a battery) for supplying power to each component. Preferably, the power supply 811 may be logically connected to the processor 810 through a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system.

[0316] In addition, the electronic device 800 includes some functional modules not shown, which will not be described in detail here.

[0317] It should be noted that, in this article, the terms "include", "comprises" or any other variations 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 sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0318] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0319] like Fig. 9 As shown, in another embodiment provided by the present invention, a computer-readable storage medium 901 is further provided, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes the fan control method described in the above embodiment.

[0320] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.

[0321] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0322] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0323] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0324] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0325] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0326] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.

[0327] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A fan control method, characterized in that: The fan is equipped with an ultrasonic ranging module, including: Generate initialization detection instructions; Calling the ultrasonic distance measurement module based on the initialization detection instruction to obtain the detection distance between the wind blade and the target component; Fault information is generated according to the detection distance, and the fan is controlled based on the fault information.

2. The method according to claim 1, characterized in that The fan is installed inside the cooler as a heat exchange fan of the cooler, and the cooler is provided with a display panel. The step of generating the initialization detection instruction includes: monitoring the display panel; When a startup instruction generated by the display panel is acquired, an initialization detection instruction is generated.

3. The method according to claim 2, characterized in that The cooling machine includes a top cover, and the step of calling the ultrasonic distance measurement module to obtain the detection distance between the fan blade and the target component based on the initialization detection instruction includes: The ultrasonic distance measurement module is called based on the initialization detection instruction to obtain the detection distance between the fan blade and the top cover.

4. The method according to claim 3, characterized in that The step of generating fault information by using the detection distance comprises: When the detection distance between the fan blade and the top cover is less than a preset distance threshold, it is determined that the cooling machine has a fault, and a fault signal is generated to express that there is interference between the fan blades within the preset distance threshold.

5. The method according to claim 4, characterized in that The step of controlling the fan based on the fault information comprises: terminating the start-up of the cooling machine; The fault signal is sent to the display panel, and the display panel is controlled to display the fault signal.

6. The method according to claim 3, characterized in that The step of generating fault information by using the detection distance comprises: When the detection distance between the fan blade and the top cover is greater than or equal to a preset distance threshold, it is determined that the cooling machine has not failed, and a fan start control signal is generated to express that there is no interference between the fan blades within the preset distance threshold.

7. The method according to claim 6, characterized in that The step of controlling the fan based on the fault information comprises: The fan start control signal is used to control the operation of the fan and start the cooler.

8. A cooling machine, characterized in that: The cooling machine is equipped with an ultrasonic ranging module and a fan, and a central control module for controlling the ultrasonic ranging module, and the central control module is configured as follows: Generate initialization detection instructions; Calling the ultrasonic distance measurement module based on the initialization detection instruction to obtain the detection distance between the wind blade and the target component; Fault information is generated according to the detection distance, and the fan is controlled based on the fault information.

9. The cooling machine according to claim 6, characterized in that The cooling machine includes a side plate and a top cover arranged on the top of the side plate; An internal space is formed between the two side panels of the cooling machine; The two side panels are fixedly connected by a fan base sheet metal, and the fan base sheet metal is arranged on one side of the internal space close to the top cover; The fan is fixedly mounted on the fan base sheet metal; The ultrasonic distance measurement module is fixedly mounted on the fan base sheet metal through the ultrasonic distance measurement module mounting hole on the fan base sheet metal.

10. A fan control device, characterized in that: The fan is equipped with an ultrasonic ranging module, including: An initialization detection instruction generation module, used to generate an initialization detection instruction; A detection distance acquisition module, used for calling the ultrasonic distance measurement module to acquire the detection distance between the wind blade and the target component based on the initialization detection instruction; The fan control module is used to generate fault information according to the detection distance and control the fan based on the fault information.

11. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; The memory is used to store computer programs; The processor is used to implement the method according to any one of claims 1 to 7 when executing the program stored in the memory.

12. A computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, cause the processors to perform the method according to any one of claims 1 to 7.