An air conditioner electric leakage detection method, system, storage medium and air conditioner
By employing a two-stage leakage current chip detection and time setting in the air conditioner leakage current detection method, the problem of misjudgment caused by induced current in air conditioners is solved, ensuring the accuracy of leakage current detection and user experience.
Patent Information
- Application Number
- CN202411647585.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-18
- Publication Date
- 2025-11-04
- Estimated Expiration
- 2044-11-18
AI Technical Summary
Air conditioners frequently misjudge leakage current due to induced current, affecting user experience.
The method of triggering the leakage current chip detection twice, combined with the preset time and the final time, eliminates the influence of instantaneous interference signals and ensures the comprehensiveness and accuracy of leakage current detection.
This effectively avoids false positives caused by induced current in a single test, improving the accuracy of leakage current detection and user experience.
Smart Images

Figure CN119268073B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of air conditioning testing technology, and in particular to an air conditioning leakage detection method, system, storage medium, and air conditioner. Background Technology
[0002] To ensure users' electrical safety, existing home appliances generally use dedicated leakage current chips to detect whether there is a leakage. When the appliance is working normally, the leakage current chip detects the current or voltage of the appliance to determine whether there is a leakage. When a leakage is detected, the leakage current chip will execute corresponding protection measures according to preset actions.
[0003] However, in the structure of an air conditioner, the outdoor unit contains high-voltage electrical equipment such as compressors and motors. Due to the relatively compact structure of some indoor units, induced current can be generated between the high-voltage equipment and the power cord when the air conditioner starts. At this time, the leakage current chip will detect a leakage due to the presence of this induced current. However, for outdoor units with good grounding, the induced current will gradually disappear over time. Therefore, the leakage current detection by the chip may be a false alarm. Frequent false alarms can cause the appliance to shut down frequently, significantly reducing the user experience. Therefore, solving the problem of false leakage detection in air conditioners has become an urgent issue. Summary of the Invention
[0004] To address the aforementioned shortcomings, the present invention aims to provide an air conditioner leakage detection method, system, storage medium, and air conditioner, which solves the problem of misjudgment of leakage caused by induced current in air conditioners.
[0005] To achieve this objective, the present invention adopts the following technical solution: an air conditioner leakage detection method, comprising the following steps:
[0006] Set the preset time and the final time;
[0007] Set up protective actions in case of leakage current;
[0008] The testing process begins the moment the air conditioner is turned on.
[0009] The detection steps are as follows:
[0010] The system acquires the detection signal emitted by the leakage current chip, and shuts down the leakage current chip upon receiving the detection signal.
[0011] After a preset time, the leakage current chip is activated again to determine whether a detection signal can still be obtained. If no detection signal is detected, the air conditioner does not have leakage current.
[0012] If a detection signal is detected, the leakage current chip will activate until the final time. If a detection signal is still detected when the final time is reached, a defensive action will be performed. If no detection signal is detected before the final time is reached, the air conditioner is not leaking current.
[0013] Preferably, the preset time needs to be updated daily, and the method for updating the preset time is as follows:
[0014] The duration of the detected signal within half a month is obtained, and several durations are obtained. The durations are grouped in chronological order to obtain at least five information groups. The average duration of each information group is obtained.
[0015] The average duration of each information group is input into the judgment model to obtain a judgment value. If the judgment value is greater than the proportion threshold, a linear relationship is obtained based on the average duration of the information group, and the next preset time is updated based on the linear relationship.
[0016] If the judgment value is less than the proportion threshold, the average duration of the previous set of information groups will be used as the next preset time.
[0017] The duration is obtained as follows:
[0018] If no detection signal is detected after the preset time, the duration will be the current preset time.
[0019] If a detection signal is detected after a preset time, and the duration of the detection signal does not exceed the final time, then the duration is the preset time plus the duration.
[0020] If a detection signal is detected after the final time, the duration is the final time.
[0021] Preferably, the preset time update further includes the following steps:
[0022] Set a judgment period. If, within the judgment period, the judgment function updated daily is greater than the proportion threshold and the difference between the linear relationships obtained from adjacent days is less than the difference threshold, then reduce the preset time by the first threshold and turn off the preset time update step.
[0023] When the duration exceeds the second threshold, the previous preset time is added to the third threshold as the next preset time, and the preset time update step is initiated.
[0024] Preferably, the defensive action involves controlling the relay corresponding to the air conditioner to disconnect and sending leakage information to the bound user.
[0025] An air conditioner leakage detection system, using the aforementioned air conditioner leakage detection method, includes a first setting module, a second setting module, and a detection module;
[0026] The first setting module is used to set the preset time and the final time;
[0027] The second setting module is used to set the defense actions in case of leakage current;
[0028] The detection module is used to acquire the detection signal emitted by the leakage current chip, and to turn off the leakage current chip after receiving the detection signal.
[0029] After a preset time, the leakage current chip is activated again to determine whether a detection signal can still be obtained. If no detection signal is detected, the air conditioner does not have leakage current, and the leakage current chip is turned off.
[0030] If a detection signal is detected, the leakage current chip is monitored until the final time. If the duration of the detection signal exceeds the time threshold during this period, or if the detection signal can still be detected at the final time, a defensive action is performed.
[0031] Preferably, it also includes a preset time update module;
[0032] The preset time update module is used to obtain the duration of the detection signal within half a month, obtain several duration information, group the duration information according to the time order, obtain at least five information groups, and obtain the average duration of each information group.
[0033] The average duration of each information group is input into the judgment model to obtain a judgment value. If the judgment value is greater than the proportion threshold, a linear relationship is obtained based on the average duration of the information group, and the next preset time is updated based on the linear relationship.
[0034] If the judgment value is less than the proportion threshold, the average duration of the previous set of information groups will be used as the next preset time.
[0035] Preferably, it also includes a preset time adjustment module;
[0036] The time adjustment module is used to set the judgment period. If, within the judgment period, the judgment function updated each day is greater than the proportional threshold and the difference between the linear relationships obtained from adjacent days is less than the difference threshold, then the preset time is reduced by the first threshold and the preset time update module is turned off.
[0037] When the duration exceeds the second threshold, the previous preset time is added to the third threshold as the next preset time, and the preset time update module is activated.
[0038] A computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the steps of the air conditioner leakage detection method.
[0039] An air conditioner, including the aforementioned air conditioner leakage detection method.
[0040] One of the above technical solutions has the following advantages or beneficial effects: This invention effectively avoids misjudgments that may occur due to induced current in a single detection by starting the leakage current chip twice. After the first detection, if a leakage current signal is detected, a second detection is performed to further confirm whether a leakage current exists. Furthermore, by setting a preset time and a final time, this invention provides a sufficient time window for leakage current detection, ensuring the comprehensiveness and accuracy of the detection. Restarting the leakage current chip after the preset time eliminates the influence of instantaneous interference signals, while continuous detection within the final time ensures accurate judgment of the leakage current situation. Attached Figure Description
[0041] Figure 1 This is a flowchart of one embodiment of the method of the present invention.
[0042] Figure 2 This is a schematic diagram of the structure of one embodiment of the system of the present invention. Detailed Implementation
[0043] Embodiments of the present invention are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and should not be construed as limiting the present invention.
[0044] In the description of embodiments of the present invention, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the stated features. In the description of embodiments of the present invention, "a plurality of" means two or more, unless otherwise explicitly specified.
[0045] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this invention, unless otherwise stated, "a plurality of" means two or more. Those skilled in the art will understand the specific meaning of the above terms in this invention based on the specific circumstances.
[0046] like Figures 1-2 As shown, an air conditioner leakage detection method includes the following steps:
[0047] Set the preset time and the final time;
[0048] Set up protective actions in case of leakage current;
[0049] The testing process begins the moment the air conditioner is turned on.
[0050] The detection steps are as follows:
[0051] The system acquires the detection signal emitted by the leakage current chip, and shuts down the leakage current chip upon receiving the detection signal.
[0052] After a preset time, the leakage current chip is activated again to determine whether a detection signal can still be obtained. If no detection signal is detected, the air conditioner does not have leakage current.
[0053] If a detection signal is detected, the leakage current chip will activate until the final time. If a detection signal is still detected when the final time is reached, a defensive action will be performed. If no detection signal is detected before the final time is reached, the air conditioner is not leaking current.
[0054] In this invention, to avoid false alarms due to induced current, the leakage current chip does not trigger a defensive action upon receiving a detection signal. Instead, it first shuts down to reduce energy consumption. After a preset time, the chip is restarted to determine if a detection signal can still be detected. If no leakage signal is detected, the induced current has dissipated, and the chip is detecting normal circuit information, indicating no leakage. If a detection signal is detected, there are two possibilities: either the induced current has not disappeared and is still affecting the chip's detection, or the air conditioner is actually leaking. In this case, the detection time needs to be extended to the final time, as the induced current will usually disappear within that time. If a detection signal is still detected at the final time, it indicates that the signal is caused by a leakage, not induced current, allowing for defensive actions to be taken to ensure user safety.
[0055] This invention utilizes a two-stage detection process with the leakage current chip, effectively avoiding misjudgments that might occur due to induced current in a single detection. If a leakage current signal is detected after the first detection, a second detection is performed to further confirm the presence of a leakage current. Furthermore, by setting a preset time and a final time, this invention provides a sufficient time window for leakage current detection, ensuring the comprehensiveness and accuracy of the detection. Restarting the leakage current chip after the preset time eliminates the influence of transient interference signals, while continuous detection within the final time ensures accurate determination of the leakage current situation.
[0056] Preferably, the preset time needs to be updated daily, and the method for updating the preset time is as follows:
[0057] The duration of the detected signal within half a month is obtained, and several durations are obtained. The durations are grouped in chronological order to obtain at least five information groups. The average duration of each information group is obtained.
[0058] The average duration of each information group is input into the judgment model to obtain a judgment value. If the judgment value is greater than the proportion threshold, a linear relationship is obtained based on the average duration of the information group, and the next preset time is updated based on the linear relationship.
[0059] If the judgment value is less than the proportion threshold, the average duration of the previous set of information groups will be used as the next preset time.
[0060] The duration is obtained as follows:
[0061] If no detection signal is detected after the preset time, the duration will be the current preset time.
[0062] If a detection signal is detected after a preset time, and the duration of the detection signal does not exceed the final time, then the duration is the preset time plus the duration.
[0063] If a detection signal is detected after the final time, the duration is the final time.
[0064] In this invention, the length of the preset time setting may affect the duration of continuous operation of the leakage current chip. A longer preset time results in a shorter continuous operation time for the leakage current chip, but also a weaker detection capability. Conversely, a shorter preset time allows for stronger detection, but also a longer continuous operation time. The time it takes for the induced current to dissipate normally also varies with ambient humidity. To better balance the on / off time of the leakage current chip, the preset time is set to be updated daily.
[0065] When updating the preset time, the duration of each day within the previous 15 days is obtained. For example, on the first day, the preset time is 15 seconds. After the preset time is started, no detection signal is detected, so the duration of the first day is 15 seconds. On the second day, the preset time is also 15 seconds, and the final time is 40 seconds. However, no prediction signal is detected 15 seconds after the preset time, so the duration of the second day is 15 seconds + 15 seconds = 30 seconds. On the third day, a detection signal is still detected at the final time, so the duration of the third day is 40 seconds, and so on, obtaining the duration of each day within the previous 15 days.
[0066] The change in duration corresponds to the duration of the induced current. Therefore, the length of the preset time can be determined by the duration, allowing the sensing chip to quickly detect the signal after the preset time, thereby reducing the chip's operating time. In one embodiment of the invention, the 15-day duration is grouped, and the average duration of each group is obtained to reduce data processing and speed up the calculation of the preset time. The average duration of each group is then input into a judgment model to obtain the judgment data. For example, dividing the 15-day duration into five groups, the judgment model is as follows:
[0067]
[0068] in For the i-th duration in the first group, The average duration of the first group is given. When the judgment function is close to 1, it indicates a stronger linear relationship between the group data. The ratio threshold is set to 0.9. When the judgment function is greater than 0.9, the average durations of the five groups can be linearly interpolated to obtain the corresponding linear equation. The linear relationship can be obtained immediately through the linear equation. The approximate duration of the next period can be inferred from the linear relationship, and the inferred duration is used as the next preset time.
[0069] Of course, sometimes environmental factors can cause sudden changes in duration, resulting in the judgment function falling below the proportional threshold. In such cases, the next duration cannot be determined through a linear relationship. Instead, the average duration of the previous set of information groups must be used as the next preset time. This setting avoids prediction errors caused by over-adjustment, making the next preset time more stable.
[0070] Preferably, the preset time update further includes the following steps:
[0071] Set a judgment period. If, within the judgment period, the judgment function updated daily is greater than the proportion threshold and the difference between the linear relationships obtained from adjacent days is less than the difference threshold, then reduce the preset time by the first threshold and turn off the preset time update step.
[0072] When the duration exceeds the second threshold, the previous preset time is added to the third threshold as the next preset time, and the preset time update step is initiated.
[0073] When the updated judgment functions are all greater than the proportional threshold and the differences between the linear relationships obtained from adjacent days are all less than the difference threshold, it indicates that the duration is relatively stable, and the difference between the durations of adjacent days is also relatively small. The preset time can be appropriately reduced to detect whether there is still a detection signal in advance, thereby shutting down the leakage current chip in advance and saving unnecessary energy consumption. Of course, when the preset time is reduced by the first threshold, it will inevitably cause a change in the duration in the information group. To avoid unnecessary updates, the preset time update step will be shut down after the adjustment of reducing the preset time by the first threshold is performed.
[0074] Of course, the duration value will still be monitored. When the duration exceeds the second threshold, it indicates a sudden increase in duration. In this case, a third threshold will be used to supplement the previous preset time, thereby allowing the next preset time to be longer and delaying the time for re-detection. Due to the change in duration, the preset time update step needs to be restarted.
[0075] Preferably, the defensive action involves controlling the relay corresponding to the air conditioner to disconnect and sending leakage information to the bound user.
[0076] An air conditioner leakage detection system, using the aforementioned air conditioner leakage detection method, includes a first setting module, a second setting module, and a detection module;
[0077] The first setting module is used to set the preset time and the final time;
[0078] The second setting module is used to set the defense actions in case of leakage current;
[0079] The detection module is used to acquire the detection signal emitted by the leakage current chip, and to turn off the leakage current chip after receiving the detection signal.
[0080] After a preset time, the leakage current chip is activated again to determine whether a detection signal can still be obtained. If no detection signal is detected, the air conditioner does not have leakage current, and the leakage current chip is turned off.
[0081] If a detection signal is detected, the leakage current chip is monitored until the final time. If the duration of the detection signal exceeds the time threshold during this period, or if the detection signal can still be detected at the final time, a defensive action is performed.
[0082] Preferably, it also includes a preset time update module;
[0083] The preset time update module is used to obtain the duration of the detection signal within half a month, obtain several duration information, group the duration information according to the time order, obtain at least five information groups, and obtain the average duration of each information group.
[0084] The average duration of each information group is input into the judgment model to obtain a judgment value. If the judgment value is greater than the proportion threshold, a linear relationship is obtained based on the average duration of the information group, and the next preset time is updated based on the linear relationship.
[0085] If the judgment value is less than the proportion threshold, the average duration of the previous set of information groups will be used as the next preset time.
[0086] Preferably, it also includes a preset time adjustment module;
[0087] The time adjustment module is used to set the judgment period. If, within the judgment period, the judgment function updated each day is greater than the proportional threshold and the difference between the linear relationships obtained from adjacent days is less than the difference threshold, then the preset time is reduced by the first threshold and the preset time update module is turned off.
[0088] When the duration exceeds the second threshold, the previous preset time is added to the third threshold as the next preset time, and the preset time update module is activated.
[0089] A computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the steps of the air conditioner leakage detection method.
[0090] An air conditioner, including the aforementioned air conditioner leakage detection method.
[0091] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "illustrative embodiment," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0092] Although embodiments of the invention have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.
Claims
1. A method for detecting air conditioner leakage current, characterized in that, Includes the following steps: Set the preset time and the final time; Set up protective actions in case of leakage current; The testing process begins the moment the air conditioner is turned on. The detection steps are as follows: The system acquires the detection signal emitted by the leakage current chip, and shuts down the leakage current chip upon receiving the detection signal. After a preset time, the leakage current chip is activated again to determine whether a detection signal can still be obtained. If no detection signal is detected, the air conditioner does not have leakage current. If a detection signal is detected, the leakage current chip will start until the final time. If a detection signal is still detected when the final time is reached, a defense action will be performed. If no detection signal is detected before the final time is reached, the air conditioner does not have leakage current. The preset time needs to be updated daily, and the method for updating the preset time is as follows: The duration of the detected signal within half a month is obtained, and several durations are obtained. The durations are grouped in chronological order to obtain at least five information groups. The average duration of each information group is obtained. The average duration of each information group is input into the judgment model to obtain a judgment value. If the judgment value is greater than the proportion threshold, a linear relationship is obtained based on the average duration of the information group, and the next preset time is updated based on the linear relationship. If the judgment value is less than the proportion threshold, the average duration of the previous information group will be used as the next preset time. The duration is obtained as follows: If no detection signal is detected after the preset time, the duration will be the current preset time. If a detection signal is detected after a preset time, and the duration of the detection signal does not exceed the final time, then the duration is the preset time plus the duration. If a detection signal is detected after the final time, the duration is the final time.
2. The method for detecting air conditioner leakage current according to claim 1, characterized in that, The preset time update also includes the following steps: Set a judgment period. If, within the judgment period, the judgment function updated daily is greater than the proportion threshold and the difference between the linear relationships obtained from adjacent days is less than the difference threshold, then the preset time is reduced by the first threshold and the preset time update step is turned off. When the duration exceeds the second threshold, the previous preset time is added to the third threshold as the next preset time, and the preset time update step is initiated.
3. The method for detecting air conditioner leakage current according to claim 1, characterized in that, The defensive action involves controlling the relay corresponding to the air conditioner to disconnect and sending leakage information to the bound user.
4. An air conditioner leakage current detection system, using the air conditioner leakage current detection method according to any one of claims 1 to 3, characterized in that, It includes a first setting module, a second setting module, and a detection module; The first setting module is used to set the preset time and the final time; The second setting module is used to set the defense actions in case of leakage current; The detection module is used to acquire the detection signal emitted by the leakage current chip, and to turn off the leakage current chip after receiving the detection signal. After a preset time, the leakage current chip is activated again to determine whether a detection signal can still be obtained. If no detection signal is detected, the air conditioner does not have leakage current, and the leakage current chip is turned off. If a detection signal is detected, the leakage current chip is monitored until the final time. If the duration of the detection signal exceeds the time threshold during this period, or if the detection signal can still be detected at the final time, a defensive action is performed.
5. An air conditioner leakage detection system according to claim 4, characterized in that, It also includes a preset time update module; The preset time update module is used to obtain the duration of the detection signal within half a month, obtain several duration information, group the duration information according to the time order, obtain at least five information groups, and obtain the average duration of each information group. The average duration of each information group is input into the judgment model to obtain a judgment value. If the judgment value is greater than the proportion threshold, a linear relationship is obtained based on the average duration of the information group, and the next preset time is updated based on the linear relationship. If the judgment value is less than the proportion threshold, the average duration of the previous set of information groups will be used as the next preset time.
6. The air conditioner leakage detection system according to claim 5, characterized in that, It also includes a preset time adjustment module; The time adjustment module is used to set the judgment period. If, within the judgment period, the judgment function updated each day is greater than the proportional threshold and the difference between the linear relationships obtained from adjacent days is less than the difference threshold, then the preset time is reduced by the first threshold and the preset time update module is turned off. When the duration exceeds the second threshold, the previous preset time is added to the third threshold as the next preset time, and the preset time update module is activated.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the steps of the air conditioner leakage detection method according to any one of claims 1 to 3.
8. An air conditioner, characterized in that, Including the air conditioning leakage detection system according to any one of claims 4 to 6.
Citation Information
Patent Citations
Equipment electric leakage detection method, apparatus and system and readable storage medium
CN111308387A
Household appliance and electric leakage detection method and device of household appliance
CN118376954A