A dishwasher control method and a dishwasher

By collecting the current and voltage relationship between the motor current at zero point in the dishwasher, the problems of high cost and poor reliability of leakage drainage detection in the prior art are solved, and low-cost and high-reliability leakage and drainage detection are achieved.

CN116473479BActive Publication Date: 2025-08-01青岛鼎新电子科技有限公司 +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310620649.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-29
Publication Date
2025-08-01
Estimated Expiration
2043-05-29

AI Technical Summary

Technical Problem

The existing dishwasher has high cost of leakage and drainage detection and poor reliability. In the existing technology, the waterless pressure switching method increases the mechanical structure and cost, and the power difference method is easily falsely reported due to the influence of motor voltage and water volume.

Method used

The current and voltage relationship between the motor current at zero point is collected during the alternating current cycle, the water level parameters are calculated, and the water level parameters are judged to leak or drainage failures are avoided to design voltage sampling circuits and mechanical structures, and the voltage is directly obtained based on the preset acquisition time and voltage correspondence relationship.

Benefits of technology

Reduces the cost of leaking and drainage detection, improves detection reliability, reduces false alarms, and achieves efficient and accurate leaking and drainage detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116473479B_ABST
    Figure CN116473479B_ABST
Patent Text Reader

Abstract

The present invention discloses a dishwasher water leakage detection method and a dishwasher. The dishwasher water leakage detection method includes: within an alternating current cycle, collecting the motor current at the zero-crossing moment of the rising edge of the sinusoidal alternating voltage, and collecting the motor current once every first set duration, obtaining the voltage corresponding to the current collection time according to the preset corresponding relationship between the collection time and the voltage, and calculating the power value based on the motor current collected each time and the obtained voltage; during the operation of the dishwasher, calculating the water level parameter, and judging whether there is water leakage or whether the drainage fails according to the calculated water level parameter. The dishwasher control method and the dishwasher of the present invention do not need to design a voltage sampling circuit to collect the real-time voltage, but directly obtain the voltage corresponding to the motor current collection time according to the preset corresponding relationship between the collection time and the voltage, reducing the difficulty of water leakage and drainage detection, improving the reliability of water leakage and drainage detection, reducing the cost, and reducing false alarms.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of kitchen appliances, and specifically relates to a dishwasher control method and a dishwasher. Background Art

[0002] A dishwasher is a commonly used kitchen appliance, and whether it leaks water seriously affects the user experience.

[0003] Currently, there are generally two ways to detect water leakage and drainage during the operation of a dishwasher. One is to use a dry pressure switch; the other is to use the power difference method. However, both of these methods have disadvantages.

[0004] Using a dry pressure switch requires adding a mechanical structure, increasing the volume and cost of the dishwasher, and increasing the probability of mechanical structure damage.

[0005] Using the power difference method is affected by both the motor voltage and the water volume in the barrel. If a motor voltage sampling circuit is added, it will increase part of the cost. At the same time, parameters under multiple voltages need to be debugged, and the reliability is not high, which is prone to false alarms; while some manufacturers do not use a voltage sampling circuit, which is more likely to cause false alarms. Summary of the Invention

[0006] The present invention provides a dishwasher control method, which solves the technical problems of high cost and poor reliability in detecting water leakage and drainage of a dishwasher in the prior art.

[0007] To achieve the above technical purpose, the present invention is implemented by the following technical solutions:

[0008] A dishwasher control method includes:

[0009] During an alternating current cycle T, collect the motor current AD_ZERO_DATA at the moment when the rising edge of the sine alternating voltage passes through zero, and collect the motor current once every first set duration T1. Obtain the voltage corresponding to the current collection time according to the preset correspondence between the collection time and the voltage, and calculate the power value based on the motor current collected each time and the obtained voltage; where T>T1;

[0010] During the operation of the dishwasher, calculate the water level parameter, and judge whether there is water leakage or drainage failure according to the calculated water level parameter;

[0011] Among them, the calculation process of the water level parameter is: calculate the average value AD_ZERO_DATA_AGV of the motor current AD_ZERO_DATA at the moment when the zero crossing is collected within n alternating current cycles, and the average value AD_POW_AGV of the power values calculated within n alternating current cycles; the water level parameter = AD_ZERO_DATA_AGV * AD_POW_AGV.

[0012] In some embodiments of the present application, calculating the water level parameter and determining whether there is a water leak according to the calculated water level parameter specifically includes:

[0013] During the washing process of the dishwasher, calculating the water level parameter once;

[0014] Calculating the water level parameter again after a second set time period T2; where T2 ≥ n*T;

[0015] If the absolute value of the difference between the two calculated water level parameters is greater than or equal to a first set difference, it is determined that there is a water leak during the washing process.

[0016] In some embodiments of the present application, calculating the water level parameter and determining whether there is a water leak according to the calculated water level parameter specifically includes:

[0017] During the washing process of the dishwasher, calculating the water level parameter every second set time period T2; where T2 ≥ n*T;

[0018] If the absolute value of the difference between two adjacent calculated water level parameters is greater than or equal to a first set difference, it is determined that there is a water leak during the washing process; when the water leak is determined for a cumulative first set number of times during a single washing process, an alarm is given and the dishwasher is controlled to stop running.

[0019] In some embodiments of the present application, calculating the water level parameter and determining whether there is a water leak according to the calculated water level parameter specifically includes:

[0020] During the washing process of the dishwasher, calculating the water level parameter every second set time period T2; where T2 ≥ n*T;

[0021] If the absolute value of the difference between two adjacent calculated water level parameters is greater than or equal to a first set difference, it is determined that there is a water leak during the washing process; when the water leak is determined for a consecutive second set number of times during a single washing process, an alarm is given and the dishwasher is controlled to stop running.

[0022] In some embodiments of the present application, calculating the water level parameter and determining whether the drainage fails according to the calculated water level parameter specifically includes:

[0023] After the water inlet is completed, calculating the water level parameter once;

[0024] After the drainage is completed, calculating the water level parameter again;

[0025] Judging whether the difference between the water level parameter calculated after the water inlet is completed and the water level parameter calculated after the drainage is completed is greater than or equal to a second set difference;

[0026] If so, it is determined that the drainage is successful;

[0027] If not, it is determined that the drainage fails.

[0028] In some embodiments of the present application, calculating the water level parameter and determining whether the drainage fails according to the calculated water level parameter specifically includes:

[0029] After washing and before drainage, calculate the water level parameter once.

[0030] After the drainage is completed, calculate the water level parameter again.

[0031] Determine whether the difference between the water level parameter calculated before drainage and the water level parameter calculated after the drainage is completed is greater than or equal to the second set difference.

[0032] If so, it is determined that the drainage is successful.

[0033] If not, it is determined that the drainage fails.

[0034] In some embodiments of the present application, calculating the water level parameter and determining whether the drainage fails according to the calculated water level parameter specifically includes:

[0035] After the water inlet is completed and before the drainage starts, calculate the water level parameter every third set time period T3, and after continuously calculating the water level parameter m times, calculate the average value of the m water level parameters; where T3 ≥ n*T.

[0036] After the drainage is completed, calculate the water level parameter once.

[0037] Determine whether the difference between the average value of the water level parameters calculated before drainage and the water level parameter calculated after the drainage is completed is greater than or equal to the second set difference.

[0038] If so, it is determined that the drainage is successful.

[0039] If not, it is determined that the drainage fails.

[0040] In some embodiments of the present application, the corresponding relationship between the acquisition time and the voltage is: the correspondence table between the acquisition time of the motor current and the voltage within the AC cycle.

[0041] In some embodiments of the present application, the corresponding relationship between the acquisition time and the voltage is:

[0042] U = Um*sin(2πft), where U is the voltage, Um is the peak value of the sinusoidal AC voltage, f is the frequency of the alternating current, and t is the acquisition time of the motor current within the AC cycle; t ∈ [0, T].

[0043] A dishwasher adopts the dishwasher control method described above.

[0044] Compared with the prior art, the advantages and positive effects of the present invention are as follows: The dishwasher control method and the dishwasher of the present invention can determine whether there is a water leakage or a drainage failure according to the water level parameter; moreover, through the calculation process of the water level parameter, it can be known that there is no need to design a voltage sampling circuit to collect the real-time voltage, but directly according to the corresponding relationship between the preset acquisition time and the voltage, the voltage corresponding to the motor current acquisition time can be obtained; there is no need to add a mechanical structure, measure the motor voltage, or debug the motor power difference parameters under various voltages, which reduces the difficulty of detecting water leakage and drainage, improves the reliability of detecting water leakage and drainage, reduces the cost, reduces false alarms, and solves the technical problems of high cost and poor reliability in detecting water leakage and drainage in the prior art.

[0045] After reading the detailed description of the embodiments of the present invention in conjunction with the accompanying drawings, other features and advantages of the present invention will become clearer. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0047] Figure 1 is a flowchart of an embodiment of the dishwasher control method proposed by the present invention;

[0048] Figure 2 is a flowchart of another embodiment of the dishwasher control method proposed by the present invention;

[0049] Figure 3 is a flowchart of another embodiment of the dishwasher control method proposed by the present invention;

[0050] Figure 4 is a flowchart of another embodiment of the dishwasher control method proposed by the present invention;

[0051] Figure 5 is a flowchart of another embodiment of the dishwasher control method proposed by the present invention;

[0052] Figure 6 is a flowchart of another embodiment of the dishwasher control method proposed by the present invention;

[0053] Figure 7 is a flowchart of another embodiment of the dishwasher control method proposed by the present invention;

[0054] Figure 8 is a waveform diagram of sinusoidal alternating voltage and alternating current. Detailed implementation mode

[0055] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of this application.

[0056] In the description of this application, it should be understood that the orientation or positional relationship indicated by the terms "center", "upper", "lower", "front", "rear", "top", "bottom", "inner", "outer", etc. is based on the orientation or positional relationship shown in the accompanying drawings, and is only for the convenience of describing this application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as a limitation to this application.

[0057] In the description of this application, it should be understood that the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of this application, unless otherwise stated, the meaning of "a plurality" is two or more.

[0058] In the description of this application, it should be noted that unless otherwise clearly specified and limited, the terms "installation", "connection", and "connection" should be understood in a broad sense. For example, it may be a fixed connection, a detachable connection, or an integral connection; it may be a mechanical connection or an electrical connection; it may be directly connected, or indirectly connected through an intermediate medium, and it may be the communication inside two elements. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to specific situations.

[0059] Aiming at the technical problems of high cost and poor reliability in the leakage and drainage detection of current dishwashers, the present invention proposes a dishwasher control method and a dishwasher, which use water level parameters for leakage and drainage detection, with low detection cost and high detection reliability to ensure the normal operation of the dishwasher. Next, the dishwasher and its control method of the present invention will be described in detail with reference to the accompanying drawings.

[0060] Embodiment 1:

[0061] The dishwasher control method of this embodiment mainly includes the following steps, as shown in Figure 1 shown.

[0062] Step S1: During the alternating current cycle T, collect the motor current AD_ZERO_DATA at the moment when the rising edge of the sinusoidal alternating voltage passes through the zero point, and collect the motor current once every first set duration T1. According to the preset corresponding relationship between the acquisition time and the voltage, obtain the voltage corresponding to the current acquisition time, and calculate the power value based on the motor current collected each time and the obtained voltage; where, T > T1.

[0063] The motor of the dishwasher is a single-phase motor, and the mains power supply (sinusoidal alternating current, AC220V, 50HZ, alternating current cycle T = 0.02s) is used to supply power to the motor of the dishwasher. The sinusoidal alternating voltage has a zero crossing point. At this zero crossing point, the voltage changes direction, and the phase difference between the sinusoidal alternating current and the sinusoidal alternating voltage is 0, as shown in Figure 8 shown.

[0064] A current detection circuit for a single-phase motor can read the AD value of the motor current; a voltage zero-crossing detection circuit is used to detect the zero crossing of the rising edge of the alternating voltage.

[0065] Preset the corresponding relationship between the acquisition time and the voltage within an alternating current cycle and save it. Within an alternating current cycle, when the acquisition time arrives, collect the motor current, and obtain the voltage corresponding to this acquisition time, and then calculate the power value = current * voltage.

[0066] At each acquisition time within an alternating current cycle, collect the motor current, and according to the preset corresponding relationship between the acquisition time and the voltage, obtain the voltage corresponding to the current acquisition time, and then calculate the power value. The power value = motor current * the voltage corresponding to the acquisition time of this motor current.

[0067] The moment when the rising edge of the alternating voltage passes through the zero point is used as the starting point of an alternating current cycle to start collecting the motor current. The motor current is collected once every T1 (such as 500us) and stored in an array; therefore, within an alternating current cycle, T / T1 motor currents can be collected, including the motor current AD_ZERO_DATA at the moment when the rising edge of the voltage passes through the zero point; T / T1 voltages can be obtained, and T / T1 power values can be calculated.

[0068] For example, at the moment when the rising edge of the alternating voltage passes through the zero point, the acquisition time is t0 = 0; the collected motor current is AD_ZERO_DATA, the corresponding voltage is U0, and the calculated power value is P0;

[0069] At the acquisition time t1, the collected motor current is I1, the corresponding voltage is U1, and the calculated power value is P1;

[0070] At the acquisition time t2, the collected motor current is I2, the corresponding voltage is U2, and the calculated power value is P2;

[0071] ……。

[0072] For example, T = 0.02 s, T1 = 500 μs, T / T1 = 40, that is, within one alternating current cycle, 40 motor currents can be collected, 40 corresponding voltages can be obtained, and 40 power values can be calculated.

[0073] One motor current AD_ZERO_DATA at the zero-crossing moment and T / T1 power values can be obtained for each alternating current cycle; n motor currents AD_ZERO_DATA at the zero-crossing moment and n*T / T1 power values can be obtained for n alternating current cycles.

[0074] When the water level parameter needs to be calculated, obtain the motor current AD_ZERO_DATA at the zero-crossing moment collected within the most recent n alternating current cycles and the calculated power values; then calculate the average value AD_ZERO_DATA_AGV of these n motor currents AD_ZERO_DATA, and calculate the average value AD_POW_AGV of n*T / T1 power values; finally, calculate the water level parameter = AD_ZERO_DATA_AGV * AD_POW_AGV.

[0075] The water level parameter WATER_LEVEL = AD_ZERO_DATA_AGV * AD_POW_AGV.

[0076] Step S2: During the operation of the dishwasher, calculate the water level parameter, and determine whether there is a water leakage or a drainage failure according to the calculated water level parameter.

[0077] Among them, the calculation process of the water level parameter is: calculate the average value AD_ZERO_DATA_AGV of the motor current AD_ZERO_DATA at the zero-crossing moment collected within n alternating current cycles, and the average value AD_POW_AGV of the power values calculated within n alternating current cycles; the water level parameter = AD_ZERO_DATA_AGV * AD_POW_AGV.

[0078] For the dishwasher control method of this embodiment, according to the change of the water level parameter, it can be determined whether there is a water leakage or a drainage failure; moreover, from the calculation process of the water level parameter, it can be known that there is no need to design a voltage sampling circuit to collect the real-time voltage, but directly according to the preset correspondence between the acquisition time and the voltage, the voltage corresponding to the motor current acquisition time can be known; there is no need to add a mechanical structure, measure the motor voltage, or debug the motor power difference parameters under various voltages, which reduces the difficulty of detecting water leakage and drainage, improves the reliability of detecting water leakage and drainage, reduces the cost, reduces false alarms, and solves the technical problems of high cost and poor reliability in detecting water leakage and drainage in the prior art.

[0079] In some embodiments of the present application, the corresponding relationship between the acquisition time and the voltage is: a correspondence table between the acquisition time of the motor current within the AC cycle and the voltage. Preset the correspondence table between the acquisition time and the voltage and save it. By querying the correspondence table according to the acquisition time, the voltage corresponding to the acquisition time can be conveniently queried, which is simple, convenient, fast, and accurate.

[0080] The instantaneous values of the sinusoidal AC voltage at each time point within an AC cycle are determined. Therefore, by presetting the corresponding relationship between the time and the voltage, it is possible to directly look up the table during later use.

[0081] For example, in the correspondence table,

[0082] when t = 0, U = 0;

[0083] ...;

[0084] when t = T / 4, U = 311V;

[0085] ...;

[0086] when t = T / 2, U = 0;

[0087] ...;

[0088] when t = 3T / 4, U = -311V;

[0089] ...;

[0090] when t = T, U = 0.

[0091] In some other embodiments of the present application, the corresponding relationship between the acquisition time and the voltage is:

[0092] U = Um * sin(2πft), where U is the voltage, Um is the peak value of the sinusoidal AC voltage, f is the frequency of the alternating current, and t is the acquisition time of the motor current within the AC cycle; t ∈ [0, T].

[0093] When the mains power supply (AC220V, 50HZ) powers the dishwasher, that is, the supply voltage is 220V, the peak value Um = (220 * 1.414)V = 311V, f = 50Hz, and T = 0.02s.

[0094] Within an AC cycle T, given the current acquisition time t, according to the above calculation formula, the corresponding voltage U can be conveniently calculated, which is simple, convenient, fast, and accurate.

[0095] In some embodiments of the present application, calculate the water level parameter and determine whether there is a water leak according to the calculated water level parameter. Specifically, it includes the following steps, see Figure 2 as shown.

[0096] Step S21: Calculate the water level parameter once during the dishwasher washing process.

[0097] Step S22: Calculate the water level parameter again after the second set duration T2; where T2 ≥ n * T.

[0098] Assume n = 250, T = 0.02s, n * T = 5s, and T2 ≥ 5s.

[0099] Step S23: Determine whether the absolute value of the difference between the two calculated water level parameters is ≥ the first set difference.

[0100] If the absolute value of the difference between the two calculated water level parameters is ≥ the first set difference, it indicates that the two calculated water level parameters differ significantly, then execute Step S24: Determine that there is a water leak during the washing process.

[0101] If the absolute value of the difference between the two calculated water level parameters is < the first set difference, it indicates that the two calculated water level parameters do not differ much, then execute Step S25: Determine that there is no water leak during the washing process.

[0102] By designing Steps S21 - S25 to calculate the water level parameter once every second set duration T2, if the absolute value of the difference between the two calculated water level parameters is ≥ the first set difference, then determine that there is a water leak during the washing process, which is simple, convenient, accurate, and highly reliable.

[0103] In some other embodiments of the present application, the water level parameter is calculated and it is determined whether there is a water leak based on the calculated water level parameter, specifically including the following steps, see Figure 3 as shown.

[0104] Step S31: During the dishwasher washing process, calculate the water level parameter every second set duration T2; where T2 ≥ n * T.

[0105] Step S32: Determine whether the absolute value of the difference between two adjacent calculated water level parameters is ≥ the first set difference.

[0106] If the absolute value of the difference between two adjacent calculated water level parameters is ≥ the first set difference, it indicates that the two adjacent calculated water level parameters differ significantly, then execute Step S33: Determine that there is a water leak during the washing process. Then execute Step S35.

[0107] If the absolute value of the difference between two adjacent calculated water level parameters is < the first set difference, it indicates that the two adjacent calculated water level parameters do not differ much, then execute Step S34: Determine that there is no water leak during the washing process. Then execute Step S35.

[0108] Step S35: When it is determined that there is a water leak after accumulating the first set number of times (e.g., 4 times) during a single washing process, an alarm is given and the dishwasher is controlled to stop running.

[0109] By designing steps S31 - S35, the water level parameter is calculated every second set time period T2. If the absolute value of the difference between the water level parameters calculated for two adjacent times is ≥ the first set difference, it is determined that there is a water leak during the washing process. This is simple, convenient, accurate, and highly reliable. When it is determined that there is a water leak after accumulating the first set number of times during a single washing process, an alarm is given and the dishwasher is controlled to stop running, preventing misjudgment, avoiding affecting the normal operation of the dishwasher, and improving reliability.

[0110] In some embodiments of the present application, the water level parameter is calculated and it is determined whether there is a water leak based on the calculated water level parameter. Specifically, it includes the following steps, as shown in Figure 4 shown.

[0111] Step S41: During the washing process of the dishwasher, the water level parameter is calculated every second set time period T2; where T2 ≥ n * T.

[0112] Step S42: Determine whether the absolute value of the difference between the water level parameters calculated for two adjacent times is ≥ the first set difference.

[0113] If the absolute value of the difference between the water level parameters calculated for two adjacent times is ≥ the first set difference, it indicates that the difference between the water level parameters calculated for two adjacent times is large, then step S43 is executed: Determine that there is a water leak during the washing process. Then step S45 is executed.

[0114] If the absolute value of the difference between the water level parameters calculated for two adjacent times is < the first set difference, it indicates that the difference between the water level parameters calculated for two adjacent times is not large, then step S44 is executed: Determine that there is no water leak during the washing process. Then step S45 is executed.

[0115] Step S45: When it is determined that there is a water leak for a continuous second set number of times (e.g., 2 times) during a single washing process, an alarm is given and the dishwasher is controlled to stop running.

[0116] By designing steps S41 - S45, the water level parameter is calculated every second set time period T2. If the absolute value of the difference between the water level parameters calculated for two adjacent times is ≥ the first set difference, it is determined that there is a water leak during the washing process. This is simple, convenient, accurate, and highly reliable. When it is determined that there is a water leak for a continuous second set number of times during a single washing process, an alarm is given and the dishwasher is controlled to stop running, preventing misjudgment, avoiding affecting the normal operation of the dishwasher, and improving reliability.

[0117] Wherein, the second set number of times ≤ the first set number of times.

[0118] In some embodiments of the present application, the water level parameter is calculated, and it is determined whether the drainage fails according to the calculated water level parameter. Specifically, the following steps are included. Refer to Figure 5 as shown.

[0119] Step S51: After the water inlet is completed, calculate the water level parameter once.

[0120] Step S52: After the drainage is completed, calculate the water level parameter once again.

[0121] Step S53: Determine whether the difference between the water level parameter calculated after the water inlet is completed and the water level parameter calculated after the drainage is completed is ≥ the second set difference.

[0122] If so, that is, the difference ≥ the second set difference, indicating that the two calculated water level parameters are quite different, then execute Step S54: Determine that the drainage is successful.

[0123] If not, that is, the difference < the second set difference, indicating that the two calculated water level parameters are not very different; then execute Step S55: Determine that the drainage fails.

[0124] By designing Steps S51 to S55, the water level parameter is calculated once after the water inlet is completed and once after the drainage is completed. If the difference between the two calculated water level parameters ≥ the second set difference, it is determined that the drainage is successful; otherwise, it is determined that the drainage fails. It is simple, convenient, accurate, and highly reliable, and can accurately determine whether the drainage of the dishwasher is successful.

[0125] In some other embodiments of the present application, the water level parameter is calculated, and it is determined whether the drainage fails according to the calculated water level parameter. Specifically, the following steps are included. Refer to Figure 6 as shown.

[0126] Step S61: Calculate the water level parameter once after washing and before drainage.

[0127] Step S62: After the drainage is completed, calculate the water level parameter once again.

[0128] Step S63: Determine whether the difference between the water level parameter calculated before drainage and the water level parameter calculated after the drainage is completed is ≥ the second set difference.

[0129] If so, that is, the difference ≥ the second set difference, indicating that the two calculated water level parameters are quite different, then execute Step S64: Determine that the drainage is successful.

[0130] If not, that is, the difference < the second set difference, indicating that the two calculated water level parameters are not very different; then execute Step S65: Determine that the drainage fails.

[0131] By designing steps S61 - S65, the water level parameters are calculated once before drainage and once after drainage is completed. If the difference between the two calculated water level parameters ≥ the second set difference, it is determined that the drainage is successful; otherwise, it is determined that the drainage fails. This method is simple, convenient, accurate, and highly reliable, and can accurately determine whether the dishwasher has drained successfully.

[0132] In some other embodiments of the present application, the water level parameter is calculated, and whether the drainage fails is determined based on the calculated water level parameter. Specifically, the following steps are included. See Figure 7 as shown.

[0133] Step S71: After the water inlet is completed and before the drainage starts, the water level parameter is calculated every third set time period T3. After continuously calculating the water level parameter m times, the average value of the m water level parameters is calculated; where T3 ≥ n * T.

[0134] Step S72: After the drainage is completed, the water level parameter is calculated once.

[0135] Step S73: Determine whether the difference between the average value of the water level parameter calculated before drainage and the water level parameter calculated after drainage is completed ≥ the second set difference.

[0136] If so, that is, the difference ≥ the second set difference, indicating that the average value of the water level parameter and the water level parameter calculated after drainage is completed differ greatly, then perform step S74: Determine that the drainage is successful.

[0137] If not, that is, the difference < the second set difference, indicating that the average value of the water level parameter and the water level parameter calculated after drainage is completed do not differ much; then perform step S75: Determine that the drainage fails.

[0138] By designing steps S71 - S75, if the difference between the average value of the water level parameter calculated before drainage and the water level parameter calculated after drainage is completed ≥ the second set difference, it is determined that the drainage is successful; otherwise, it is determined that the drainage fails. This method is simple, convenient, accurate, and highly reliable, and can accurately determine whether the dishwasher has drained successfully.

[0139] The dishwasher control method of this embodiment, without adding hardware, introduces a new judgment factor (water level parameter), improves the existing power difference method, obtains a more reliable water leakage and drainage detection effect, with obvious effects, and greatly reduces the false alarm rate.

[0140] The dishwasher control method of this embodiment is applicable to various power supply voltages and various single-phase AC water pumps; there is no need to set a voltage sampling circuit, which reduces costs, reduces EMC interference, and enhances the judgment accuracy. During the operation of the dishwasher, if the value of WATER_LEVEL changes greatly, it is considered a leak. After the water intake for the current washing is completed, the value of WATER_LEVEL is collected in a timely manner. After draining the water, it is judged whether the water level parameter has changed greatly. If it has changed greatly, it is considered that the drainage is successful; otherwise, it is considered that the drainage has failed.

[0141] The following uses a specific embodiment to illustrate the specific steps of the dishwasher control method of this application.

[0142] (1) When the water pump is running, the current of the single-phase water pump (motor) is collected every 500 us (T1) and stored in an array. 40 data will be collected in one AC cycle (AC220V\50HZ).

[0143] (2) There is no need to collect the current real-time voltage, but it is necessary to detect the zero-crossing point when the power supply voltage rises, which is used as the starting point for power calculation within the cycle.

[0144] (3) When detecting the zero-crossing point of the rising edge of the power supply voltage, the AD value of the motor current at this moment is collected simultaneously and set as AD_ZERO_DATA (if the AD of the single-chip microcomputer uses 10-bit precision, the AD value is between 0 and 1023). When there is no current, this value is about 512 (set as AD_OFFSET, which needs to be collected when the power is on and the water pump is not running).

[0145] When the current is positive, AD_ZERO_DATA > AD_OFFSET;

[0146] When the current is negative, AD_ZERO_DATA < AD_OFFSET.

[0147] Set the f_pow_cal flag during the zero-crossing interrupt, and this flag notifies the main loop to calculate the power AD_POW within the previous AC cycle.

[0148] (4) The main loop calculates the power of the previous cycle according to the f_pow_cal flag. Since the judgment of water leakage and drainage is relatively slow, the values collected for a relatively long time can be averaged, such as 5 seconds (n*T), to obtain AD_POW_AGV. The voltage is calculated using a sine table, that is, the corresponding time and voltage correspondence table. By default, AC220V\50HZ or the specific AC voltage used is adopted, and there is no need to collect it.

[0149] (5) Calculate the average value of multiple AD_ZERO_DATA collected within 5s.

[0150] Obtain the average value: AD_ZERO_DATA_AVG.

[0151] (6) AD_POW_AGV reflects the magnitude of the motor power. This factor is mainly affected by both the supply voltage and the amount of water. The higher the voltage and the more the water, the greater AD_POW_AG.

[0152] AD_ZERO_DATA_AVG reflects the degree of deviation between the motor voltage and current, that is, the phase deviation. This factor is also affected by the motor voltage and the amount of water. However, the smaller the voltage and the more the water, the greater AD_ZERO_DATA_AVG. The influence of voltage is exactly opposite to that of AD_POW_AGV. Therefore, the water level parameter is defined as: WATER_LEVEL = AD_POW_AGV * AD_ZERO_DATA_AVG, which can weaken the influence of the motor voltage and enhance the influence of the amount of water. Furthermore, the motor voltage sampling circuit can be omitted, and a more accurate water level parameter can be obtained, greatly reducing false alarms of water leakage and drainage.

[0153] The power of the dishwasher pump is affected by the supply voltage. The higher the supply voltage, the higher the power under the same amount of water in the tub. The power is also affected by the amount of water in the tub under the same supply voltage. The more the water, the greater the power. The phase relationship between the voltage and current of the pump in the dishwasher is also affected by the amount of water in the tub and the voltage level. Through experiments, the following three tables are obtained.

[0154] By changing the supply voltage (190V - 270V) and the amount of water in the dishwasher, through experiments and calculations, the relationship table of AD_ZERO_DATA_AGV with the supply voltage and the amount of water is obtained, namely Table 1.

[0155] Table 1

[0156]

[0157] It can be seen from Table 1 that the average value of the motor current AD_ZERO_DATA_AGV at the zero crossing of the voltage rising edge calculated decreases with the increase of the supply voltage under the same amount of water, and AD_ZERO_DATA_AGV increases with the increase of the amount of water under the same voltage. In addition, it can be seen that the value at 260V and 3000mL is less than the value at 220V and 1500mL. Therefore, AD_ZERO_DATA_AGV cannot directly and independently reflect the amount of water and is significantly affected by the voltage.

[0158] By changing the supply voltage (190V - 270V) and the amount of water in the dishwasher, through experiments and calculations, the relationship table of AD_POW_AGV with the supply voltage and the amount of water is obtained, namely Table 2.

[0159] Table 2

[0160]

[0161] As can be seen from Table 2, for the calculated AD_POW_AGV, at the same water volume, as the voltage increases, AD_POW_AGV increases; at the same voltage, AD_POW_AGV increases as the water volume increases. Additionally, it can also be seen that the power at 210V and 3000mL is actually less than the power at 260V and 1500mL. Therefore, the power itself cannot reflect the amount of water, and it is significantly affected by the voltage. If the power is directly used for judgment, false alarms are likely to occur.

[0162] By changing the supply voltage (190V - 270V) and the water volume of the dishwasher, through experiments and calculations, a relationship table of WATER_LEVEL with the supply voltage and water volume is obtained, namely Table 3.

[0163] Table 3

[0164] WATER_LEVEL 0 mL 1500 mL 3000 mL 190 volts 16428 21902 37725 200 volts 17280 22295 36704 210 volts 18348 22932 36525 220 volts 19502 23744 36176 230 volts 20570 24120 35497 240 volts 21472 25014 35440 250 volts 22080 25842 35280 260 volts 22116 26244 35460 270 volts 23672 25988 35502

[0165] As can be seen from the above table, when the water level parameter WATER_LEVEL is above 1500mL, the relationship with the water volume in the barrel has greatly weakened the influence of the motor voltage. It can be considered that it is only related to the water volume and can directly reflect the amount of water in the barrel. The calculation principle of the water level parameter WATER_LEVEL weakens the influence of the voltage and enhances the influence of the water volume on the water level.

[0166] During washing and after drainage is completed, it is possible to judge whether the water volume has changed accordingly based on the change of the water level parameter, so as to judge whether there is a leak or whether the drainage is successful. If, during operation, the change in WATER_LEVEL is large, it indicates a leak; if, after drainage, the change in WATER_LEVEL is not large, it indicates that the drainage has failed.

[0167] Embodiment 2

[0168] Based on the design of the dishwasher control method in Embodiment 1, this Embodiment 2 proposes a dishwasher that adopts the dishwasher control method of Embodiment 1.

[0169] The dishwasher of this embodiment can determine whether there is a water leakage or a drainage failure according to the change of the water level parameter; moreover, through the calculation process of the water level parameter, it can be known that there is no need to design a voltage sampling circuit to collect the real-time voltage, but directly according to the corresponding relationship between the preset acquisition time and the voltage, the voltage corresponding to the motor current acquisition time can be obtained; there is no need to add a mechanical structure, measure the motor voltage, or debug the motor power difference parameters under various voltages, which reduces the difficulty of detecting water leakage and drainage, improves the reliability of detecting water leakage and drainage, reduces the cost, reduces false alarms, and solves the technical problems of high cost and poor reliability in detecting water leakage and drainage in the prior art of dishwashers.

[0170] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A dishwasher control method, characterized in that: Including: During an alternating current cycle T, collect the motor current AD_ZERO_DATA at the moment when the rising edge of the sinusoidal alternating voltage crosses zero, and collect the motor current once every first set duration T1. Obtain the voltage corresponding to the current collection time according to the preset correspondence between the collection time and the voltage, and calculate the power value based on the motor current collected each time and the obtained voltage; where T > T1; During the operation of the dishwasher, calculate the water level parameter, and determine whether there is a water leak or a drainage failure according to the calculated water level parameter; Among them, the calculation process of the water level parameter is: calculate the average value AD_ZERO_DATA_AGV of the motor current AD_ZERO_DATA at the zero-crossing moment collected within n alternating current cycles, and the average value AD_POW_AGV of the power values calculated within n alternating current cycles; water level parameter = AD_ZERO_DATA_AGV * AD_POW_AGV.

2. The dishwasher control method according to claim 1, characterized in that: Said calculating the water level parameter and determining whether there is a water leak according to the calculated water level parameter specifically includes: During the washing process of the dishwasher, calculate the water level parameter once; Calculate the water level parameter again after a second set duration T2; where T2 ≥ n * T; If the absolute value of the difference between the water level parameters calculated twice is greater than or equal to the first set difference, it is determined that there is a water leak during the washing process.

3. The dishwasher control method according to claim 1, wherein: Said calculating the water level parameter and determining whether there is a water leak according to the calculated water level parameter specifically includes: During the washing process of the dishwasher, calculate the water level parameter once every second set duration T2; where T2 ≥ n * T; If the absolute value of the difference between the water level parameters calculated for two adjacent times is greater than or equal to the first set difference, it is determined that there is a water leak during the washing process; when the first set number of times of determining a water leak accumulates during a washing process, an alarm is given and the operation of the dishwasher is controlled to stop.

4. The dishwasher control method according to claim 1, characterized in that: Said calculating the water level parameter and determining whether there is a water leak according to the calculated water level parameter specifically includes: During the washing process of the dishwasher, calculate the water level parameter once every second set duration T2; where T2 ≥ n * T; If the absolute value of the difference between the water level parameters calculated for two adjacent times is greater than or equal to the first set difference, it is determined that there is a water leak during the washing process; when the second set number of consecutive times of determining a water leak occurs during a washing process, an alarm is given and the operation of the dishwasher is controlled to stop.

5. The dishwasher control method according to claim 1, characterized in that: Said calculating the water level parameter and determining whether there is a drainage failure according to the calculated water level parameter specifically includes: After the water inlet is completed, calculate the water level parameter once; After the drainage is completed, calculate the water level parameter again; Judge whether the difference between the water level parameter calculated after the water inlet is completed and the water level parameter calculated after the drainage is completed is greater than or equal to the second set difference; If so, it is determined that the drainage is successful; If not, it is determined that the drainage fails.

6. The dishwasher control method according to claim 1, characterized in that: Said calculating the water level parameter and determining whether there is a drainage failure according to the calculated water level parameter specifically includes: After the washing and before the drainage, calculate the water level parameter once; After the drainage is completed, calculate the water level parameter again; Judge whether the difference between the water level parameter calculated before the drainage and the water level parameter calculated after the drainage is completed is greater than or equal to the second set difference; If so, it is determined that the drainage is successful; Otherwise, it is determined that the drainage fails.

7. The dishwasher control method according to claim 1, characterized in that: The calculation of the water level parameter and the determination of whether the drainage fails based on the calculated water level parameter specifically include: After the water inlet is completed and before the drainage starts, the water level parameter is calculated every third set time period T3, and after continuously calculating the water level parameter m times, the average value of the m water level parameters is calculated; where T3 ≥ n*T. After the drainage is completed, the water level parameter is calculated once. It is determined whether the difference between the average value of the water level parameters calculated before drainage and the water level parameter calculated after the drainage is completed is greater than or equal to the second set difference. If so, it is determined that the drainage is successful. Otherwise, it is determined that the drainage fails.

8. The dishwasher control method according to any one of claims 1 to 7, characterized in that: The corresponding relationship between the acquisition time and the voltage is: the correspondence table of the motor current acquisition time and the voltage within the AC cycle.

9. The dishwasher control method according to any one of claims 1 to 7, characterized in that: The corresponding relationship between the acquisition time and the voltage is: U = Um*sin(2πft), where U is the voltage, Um is the peak value of the sinusoidal AC voltage, f is the frequency of the alternating current, and t is the motor current acquisition time within the AC cycle; t ∈ [0, T].

10. A dishwasher, characterized in that: The dishwasher control method according to any one of claims 1 to 9 is adopted.

Citation Information

Patent Citations

  • Detection drainage control method and system, storage medium, device and dish washing machine

    CN114209260A

  • Water inflow control method for washing machine and washing machine

    WO2022089112A1