Water pump fault detection method and device, electronic equipment and storage medium
By determining the fault judgment threshold through self-learning and combining the water pump operating parameters and the water shortage switch status, the problem of water pump burnout caused by float switch failure was solved, and accurate detection of water pump faults was achieved, ensuring the normal operation of the cooling fan.
Patent Information
- Application Number
- CN202410519729.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-28
- Publication Date
- 2025-10-28
Smart Images

Figure CN120845327A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of equipment testing technology, and in particular to methods, devices, electronic equipment and storage media for detecting water pump faults. Background Technology
[0002] Current water shortage detection mechanisms for air coolers rely on the status of a float switch. When the water level is sufficient, the float in the float switch rises under buoyancy, reaching the top of the switch, thus turning it on. The controller interprets this signal to determine if the unit is adequately water-supplied. As the water pump draws water, the water level gradually decreases. When the water level drops below the float switch's level, gravity causes the float to slide back to the bottom, turning the switch off. The controller then determines that the unit is low on water and alerts the user to add water.
[0003] However, this solution only uses a float switch to determine whether the whole machine is short of water. If scale builds up on the float switch, the controller cannot determine that there is a water shortage, and the water pump will continue to run dry, causing the water pump to burn out. Or if scale builds up on the water pump, the water pump will overheat and burn out after running dry for a long time, causing the whole machine to malfunction and affecting the use of the cooling fan. Summary of the Invention
[0004] This invention aims to at least solve one of the technical problems existing in the prior art. To this end, this invention proposes a water pump fault detection method, which can determine the fault information of the water pump based on the current value of operating parameters, the status of the water shortage switch, and the fault judgment threshold, thereby achieving more accurate detection. Even in the case of switch failure, it can still determine whether the water pump is stalled or the water tank is short of water, thus avoiding the problem of water pump burnout due to excessive current.
[0005] According to a first aspect of the present invention, a water pump fault detection method is applied to an air cooler, the air cooler including a water pump and a water tank, the method comprising:
[0006] Once the cooling fan is confirmed to be in normal use for the first time, a self-learning instruction is triggered to determine the fault judgment threshold of the water pump.
[0007] Determine the current values of the operating parameters of the water pump, and determine the water shortage switch status of the water tank;
[0008] The fault information of the water pump is determined based on the current values of the operating parameters, the status of the water shortage switch, and the fault determination threshold.
[0009] According to the water pump fault detection method of the present invention, the fault judgment threshold is determined by self-learning during normal use of the water pump, and the fault information of the water pump is determined based on the current value of the operating parameters, the status of the water shortage switch and the fault judgment threshold, so as to achieve more accurate detection. Even in the case of switch failure, it is still possible to determine whether the water pump is stalled or the water tank is short of water, so as to avoid the problem of water pump burnout due to excessive current.
[0010] According to one embodiment of the present invention, the method further includes:
[0011] After determining the fault determination threshold, record the duration of threshold usage;
[0012] When the threshold usage time reaches the first duration, it is determined that the cooling fan is in normal use, triggering a self-learning instruction to re-determine the fault judgment threshold of the water pump.
[0013] According to one embodiment of the present invention, the operating parameter is current, and correspondingly, determining the fault determination threshold of the water pump includes:
[0014] Determine the average current of the water pump during the first time period when the water tank is fully filled with water.
[0015] Determine the average second current value of the water pump during the second time period when the water tank is low on water;
[0016] When the first average current value and the second average current value are determined to meet the preset numerical validity conditions, the fault determination threshold is determined based on the second average current value.
[0017] According to one embodiment of the present invention, the numerical validity condition includes: the second current average value exceeds the first current average value by P times.
[0018] According to one embodiment of the present invention, determining the fault determination threshold based on the second average current includes:
[0019] The fault determination threshold is calculated based on a preset ratio of the second average current value.
[0020] According to one embodiment of the present invention, the operating parameter is current. Accordingly, determining the fault information of the water pump based on the current value of the operating parameter, the state of the water shortage switch, and the fault determination threshold includes:
[0021] If the current value is greater than or equal to the fault determination threshold and the water shortage switch is in a closed state, it is determined that the water pump is stuck.
[0022] If the current value is greater than or equal to the fault determination threshold and the water shortage switch is in the open state, it is determined that the water tank is in a water shortage state.
[0023] According to one embodiment of the present invention, the method further includes:
[0024] When it is determined that the average value of the first current and the average value of the second current do not meet the preset valid value conditions, adjustments are made to obtain a new first time period and a new second time period.
[0025] Determine the average current of the water pump during a new first time period when the water tank is fully filled with water.
[0026] Determine the average second current value of the water pump during a new second time period when the water tank is running idle due to insufficient water.
[0027] Once again, determine whether the average value of the first current and the average value of the second current meet the preset valid value conditions.
[0028] According to a second aspect of the present invention, a water pump fault detection device is applied to an air cooler, the air cooler including a water pump and a water tank, the device comprising:
[0029] The determination module is used to determine the first normal use of the cooling fan, trigger a self-learning instruction, and determine the fault judgment threshold of the water pump;
[0030] The data acquisition module is used to determine the current values of the operating parameters of the water pump and the water shortage switch status of the water tank.
[0031] The analysis module is used to determine the fault information of the water pump based on the current values of the operating parameters, the status of the water shortage switch, and the fault determination threshold.
[0032] An electronic device according to a third aspect of the present invention includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the water pump fault detection method described above.
[0033] According to a third aspect of the present invention, a non-transitory computer-readable storage medium is provided thereon storing a computer program that, when executed by a processor, implements the water pump fault detection method described above.
[0034] The above-described one or more technical solutions in the embodiments of the present invention have at least one of the following technical effects:
[0035] Furthermore, by redefining the fault judgment threshold, the usage status of the cooling fan can be tracked in a timely manner, enabling effective judgments on water pump faults under the current usage conditions.
[0036] Furthermore, by judging the validity of numerical values, the accuracy of fault determination thresholds can be increased, thereby improving the accuracy of water pump fault detection.
[0037] Additional aspects and advantages of the present invention will be set forth in part in the description which follows and, in part, will be obvious from the description which follows, or may be learned by practice of the present invention. Attached Figure Description
[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0039] Figure 1 This is a flowchart illustrating the water pump fault detection method provided in an embodiment of the present invention;
[0040] Figure 2 This is a schematic diagram of the structure of the water pump fault detection device provided in an embodiment of the present invention;
[0041] Figure 3 This is a schematic diagram of the structure of the electronic device provided in an embodiment of the present invention. Detailed Implementation
[0042] The embodiments of the present invention will be described in further detail below with reference to the accompanying drawings and examples. The following examples are for illustrative purposes only and should not be construed as limiting the scope of the invention.
[0043] This invention provides a method for detecting water pump failures. This method is applied to an evaporative air cooler, which includes a water pump and a water tank. The water pump includes a motor and an impeller. The motor drives the impeller to pump water from the water tank onto an evaporative cooling pad. Cool air then blows across the evaporative cooling pad, producing cool air output.
[0044] See Figure 1 A flowchart illustrating the water pump fault detection method provided by this invention, the method comprising:
[0045] 11. Once the evaporator is confirmed to be in normal working order for the first time, a self-learning instruction is triggered to determine the fault threshold of the water pump.
[0046] 12. Determine the current values of the water pump's operating parameters and the status of the water tank's water shortage switch;
[0047] 13. Determine the pump's fault information based on the current values of operating parameters, the status of the water shortage switch, and the fault judgment threshold.
[0048] It should be noted that in this invention, since the method compares the current values of the pump's operating parameters (such as current and voltage) with the fault determination threshold, a relatively accurate fault determination threshold needs to be obtained.
[0049] As brand new products, the water tanks of the air coolers purchased by users are almost impossible to have scale buildup. Furthermore, different users receive different air coolers, leading to variations in operating parameters under different conditions. Therefore, a fixed, uniform fault diagnosis threshold cannot be applied to each air cooler. To address this, when the air cooler is used normally for the first time, a self-learning command is automatically triggered. Through self-learning of the operating parameters, a suitable fault diagnosis threshold for the water pump of the air cooler used for the first time is determined.
[0050] In this invention, once the fault determination threshold is determined, the cooling fan can be used normally while the current values of the water pump's operating parameters can be collected in real time. For example, the water pump's operating current can be monitored. During the water pump's operation, the water pump's current can be continuously collected at intervals within a certain time period, such as once every 1-60 seconds. This invention can collect the current once per second and calculate the average value, using this average value as the current value of the operating parameters.
[0051] In this invention, whether the water tank of the air cooler is low on water can be determined based on the opening and closing of a switch. For example, the air cooler can use a float switch.
[0052] When there is sufficient water, the float of the float switch moves upward under the action of buoyancy. When the float is at the top of the float switch, the float switch is turned on, and the controller judges the signal of the float switch to determine whether the whole machine is short of water.
[0053] As the water pump draws water, the water level gradually drops. When the water level falls below the float switch, the float slides down to the bottom of the float switch due to gravity, turning off the float switch. The controller then determines that the entire machine is low on water and reminds the user to add water.
[0054] Therefore, the present invention also needs to obtain the water shortage switch status of the water tank. The water shortage switch status includes a closed state and an open state.
[0055] In this invention, the fault determination threshold is determined under normal pump operation. Therefore, even if the current value of the operating parameters and the fault determination threshold meet the conditions for pump failure, it does not necessarily mean the pump is faulty; it could also be functioning normally. Therefore, it is necessary to combine the current value of the operating parameters, the status of the water shortage switch, and a combination of these factors to determine if the pump is faulty. This ensures accurate pump fault diagnosis and prevents the pump from burning out due to insufficient detection of blockage or water shortage.
[0056] The water pump fault detection method provided by this invention determines the fault judgment threshold through self-learning during normal use of the water pump, and determines the fault information of the water pump based on the current value of the operating parameters, the status of the water shortage switch and the fault judgment threshold, so as to achieve more accurate detection. Even in the case of switch failure, it can still determine whether the water pump is stalled or the water tank is short of water, thus avoiding the problem of water pump burnout due to excessive current.
[0057] In a further step of the above method, the electrical structure of a brand-new evaporator may change over time. In this case, continuing to use the initially determined fault threshold to detect water pump malfunctions carries a risk of error. Therefore, once the fault threshold is initially determined, the duration for which this threshold is used to detect water pump malfunctions can be recorded.
[0058] In this invention, when the threshold usage time reaches the first duration, and the cooling fan can still be used normally (normal use here can mean that the user has cleaned the water tank, or it also means that there is no alarm for the water pump to be blocked), when the cooling fan is restarted, the self-learning command can be triggered again, thereby determining a new fault judgment threshold.
[0059] A further method of the present invention, by redetermining the fault determination threshold, can promptly track the usage status of the cooling fan and make effective judgments on water pump faults that are beneficial to the current usage conditions.
[0060] In a further step of the above method, the process of determining the fault judgment threshold of the water pump is explained in detail as follows:
[0061] Determine the average current during the first time period when the water pump is operating normally with sufficient water in the tank.
[0062] Determine the average current during the second time period when the water pump is running idle with insufficient water in the water tank;
[0063] When the average value of the first current and the average value of the second current meet the preset valid value conditions, the fault judgment threshold is determined based on the average value of the second current.
[0064] It should be noted that, in this invention, due to the instability of power parameters, a value can be determined by using the average value of the parameters over a period of time.
[0065] In this invention, the operating parameter used is the current value. The current of the water pump during operation is detected and converted into a digital current value. The microcontroller that detects the current has an AD port. By connecting a resistor in series in the water pump, the current can be directly input to the ADC module of the microcontroller and converted into a digital current value.
[0066] In this invention, the air cooler is switched on and off using a float switch.
[0067] Step 211: After the user first turns on the cooling function of the purchased air cooler, or after turning on the cooling function again at a certain time, there is no scale in the water tank. After the user turns on the water pump, the current of the water pump fluctuates greatly. A preheating time needs to be configured to make the current of the water pump more stable after preheating. This preheating time can be selected from 10-90 seconds, preferably 60 seconds. After preheating, the water pump starts to work. If there is water in the water tank and the float switch is closed, proceed to step S212.
[0068] Step S212: Start collecting the current value of the water pump. You can collect the current value for a period of time and calculate the average value. For example, the average current value of 10-600 seconds is equal to C1. Record the value and proceed to step S213.
[0069] Step S213: The float ball detects a lack of water. The user continues to use the cooling fan until the water tank is low on water and the float ball switch is disconnected. Then, proceed to step S214.
[0070] Step S214: Record the current of the water pump during idling. Alternatively, you can collect the current over a period of time and calculate the average value. For example, the average current over 10-600 seconds is equal to C2. Then proceed to step S215.
[0071] Step S215: When the current value C2 is greater than P times the current value C1 (P can be between 1.1 and 3), it indicates that the current value indicating water shortage is valid. The current value C2 * 80% is written as the fault determination threshold. This threshold will be directly called in subsequent use without further determination. Otherwise, proceed to step S211 to re-determine the fault determination threshold.
[0072] As can be seen from the above, further, the valid conditions for the numerical values include: the average value of the second current C2 exceeds the average value of the first current C1 by P times.
[0073] Furthermore, based on a preset ratio of the second current average C2, the fault determination threshold is calculated.
[0074] Furthermore, when the average first current and the average second current do not meet the preset valid value conditions—for example, current value C2 is less than or equal to P times current value C1—it indicates that the initially obtained current value may not be valid or accurate. In this case, adjustments are made to obtain new first and second time periods, such as lengthening the first and second time periods.
[0075] Then, the average current value of the first time period during which the water pump operates normally with sufficient water in the water tank is determined again.
[0076] Determine the average current during the second time period when the water pump is running idle with insufficient water in the water tank;
[0077] Next, it is determined again whether the average value of the first current and the average value of the second current meet the preset valid value conditions until the valid conditions are met, and then the fault judgment threshold is determined based on the average value of the second current.
[0078] A further method of the present invention improves the accuracy of pump fault detection by increasing the precision of fault determination threshold through the validity judgment of numerical values.
[0079] A further step in the above method mainly explains the process of determining pump fault information based on the current values of operating parameters, the status of the water shortage switch, and the fault determination threshold, as follows:
[0080] If the current value is greater than or equal to the fault judgment threshold and the water shortage switch is in the closed state, it is determined that the water pump is stuck.
[0081] If the current value is greater than or equal to the fault judgment threshold and the water shortage switch is in the open state, it is determined that the water tank is short of water.
[0082] It should be noted that in this invention, when the user is using the evaporator, the operating current of the water pump is continuously monitored. When the current operating current of the water pump exceeds the fault judgment threshold, if the float switch is closed, the user is alerted that the water pump is stalled; if the float switch is open, the user is alerted that the water tank is low on water. Specifically:
[0083] Step S221: Monitor the water pump operating current. During the water pump operation, the water pump current can be continuously collected at certain time intervals, such as once every 1-60 seconds. In this invention, the current is collected once every 1 second, and the average value is equal to the current value C3.
[0084] Step S222: By continuously comparing the current current value C3 with the fault determination threshold, if the current current value C3 is greater than or equal to the fault determination threshold, the water pump may be temporarily stalled. However, this may be due to unstable power supply. In this case, the timer starts recording. If the current current value is greater than the fault determination threshold for a continuous period of T1 seconds, then the water pump is determined to be stalled. In this invention, T1 can be selected from 10 to 600 seconds. Execute step S223. If a subsequent current current value C3 is less than the fault determination threshold, the timer value of T1 is reset to zero, and the process returns to S221 to continue.
[0085] Step S223: If the float switch is closed, it will prompt the user that the water pump is stalled, and the water pump will stop running. The display panel will give a corresponding prompt, such as the stall indicator light flashing. If the float switch is open, it will prompt the user that the water tank is low on water. The display panel will give a corresponding prompt, such as the low water indicator light flashing.
[0086] A further method of the present invention determines the fault information of the water pump based on the current value of the operating parameters, the status of the water shortage switch, and the fault judgment threshold, thereby achieving more accurate detection. Even in the case of switch failure, it is still possible to determine whether the water pump is stalled or the water tank is short of water, thus avoiding the problem of the water pump burning out due to excessive current.
[0087] The pump fault detection device provided by the present invention is described below. The pump fault detection device described below can be referred to in correspondence with the pump fault detection method described above.
[0088] Figure 2 A schematic diagram of the structure of a water pump fault detection device provided by the present invention is shown below. Figure 2 This device is used in a cooling fan, which includes a water pump and a water tank. The device includes a determination module 21, a data acquisition module 22, and an analysis module 23, wherein:
[0089] The determination module is used to determine the first normal use of the cooling fan, trigger the self-learning instruction, and determine the fault judgment threshold of the water pump;
[0090] The data acquisition module is used to determine the current values of the water pump's operating parameters and the status of the water tank's water shortage switch.
[0091] The analysis module is used to determine the pump's fault information based on the current values of operating parameters, the status of the water shortage switch, and the fault determination threshold.
[0092] In a further embodiment of the above-described apparatus, the determining module is also used for:
[0093] After determining the fault judgment threshold, record the duration of threshold usage;
[0094] When the threshold usage time reaches the first duration, it is determined that the cooling fan is in normal use, triggering a self-learning command to re-determine the water pump fault judgment threshold.
[0095] In a further embodiment of the above-mentioned device, the operating parameter is current, and accordingly, the determining module is specifically used for:
[0096] Determine the average current during the first time period when the water pump is operating normally with sufficient water in the tank.
[0097] Determine the average current during the second time period when the water pump is running idle with insufficient water in the water tank;
[0098] When the average value of the first current and the average value of the second current meet the preset valid value conditions, the fault judgment threshold is determined based on the average value of the second current.
[0099] In a further embodiment of the above-described apparatus, the valid numerical condition includes: the average value of the second current exceeds P times the average value of the first current.
[0100] In a further embodiment of the above-described apparatus, the determining module, during the process of determining the fault determination threshold based on the second average current, is specifically used for:
[0101] The fault determination threshold is calculated based on a preset ratio of the average second current.
[0102] In a further embodiment of the above-mentioned device, the operating parameter is current, and correspondingly, the analysis module is specifically used for:
[0103] If the current value is greater than or equal to the fault judgment threshold and the water shortage switch is in the closed state, it is determined that the water pump is stuck.
[0104] If the current value is greater than or equal to the fault judgment threshold and the water shortage switch is in the open state, it is determined that the water tank is short of water.
[0105] In a further embodiment of the above-described apparatus, the determining module is also used for:
[0106] When the average value of the first current and the average value of the second current do not meet the preset valid value conditions, adjustments are made to obtain a new first time period and a new second time period.
[0107] Determine the average current value of the first time period during which the water pump operates normally with sufficient water in the tank.
[0108] Determine the average current during the second time period when the water pump is running idle with insufficient water in the water tank;
[0109] Re-determine whether the average value of the first current and the average value of the second current meet the preset valid value conditions.
[0110] The water pump fault detection device provided by this invention determines the fault judgment threshold through self-learning during normal use of the water pump, and determines the fault information of the water pump based on the current value of the operating parameters, the status of the water shortage switch and the fault judgment threshold, so as to achieve more accurate detection. Even in the case of switch failure, it can still determine whether the water pump is stalled or the water tank is short of water, thus avoiding the problem of water pump burnout due to excessive current.
[0111] Figure 3 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 3As shown, the electronic device may include a processor 31, a communication interface 32, a memory 33, and a communication bus 34. The processor 31, communication interface 32, and memory 33 communicate with each other via the communication bus 34. The processor 31 can call logical instructions in the memory 33 to execute a water pump fault detection method. This method includes: determining that the cooling fan is being used normally for the first time, triggering a self-learning instruction, and determining the water pump fault judgment threshold; determining the current values of the water pump's operating parameters and the water tank's water shortage switch status; and determining the water pump's fault information based on the current values of the operating parameters, the water shortage switch status, and the fault judgment threshold.
[0112] In addition, the logic instructions in the above-mentioned memory 33 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when sold or used as an independent product. 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 and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute 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 a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0113] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the water pump fault detection method provided by the above methods. The method includes: determining that the cooling fan is being used normally for the first time, triggering a self-learning instruction, and determining the fault judgment threshold of the water pump; determining the current values of the water pump's operating parameters and determining the water tank's water shortage switch status; and determining the water pump's fault information based on the current values of the operating parameters, the water shortage switch status, and the fault judgment threshold.
[0114] In another aspect, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When executed by a processor, the computer program implements the water pump fault detection method provided by the above methods. The method includes: determining that the cooling fan is being used normally for the first time, triggering a self-learning instruction, and determining a fault judgment threshold for the water pump; determining the current values of the water pump's operating parameters and determining the water tank's water shortage switch status; and determining the water pump's fault information based on the current values of the operating parameters, the water shortage switch status, and the fault judgment threshold.
[0115] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.
[0116] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0117] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A method for detecting water pump failures, characterized in that, The method is applied to an air cooler, the air cooler including a water pump and a water tank, and the method includes: Once the cooling fan is confirmed to be in normal use for the first time, a self-learning instruction is triggered to determine the fault judgment threshold of the water pump. Determine the current values of the operating parameters of the water pump, and determine the water shortage switch status of the water tank; The fault information of the water pump is determined based on the current values of the operating parameters, the status of the water shortage switch, and the fault determination threshold.
2. The water pump fault detection method according to claim 1, characterized in that, The method further includes: After determining the fault determination threshold, record the duration of threshold usage; When the threshold usage time reaches the first duration, it is determined that the cooling fan is in normal use, triggering a self-learning instruction to re-determine the fault judgment threshold of the water pump.
3. The water pump fault detection method according to claim 1 or 2, characterized in that, The operating parameter is current; accordingly, the fault determination threshold for the water pump is determined, including: Determine the average current of the water pump during the first time period when the water tank is fully filled with water. Determine the average second current value of the water pump during the second time period when the water tank is low on water; When the first average current value and the second average current value are determined to meet the preset numerical validity conditions, the fault determination threshold is determined based on the second average current value.
4. The water pump fault detection method according to claim 3, characterized in that, The valid conditions for the numerical value include: the average value of the second current exceeds P times the average value of the first current.
5. The water pump fault detection method according to claim 3 or 4, characterized in that, Determining the fault determination threshold based on the second average current includes: The fault determination threshold is calculated based on a preset ratio of the second average current value.
6. The water pump fault detection method according to claim 1, characterized in that, The operating parameter is current. Accordingly, determining the pump's fault information based on the current value of the operating parameter, the water shortage switch status, and the fault determination threshold includes: If the current value is greater than or equal to the fault determination threshold and the water shortage switch is in a closed state, it is determined that the water pump is stuck. If the current value is greater than or equal to the fault determination threshold and the water shortage switch is in the open state, it is determined that the water tank is in a water shortage state.
7. The water pump fault detection method according to claim 3, characterized in that, The method further includes: When it is determined that the average value of the first current and the average value of the second current do not meet the preset valid value conditions, adjustments are made to obtain a new first time period and a new second time period. Determine the average current of the water pump during a new first time period when the water tank is fully filled with water. Determine the average second current value of the water pump during a new second time period when the water tank is running idle due to insufficient water. Once again, determine whether the average value of the first current and the average value of the second current meet the preset valid value conditions.
8. A water pump fault detection device, characterized in that, The device is applied to an air cooler, the air cooler including a water pump and a water tank, and the device includes: The determination module is used to determine the first normal use of the cooling fan, trigger a self-learning instruction, and determine the fault judgment threshold of the water pump; The data acquisition module is used to determine the current values of the operating parameters of the water pump and the water shortage switch status of the water tank. The analysis module is used to determine the fault information of the water pump based on the current values of the operating parameters, the status of the water shortage switch, and the fault determination threshold.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the water pump fault detection method as described in any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the water pump fault detection method as described in any one of claims 1 to 7.