Water level control method, device, medium, and equipment of washing machine, and washing machine
By monitoring the operating status of the washing machine motor and comparing the actual and theoretical number of rotations, the water level is adjusted to solve the problem of low water level, thereby improving the washing effect and user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HEFEI MIDEA WASHING MACHINE
- Filing Date
- 2022-09-30
- Publication Date
- 2026-06-09
AI Technical Summary
The water level selection method of existing washing machines may become inaccurate after several years of use, resulting in inappropriate water level selection during washing and affecting the washing effect.
By obtaining the actual number of motor rotations within a preset time during the washing process, the theoretical number of rotations is determined based on the preset time, and the amount of water to be added is determined by comparing the difference between the actual number of rotations and the theoretical number of rotations to adjust the water level.
It effectively solves the problem of poor cleaning effect caused by low water level, and improves the user experience.
Smart Images

Figure CN117845518B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of washing machine technology, and in particular to a water level control method, device, medium, equipment, and washing machine for a washing machine. Background Technology
[0002] In related technologies, washing machines generally offer two methods for selecting the water level: manual selection and automatic selection based on the weight of the clothes using the machine's fuzzy weighing function. After several years of use, the fuzzy weighing function may become inaccurate, leading to inappropriate water level selection during washing. If the selected water level is lower than the actual required level, the pulsator will not operate smoothly, resulting in uneven agitation of the clothes within the drum and affecting the washing effect. Summary of the Invention
[0003] In order to solve the above-mentioned technical problems, or at least partially solve the above-mentioned technical problems, this disclosure provides a water level control method, device, medium, equipment and washing machine for a washing machine.
[0004] This disclosure provides a water level control method for a washing machine, the method comprising:
[0005] During the washing process, the actual number of motor rotations within a preset time period is obtained;
[0006] Based on the preset duration, the theoretical number of rotations is determined;
[0007] The amount of water to be replenished is determined based on the comparison between the actual number of operating cycles and the theoretical number of operating cycles.
[0008] Optionally, before obtaining the actual number of motor revolutions within the preset time period, the method further includes:
[0009] Obtain the theoretical time corresponding to a single forward and reverse rotation of the motor;
[0010] Get the preset number of forward and reverse rotations;
[0011] The preset duration is determined based on the theoretical time corresponding to the single forward and reverse rotation and the preset number of forward and reverse rotations;
[0012] Wherein, the theoretical number of rotations is the sum of the number of rotations corresponding to the preset number of forward and reverse rotations; a single forward and reverse rotation includes a continuous single forward rotation and a single reverse rotation, and the preset number of forward and reverse rotations is greater than or equal to one.
[0013] Optionally, determining the theoretical number of revolutions based on the preset duration includes:
[0014] Based on the preset duration, extract the sum of the number of revolutions corresponding to the preset number of forward and reverse rotations;
[0015] The theoretical number of rotations is equal to the sum of the number of rotations corresponding to the preset number of forward and reverse rotations.
[0016] Optionally, determining the water replenishment amount based on the comparison between the actual number of operating cycles and the theoretical number of operating cycles includes:
[0017] Based on the theoretical number of rotations, at least one preset rotation threshold is determined;
[0018] The amount of water to be replenished is determined based on the comparison between the actual number of rotations and the at least one preset rotation threshold.
[0019] Optionally, the at least one preset lap count threshold includes a first preset lap count threshold, a second preset lap count threshold, and a third preset lap count threshold;
[0020] The determination of water replenishment based on the comparison result between the actual number of operating cycles and the at least one preset cycle threshold includes:
[0021] If the actual number of operating revolutions is less than the first preset number of revolutions threshold, then the water replenishment amount is determined to be the first water replenishment amount;
[0022] If the actual number of operating revolutions is greater than or equal to the first preset revolutions threshold and less than the second preset revolutions threshold, then the water replenishment amount is determined to be the second water replenishment amount.
[0023] If the actual number of operating revolutions is greater than or equal to the second preset revolutions threshold and less than the third preset revolutions threshold, then the water replenishment amount is determined to be the third water replenishment amount.
[0024] If the actual number of operating revolutions is greater than or equal to the third preset revolutions threshold, then the water replenishment amount is determined to be the fourth water replenishment amount;
[0025] The relationship between the first preset lap count threshold, the second preset lap count threshold, and the third preset lap count threshold is: first preset lap count threshold < second preset lap count threshold < third preset lap count threshold; the relationship between the first water replenishment amount, the second water replenishment amount, the third water replenishment amount, and the fourth water replenishment amount is: first water replenishment amount > second water replenishment amount > third water replenishment amount > fourth water replenishment amount.
[0026] Optionally, the method further includes:
[0027] Get the current water level.
[0028] Based on the current water level and the amount of water replenished, determine the target water level.
[0029] The target water level setting is used to adjust the water level in the washing machine.
[0030] Optionally, the method further includes:
[0031] When the actual number of rotations is less than the first preset threshold, if the current water level is the highest water level, an alarm command is generated; the alarm command is used to control the motor to stop running and to display alarm information.
[0032] This disclosure also provides a water level control device for a washing machine, comprising:
[0033] The first acquisition module is used to acquire the actual number of motor rotations within a preset time during the washing process;
[0034] The first determining module is used to determine the theoretical number of rotations based on the preset duration;
[0035] The second determining module is used to determine the amount of water to be replenished based on the comparison between the actual number of operating cycles and the theoretical number of operating cycles.
[0036] This disclosure also provides a computer-readable storage medium having a computer program stored thereon, the computer program being executed by a processor to implement the steps of any of the above methods.
[0037] This disclosure also provides an electronic device, including: a memory and a processor;
[0038] The memory stores executable programs or instructions;
[0039] The processor executes the program or instructions to implement the steps of any of the above methods.
[0040] This disclosure also provides a washing machine, including the aforementioned electronic device.
[0041] The technical solution provided in this disclosure has the following advantages compared with the prior art:
[0042] This disclosure provides a water level control method, device, medium, equipment, and washing machine. The method includes: during the washing process, acquiring the actual number of motor rotations within a preset time period; determining the theoretical number of rotations based on the preset time period; and determining the water replenishment amount based on a comparison between the actual and theoretical rotations. Thus, by monitoring the motor's operating status and adjusting water replenishment in a timely manner based on the comparison between the actual and theoretical rotations within the preset time period, the problem of low water level is effectively solved, addressing issues such as poor washing performance caused by low water levels and improving the user experience. Attached Figure Description
[0043] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0044] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0045] Figure 1 A schematic flowchart illustrating a water level control method for a washing machine provided in an embodiment of this disclosure;
[0046] Figure 2 A flowchart illustrating the determination of a preset duration provided in an embodiment of this disclosure;
[0047] Figure 3 for Figure 1 A detailed flowchart of S102 in the water level control method of the washing machine is shown.
[0048] Figure 4 for Figure 1 A detailed flowchart of S103 in the water level control method of the washing machine is shown.
[0049] Figure 5 This is a detailed flowchart illustrating the process of "determining the amount of water replenishment based on a comparison between the actual number of operating cycles and at least one preset cycle threshold."
[0050] Figure 6 A schematic flowchart illustrating another water level control method for a washing machine provided in an embodiment of this disclosure;
[0051] Figure 7 A schematic flowchart illustrating another water level control method for a washing machine provided in this embodiment of the present disclosure;
[0052] Figure 8 This is a schematic diagram of the structure of a water level control device for a washing machine provided in an embodiment of the present disclosure;
[0053] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation
[0054] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.
[0055] Numerous specific details are set forth in the following description in order to provide a full understanding of this disclosure, but this disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some, and not all, of the embodiments of this disclosure.
[0056] To address the problems raised in the background section, this disclosure provides a water level control method, apparatus, medium, device, and washing machine for a washing machine. The method includes: during the washing process, acquiring the actual number of motor rotations within a preset time period; determining the theoretical number of rotations based on the preset time period; and determining the water replenishment amount based on a comparison between the actual and theoretical rotations. Therefore, by monitoring the motor's operating status and adjusting water replenishment in a timely manner based on the comparison between the actual and theoretical rotations within the preset time period, the problem of low water level is effectively solved, addressing issues such as poor washing performance caused by low water levels and improving the user experience.
[0057] The following is in conjunction with the appendix Figures 1-9 The present disclosure provides an exemplary description of the water level control method, apparatus, medium, equipment, and washing machine provided in the embodiments of this disclosure.
[0058] Figure 1 This is a schematic flowchart illustrating a water level control method for a washing machine according to an embodiment of this disclosure. (Refer to...) Figure 1 The method includes:
[0059] S101. During the washing process, obtain the actual number of motor rotations within a preset time period.
[0060] The motor alternates between forward and reverse rotation during operation, and a single forward and reverse rotation includes a continuous single forward rotation and a single reverse rotation. The motor control program sets the theoretical time corresponding to a single forward and reverse rotation. The preset duration is obtained by calculating the product of the theoretical time corresponding to a single forward and reverse rotation and the preset number of forward and reverse rotations, or by statistically analyzing the time taken for the motor to perform a preset number of forward and reverse rotations.
[0061] In this embodiment, a Hall effect detection circuit is used to detect the motor's operating status. Each time the motor rotates one revolution, the actual number of revolutions is accumulated, thus obtaining the actual number of revolutions within a preset time period. Alternatively, the actual number of revolutions within a single forward / reverse rotation period can be obtained, and the sum of these actual revolutions across multiple single forward / reverse rotation periods can be calculated to obtain the actual number of revolutions within the preset time period. For example, the preset time period includes the theoretical time corresponding to 10 single forward / reverse rotations, meaning the motor will perform 10 forward / reverse rotations within the preset time period. Using the Hall effect detection circuit to detect the actual number of revolutions b1, b2...b10 for each forward / reverse rotation, the actual number of revolutions B within the preset time period is calculated as b1 + b2 + ... + b10.
[0062] S102. Determine the theoretical number of rotations based on the preset duration.
[0063] The motor control program also sets the theoretical speed of the motor. The theoretical number of revolutions the motor will make within the preset time period can be obtained by multiplying the theoretical speed by the preset time period. For example, if the theoretical speed of the motor is R and the preset time period is t, then the theoretical number of revolutions A = R × t. The theoretical speed of the motor can be set according to motor performance, water level, and the washing machine's operating mode. For example, the theoretical speed of a high-power motor is greater than that of a low-power motor, the theoretical speed corresponding to a high water level is less than that corresponding to a low water level, and the theoretical speed in gentle mode is less than that in fast mode.
[0064] In other embodiments, the operating time corresponding to multiple single forward and reverse rotations of the motor is statistically analyzed. Taking 10 as an example, the operating time of the 10 single forward and reverse rotations is t1, t2, ..., t10. The theoretical number of rotations of the motor in each single forward and reverse rotation is calculated according to the formula A = k × t. Then, the theoretical number of rotations of the motor in the preset time period is A = a1 + a2 + ... + a10.
[0065] S103. Based on the comparison between the actual number of operating cycles and the theoretical number of operating cycles, determine the amount of water to be replenished.
[0066] The theoretical number of revolutions is the number of revolutions the motor makes under ideal conditions, which is calculated. The actual number of revolutions is obtained by actual detection through the Hall effect detection circuit, and the actual number of revolutions is less than the theoretical number of revolutions.
[0067] In this step, the degree of motor stall is determined by comparing the difference between the actual number of rotations and the theoretical number of rotations, and thus the amount of water to be added can be determined. The greater the difference between the actual number of rotations and the theoretical number of rotations, the more severe the motor stall, and the greater the amount of water to be added.
[0068] Exemplarily, the difference between the two is represented by the ratio of the actual number of revolutions to the theoretical number of revolutions. When the ratio of the actual number of revolutions to the theoretical number of revolutions is less than 20%, that is, B < A × 20%, the motor is severely blocked at this time, the current water level is too low, and the required water replenishment volume is large. For example, adjust the current water level gear to the highest water level gear; when the ratio of the actual number of revolutions to the theoretical number of revolutions is greater than 90%, that is, B ≥ A × 90%, the motor is not blocked at this time, the current water level is appropriate, and no water replenishment is required (that is, the water replenishment volume is zero); when the ratio of the actual number of revolutions to the theoretical number of revolutions is between 20% and 90%, the degree of motor blockage is between severe blockage and no blockage, and the water replenishment volume is also between the water replenishment volumes corresponding to these two situations. For example, when the ratio of the actual number of revolutions to the theoretical number of revolutions is greater than or equal to 20% and less than 70%, that is, A × 20% ≤ B < A × 70%, the motor is blocked at this time, the current water level is on the low side, water replenishment is required, and the water replenishment volume is less than the water replenishment volume corresponding to the ratio less than 20%; when the ratio of the actual number of revolutions to the theoretical number of revolutions is greater than or equal to 70% and less than 90%, that is, A × 70% ≤ B < A × 90%, the motor is blocked at this time, the current water level is slightly low, water replenishment is required, and the water replenishment volume is less than the water replenishment volume corresponding to the ratio less than 70%.
[0069] It should be noted that in this embodiment, only exemplarily shows that the difference between the two is represented by the ratio of the actual number of revolutions to the theoretical number of revolutions, and the degree of motor blockage and the water replenishment volume are divided into four gears by the ratios of 20%, 70%, and 90%, but it does not constitute a limitation on a water level control method for a washing machine provided by the embodiments of the present disclosure. In other embodiments, other parameters known to those skilled in the art can also be used to represent the difference between the actual number of revolutions and the theoretical number of revolutions, such as the difference value; the number of gears of the motor blockage degree and the water replenishment volume and the parameter values for dividing the gears can be set according to the requirements of the water level control method of the washing machine, which is not limited here.
[0070] The embodiments of the present disclosure provide a water level control method for a washing machine. The method includes: during the washing process, obtaining the actual number of revolutions of the motor within a preset time period; determining the theoretical number of revolutions based on the preset time period; and determining the water replenishment volume based on the comparison result between the actual number of revolutions and the theoretical number of revolutions. Thus, by monitoring the operating state of the motor and according to the comparison result between the actual number of revolutions and the theoretical number of revolutions of the motor within the preset time period, the water replenishment is corrected in a timely manner for the low water level problem, effectively solving problems such as poor washing effect caused by the low water level and improving the user experience.
[0071] In one embodiment, as Figure 2 shown, it is a schematic flowchart of a process for determining the preset time period provided by the embodiments of the present disclosure. Before "obtaining the actual number of revolutions of the motor within the preset time period", the method further includes:
[0072] S201. Obtain the theoretical time corresponding to a single forward and reverse rotation of the motor.
[0073] The single forward and reverse rotation includes continuous single forward rotation and single reverse rotation. The theoretical time corresponding to a single forward and reverse rotation of the motor includes the theoretical time corresponding to a single forward rotation and the theoretical time corresponding to a single reverse rotation. The theoretical time corresponding to a single forward and reverse rotation of the motor can be directly obtained from the motor control program. In the motor control program, the theoretical time corresponding to a single forward and reverse rotation is set differently for different water level settings and working modes, and can be preset by R&D designers.
[0074] S202, Obtain the preset number of forward and reverse rotations.
[0075] The preset number of forward and reverse rotations is greater than or equal to one. A preset number of forward and reverse rotations greater than one allows for a correspondingly longer preset time, resulting in more detection data and helping to eliminate detection errors.
[0076] S203. Determine the preset duration based on the theoretical time corresponding to a single forward and reverse rotation and the preset number of forward and reverse rotations.
[0077] In this step, the preset duration is obtained by multiplying the theoretical time corresponding to a single forward and reverse rotation by the preset number of forward and reverse rotations. In other embodiments, the preset duration can also be obtained by accumulating the time taken for the motor to perform a preset number of forward and reverse rotations.
[0078] Within the theoretical time corresponding to a single forward and reverse rotation, the motor operates at the theoretical speed. By calculating the theoretical speed and the theoretical time corresponding to a single forward and reverse rotation, the theoretical number of rotations corresponding to a single forward and reverse rotation is obtained. The theoretical number of rotations corresponding to a preset number of single forward and reverse rotations is summed to obtain the theoretical number of rotations of the motor within a preset time period. That is, the theoretical number of rotations is the sum of the number of rotations corresponding to the preset number of forward and reverse rotations.
[0079] In one embodiment, such as Figure 3 As shown, Figure 1 A detailed flowchart of step S102 in the water level control method of the washing machine is shown. (Refer to...) Figure 3 S102 "Determining the theoretical number of revolutions based on a preset duration" includes:
[0080] S301. Based on the preset duration, extract the sum of the number of revolutions corresponding to the preset number of forward and reverse rotations.
[0081] The preset duration is calculated based on the theoretical time corresponding to a single forward and reverse rotation and the preset number of forward and reverse rotations. The preset number of forward and reverse rotations used in calculating the preset duration is extracted. Based on the preset number of forward and reverse rotations and the theoretical number of rotations corresponding to a single forward and reverse rotation of the motor, the sum of the number of rotations corresponding to the preset number of forward and reverse rotations is calculated.
[0082] S302. The theoretical number of rotations is equal to the sum of the number of rotations corresponding to the preset number of forward and reverse rotations.
[0083] In this step, the sum of the preset forward and reverse rotation times obtained in S301 is determined to be equal to the theoretical number of rotations of the motor within a preset time.
[0084] In one embodiment, such as Figure 4 As shown, Figure 1 A detailed flowchart of step S103 in the water level control method of the washing machine is shown. (Refer to...) Figure 4 "Determining the water replenishment amount based on the comparison between the actual number of operating cycles and the theoretical number of operating cycles" includes:
[0085] S401. Based on the theoretical number of rotations, determine at least one preset rotation threshold.
[0086] Among them, the number of preset revolution thresholds is greater than or equal to one; for example, if the number of preset revolution thresholds is one, the motor stall degree and water replenishment amount are divided into two levels; if the number of preset revolution thresholds is three, the motor stall degree and water replenishment amount are divided into four levels.
[0087] Specifically, the theoretical number of revolutions is multiplied by a coefficient less than 1 to obtain the corresponding preset revolution threshold. For example, if there are three preset revolution thresholds, the theoretical number of revolutions A is multiplied by the coefficient k1 to obtain the first preset revolution threshold A1, the theoretical number of revolutions A is multiplied by the coefficient k2 to obtain the first preset revolution threshold A2, and the theoretical number of revolutions A is multiplied by the coefficient k3 to obtain the first preset revolution threshold A3. The coefficients k1, k2, and k3 are respectively 20%, 70%, and 90%.
[0088] It should be noted that the coefficients k1, k2 and k3 can be flexibly set according to the requirements of the washing machine's water level control method, and are not limited here.
[0089] S402. Determine the water replenishment amount based on the comparison between the actual number of operating cycles and at least one preset cycle threshold.
[0090] Specifically, the actual number of rotations is compared sequentially with at least one preset rotation threshold to determine the range of the actual number of rotations, thereby determining the corresponding water replenishment amount.
[0091] For example, at least one preset lap count threshold includes a first preset lap count threshold, a second preset lap count threshold, and a third preset lap count threshold. The relationship between the first preset lap count threshold, the second preset lap count threshold, and the third preset lap count threshold is as follows: first preset lap count threshold < second preset lap count threshold < third preset lap count threshold. If the actual number of laps is less than the first preset lap count threshold, the water replenishment amount is determined to be the first water replenishment amount, which is the largest. If the actual number of laps is between the first preset lap count threshold and the second preset lap count threshold, the water replenishment amount is determined to be the second water replenishment amount, which is the second largest. If the actual number of laps is between the second preset lap count threshold and the third preset lap count threshold, the water replenishment amount is determined to be the third water replenishment amount. If the actual number of laps is greater than or equal to the third preset lap count threshold, the water replenishment amount is determined to be the fourth water replenishment amount, which is the smallest.
[0092] In one embodiment, such as Figure 5 The diagram shown is a detailed flowchart illustrating the process of "determining the water replenishment amount based on a comparison between the actual number of operating cycles and at least one preset cycle threshold." (Refer to...) Figure 5 At least one preset lap count threshold includes a first preset lap count threshold, a second preset lap count threshold, and a third preset lap count threshold; wherein, the first preset lap count threshold, the second preset lap count threshold, and the third preset lap count threshold are in the following order: first preset lap count threshold < second preset lap count threshold < third preset lap count threshold; "Determining the water replenishment amount based on the comparison result between the actual number of laps and the at least one preset lap count threshold" includes:
[0093] S502. Whether the actual number of rotations is less than the first preset rotation threshold.
[0094] Specifically, the actual number of rotations is compared with the first preset rotation threshold. If the actual number of rotations is less than the first preset rotation threshold, the result is yes, indicating that the motor is severely stalled and the current water level is low compared to the appropriate water level required by the clothes in the tub. Water needs to be added, and the amount of water to be added is determined to be the first amount of water to be added. If the actual number of rotations is greater than or equal to the first preset rotation threshold, the result is no, and S503 is executed.
[0095] S503, whether the actual number of rotations is less than the second preset rotation threshold.
[0096] Specifically, the actual number of rotations is compared with the second preset rotation threshold. If the actual number of rotations is less than the second preset rotation threshold, the result is yes, indicating that the motor is stalled and the current water level is too low compared to the appropriate water level required by the clothes in the tub, so water needs to be added. The amount of water to be added is then determined to be the second amount of water to be added. If the actual number of rotations is greater than or equal to the second preset rotation threshold, the result is no, and S504 is executed.
[0097] S504. Whether the actual number of rotations is less than the third preset rotation threshold.
[0098] Specifically, the actual number of rotations is compared with the second preset rotation threshold. If the actual number of rotations is less than the third preset rotation threshold, the result is "yes," indicating that the motor is slightly stalled and the current water level is slightly low compared to the appropriate water level required for the clothes in the bucket, so water needs to be added. The water addition amount is then determined to be the third water addition amount. If the actual number of rotations is greater than or equal to the third preset rotation threshold, it indicates that the motor is not stalled and the current water level is appropriate for the clothes in the bucket, so water does not need to be added. The water addition amount is then determined to be the fourth water addition amount, which is zero.
[0099] The order of the first, second, third, and fourth water replenishment volumes is as follows: first water replenishment volume > second water replenishment volume > third water replenishment volume > fourth water replenishment volume.
[0100] It should be noted that the methods for determining the first preset lap count threshold, the second preset lap count threshold, and the third preset lap count threshold in S501 can be found in the explanation in S401, and will not be repeated here.
[0101] In this embodiment, after determining the amount of water to be replenished, a water level control command is generated based on the amount of water to replenish the water. The water level control command is used to control the opening and closing of the water inlet valve to perform the water replenishment operation, so as to reach the water level required by the clothes in the drum. The specific water replenishment operation includes: setting a flow meter at the water inlet valve, the flow meter collecting the water inlet flow rate in real time, determining the water replenishment time according to the amount of water to replenish and the water inlet flow rate, controlling the water inlet valve to open for the water replenishment time and then closing it to stop water replenishment; or, setting a water level sensor on the inner drum of the washing machine, the water level sensor detecting the water level in the inner drum in real time, determining the water level change value corresponding to the amount of water to replenish and the inner drum diameter, controlling the water inlet valve to open to start water replenishment, and controlling the water inlet valve to close when the water level in the drum rises to the water level change value corresponding to the amount of water replenishment, stopping water replenishment.
[0102] It should be noted that this embodiment only exemplifies comparing the actual number of rotations sequentially with a first preset rotation threshold, a second preset rotation threshold, and a third preset rotation threshold, with the three preset rotation thresholds increasing sequentially. The judgment conditions are: whether the actual number of rotations is less than the first preset rotation threshold, whether the actual number of rotations is less than the second preset rotation threshold, and whether the actual number of rotations is less than the third preset rotation threshold. If the previous judgment condition is not met, the next judgment condition is executed. However, this does not constitute a limitation on the water level control method for washing machines provided in this embodiment. In other embodiments, the comparison can also be performed in the order of decreasing preset rotation thresholds, and the judgment conditions can also be set as: whether the actual number of rotations is greater than the third preset rotation threshold, whether the actual number of rotations is greater than the second preset rotation threshold, and whether the actual number of rotations is greater than the first preset rotation threshold. If the previous condition is not met, the next condition is executed. This is not limited here.
[0103] In one embodiment, such as Figure 6 The diagram shown is a flowchart illustrating another water level control method for a washing machine provided in this embodiment of the present disclosure. (Refer to...) Figure 6 The method also includes:
[0104] S604. Obtain the current water level.
[0105] The current water level setting can be obtained in several ways: before the wash begins, the washing machine's built-in fuzzy weighing function detects the weight of the clothes and automatically selects a water level setting that matches the weight of the clothes; or the user manually selects a water level setting before the wash begins; or the water level setting is determined based on the water level detected in real time by a water level sensor.
[0106] S605. Determine the target water level based on the current water level and the amount of water replenished.
[0107] The target water level setting is used to adjust the water level in the washing machine.
[0108] In this step, the number of water level increments is determined based on the amount of water added. Then, based on the current water level increment, the target water level increment after adding water can be determined. There is a positive correlation between the amount of water added and the number of water level increments; the larger the amount of water added, the larger the corresponding water level increment. For example, if the first water addition > the second water addition > the third water addition > the fourth water addition, then the corresponding water level increments can be set to 3, 2, 1, and 0, respectively. If the current water level is 3, the target water level increments for the above four water addition amounts are 6, 5, 4, and 3, respectively. After determining the target water level, the inlet valve is opened. Once the water level in the washing machine reaches the level corresponding to the target water level, the inlet valve is closed, and the water addition operation is complete.
[0109] It is understood that this embodiment only exemplifies one correspondence between the water replenishment amount and the number of water level increase settings, but does not constitute a limitation on the water level control method of the washing machine provided in this disclosure. In other embodiments, the water replenishment amount and the number of water level increase settings can be flexibly set according to the needs of the washing machine's water level control method. For example, when the water replenishment amount is the first water replenishment amount (maximum), the target water level setting is determined to be the highest water level setting, which is not limited here.
[0110] In one embodiment, such as Figure 7 The diagram shown is a flowchart illustrating another water level control method for a washing machine provided in this embodiment. (Refer to...) Figure 7 The method also includes:
[0111] S706. Is the current water level the highest water level?
[0112] Specifically, when the actual number of rotations is less than 20% of the theoretical number of rotations (the first preset rotation threshold), i.e., the judgment result of S705 is yes, it is further determined whether the current water level is the highest water level. If the current water level is the highest water level, the judgment result of S706 is yes, and then S708 is executed to generate an alarm command. The alarm command is used to control the motor to stop running and to display an alarm message. If the current water level is not the highest water level, the judgment result of S706 is no, and water is replenished to the highest water level.
[0113] For example, such as Figure 7 As shown, the method includes:
[0114] S701, Begin.
[0115] Specifically, the washing machine's built-in fuzzy weighing function detects the weight of the clothes and automatically selects the appropriate water level; or the user can manually select the water level.
[0116] S702, Water inlet.
[0117] Specifically, water is introduced according to the water level setting determined by S701.
[0118] S703, Washing.
[0119] Specifically, the washing program begins after the water has been introduced.
[0120] S704, Detect the actual number of revolutions of the motor.
[0121] Specifically, after entering the washing state, the motor starts agitating. The time of 10 forward and reverse rotations is accumulated, and the theoretical number of rotations (a1, a2, ..., a10) corresponding to a single forward and reverse rotation is calculated. Then, the theoretical number of rotations A = a1 + a2 + ... + a10 is calculated. The relationship between the theoretical number of rotations and the operating time for a single forward and reverse rotation is a = t × R, where a represents the theoretical number of rotations for a single forward and reverse rotation, t represents the time for a single forward and reverse rotation in seconds, and R is a constant; the value of the constant R varies depending on the motor.
[0122] During the motor's operating time, the actual number of motor rotations is detected by the Hall effect detection circuit. The actual number of rotations corresponding to 10 forward and reverse rotations is accumulated (b1, b2, ..., b10), and then the total number of rotations detected is calculated as B = b1 + b2 + ... + b10.
[0123] S705. Is the actual number of rotations less than 20% of the theoretical number of rotations?
[0124] In this step, the first preset number of rotation threshold is 20% of the theoretical number of rotations. If the actual number of rotations is less than 20% of the theoretical number of rotations, that is, B < A×20%, it indicates that the motor is severely blocked. The reason may be that there are too many clothes in the barrel or there is a mechanical failure. To rule out the situation where the motor is blocked due to mechanical failure, execute S706. If the actual number of rotations is greater than or equal to 20% of the theoretical number of rotations, that is, B≥A×20%, then execute S709.
[0125] S706. Whether the current water level gear is the highest water level gear.
[0126] Specifically, if the current water level gear is not the highest water level gear, it means that the reason for the motor blockage is that there are too many clothes in the barrel, and the current water level does not match the clothes in the barrel seriously, and water needs to be added. Then execute S707. If the current water level gear is already the highest water level gear, it means that the motor cannot operate normally due to mechanical failure, and there is a safety hazard. Then execute S708.
[0127] S707. Add water to the highest water level gear.
[0128] Specifically, there are more clothes in the barrel, and the difference between the appropriate water level matching the clothes weight and the current water level increases, and the water addition amount is large. To avoid repeated water addition, directly add water to the highest water level gear, and then continue to execute the washing program.
[0129] S708. Generate an alarm instruction.
[0130] In this step, the alarm instruction is used to control the motor to stop running and prompt an alarm message to remind the user to repair in time.
[0131] The way to prompt the alarm message can be all ways known to those skilled in the art. For example, the display panel displays a fault code, an alarm sound, and sends an error message to the user's mobile terminal, etc., which is not limited here.
[0132] S709. Whether the actual number of rotations is less than 70% of the theoretical number of rotations.
[0133] Specifically, when the actual number of rotations is greater than or equal to 20% of the theoretical number of rotations, continue to compare the actual number of rotations with the second preset number of rotation threshold (70% of the theoretical number of rotations); if the actual number of rotations is less than 70% of the theoretical number of rotations, that is, A×20%≤B < A×70%, it means that the motor is blocked and the water level is low. Execute S710. On the basis of the current water level gear, raise the water level gear by two gears, and then continue the washing program. If the actual number of rotations is greater than or equal to 70% of the theoretical number of rotations, that is, B≥A×70%, then execute S711.
[0134] S710. Raise the water level gear by two gears.
[0135] S711. Whether the actual number of operating cycles is less than 90% of the theoretical number of operating cycles.
[0136] Specifically, when the actual number of operating cycles is greater than or equal to 70% of the theoretical number of operating cycles, continue to compare the actual number of operating cycles with a third preset cycle threshold (90% of the theoretical number of operating cycles); if the actual number of operating cycles is less than 90% of the theoretical number of operating cycles, that is, A×70% ≤ B < A×90%, it indicates that the motor has a slight stall and the water level is slightly low. Execute S712. On the basis of the current water level gear, increase the water level gear by one level, and then continue the washing program. If the actual number of operating cycles is greater than or equal to 90% of the theoretical number of operating cycles, that is, B ≥ A×90%, then the motor has no stall, and execute S713.
[0137] S712. Increase the water level gear by one level.
[0138] S713. Whether the washing time has ended.
[0139] Specifically, if the washing time has ended and the determination result is yes, execute S714; if the washing time has not ended and the determination result is no, execute S703 and continue washing.
[0140] S714. End.
[0141] Based on the same inventive concept, the embodiments of the present disclosure further provide a water level control device for a washing machine. The device is used to execute the steps of any of the above water level control methods for a washing machine, and has corresponding beneficial effects. The same parts can be understood by referring to the above, and will not be elaborated in the following text.
[0142] In one embodiment, as Figure 8 shown, it is a schematic structural diagram of a water level control device for a washing machine provided by an embodiment of the present disclosure. Referring to Figure 8 , the device 800 includes: a first acquisition module 801, configured to acquire the actual number of operating cycles of the motor within a preset duration during the washing process; a first determination module 802, configured to determine the theoretical number of operating cycles based on the preset duration; a second determination module 803, configured to determine the water replenishment amount based on the comparison result between the actual number of operating cycles and the theoretical number of operating cycles.
[0143] In one embodiment, before acquiring the actual number of operating cycles of the motor within a preset duration, the first acquisition module is further configured to acquire the theoretical time corresponding to a single forward and reverse rotation of the motor; acquire the preset number of forward and reverse rotations; determine the preset duration based on the theoretical time corresponding to a single forward and reverse rotation and the preset number of forward and reverse rotations; wherein, the theoretical number of operating cycles is the sum of the number of cycles corresponding to the preset number of forward and reverse rotations; a single forward and reverse rotation includes consecutive single forward rotations and single reverse rotations, and the preset number of forward and reverse rotations is greater than or equal to one.
[0144] In one embodiment, the first determining module is used to determine the theoretical number of rotations based on a preset duration, including: extracting the sum of rotations corresponding to a preset number of forward and reverse rotations based on the preset duration; the theoretical number of rotations is equal to the sum of rotations corresponding to a preset number of forward and reverse rotations.
[0145] In one embodiment, the second determining module is used to determine the water replenishment amount based on the comparison result of the actual number of operating cycles and the theoretical number of operating cycles, including: determining at least one preset number of operating cycles threshold based on the theoretical number of operating cycles; and determining the water replenishment amount based on the comparison result of the actual number of operating cycles and at least one preset number of operating cycles threshold.
[0146] In one embodiment, at least one preset lap count threshold includes a first preset lap count threshold, a second preset lap count threshold, and a third preset lap count threshold; the second determining module is used to determine the water replenishment amount based on the comparison result between the actual number of laps and at least one preset lap count threshold, including: if the actual number of laps is less than the first preset lap count threshold, then the water replenishment amount is determined as the first water replenishment amount; if the actual number of laps is greater than or equal to the first preset lap count threshold and less than the second preset lap count threshold, then the water replenishment amount is determined as the second water replenishment amount; if the actual number of laps is greater than or equal to .... If the number of revolutions is set to a threshold and is less than the third preset revolutions threshold, then the water replenishment amount is determined as the third water replenishment amount; if the actual number of revolutions is greater than or equal to the third preset revolutions threshold, then the water replenishment amount is determined as the fourth water replenishment amount; wherein, the relationship between the first preset revolutions threshold, the second preset revolutions threshold, and the third preset revolutions threshold is: first preset revolutions threshold < second preset revolutions threshold < third preset revolutions threshold; the relationship between the first water replenishment amount, the second water replenishment amount, the third water replenishment amount, and the fourth water replenishment amount is: first water replenishment amount > second water replenishment amount > third water replenishment amount > fourth water replenishment amount.
[0147] In one embodiment, the device further includes: a second acquisition module, configured to acquire the current water level setting; determine a target water level setting based on the current water level setting and the amount of water replenished; the target water level setting is used to adjust the water level of the washing machine.
[0148] In one embodiment, the device further includes: an instruction generation module, used to generate an alarm instruction if the actual number of rotations is less than a first preset threshold number of rotations when the current water level is the highest water level; the alarm instruction is used to control the motor to stop running and to display alarm information.
[0149] This device can be implemented in software and / or hardware and can be integrated onto any processor or electronic device with computing power. For details not described in the device embodiments of this disclosure, please refer to the descriptions in any method embodiments of this disclosure.
[0150] Based on the above implementation methods, such as Figure 9 The diagram shown is a structural schematic of an electronic device provided in an embodiment of this disclosure. (Refer to...) Figure 9 The electronic device 900 includes a memory 901 and a processor 902; the memory 901 stores an executable program or instructions; the processor 902 runs the program or instructions to implement the steps of any of the above methods, and has corresponding beneficial effects, which will not be described again here to avoid repetition.
[0151] The processor 902 may be a central processing unit (CPU) or other form of processing unit with data processing and / or instruction execution capabilities, and may control other components in the computer to perform desired functions.
[0152] The memory 901 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 902 may execute the program instructions to implement the method steps of the various embodiments of this application described above and / or other desired functions.
[0153] In addition to the methods and apparatus described above, embodiments of this application may also be computer program products, which include computer program instructions that, when executed by a processor, cause the processor to perform the method steps of various embodiments of this application.
[0154] The computer program product can be written in any combination of one or more programming languages to perform the operations of the embodiments of the present invention. The programming languages include object-oriented programming languages such as Java and C++, as well as conventional procedural programming languages such as C or similar languages. The program code can be executed entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0155] Based on the above embodiments, this disclosure also provides a computer-readable storage medium storing a computer program or instructions thereon. When the computer program or instructions are run by the processor 802, the processor 802 executes the method steps of various embodiments of this disclosure to implement the steps of any of the above methods and have corresponding beneficial effects. To avoid repetition, these will not be repeated here.
[0156] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.
[0157] Computer-readable storage media may take the form of any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may, for example, include, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any combination thereof. More specific examples (a non-exhaustive list) of readable storage media include: electrical connections having one or more wires, portable disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0158] Based on the above embodiments, this disclosure also provides a washing machine, which includes the above-mentioned electronic device and has corresponding beneficial effects. To avoid repetition, these will not be repeated here.
[0159] In other embodiments, the washing machine may also include other components known to those skilled in the art, such as a control panel or a water level sensor, which are not limited herein.
[0160] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0161] The above description is merely a specific embodiment of this disclosure, enabling those skilled in the art to understand or implement it. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this disclosure. Therefore, this disclosure is not to be limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A water level control method for a washing machine, characterized in that, The method includes: During the washing process, the actual number of motor rotations within a preset time period is obtained; Based on the preset duration, the theoretical number of rotations is determined; Based on the comparison between the actual number of operating revolutions and the theoretical number of operating revolutions, the water replenishment amount is determined. The difference between the actual number of operating revolutions and the theoretical number of operating revolutions is positively correlated with the severity of motor stall, and the severity of motor stall is positively correlated with the water replenishment amount. Before obtaining the actual number of motor rotations within the preset time period, the method further includes: Obtain the theoretical time corresponding to a single forward and reverse rotation of the motor; Get the preset number of forward and reverse rotations; The preset duration is determined based on the theoretical time corresponding to the single forward and reverse rotation and the preset number of forward and reverse rotations; Wherein, the theoretical number of rotations is the sum of the number of rotations corresponding to the preset number of forward and reverse rotations; a single forward and reverse rotation includes a continuous single forward rotation and a single reverse rotation, and the preset number of forward and reverse rotations is greater than or equal to one.
2. The method according to claim 1, characterized in that, The determination of the theoretical number of revolutions based on the preset duration includes: Based on the preset duration, extract the sum of the number of revolutions corresponding to the preset number of forward and reverse rotations; The theoretical number of rotations is equal to the sum of the number of rotations corresponding to the preset number of forward and reverse rotations.
3. The method according to any one of claims 1-2, characterized in that, The determination of water replenishment based on the comparison between the actual number of operating cycles and the theoretical number of operating cycles includes: Based on the theoretical number of rotations, at least one preset rotation threshold is determined; The amount of water to be replenished is determined based on the comparison between the actual number of rotations and the at least one preset rotation threshold.
4. The method according to claim 3, characterized in that, The at least one preset lap count threshold includes a first preset lap count threshold, a second preset lap count threshold, and a third preset lap count threshold; The determination of water replenishment based on the comparison result between the actual number of operating cycles and the at least one preset cycle threshold includes: If the actual number of operating revolutions is less than the first preset number of revolutions threshold, then the water replenishment amount is determined to be the first water replenishment amount; If the actual number of operating revolutions is greater than or equal to the first preset revolutions threshold and less than the second preset revolutions threshold, then the water replenishment amount is determined to be the second water replenishment amount. If the actual number of operating revolutions is greater than or equal to the second preset revolutions threshold and less than the third preset revolutions threshold, then the water replenishment amount is determined to be the third water replenishment amount. If the actual number of operating revolutions is greater than or equal to the third preset revolutions threshold, then the water replenishment amount is determined to be the fourth water replenishment amount; The relationship between the first preset lap count threshold, the second preset lap count threshold, and the third preset lap count threshold is: first preset lap count threshold < second preset lap count threshold < third preset lap count threshold; the relationship between the first water replenishment amount, the second water replenishment amount, the third water replenishment amount, and the fourth water replenishment amount is: first water replenishment amount > second water replenishment amount > third water replenishment amount > fourth water replenishment amount.
5. The method according to claim 4, characterized in that, Also includes: Get the current water level. Based on the current water level and the amount of water replenished, determine the target water level. The target water level setting is used to adjust the water level in the washing machine.
6. The method according to claim 5, characterized in that, Also includes: When the actual number of operating revolutions is less than the first preset revolutions threshold, if the current water level is the highest water level, an alarm command is generated. The alarm command is used to control the motor to stop running and to display an alarm message.
7. A water level control device for a washing machine, characterized in that, include: The first acquisition module is used to acquire the actual number of motor rotations within a preset time during the washing process; The first determining module is used to determine the theoretical number of rotations based on the preset duration; The second determining module is used to determine the water replenishment amount based on the comparison result of the actual number of operating revolutions and the theoretical number of operating revolutions. The difference between the actual number of operating revolutions and the theoretical number of operating revolutions is positively correlated with the severity of motor stall, and the severity of motor stall is positively correlated with the water replenishment amount. The first acquisition module is further configured to: Before obtaining the actual number of motor rotations within the preset time period, obtain the theoretical time corresponding to a single forward and reverse rotation of the motor; Get the preset number of forward and reverse rotations; The preset duration is determined based on the theoretical time corresponding to the single forward and reverse rotation and the preset number of forward and reverse rotations; Wherein, the theoretical number of rotations is the sum of the number of rotations corresponding to the preset number of forward and reverse rotations; a single forward and reverse rotation includes a continuous single forward rotation and a single reverse rotation, and the preset number of forward and reverse rotations is greater than or equal to one.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, The computer program is executed by a processor to implement the steps of the method as described in any one of claims 1-6.
9. An electronic device, characterized in that, include: Memory and processor; The memory stores executable programs or instructions; The processor executes the program or instructions to implement the steps of the method as described in any one of claims 1-6.
10. A washing machine, characterized in that, include: The electronic device as described in claim 9.