A washing machine

By combining capacitive sensors, water level sensors, and motor operating parameters in the washing machine, the foam detection strategy was optimized, solving the problem of foam overflow and achieving fast and accurate foam detection and defoaming control.

CN123173373APending Publication Date: 2026-11-27HISENSE(SHANDONG)REFRIGERATOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510697281.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-27
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Current washing machines lack effective foam detection functions, which makes foam prone to overflow. Existing technology uses capacitive sensors to detect foam height, but the overflow problem still exists.

Method used

Capacitive sensors and water level sensors are installed in the washing machine to determine whether to execute the defoaming program based on the operating parameters and data at different stages. Combined with the motor's operating status, the foam detection strategy is optimized to improve accuracy and efficiency.

Benefits of technology

During the washing and rinsing stages, capacitive sensors quickly detect foam, reducing data processing volume; during the spin-drying stage, motor and water level sensors improve detection accuracy, reduce false alarms, and ensure that foam does not overflow.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123173373A_ABST
    Figure CN123173373A_ABST
Patent Text Reader

Abstract

The application discloses a washing machine, which comprises a capacitive sensor and a water level sensor. In the washing stage or the rinsing stage, a controller can determine whether to execute a defoaming program by using detection data output by the capacitive sensor, instead of using operation parameters of a motor and water level data of the water level sensor, so that detection time can be shortened, the defoaming program detection efficiency in the washing stage and the rinsing stage can be improved, the detection means of the capacitive sensor can be enabled, the detection means of the motor and the water level sensor can not be enabled, the data processing amount of the controller can be reduced, the processing efficiency can be improved, in the first dehydration stage and the second dehydration stage, the operation parameters of the motor and the water level data of the water level sensor are used to determine whether to execute the defoaming program, instead of using the detection data output by the capacitive sensor, so that the detection accuracy can be improved, the data processing amount of the controller can be reduced, and the processing efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to washing technology, including but not limited to a washing machine. Background Technology

[0002] Most washing machines on the market do not have a foam detection function. Users often put too much detergent or high-foaming detergent in when washing clothes, which can easily lead to excessive foam in the washing machine and cause foam overflow.

[0003] The relevant technology uses a capacitive sensor to detect whether the foam is at a preset height. When foam is detected at the preset height, the washing machine warns the customer or uses defoaming methods to eliminate some of the foam and prevent it from overflowing. However, in practice, foam overflow still occurs. Summary of the Invention

[0004] In view of this, the washing machine provided in this application embodiment can prevent foam overflow.

[0005] An embodiment of this application provides a washing machine, comprising:

[0006] Box;

[0007] An outer cylinder is disposed inside the box, and a water-holding cavity is formed inside the outer cylinder;

[0008] An inner cylinder is rotatably disposed within the water-holding cavity, and a washing chamber is formed within the inner cylinder;

[0009] An electric motor is used to drive the inner cylinder to rotate;

[0010] An overflow pipe having an overflow inlet connected to the water-holding cavity, the overflow pipe being used to discharge overflow water;

[0011] A capacitive sensor is disposed at a target position on the side wall of the outer cylinder. The distance between the target position and the overflow inlet is less than or equal to a preset threshold. The capacitive sensor is used to output detection data. Different detection data correspond to different foam states, including the presence or absence of foam.

[0012] A water level sensor is used to output water level data.

[0013] The controller is used to control the operating state and operating parameters of the motor. The operating state includes an on state or an off state, and the operating parameters include the rotation speed, so that the washing machine operates in a target stage. The target stage includes a washing stage, a first spin-drying stage, a rinsing stage, and a second spin-drying stage. The first spin-drying stage operates between the washing stage and the rinsing stage, and the second spin-drying stage operates after the rinsing stage.

[0014] The controller is also configured to:

[0015] When the washing machine is running in the washing stage, the detection data output by the capacitive sensor, the operating parameters of the motor, and the water level data of the water level sensor are obtained respectively. Based on the detection data, it is determined whether to execute the defoaming program. The operating parameters include current, torque, and power. The operating parameters of the motor and the water level data of the water level sensor are not used to determine whether to execute the defoaming program.

[0016] When the washing machine is running in the first spin-drying stage, the detection data output by the capacitive sensor, the operating parameters of the motor, and the water level data of the water level sensor are obtained respectively. Based on the operating parameters and the water level data, it is determined whether to execute the defoaming program. The detection data is not used to determine whether to execute the defoaming program.

[0017] When the washing machine is running in the rinsing stage, the detection data output by the capacitive sensor, the operating parameters of the motor, and the water level data of the water level sensor are obtained respectively, and it is determined whether to execute the defoaming program based on the detection data. The operating parameters of the motor and the water level data of the water level sensor are not used to determine whether to execute the defoaming program.

[0018] When the washing machine is running in the second spin-drying stage, the detection data output by the capacitive sensor, the operating parameters of the motor, and the water level data of the water level sensor are obtained respectively. Based on the operating parameters and the water level data, it is determined whether to execute the defoaming program. The detection data is not used to determine whether to execute the defoaming program.

[0019] In the aforementioned washing machine, because the capacitive sensor is located near the overflow inlet, the controller can determine whether foam exists at the overflow inlet at a single moment based on the detection data output by the capacitive sensor during the washing and rinsing stages. If foam is present at the overflow inlet, a defoaming program is executed. In contrast, motor and water level sensors require operating parameters and water level data at two different moments. Therefore, compared to the detection methods of motor and water level sensors, using capacitive sensors during the washing and rinsing stages can shorten the detection time and improve the foam detection efficiency during these stages. Furthermore, using capacitive sensors instead of motor and water level sensors during the washing and rinsing stages reduces the data processing load on the controller and improves processing efficiency.

[0020] In the first and second dehydration stages, the foam in the inner cylinder disperses as the cylinder rotates. At this time, capacitive sensors may detect the presence of foam at the overflow inlet, which can easily lead to false detections. In contrast, motor and water level sensors are not affected by the dispersion of foam during cylinder rotation. Therefore, compared to capacitive sensors, using motor and water level sensors in the first and second dehydration stages improves detection accuracy. Furthermore, using motor and water level sensors instead of capacitive sensors in the first and second dehydration stages reduces the data processing load on the controller, improving processing efficiency.

[0021] In one embodiment, the controller is configured to:

[0022] During the washing or rinsing stage, the detection data output by the capacitive sensor is received and invoked, but the operating parameters of the motor and the water level data of the water level sensor are not received.

[0023] During the first dehydration stage or the second dehydration stage, the operating parameters of the motor and the water level data of the water level sensor are received and invoked, but the detection data output by the capacitive sensor is not received.

[0024] Understandably, this controller can reduce its processing load by not receiving operating parameters of the motor and water level data from the water level sensor that are used in the foam detection process during the washing or rinsing stages, and by not receiving detection data output from the capacitive sensor that is used in the foam detection process during the first or second dehydration stages.

[0025] In one embodiment, the controller is configured to:

[0026] During the washing or rinsing stage, the system receives detection data output by the capacitive sensor, operating parameters of the motor, and water level data from the water level sensor, and uses the detection data output by the capacitive sensor without using the operating parameters of the motor or the water level data from the water level sensor.

[0027] During the first dehydration stage or the second dehydration stage, the detection data output by the capacitive sensor, the operating parameters of the motor, and the water level data of the water level sensor are received. The operating parameters of the motor and the water level data of the water level sensor are called up, but the detection data output by the capacitive sensor is not called up.

[0028] Understandably, during the washing or rinsing stage, the controller can simply receive but not access the operating parameters of the motor and the water level data from the water level sensor, which are not required for subsequent foam detection. Similarly, during the first or second spin-drying stage, the controller can simply receive but not access the detection data output by the capacitive sensor, which is not required for subsequent foam detection, thereby reducing the processing load on the controller.

[0029] In one embodiment, the controller is configured to:

[0030] During the washing or rinsing stage, the detection data output by the capacitive sensor is received and retrieved, and the operating parameters of the motor and the water level data of the water level sensor are received and deleted.

[0031] During the first dehydration stage or the second dehydration stage, the operating parameters of the motor and the water level data of the water level sensor are received and invoked, and the detection data output by the capacitive sensor is received and deleted.

[0032] Understandably, after receiving detection data, operating parameters, and water level data, the controller can delete data that is not used for foam detection. For example, during the washing or rinsing stage, it can delete the received motor operating parameters and water level data from the water level sensor. During the first or second spin-drying stage, it can delete the detection data output by the capacitive sensor. In this way, unnecessary signals can be saved from occupying storage space, thereby improving the utilization rate of storage space.

[0033] In one embodiment, the controller is configured to:

[0034] The detection data includes the capacitance value of the capacitive sensor, and the controller is configured to:

[0035] At the beginning of the target stage, the capacitive sensor is controlled to operate in order to obtain the current capacitance value of the capacitive sensor. The target stage includes a washing stage and a rinsing stage.

[0036] If the current capacitance value is greater than the preset capacitance threshold, the defoaming procedure is executed.

[0037] Understandably, controlling the capacitive sensor to operate at the beginning of the washing or rinsing stage allows the controller to collect data from the sensor at the start, covering the entire washing or rinsing stage with foam detection, thus improving foam detection accuracy and preventing missed detections.

[0038] Secondly, embodiments of this application provide a washing machine, which includes:

[0039] Box;

[0040] An outer cylinder is disposed inside the box, and a water-holding cavity is formed inside the outer cylinder;

[0041] An inner cylinder is rotatably disposed within the water-holding cavity, and a washing chamber is formed within the inner cylinder;

[0042] An electric motor is used to drive the inner cylinder to rotate;

[0043] An overflow pipe having an overflow inlet connected to the water-holding cavity, the overflow pipe being used to discharge overflow water;

[0044] At least two capacitive sensors are provided, which are symmetrical about the central axis of the outer cylinder. The detection surface of each capacitive sensor is positioned below the highest point of the overflow pipe. The capacitive sensors are used to output detection data. Different detection data correspond to different foam states, including the presence or absence of foam.

[0045] A controller is used to control the operating state and operating parameters of the motor, the operating state including an on state or an off state, and the operating parameters including the rotation speed, so that the washing machine operates in a target stage, the target stage including a washing stage and a spin-drying stage;

[0046] The controller is also configured to:

[0047] When the washing machine is operating in the spin-drying stage, the detection data of the at least two capacitive sensors are obtained;

[0048] If, based on the detection data from the at least two capacitive sensors, it is determined that foam exists within the detection area of ​​the at least two capacitive sensors, a defoaming procedure is executed.

[0049] In the aforementioned washing machine, during the spin-drying stage, the inner drum rotates under the drive of the motor, causing the foam in the inner drum to disperse as it rotates. If only a single capacitive sensor is installed, and the detection area of ​​the capacitive sensor is small, the irregular dispersion of the foam may lead to false detections of whether the foam content has reached the height of the overflow inlet. If the detection area of ​​the capacitive sensor is large, although the probability of false detection can be reduced, the cost of the capacitive sensor will also increase, which is not conducive to subsequent maintenance. In this embodiment, at least two capacitive sensors are used. The increased number of capacitive sensors provides technicians with more flexibility in setting the detection area of ​​the sensors. The at least two capacitive sensors are symmetrical about the central axis of the outer cylinder, and the detection surface of each capacitive sensor is positioned below the highest point of the overflow pipe. This allows for the expansion of the detection area of ​​the capacitive sensors while ensuring that the detection data of each sensor can reflect whether there is foam at the overflow inlet. Consequently, the controller can determine that a defoaming procedure needs to be executed when at least two capacitive sensors detect foam at the overflow inlet, thus improving the detection accuracy of the foam sensors during the dehydration stage. Furthermore, since the detection time of the foam sensors is shorter than that of the motor and water level sensors, the foam detection efficiency during the dehydration stage is also improved.

[0050] In one embodiment, the controller is configured to:

[0051] Based on the detection data of the at least two capacitive sensors at the same time, it is determined whether there is foam in the detection area of ​​the at least two capacitive sensors.

[0052] Understandably, by detecting whether the foam in the inner cylinder simultaneously touches at least two capacitive sensors, the system can detect whether a defoaming procedure needs to be executed during the dehydration stage. This simple control logic reduces the computational cost of the controller.

[0053] In one embodiment, the controller is configured to:

[0054] Based on the detection data of each capacitive sensor in the current detection cycle, it is determined whether there is foam in the detection area of ​​the at least two capacitive sensors.

[0055] Understandably, since the foam disperses under the drive of the motor, and there is a certain interval between the multiple landing points of the dispersed foam due to the rotation of the motor, by detecting the detection data of each sensor within one cycle, it is determined whether a defoaming program needs to be executed. This extends the detection time of the sensors, thereby reducing the detection error caused by the dispersion of foam under the drive of the motor during the dehydration process.

[0056] In one embodiment, the current detection period includes at least two moments, and the controller is configured to:

[0057] Obtain detection data of the target capacitive sensor at each time step, wherein the target capacitive sensor is any one of the at least two capacitive sensors;

[0058] If the number of times the detection data indicates the presence of foam reaches a preset threshold, it is determined that foam exists within the detection areas of the at least two capacitive sensors.

[0059] If the number of times when foam is detected based on the corresponding detection data is less than the preset threshold, the target area in the detection area of ​​the target capacitive sensor that is in contact with the foam is obtained. If the target area is greater than the preset area threshold, it is determined that foam exists in the detection areas of at least two capacitive sensors.

[0060] Understandably, since there are at least two moments within a single detection cycle, setting the controller to execute a defoaming procedure when it determines that the capacitive sensor detects foam at multiple moments can improve the detection accuracy of the capacitive sensor. When the controller determines that foam is detected only at a few moments, it further detects the target contact area between the capacitive sensor and the foam. This can prevent excessive foam from being concentrated in a certain area of ​​the inner cylinder and falling onto a small number of capacitive sensors due to the rotation of the inner cylinder. In this case, the controller may mistakenly determine that there is not excessive foam because the number of capacitive sensors detecting foam is small, thus improving the accuracy of foam detection.

[0061] In one embodiment, the controller is further configured to:

[0062] During the process of controlling the washing machine to execute the defoaming program and controlling the motor to rotate, the detection data of the at least two capacitive sensors are obtained;

[0063] If, based on the detection data from the at least two capacitive sensors, it is determined that there is no foam within the detection area of ​​the at least two capacitive sensors, the defoaming program is stopped, and the washing machine is controlled to operate in the spin-drying stage.

[0064] Understandably, when the washing machine is controlling the defoaming program and the motor is rotating, stopping the defoaming program when it is determined that there is no foam in the corresponding detection area can ensure that excess foam is completely eliminated and prevent foam from overflowing during the spin-drying stage. At the same time, when the controller detects that there is no foam, the defoaming program is stopped after a timer is set to avoid running the defoaming program for too long, which would result in an excessively long overall running time of the washing machine and improve the washing efficiency of the washing machine. Attached Figure Description

[0065] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with this application and, together with the specification, serve to explain the technical solutions of this application.

[0066] Figure 1 This is a schematic diagram of the structure of a washing machine provided in an embodiment of this application;

[0067] Figure 2 This is a schematic diagram of the structure of a washing machine provided in an embodiment of this application;

[0068] Figure 3 A system architecture diagram of a washing machine provided in an embodiment of this application;

[0069] Figure 4 A schematic flowchart of the defoaming control method provided in the embodiments of this application;

[0070] Figure 5 This is a schematic diagram of another washing machine provided in an embodiment of this application;

[0071] Figure 6 A schematic flowchart of the defoaming control method provided in the embodiments of this application;

[0072] Figure 7 This is a schematic flowchart of the defoaming control method provided in the embodiments of this application. Detailed Implementation

[0073] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the specific technical solutions of this application will be further described in detail below with reference to the accompanying drawings of the embodiments of this application. The following embodiments are used to illustrate this application, but are not intended to limit the scope of this application.

[0074] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.

[0075] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0076] It should be noted that the terms "first, second, third" used in the embodiments of this application are used to distinguish similar or different objects and do not represent a specific order of objects. It can be understood that "first, second, third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.

[0077] See Figures 1-2 The washing machine provided in this application embodiment may include:

[0078] The casing forms the overall appearance of the drum washing machine. The interior of the casing is hollow to create a storage space. This space is configured to house various components of the drum washing machine, such as the electrical circuitry, drive system, and drainage system. The casing can be rectangular for placement against a wall. Alternatively, it can be cylindrical to accommodate the circular components inside the drum washing machine.

[0079] For example, the enclosure includes a frame and an outer shell. The outer shell includes a front panel, a rear panel, a left side panel, a right side panel, and a top panel. The front panel is connected to the front of the frame, the rear panel is connected to the rear of the frame, the left side panel is connected to the left side of the frame, the right side panel is connected to the right side of the frame, and the top panel is connected to the top of the frame. The width direction of the enclosure is the arrangement direction of the left and right side panels, such as... Figure 2 The direction indicated by the x-arrow in the middle; the depth direction of the enclosure indicates the arrangement direction of the front panel and rear panel, such as... Figure 2 The direction indicated by the arrow y in the middle. Furthermore, the outer casing also includes a base plate, which is connected to the lower side of the frame, and the height direction of the casing is the same as the arrangement direction of the top and bottom plates.

[0080] The box contains:

[0081] The outer cylinder 100 has a water-holding cavity formed inside it, which is used to accommodate the inner cylinder and washing water described below. Exemplarily, the outer cylinder 100 can be hooked to the box body by a hanging spring.

[0082] The inner drum (not shown in the figure) is rotatably disposed in the water-holding cavity. A washing chamber is formed inside the inner drum to hold clothes. During the rotation of the inner drum relative to the outer drum 100, the clothes will be continuously rolled and tumbled on the inner wall of the inner drum as the inner drum rotates, thereby achieving the washing of the clothes.

[0083] An overflow pipe 200 has an overflow inlet connected to a water outlet 101 on the outer drum 100, thereby communicating with the water-holding chamber inside the outer drum 100. The overflow inlet is positioned higher than the axis of the outer drum 100. The overflow pipe 200 is used to discharge overflow water. Specifically, when the clothes handling device is continuously in a water-filled state, the water level in the outer drum 100 will continuously rise. When the water level reaches the overflow inlet, the washing water will enter the overflow pipe 200 and be discharged from the outer drum 100 via the overflow pipe 200. For example, the overflow pipe 200 can be connected to the drain pipe of the clothes handling device, which is connected to a floor drain. For example, the overflow pipe 200 also has an overflow outlet, which can be positioned higher than the overflow inlet.

[0084] Capacitive sensors 300 are all located on the side wall of the outer cylinder 100. The detection area of ​​the capacitive sensors 300 is set below the highest point of the overflow pipe 200 to prevent the capacitive sensors 300 from failing to detect foam when it has already overflowed from the overflow pipe 200. The capacitive sensors 300 are used to output detection data. Different detection data correspond to different foam states, including the presence or absence of foam.

[0085] In this embodiment, the overflow inlet of the overflow pipe 200 is connected to the water-containing cavity inside the outer cylinder 100. The overflow inlet and the detection area of ​​the capacitive sensor 300 are both positioned higher than the axis of the outer cylinder 100. That is, the overflow inlet and the detection area of ​​the capacitive sensor 300 are located on the upper side of the outer cylinder 100. Furthermore, the capacitive sensor 300 and the overflow inlet are located on the same side of the vertical plane containing the axis of the outer cylinder 100, and they are also located on the same side of the first reference plane. The first reference plane is perpendicular to the axis of the outer cylinder 100, and the center of the outer cylinder 100 along its own axial direction is located on the first reference plane. This allows the electric... The capacitive sensor 300 and the overflow inlet are located on the upper left part of the front side of the outer cylinder 100, or on the upper right part of the front side of the outer cylinder 100, or on the upper left part of the rear side of the outer cylinder 100, or on the upper right part of the rear side of the outer cylinder 100. This makes the capacitive sensor 300 and the overflow inlet relatively close to each other. The detection area of ​​the capacitive sensor 300 is set close to the overflow inlet. The foam distribution in this detection area tends to be consistent with the foam distribution at the overflow inlet, thereby improving the detection accuracy of the capacitive sensor 300. Therefore, using the signal of the capacitive sensor 300 based on this embodiment to eliminate some foam can prevent foam overflow.

[0086] In this embodiment, the capacitive sensor does not need to be in direct contact with the liquid being measured when detecting the liquid level. This avoids the chemical reaction between the capacitive sensor and the washing water, and the non-contact detection method does not cause mechanical wear, which can extend the service life of the capacitive sensor 300.

[0087] In some embodiments, the capacitive sensor described above may include a mounting bracket and an electrode plate. The mounting bracket 310 is connected to the outer cylinder 100, serving as the mounting base for the capacitive sensor 300. The mounting bracket 310 can be connected to the outer cylinder 100 by means of screws, snap-fit, adhesive, etc. The electrode plate 320 is disposed on the mounting bracket 310 and is in contact with the outer peripheral wall of the outer cylinder 100. The electrode plate 320 can generate capacitance to ground to detect foam in the outer cylinder 100. Exemplarily, the electrode plate 320 can be a metal plate, such as a copper plate, but this application does not limit this.

[0088] In some embodiments, the capacitive sensor 300 may have only one electrode plate 320, which interacts with the ground to generate a ground capacitance. When foam is located near the electrode plate 320, the ground capacitance changes. The controller can determine the presence of foam in the detection area by obtaining this capacitance value. Therefore, the capacitive sensor 300 of this embodiment has a simple structure and low manufacturing cost.

[0089] In some embodiments, the capacitive sensor 300 may also have two electrode plates 320 arranged opposite each other, through which capacitance is generated. When the foam is located between the capacitive sensor, the capacitance value between the two electrode plates 320 will change.

[0090] Figure 3 This application provides a schematic diagram of a washing machine system architecture, as shown in the embodiments. Figure 3 As shown, the system architecture of a washing machine may include, but is not limited to, components such as a capacitive sensor 300, a controller 400, a motor 410, a water inlet valve 420, a communication device 430, and a memory 440. The system architecture of a washing machine may also include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0091] The controller 400 is the control center of the washing machine. It connects all parts of the washing machine via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 440, and by calling data stored in the memory 440, it performs various functions and processes data, thereby providing overall monitoring of the washing machine. Optionally, the controller 400 may include one or more processing units; preferably, the controller 400 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the controller 400.

[0092] The motor 410 can be used to drive the inner drum to rotate. The controller 400 can control the operating status and operating parameters of the motor 410, and make the washing machine work in the washing stage or the spin-drying stage when the motor 410 drives the inner drum to rotate.

[0093] The water inlet valve 420 and the controller 400 can control the flow of washing water into the outer drum by controlling the operating status of the water inlet valve 420.

[0094] Communication device 430 is a component used to communicate with external devices or servers according to various communication protocol types. For example, communication device 430 may include at least one of the following: a wireless communication technology (WiFi) module, a Bluetooth module, a wired Ethernet module, and a near-field communication (NFC) module, or other network communication protocol chips or NFC protocol chips, as well as an infrared receiver. Communication device 430 can be used to communicate with other devices or communication networks (such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc.). Optionally, controller 400 can communicate with a user's terminal device (such as a mobile phone) through communication device 430 to obtain user adjustment commands for the washing machine, thereby enabling remote control of the washing machine.

[0095] The memory 440 can be used to store software programs and modules. The controller 400 executes various functional applications and data processing of the electronic device by running the software programs and modules stored in the memory 440. The memory 440 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function, etc.; the data storage area may store data created based on the use of the washing machine (such as the operating parameters of the motor 410 and the opening time of the water inlet valve 420). In addition, the memory 440 may include a high-speed random access memory 440, and may also include non-volatile memory 440, such as at least one disk storage device 440, a flash memory device, or other volatile solid-state memory 440.

[0096] In some possible embodiments, the system architecture of the washing machine may also include a timer to detect the operating time of each electrical component, for example, by acquiring at least two capacitive sensors and storing the acquired duration information in the memory 440 so that the controller 400 can perform water level control. The timer can also be used to realize functions such as timed opening or closing of the washing machine, which is not limited here.

[0097] The washing stage, the first dehydration stage, the rinsing stage, and the second dehydration stage are explained below.

[0098] During the washing stage, the controller 400 opens the water inlet valve to introduce washing water and detergent into the inner drum. By rotating the inner drum, the washing water, detergent, and clothes mix together. The rotation of the inner drum and the impact of the water flow, combined with the action of the detergent, dissolve and suspend the stains on the clothes in the water. At this time, the detergent generates a large amount of foam under the impact of the water flow, which accumulates on the surface of the water in the inner drum. If the foam content is excessive, it will be propelled out of the drum through the overflow inlet and overflow pipe, causing foam to overflow. The duration of the washing stage is determined based on the degree of soiling of the clothes and the washing program.

[0099] In the first spin-drying stage, after the washing stage has run for a period of time, the stains on the clothes have been fully dissolved. At this point, it is necessary to reduce the water content in the clothes and the wastewater in the inner drum, thus reducing the amount of water required for the rinsing stage. Therefore, after the drain valve is opened, the controller 400 will use centrifugal force to spin the inner drum at high speed to expel the water from the clothes. The expelled water will then be discharged through the drain channel. If there is too much detergent at this time, a large amount of foam will also remain in the inner drum during the first spin-drying stage.

[0100] During the rinsing stage, the controller 400 closes the drain valve and opens the inlet valve to remove residual detergent and stains from the clothes, ensuring thorough cleaning. This process involves repeatedly adding and agitating water to rinse away any remaining detergent and stains. The rinsing stage typically includes multiple rinses, with water drained after each rinse to ensure complete removal of residue. If too much detergent is used, a large amount of foam may remain in the drum during the rinsing stage, even after the first spin-drying stage.

[0101] In the second spin-drying stage, the controller 400 opens the drain valve and controls the motor 410 to rotate at high speed, thereby driving the inner drum to rotate at high speed and using centrifugal force to shake out the water from the clothes. The duration of the second spin-drying stage depends on the type of clothing and the spin-drying program. At this time, if too much detergent is used, even after the first spin-drying and rinsing stages, a large amount of foam will remain in the inner drum during the second spin-drying stage.

[0102] The relevant technology uses a capacitive sensor 300 to detect whether the foam is at a preset height. When the foam is detected at the preset height, the washing machine will warn the customer or use defoaming methods to eliminate some of the foam and prevent it from overflowing.

[0103] However, when the washing machine is running in the spin-drying stage, the inner drum will rotate under the drive of the motor 410, and the foam in the inner drum will be dispersed under the drive of the inner drum. At this time, relying solely on the foam sensor to detect the foam will cause the controller 400 to misjudge that there is not too much foam because the foam does not fall into the detection area of ​​the foam sensor under the drive of the inner drum, thus causing the foam to overflow.

[0104] In view of this, embodiments of this application provide a washing machine, which includes a capacitive sensor 300 and a water level sensor. The controller 400 can determine whether to execute a defoaming program using the detection data output by the capacitive sensor 300 during the washing or rinsing stage, instead of using the operating parameters of the motor 410 and the water level data from the water level sensor. This shortens the detection time and improves the foam detection efficiency during the washing and rinsing stages. Simultaneously, using the detection method of the capacitive sensor 300 instead of the detection methods of the motor 410 and the water level sensor reduces the data processing load of the controller 400 and improves processing efficiency. Furthermore, in the first and second spin-drying stages, using the operating parameters of the motor 410 and the water level data from the water level sensor to determine whether to execute a defoaming program, instead of using the detection data output by the capacitive sensor 300, improves detection accuracy, reduces the data processing load of the controller 400, and improves processing efficiency.

[0105] This application provides an embodiment of a defoaming control method, such as... Figure 4 As shown, the method applied to the controller 400 of the washing machine described above may include the following steps:

[0106] Step S101: When the washing machine is running in the washing stage, the detection data output by the capacitive sensor 300, the operating parameters of the motor 410 and the water level data of the water level sensor are obtained respectively, and it is determined whether to execute the defoaming program based on the detection data. The operating parameters include current, torque and power. The operating parameters of the motor 410 and the water level data of the water level sensor are not used to determine whether to execute the defoaming program.

[0107] Step S102: When the washing machine is running in the first spin-drying stage, the detection data output by the capacitive sensor 300, the operating parameters of the motor 410 and the water level data of the water level sensor are obtained respectively. Based on the operating parameters and water level data, it is determined whether to execute the defoaming program. The detection data is not used to determine whether to execute the defoaming program.

[0108] Step S103: When the washing machine is running in the rinsing stage, the detection data output by the capacitive sensor 300, the operating parameters of the motor 410 and the water level data of the water level sensor are obtained respectively, and it is determined whether to execute the defoaming program based on the detection data. The operating parameters of the motor 410 and the water level data of the water level sensor are not used to determine whether to execute the defoaming program.

[0109] Step S104: When the washing machine is running in the second spin-drying stage, the detection data output by the capacitive sensor 300, the operating parameters of the motor 410, and the water level data of the water level sensor are obtained respectively. Based on the operating parameters and water level data, it is determined whether to execute the defoaming program. The detection data is not used to determine whether to execute the defoaming program.

[0110] The detection data output by the capacitive sensor 300 is used to indicate whether foam exists in the detection area of ​​the capacitive sensor 300; the operating parameters of the motor 410 are used to indicate the operating parameters of the motor 410 at the current moment under the action of foam in the inner cylinder; the controller 400 can determine the foam content in the inner cylinder by the change value of the operating parameters of the motor 410 at any two moments; the water level data of the water level sensor is used to indicate the water level value in the inner cylinder at the current moment under the action of foam in the inner cylinder; the controller 400 can determine the foam content in the inner cylinder by the fluctuation of the water level value in the inner cylinder at any two moments.

[0111] The controller 400 determines whether to execute the first process of the defoaming procedure based on the detection data output by the capacitive sensor 300, the controller 400 determines whether to execute the second process of the defoaming procedure based on the operating parameters of the motor 410, and the controller 400 determines whether to execute the third process of the defoaming procedure based on the water level data of the water level sensor. These are independent judgment processes, that is, the controller 400 does not conflict with each other when executing the first, second, and third processes. The execution of the first process does not affect the execution of the second and third processes, the execution of the second process does not affect the execution of the first and third processes, and the execution of the third process does not affect the execution of the first and second processes.

[0112] It should be understood that in this embodiment, due to the influence of load and washing water volume during the washing and rinsing stages, the water level fluctuates greatly during the rotation of the inner drum, resulting in frequent changes in the current within the motor 410 that drives the inner drum. Therefore, it is not appropriate to use the operating parameters within the motor 410 that drives the inner drum as a method for detecting foam. Thus, foam in the inner drum is detected by a foam sensor during the washing and rinsing stages.

[0113] During the spin-drying stage, the inner drum rotates at a relatively high speed, and foam may be thrown into any part of the inner drum. Therefore, it is not advisable to use a foam sensor to detect foam in the inner drum. Furthermore, the water level and washing water volume are less affected by the load and washing water volume. Since the rotational speed of motor 410 during spin-drying affects the changes in its operating parameters, for example, when there is excessive foam in the inner drum during spin-drying, the resistance to motor 410 rotation increases. This results in a higher current in motor 410 compared to the same moment during normal spin-drying, and consequently, a higher power consumption. Therefore, the controller 400 can detect the changes in the operating parameters of the motor 410 that drives the inner drum rotation in real time during spin-drying and determine whether foam has been detected based on these changes.

[0114] Therefore, when executing the washing stage, the first spin-drying stage, the rinsing stage, and the second spin-drying stage, the controller 400 can select to start the corresponding data collection for judgment after obtaining the detection data output by the capacitive sensor 300, the operating parameters of the motor 410, and the water level data of the water level sensor. For example, in the washing or rinsing stage, the controller 400 determines whether to execute the defoaming program based on the detection data output by the capacitive sensor 300, without using the operating parameters of the motor 410 and the water level data of the water level sensor; in the first spin-drying stage or the second spin-drying stage, the controller 400 determines whether to execute the defoaming program based on the operating parameters of the motor 410 and the water level data of the water level sensor, without using the detection data output by the capacitive sensor 300.

[0115] As can be seen from the above, because the capacitive sensor 300 is located near the overflow inlet, during the washing and rinsing stages, the controller 400 can determine whether there is foam at the overflow inlet at a given moment based on the detection data output by the capacitive sensor 300 at a single instant, and execute the defoaming program when foam is present. In contrast, the motor 410 and water level sensor require operating parameters and water level data at two different moments. Therefore, compared to the detection methods of the motor 410 and water level sensor, using the capacitive sensor 300 during the washing and rinsing stages can shorten the detection time and improve the foam detection efficiency. Furthermore, by using the capacitive sensor 300 instead of the motor 410 and water level sensor during the washing and rinsing stages, the data processing load of the controller 400 can be reduced, thus improving processing efficiency.

[0116] In the first and second dehydration stages, the foam in the inner cylinder disperses as the inner cylinder rotates. At this time, the capacitive sensor 300 will attempt to determine the presence of foam at the overflow inlet, which can easily lead to false detections. However, the motor 410 and water level sensor are not affected by the dispersion of foam during the inner cylinder's rotation, thus improving detection accuracy compared to the capacitive sensor 300. Furthermore, using the motor 410 and water level sensor instead of the capacitive sensor 300 in the first and second dehydration stages reduces the data processing load on the controller 400, improving processing efficiency.

[0117] Because at different stages, although the controller 400 will obtain the detection data output by the capacitive sensor 300, the operating parameters of the motor 410 and the water level data of the water level sensor, the controller 400 will only select a portion of the data for foam detection when executing different stages. Therefore, the controller 400 can use various processing methods for the part of the data that is not used for foam detection, such as only receiving it without calling it, not receiving it, or receiving it and deleting it.

[0118] The following provides several possible embodiments to illustrate how the controller 400 obtains the detection data output by the capacitive sensor 300, the operating parameters of the motor 410, and the water level data from the water level sensor:

[0119] In one embodiment, the controller 400 can be configured to perform the following steps:

[0120] In step S201, during the washing or rinsing stage, the detection data output by the capacitive sensor 300 is received and invoked, but the operating parameters of the motor 410 and the water level data from the water level sensor are not received.

[0121] In this embodiment, after the capacitive sensor 300, motor 410 and water level sensor are powered on, they will start to collect corresponding data at a certain frequency. Furthermore, the capacitive sensor 300, motor 410 and water level sensor will continuously send their respective collected data to the corresponding I / O ports of the controller 400.

[0122] However, for the controller 400, after receiving the operating parameters of the motor 410 and the water level data from the water level sensor, the controller 400 does not store the operating parameters of the motor 410 and the water level data from the water level sensor into its internal register (or, during the process of storing the acquired data into the register, the controller 400 sets the acquired data to a constant or marks it as invalid). In this way, the controller 400 can choose not to receive the operating parameters of the motor 410 and the water level data from the water level sensor, and in this case, the controller 400 does not need to retrieve the operating parameters of the motor 410 and the water level data from the water level sensor.

[0123] Simultaneously, after receiving the detection data output by the capacitive sensor 300, the controller 400 can also store the detection data of the capacitive sensor 300 in its internal registers, cache, flash memory, or non-volatile memory 440. In other words, the process of the controller 400 receiving the detection data of the capacitive sensor 300 is equivalent to the process of the controller 400 storing the detection data of the capacitive sensor 300. This application embodiment does not limit this aspect.

[0124] In this embodiment, the operation of calling the detection data of the capacitive sensor 300 specifically means that the controller 400 can access the physical address corresponding to the capacitive sensor 300 in the register through memory-mapped I / O and instruction operations (such as MOV, LDR) to obtain the detection data of the capacitive sensor 300. Conversely, the operation of not calling the detection data of the capacitive sensor 300 means that the controller 400 does not access the physical address corresponding to the capacitive sensor 300 in the register. This embodiment does not limit this aspect.

[0125] In step S202, during the first or second dehydration stage, the operating parameters of the motor 410 and the water level data from the water level sensor are received and invoked, but the detection data output by the capacitive sensor 300 is not received.

[0126] In this embodiment, after the capacitive sensor 300, motor 410 and water level sensor are powered on, they will start to collect corresponding data at a certain frequency. Furthermore, the capacitive sensor 300, motor 410 and water level sensor will continuously send their respective collected data to the corresponding I / O ports of the controller 400.

[0127] However, for the controller 400, after receiving the detection data output by the capacitive sensor 300, it does not store the detection data output by the capacitive sensor 300 into its internal register (or, during the process of storing the detection data output by the capacitive sensor 300 into the register, the controller 400 sets the acquired data to a constant and marks it as invalid). In this way, the controller 400 can choose not to receive the detection data output by the capacitive sensor 300, and in this case, the controller 400 does not need to retrieve the detection data output by the capacitive sensor 300.

[0128] Simultaneously, after receiving the operating parameters of the motor 410 and the water level data from the water level sensor, the controller 400 can also store the operating parameters of the motor 410 and the water level data from the water level sensor in the registers, cache, flash memory, or non-volatile memory 440 inside the controller 400. That is, the process of the controller 400 receiving the operating parameters of the motor 410 and the water level data from the water level sensor is equivalent to the process of the controller 400 storing the operating parameters of the motor 410 and the water level data from the water level sensor. This application embodiment does not limit this aspect.

[0129] In this embodiment, the operation of calling the operating parameters of the motor 410 and the water level data of the water level sensor can specifically mean that the controller 400 can access the physical addresses corresponding to the motor 410 and the water level sensor in the register through memory-mapped I / O and instruction operations (such as MOV, LDR) to obtain the operating parameters of the motor 410 and the water level data of the water level sensor. Conversely, the operation of not calling the operating parameters of the motor 410 and the water level data of the water level sensor can mean that the controller 400 does not access the physical addresses corresponding to the motor 410 and the water level sensor in the register. This application embodiment does not limit this aspect.

[0130] Understandably, the controller 400 can reduce its processing load by not receiving operating parameters of the motor 410 and water level data from the water level sensor that are used in the foam detection process during the washing or rinsing stages, and by not receiving detection data output from the capacitive sensor 300 that is used in the foam detection process during the first or second dehydration stages.

[0131] In one embodiment, the controller 400 can be configured to perform the following steps:

[0132] During the washing or rinsing stage, the system receives detection data output by the capacitive sensor 300, operating parameters of the motor 410, and water level data from the water level sensor. It calls up the detection data output by the capacitive sensor 300, but does not call up the operating parameters of the motor 410 or the water level data from the water level sensor.

[0133] In the first or second dehydration stage, the system receives detection data output by the capacitive sensor 300, operating parameters of the motor 410, and water level data from the water level sensor, and uses the operating parameters of the motor 410 and the water level data from the water level sensor, but does not use the detection data output by the capacitive sensor 300.

[0134] It is worth noting that when the capacitive sensor 300, motor 410, and water level sensor send their respective collected data to the corresponding I / O ports of the controller 400, in this embodiment, after the controller 400 receives the data sent by the capacitive sensor 300, motor 410, and water level sensor, the controller 400 can store the data sent by the capacitive sensor 300, motor 410, and water level sensor into the registers, cache, flash memory, or non-volatile memory 440 inside the controller 400.

[0135] However, when the washing machine detects foam during the washing or rinsing stages, the controller 400 only accesses the physical address corresponding to the capacitive sensor 300 in the register through memory-mapped I / O and instruction operations to obtain the detection data output by the capacitive sensor 300, and does not access the physical addresses corresponding to the motor 410 and the water level sensor in the register. Similarly, when the washing machine detects foam during the first or second spin-drying stages, the controller 400 only accesses the physical addresses corresponding to the motor 410 and the water level sensor in the register through memory-mapped I / O and instruction operations to obtain the operating parameters of the motor 410 and the water level data from the water level sensor, and does not access the physical address corresponding to the capacitive sensor 300 in the register.

[0136] It is understood that, since the controller 400 can generally only recognize and process corresponding digital signals, in this embodiment, the data collected by the capacitive sensor 300, the motor 410, and the water level sensor and sent to the controller 400 can be digital signals. That is, the capacitive sensor 300, the motor 410, and the water level sensor are all devices that can directly output digital signals. Thus, the controller 400 does not need to perform analog-to-digital conversion on the received data. This application does not limit this aspect.

[0137] Understandably, during the washing or rinsing stage, the controller 400 can simply receive and not access the operating parameters of the motor 410 and the water level data from the water level sensor, which are not required for subsequent foam detection. Similarly, during the first or second spin-drying stage, the controller 400 can simply receive and not access the detection data output by the capacitive sensor 300, which is not required for subsequent foam detection, thereby reducing the processing load on the controller 400.

[0138] In one embodiment, the controller 400 can be configured to perform the following steps:

[0139] During the washing or rinsing stage, the detection data output by the capacitive sensor 300 is received and recalled, and the operating parameters of the motor 410 and the water level data of the water level sensor are received and deleted.

[0140] In the first or second dehydration stage, the operating parameters of the motor 410 and the water level data of the water level sensor are received and called, and the detection data output by the capacitive sensor 300 is received and deleted.

[0141] In this embodiment, receiving detection data output from the capacitive sensor 300, operating parameters of the motor 410, and water level data from the water level sensor can be understood as the controller 400 storing the data obtained from the I / O port in flash memory, registers, cache, or non-volatile memory 440. Not receiving detection data output from the capacitive sensor 300, operating parameters of the motor 410, and water level data from the water level sensor can be understood as the controller 400 not storing the data obtained from the I / O port in flash memory, registers, cache, or non-volatile memory 440; or, it can be understood that after storing the data obtained from the I / O port in flash memory, registers, cache, or non-volatile memory 440, the controller 400 sets the data to a preset value or adds an invalidation flag to the data. The explanations for calling and not calling are similar to those in the previous embodiments and will not be repeated here.

[0142] In the above example, not receiving the detection data output by the capacitive sensor 300, the operating parameters of the motor 410, or the water level data from the water level sensor can be understood as shielding the detection data output by the capacitive sensor 300, the operating parameters of the motor 410, or the water level data from the water level sensor.

[0143] Understandably, after receiving detection data, operating parameters, and water level data, the controller 400 can delete data that is not used for foam detection. For example, during the washing or rinsing stage, it can delete the received operating parameters of the motor 410 and the water level data from the water level sensor. During the first or second spin-drying stage, it can delete the detection data output by the capacitive sensor 300. In this way, unnecessary signals can be saved from occupying storage space, thereby improving the utilization rate of storage space.

[0144] In some embodiments, in order to improve the speed and effectiveness of detergent in dissolving stains on clothing, the washing water in the inner drum can be heated during the washing stage to make the clothes and detergent mix more quickly. That is, the washing machine may include a heating device for heating the washing water in the inner drum.

[0145] Under the action of the heating device, the foam in the inner cylinder can be further stabilized, that is, step S301 above may include:

[0146] When the washing machine is running in the washing stage, the heating device is controlled to heat the washing water in the inner drum;

[0147] And when the heating time of the heating device reaches the preset time threshold, the detection data output by the capacitive sensor 300 is obtained.

[0148] The heating device can start heating the washing water in the inner drum at the same time as the start of the washing stage, so that the washing water in the inner drum is heated at the beginning of the washing stage, thereby improving the mixing speed of the detergent.

[0149] The timing at which the heating device finishes heating the washing water in the inner drum can be set by those skilled in the art according to actual conditions, and this application embodiment does not impose any restrictions.

[0150] When the heating time of the heating device reaches the preset time threshold, the detection data output by the capacitive sensor 300 can ensure that the detection data obtained by the controller 400 is the foam detection value after the detergent is fully mixed, that is, to ensure that the foam content has reached its peak at this time.

[0151] The heating time can be counted by the timer in the washing machine. That is, when the heating device starts heating, the controller 400 controls the timer to start timing, and when the timing time reaches the preset time threshold, the controller determines that the heating time of the heating device has reached the preset time threshold and obtains the detection data output by the capacitive sensor 300.

[0152] Understandably, during the washing stage, after the water in the inner drum is heated by the heating device for a period of time, the capacitive sensor 300 is used. The heating reduces the generation and accumulation of foam in the inner drum, making the capacitive sensor 300 less susceptible to interference from excessive foam during detection, thus reducing the possibility of false alarms. Simultaneously, heating the water in the inner drum creates a relatively stable detection environment. Foam sensors typically determine the amount of foam by detecting changes in water level or foam height; hot water makes the foam morphology more stable, facilitating accurate sensor detection.

[0153] In one embodiment, the detection data includes the capacitance value of the capacitive sensor 300, and the controller 400 is configured to perform the following steps:

[0154] At the beginning of the target stage, the capacitive sensor 300 is controlled to operate in order to obtain the current capacitance value of the capacitive sensor 300. The target stage includes the washing stage and the rinsing stage.

[0155] If the current capacitance value is greater than the preset capacitance threshold, execute the defoaming procedure.

[0156] It should be understood that because foam, water and air have different dielectric constants, when foam comes into contact with the detection area of ​​capacitive sensor 300, the foam will change the dielectric constant of capacitive sensor 300, causing the capacitance value of capacitive sensor 300 to change. Controller 400 can determine whether foam exists in the detection area of ​​capacitive sensor 300 by detecting the capacitance value of capacitive sensor 300.

[0157] Therefore, when the controller 400 uses the detection data output by the capacitive sensor 300 to determine whether to execute the defoaming program, it can receive the current capacitance value of the capacitive sensor 300 through the I / O port and detect whether the current capacitance value of the capacitive sensor 300 is greater than the preset capacitance threshold. If it is greater than the preset capacitance threshold, it is determined that there is foam in the detection area of ​​the capacitive sensor 300 and the defoaming program needs to be executed; if it is less than the preset capacitance threshold, it is determined that there is no foam in the detection area of ​​the capacitive sensor 300 and the defoaming program does not need to be executed. The controller 400 continues to control the washing machine to operate in the washing or rinsing stage.

[0158] When acquiring the current capacitance value of the capacitive sensor 300, the controller 400 can connect its I / O port to the capacitive sensor 300. This allows the controller 400 to directly acquire the current capacitance value of the capacitive sensor 300 through its internal AD converter, without requiring the capacitive sensor 300 to obtain its own current capacitance value and then send a communication packet containing that value to the controller 400. This reduces the amount of data processing required by the capacitive sensor 300 and improves the detection efficiency of the controller 400.

[0159] In some embodiments, the controller 400 determines to execute the defoaming procedure based on whether the current capacitance value at a single moment is greater than a preset capacitance threshold, or whether the current capacitance value at multiple moments is greater than the preset capacitance threshold. The specific setting can be determined by those skilled in the art based on actual conditions, and this application embodiment does not impose any limitations. Preferably, to reduce false detections of the current capacitance value, the controller 400 can be configured to determine to execute the defoaming procedure when the current capacitance value at multiple moments is greater than the preset capacitance threshold.

[0160] Understandably, when the controller 400 detects that the current capacitance value is greater than the preset capacitance threshold, it executes a defoaming program. It can detect the foam content in the inner cylinder based on the current capacitance value of the capacitive sensor 300, thereby reducing the data conversion process of the current capacitance value of the capacitive sensor 300 and improving detection efficiency.

[0161] In one embodiment, the defoaming process described above may include a drainage process and a spraying process. Specifically, the washing machine includes a spray valve, a drainage channel, and a drain valve. The drain valve is disposed in the drainage channel and is used to control the discharge of washing water from the inner drum through the drainage channel. The spray valve is used to introduce water into the inner drum. The controller 400 is configured to perform the following steps:

[0162] If the defoaming program has started running, obtain the number of times the defoaming program has run at the current stage;

[0163] If the number of runs is less than the preset threshold, the drain valve is opened during the first time period, and the motor 410 is rotated at the preset speed. During the second time period, the drain valve is closed, and the spray valve is opened to eliminate foam in the inner cylinder. During the third time period, the drain valve is opened, and the motor 410 is rotated at the preset speed, thus updating the number of runs of the defoaming program in the current stage.

[0164] After the washing machine enters the defoaming program, the drain valve must be opened immediately to drain all the washing water. Then, the inner drum stops rotating to prevent excessive foaming. The defoaming process in this embodiment can be applied to different operating stages, such as the washing stage, the first spin-drying stage, the rinsing stage, and the second spin-drying stage. During the defoaming stage, the inner drum must be controlled to rotate at the speed of motor 410 corresponding to the defoaming program while the drain valve remains open, to spin out the clothes containing a large amount of residual washing water. Since the detergent and foam remaining inside the clothes cannot be eliminated by themselves, the clothes also need to be sprayed with water for defoaming.

[0165] Specifically, during the defoaming stage, the drain valve is opened for dehydration, while the spray valve is opened simultaneously to spray water onto the clothes in the washing chamber, thereby defoaming. In this embodiment, dehydration and spraying occur concurrently during defoaming, and the diluted foam water is directly discharged outside the tub, making defoaming more efficient and thorough, completing the defoaming process with less time and energy consumption.

[0166] Furthermore, during defoaming, the motor 410 drives the inner drum to rotate at high speed. Because the inner drum is undergoing high-speed dehydration at this time, the clothes are subjected to intense compression and centrifugal force. Combined with the impact of the spray water, this accelerates foam breakdown. Simultaneously, the spray water dilutes and dissolves the foam, which is then ejected from the inner drum by centrifugal force, significantly reducing detergent concentration and greatly improving defoaming efficiency. Moreover, this method does not require complex additional equipment; simple adjustments through program control are sufficient to achieve the defoaming effect, greatly optimizing the assembly process and reducing production costs.

[0167] In this embodiment, the number of times the defoaming program is run is recorded each time. When the detected number of defoaming program runs is greater than or equal to a preset threshold, it indicates that defoaming is complete, and the current running stage can continue. The current running stage can be the washing stage, the first dehydration stage, the rinsing stage, or the second dehydration stage. If the detected number of defoaming program runs is less than the preset threshold, it indicates that the foam has not been eliminated to the predetermined degree, and the defoaming stage needs to continue. This further ensures defoaming efficiency, shortens defoaming time, and avoids excessively long defoaming times.

[0168] Understandably, when starting the defoaming program, it is first determined whether the number of times the defoaming program has run in the current stage is less than the preset threshold. This can prevent the defoaming program from running too many times, which would result in poor defoaming effect and excessive consumption of washing water and electricity.

[0169] Figure 5 This is a schematic diagram of another washing machine provided in an embodiment of this application, as shown below. Figure 5 As shown, the washing machine may include:

[0170] At least two capacitive sensors 300 are provided on the side wall of the outer cylinder 100. The detection area of ​​each capacitive sensor 300 is positioned below the highest point of the overflow pipe 200 to prevent the capacitive sensor 300 from failing to detect foam when it has already overflowed from the overflow pipe 200. The capacitive sensor 300 is used to output detection data. Different detection data correspond to different foam states, including the presence or absence of foam.

[0171] The detection areas of at least two capacitive sensors 300 can be symmetrically distributed about the central axis of the outer cylinder 100, and each capacitive sensor 300 and the overflow inlet are located on the same side of the first reference plane, such as... Figure 2 As shown, the first reference plane is perpendicular to the central axis of the outer cylinder 100, and the center of the outer cylinder 100 along its own axial direction is located on the first reference plane. The greater the installation distance between at least two capacitive sensors 300, the better, to expand the detection range of at least two capacitive sensors 300 to meet the detection requirements of foam dispersed during the dehydration stage.

[0172] In some embodiments, the at least two capacitive sensors 300 are positioned away from the drain outlet of the outer cylinder 100. During drainage, foam will flow with the water towards the drain outlet of the outer cylinder 100. Therefore, even when the foam content is low, foam will still occur at the drain outlet of the outer cylinder. If the capacitive sensors 300 are positioned close to the drain outlet of the outer cylinder, the capacitive sensors 300 can detect the presence of foam regardless of the amount of foam. Thus, the controller cannot determine the amount of foam based on the monitoring data of the capacitive sensors 300. Only when at least two capacitive sensors 300 are positioned away from the drain outlet of the outer cylinder 100 can the controller determine whether there is excessive foam in the inner cylinder based on the detection data of the capacitive sensors 300.

[0173] This application provides a defoaming control method applied to the controller of the aforementioned washing machine. By using the detection data detected by at least two capacitive sensors installed on the outer drum during the spin-drying stage of the washing machine, it is determined whether there is foam in the corresponding detection area. When there is foam in the detection area, a defoaming program is executed, which solves the problems of foam overflow and foam residue caused by a large amount of foam generated during the spin-drying process, and improves the cleaning ability of washing clothes.

[0174] It should be noted that, apart from the at least two foam sensors 300 mentioned above, the structure of the washing machine in this embodiment is similar to... Figure 1 and Figure 2 The structure is similar to that in [the text], so it will not be repeated here. Please refer to [the text] for details. Figure 1 and Figure 2 Examples of implementations.

[0175] In some embodiments, such as Figure 6 As shown, the defoaming control method may include the following steps:

[0176] Step S301: While the washing machine is running in the spin-drying stage, obtain detection data from at least two capacitive sensors 300;

[0177] Step S302: If, based on the detection data of at least two capacitive sensors 300, foam is detected within the detection area of ​​at least two capacitive sensors 300, a defoaming procedure is executed.

[0178] It should be understood that during the spin-drying stage, the motor 410 drives the inner drum to rotate to spin dry the clothes inside. If there is a lot of foam in the inner drum, it will disperse on the drum wall during the rotation of the inner drum. If the foam falls into the detection area of ​​the capacitive sensor 300, it will change the detection data of the capacitive sensor 300, and thus the controller 400 will detect the presence of foam in the corresponding detection area. Since at least two capacitive sensors 300 are distributed on the side wall of the outer drum 100, if at least two capacitive sensors 300 detect the presence of foam in the corresponding detection area, the controller 400 can determine that there is a lot of foam in the inner drum and needs to execute a defoaming program to eliminate the foam in the inner drum.

[0179] It is understandable that the purpose of setting at least two capacitive sensors 300 is that the defoaming process aims to eliminate excess foam in the inner cylinder. During the dehydration stage, the foam disperses under the drive of the motor 410, covering a large area. If only a few capacitive sensors 300 are set, such as one, the detection range of the capacitive sensors 300 is small, and it is impossible to accurately determine whether there is excessive foam in the inner cylinder. Only when the detection range of the capacitive sensors 300 can cover the dispersion area of ​​the foam during the dehydration stage, if only a few of the at least two capacitive sensors 300 detect foam, it is considered that there is not excessive foam in the inner cylinder, and the defoaming process does not need to be executed. If most or all of the at least two capacitive sensors 300 detect foam, it is considered that there is excessive foam in the inner cylinder, and the defoaming process needs to be executed, thereby improving the accuracy of the defoaming process. Therefore, in this embodiment, the number of capacitive sensors 300 is set to two or more.

[0180] In some embodiments, the number of capacitive sensors 300 may be one, but the detection area of ​​the capacitive sensor 300 needs to cover the dispersion area of ​​the foam during the dehydration stage, that is, the area required for the detection area of ​​the capacitive sensor 300 is large, which undoubtedly increases the device cost of the capacitive sensor 300. Therefore, the preferred method is to set at least two capacitive sensors 300 and symmetrically distribute the at least two capacitive sensors 300 along the central axis of the outer cylinder 100.

[0181] In one embodiment, the detection area of ​​each capacitive sensor is relatively large, so the capacitive sensor can usually be divided into multiple detection sub-regions. The controller 400 can detect the change in capacitance value in each detection sub-region. When the capacitance value of some or all detection sub-regions changes, the controller 400 can determine that there is foam in the detection area of ​​the capacitive sensor, but at this time it is impossible to distinguish the amount of foam in the inner cylinder.

[0182] Because the higher the foam content in the inner cylinder, the larger the contact area between the foam and the detection area of ​​the capacitive sensor 300, the controller 400 can determine the amount of foam in the inner cylinder based on the total area of ​​the change in capacitance value in the detection areas of at least two capacitive sensors 300. When the foam content is high, a defoaming procedure is executed. That is, step S102 above may include:

[0183] If it is determined that foam exists in the detection area of ​​at least two capacitive sensors 300, the target contact area between at least two capacitive sensors 300 and the foam at the current moment is obtained.

[0184] If the target contact area is greater than or equal to the preset area threshold, execute the defoaming procedure.

[0185] The aforementioned preset area threshold can be set by those skilled in the art according to actual conditions, and this application embodiment does not impose any restrictions.

[0186] The target contact area mentioned above is the total contact area between at least two capacitive sensors 300 and the foam at the current moment. That is, when calculating the target contact area, it is necessary to obtain the target area in contact with the foam in the detection area of ​​each capacitive sensor 300, and add up the target areas of each target area to obtain the total area as the target contact area.

[0187] For example, if the area of ​​contact between the first capacitive sensor 300 and the foam is M1, the area of ​​contact between the second capacitive sensor 300 and the foam is M2, and the area of ​​contact between the third capacitive sensor 300 and the foam is M3, then the target contact area M is M1+M2+M3.

[0188] Understandably, by detecting the contact area between the foam and the detection area of ​​the capacitive sensor 300, it is possible to determine whether to execute the defoaming program. This ensures that the washing machine executes the defoaming program when there is enough foam, reducing the number of times the defoaming program is executed and saving energy.

[0189] It should be understood that during the dehydration stage, the amount of foam will affect whether the capacitive sensors 300 detect foam. For example, when the foam content is greater than or equal to the first content threshold, the foam level can reach the height of at least two capacitive sensors 300 when the motor 410 is stopped. Therefore, during the dehydration stage, at least two capacitive sensors 300 will simultaneously detect the presence of foam regardless of whether the motor 410 is rotating. However, when the foam content is less than the first content threshold, the foam level cannot reach the height of at least two capacitive sensors 300 when the motor 410 is stopped. But after the motor 410 starts rotating, the foam can disperse under the action of the motor and come into contact with at least two capacitive sensors 300. However, after contacting the capacitive sensors 300, the foam will detach from the detection area of ​​the capacitive sensors 300 due to gravity or centrifugal force. Therefore, at least two capacitive sensors 300 cannot detect foam at all times. Therefore, for the above two different situations, the controller 400 can make judgments according to the following two control logics:

[0190] For cases where the foam content is greater than or equal to a first content threshold, step S302 above may include:

[0191] The controller 400 determines whether there is foam in the detection area of ​​at least two capacitive sensors 300 based on the detection data of at least two capacitive sensors 300 at the same time.

[0192] In this embodiment, the controller 400 will determine that there is foam in the detection area of ​​at least two capacitive sensors 300 only when the controller detects that the detection data of at least two capacitive sensors 300 at the same time indicate that there is foam in the corresponding detection area.

[0193] In some embodiments, to avoid situations where foam falls into the detection area but the capacitance value of the capacitive sensor 300 does not change due to detection errors of the capacitive sensor 300, the controller 400 can be set to determine that foam exists in the detection areas of at least two capacitive sensors 300 when the detection data at the same time indicates that the number of capacitive sensors 300 with foam in the corresponding detection area reaches a target number. This target number can be less than the total number of at least two capacitive sensors 300.

[0194] Understandably, by detecting whether the foam in the inner cylinder simultaneously touches at least two capacitive sensors 300, the system can detect whether a defoaming procedure needs to be executed during the dehydration stage. The control logic is simple, reducing the computational cost of the controller 400.

[0195] If the foam content is less than the first content threshold, step S302 above may include:

[0196] The controller 400 determines whether foam exists in the detection area of ​​at least two capacitive sensors 300 based on the detection data of each capacitive sensor 300 in the current detection cycle.

[0197] In this embodiment, the foam in the inner cylinder is dispersed on the side wall of the outer cylinder 100 under the drive of the motor 410 and is detected by the capacitive sensor 300. However, due to the rotation speed of the motor 410 and the gravity or centrifugal force of the foam, the foam will leave the detection area of ​​the capacitive sensor 300 for a period of time after contacting the detection area. Therefore, the time when at least two capacitive sensors 300 detect the foam will be different. In response to this situation, the controller 400 can detect the detection data in the current detection cycle to determine whether there is foam in the detection area of ​​at least two capacitive sensors 300.

[0198] For example, at least two capacitive sensors 300 include a first sensor, a second sensor, and a third sensor. The first sensor detects foam at time t1, but at time t2, the foam leaves the detection area, causing the first sensor to not detect foam at time t2. The second sensor detects foam at time t2, but at time t3, the foam leaves the detection area, causing the second sensor to not detect foam at time t3. The third sensor detects foam at time t3, but at time t4, the foam leaves the detection area, causing the third sensor to not detect foam at time t4. Here, t1, t2, t3, and t4 constitute a detection cycle. Therefore, within a detection cycle, although the first, second, and third sensors do not detect foam at the same time, they are all within the current detection cycle. At this time, the controller 400 can still determine that there is foam in the detection area of ​​at least two capacitive sensors 300.

[0199] Understandably, by detecting the data from each sensor within a cycle, it is determined whether a defoaming procedure needs to be executed, thus extending the sensor's detection time and reducing the detection error caused by the dispersion of foam during the dehydration process driven by motor 410.

[0200] During the dehydration stage, the degree and speed of foam dispersion can be determined based on the current rotation speed of motor 410. The higher the current rotation speed of motor 410, the higher the degree and speed of foam dispersion. In order to ensure that the detection cycle of capacitive sensor 300 can meet the requirement that at least two capacitive sensors 300 can detect the change in capacitance value caused by foam contact at the corresponding position in time during one revolution of motor 410, and to prevent missed detection due to foam detachment, it is necessary to correlate the current rotation speed of motor 410 with the detection cycle of capacitive sensor 300. That is, the current detection cycle of capacitive sensor 300 is adjusted in real time according to the current rotation speed of motor 410.

[0201] In one embodiment, the controller 400 may determine the duration of the current detection cycle by including the following steps:

[0202] Obtain the current speed of motor 410;

[0203] Based on the current rotational speed of motor 410, the duration of the current detection cycle is obtained. The higher the current rotational speed, the shorter the duration of the current detection cycle, and the higher the detection frequency of capacitive sensor 300.

[0204] The method to obtain the duration of the current detection cycle based on the current speed of the motor 410 can be to find the duration value corresponding to the current speed of the motor 410 from the pre-set correspondence between the speed of the motor 410 and the cycle duration, and use the found duration value as the duration of the current detection cycle.

[0205] Understandably, since the faster the motor 410 rotates, the faster the foam disperses, setting the detection cycle of at least two capacitive sensors 300 according to the current rotation speed of the motor 410 can ensure that the capacitive sensors 300 can detect the moment when the foam comes into contact with the sensor within the current detection cycle and execute the defoaming procedure in a timely manner.

[0206] In one embodiment, the current detection period may include at least two moments. The controller 400 determines whether foam exists within the detection areas of at least two capacitive sensors 300 based on the detection data of each capacitive sensor 300 within the current detection period. This determination may include:

[0207] The detection data of the target capacitive sensor 300 at each time step is obtained, wherein the target capacitive sensor 300 is any one of at least two capacitive sensors 300;

[0208] If the number of times when foam is detected is greater than or equal to a preset threshold based on the corresponding detection data, it is determined that foam exists in the detection areas of at least two capacitive sensors 300.

[0209] If the number of times when foam is detected based on the corresponding detection data is less than a preset threshold, the target area in the detection area of ​​the target capacitive sensor 300 that is in contact with the foam is obtained. If the target area is greater than the preset area threshold, it is determined that foam exists in the detection areas of at least two capacitive sensors 300.

[0210] It should be understood that because the capacitive sensor 300 may produce false detections, a threshold needs to be set for the number of target times. The target time is the time when foam is determined to exist based on the corresponding detection data. Only when the number of target times is greater than the preset threshold will the controller 400 determine that foam exists in the detection areas of at least two capacitive sensors 300.

[0211] Since it takes a certain amount of time for the foam to slide off, each capacitive sensor 300 can detect foam at multiple moments. Therefore, when the number of moments in which each capacitive sensor 300 detects foam is greater than a preset threshold, the controller 400 can avoid false detections by the capacitive sensor 300 and reduce the detection accuracy of the capacitive sensor 300.

[0212] For example, at least two capacitive sensors 300 include a first sensor, a second sensor, and a third sensor. The first sensor detects foam at times t1, t2, and t3, the second sensor detects foam at times t2 and t3, and the third sensor detects foam at time t2. Here, t1, t2, and t3 constitute a detection cycle. Since the third sensor detects foam only at one time, it is necessary to detect the target area in contact with the foam in the detection area of ​​the third sensor at time t2. If the target area is greater than a preset area threshold, it can be determined that foam exists in the detection area of ​​at least two capacitive sensors 300; if the target area is less than the preset area threshold, it can be determined that foam does not exist in the detection area of ​​at least two capacitive sensors 300.

[0213] In some embodiments, if the capacitive sensor 300 is a capacitive sensor, then the detection data of the capacitive sensor 300 will include the target area in contact with the foam in the detection area, and the controller 400 can directly obtain the target area from the detection data.

[0214] In some embodiments, the washing machine may include a camera device, and the controller 400 may obtain the target area in contact with the foam in the detection area of ​​the target capacitive sensor 300 through the camera device.

[0215] Understandably, since there are at least two moments within a single detection cycle, setting the capacitive sensor 300 to detect the presence of foam at multiple moments can improve the detection accuracy of the capacitive sensor 300.

[0216] In some embodiments, the steps of the above defoaming procedure may include draining and replenishing water. The order of draining and replenishing water can be set by those skilled in the art according to the actual situation. For example, draining water first and then replenishing water, or replenishing water first and then draining water. The purpose of draining and replenishing water is to use water to carry the foam in the inner cylinder away from the inner cylinder.

[0217] For example, in this embodiment, the drainage time can be set to 30 seconds. During the drainage process, the controller 400 controls the drain valve to remain open, and the drain pump performs actions in the order of opening for 10 seconds and closing for 5 seconds. After the 30-second drainage time is completed, it is considered that one drainage process is completed. Then, the controller 400 controls the inlet valve 420 to be open to introduce washing water into the inner drum. After the inlet valve 420 is open for a period of time, it is closed, and another drainage process is performed. With the circulation of washing water, the foam content in the inner drum will be reduced accordingly.

[0218] In some embodiments, during the drainage and water replenishment process, the controller 400 can simultaneously control the motor 410 to stop rotating, or simultaneously control the motor 410 to run according to a preset rotation-stop ratio. For example, the motor 410 runs M revolutions according to the normal rotation-stop ratio, such as 2 to 5 revolutions. Then, the controller 400 controls the water replenishment time T1 into the inner drum. After completing one drainage cycle, the washing water level in the inner drum is restored to the preset washing water level corresponding to the current load. The time taken is recorded as the forced water replenishment time T1. After the water replenishment time T1 is completed, one water replenishment process is completed. During the water replenishment process, the motor 410 stops rotating, and the controller 400 controls the water inlet valve 420 to open to replenish water into the inner drum. During the water replenishment process, as washing water is injected, the foam content in the inner drum can be further reduced. The specific control methods of the motor 410 can be set by those skilled in the art according to the actual situation, and the embodiments of this application are not limited thereto.

[0219] Since it is impossible to guarantee whether the foam in the inner drum is eliminated to a safe threshold during the defoaming process, the controller 400 can detect the foam content in the inner drum in real time through at least two capacitive sensors 300 during the execution of the defoaming process, and stop the execution of the defoaming process when there is no foam in the detection area of ​​at least two capacitive sensors 300, and control the washing machine to run in the spin-drying stage.

[0220] That is, in one embodiment, such as Figure 7 As shown, the above defoaming control method may further include:

[0221] In step S303, during the process of the controller 400 controlling the washing machine to execute the defoaming program and controlling the motor 410 to rotate, the controller 400 obtains detection data from at least two capacitive sensors 300.

[0222] Step S304: Based on the detection data of at least two capacitive sensors 300, if it is determined that there is no foam in the detection area of ​​at least two capacitive sensors 300, the defoaming program is stopped and the washing machine is controlled to run in the spin-drying stage.

[0223] In this embodiment, since the foam content will decrease during the defoaming process, in order to ensure that at least two capacitive sensors 300 can detect foam regardless of the current foam content, the controller 400 can drive the motor 410 to rotate. The remaining foam in the inner cylinder can be dispersed under the drive of the motor 410, thereby ensuring that the defoaming process can completely eliminate excess foam and prevent foam from overflowing during the dehydration stage.

[0224] In some embodiments, the step of the controller 400 controlling the motor 410 to rotate may be a step in the defoaming process, or it may be an additional step executed by the controller 400 while executing the defoaming process. The specific settings can be made by those skilled in the art according to the actual situation, and the embodiments of this application do not impose any restrictions.

[0225] Understandably, when the washing machine is controlling the defoaming program and the motor 410 is being rotated, stopping the defoaming program when it is determined that there is no foam in the corresponding detection area can ensure that excess foam is completely eliminated and prevent foam from overflowing during the spin-drying stage.

[0226] Because the real-time defoaming effect of the defoaming program cannot be known, during the execution of the defoaming program, foam in the inner cylinder still exists in two situations: when the foam content is greater than or equal to the first content threshold, at least two capacitive sensors 300 will simultaneously detect the presence of foam while the motor 410 is rotating; when the foam content is less than the first content threshold, after the motor 410 starts rotating, the foam can disperse under the action of the motor 410 and come into contact with at least two capacitive sensors 300. However, after contacting the capacitive sensors 300, the foam will detach from the detection area of ​​the capacitive sensors 300 due to gravity or centrifugal force. Therefore, at least two capacitive sensors 300 cannot detect foam at all times. Therefore, for the above two different situations, the controller 400 can make judgments according to the following two control logics:

[0227] For cases where the foam content is greater than or equal to a first content threshold, step S304 above may include:

[0228] If the controller 400 determines, based on the detection data of at least two capacitive sensors 300 at the same time, that there is no foam in the detection area of ​​at least two capacitive sensors 300, it stops executing the defoaming procedure.

[0229] In this embodiment, the controller 400 will determine that there is no foam in the detection area of ​​at least two capacitive sensors 300 only when the controller 400 detects that the detection data of at least two capacitive sensors 300 at the same time indicate that there is no foam in the corresponding detection area.

[0230] In some embodiments, to avoid situations where foam falls into the detection area but the capacitance value of the capacitive sensor 300 does not change due to detection errors of the capacitive sensor 300, the controller 400 can be set to determine that there is no foam in the detection area of ​​at least two capacitive sensors 300 when the detection data at the same time indicates that there is no foam in the corresponding detection area. This target number can be less than the total number of at least two capacitive sensors 300.

[0231] Understandably, by detecting whether the foam in the inner cylinder simultaneously touches at least two capacitive sensors 300, the defoaming process can be stopped during the dehydration stage. The control logic is simple, reducing the computational cost of the controller 400.

[0232] If the foam content is less than the first content threshold, step S304 above may include:

[0233] The controller 400 obtains the detection data of the target capacitive sensor 300 at each moment in the current detection cycle, wherein the target capacitive sensor 300 is any one of at least two capacitive sensors 300;

[0234] When the number of target moments reaches a preset threshold, the controller 400 stops executing the defoaming program. The target moment is the moment when it is determined that there is no foam in the detection area of ​​the target capacitive sensor 300.

[0235] In this embodiment, the foam in the inner cylinder is dispersed on the side wall of the outer cylinder 100 under the drive of the motor 410 and is detected by the capacitive sensor 300. However, due to the rotation speed of the motor 410 and the gravity or centrifugal force of the foam, the foam will leave the detection area of ​​the capacitive sensor 300 for a period of time after contacting the detection area. Therefore, the time when at least two capacitive sensors 300 detect the foam will be different. In response to this situation, the controller 400 can detect the detection data in the current detection cycle to determine whether there is foam in the detection area of ​​at least two capacitive sensors 300.

[0236] For example, at least two capacitive sensors 300 include a first sensor, a second sensor, and a third sensor. However, the first sensor does not detect foam at any time during the current detection period, while the second sensor detects foam at time t2 during the current detection period, and the third sensor does not detect foam at any time during the current detection period. In this case, although the second sensor detects foam at time t2 during a detection period, it is because the second sensor does not detect foam for most of the time during the current detection period. At this time, the controller 400 can still determine that there is no foam in the detection area of ​​at least two capacitive sensors 300.

[0237] Understandably, since there are at least two moments within a single detection cycle, setting the capacitive sensor 300 to detect the absence of foam at multiple moments can improve the detection accuracy of the capacitive sensor 300.

[0238] It should be noted that the dehydration stage in the above embodiments can be... Figure 4 The first dehydration stage in the process shown can also be Figure 4 The second dehydration stage in the process shown is not limited in this embodiment.

[0239] It should be understood that the phrases "one embodiment," "an embodiment," or "some embodiments" mentioned throughout the specification mean that a specific feature, structure, or characteristic related to an embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment," "in one embodiment," or "in some embodiments" appearing throughout the specification do not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It should be understood that in the various embodiments of this application, the sequence numbers of the above-described processes do not imply a sequential order of execution; the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application. The sequence numbers of the above-described embodiments are merely for descriptive purposes and do not represent the superiority or inferiority of the embodiments. The descriptions of the various embodiments above tend to emphasize the differences between the various embodiments; their similarities or commonalities can be referred to mutually, and for the sake of brevity, they will not be repeated here.

[0240] In this article, the term "and / or" is merely a description of the relationship between related objects, indicating that there can be three kinds of relationships. For example, object A and / or object B can represent three situations: object A exists alone, object A and object B exist simultaneously, and object B exists alone.

[0241] It should be noted that, in this document, 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. Unless otherwise specified, 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 that element.

[0242] The modules described above as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules. They may be located in one place or distributed across multiple network terminals. Some or all of the modules may be selected to achieve the purpose of this embodiment according to actual needs.

[0243] In addition, each functional module in the various embodiments of this application can be fully integrated into one processing terminal, or each module can be a separate terminal, or two or more modules can be integrated into one terminal; the integrated modules can be implemented in hardware or in the form of hardware plus software functional terminals.

[0244] The features disclosed in the several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.

[0245] The above description is merely an embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A washing machine, characterized in that, The washing machine includes: Box; An outer cylinder is disposed inside the box, and a water-holding cavity is formed inside the outer cylinder; An inner cylinder is rotatably disposed within the water-holding cavity, and a washing chamber is formed within the inner cylinder; An electric motor is used to drive the inner cylinder to rotate; An overflow pipe having an overflow inlet connected to the water-holding cavity, the overflow pipe being used to discharge overflow water; A capacitive sensor is disposed at a target position on the side wall of the outer cylinder. The distance between the target position and the overflow inlet is less than or equal to a preset threshold. The capacitive sensor is used to output detection data. Different detection data correspond to different foam states, including the presence or absence of foam. A water level sensor is used to output water level data. The controller is used to control the operating state and operating parameters of the motor. The operating state includes an on state or an off state, and the operating parameters include the rotation speed, so that the washing machine operates in a target stage. The target stage includes a washing stage, a first spin-drying stage, a rinsing stage, and a second spin-drying stage. The first spin-drying stage operates between the washing stage and the rinsing stage, and the second spin-drying stage operates after the rinsing stage. The controller is also configured to: When the washing machine is running in the washing stage, the detection data output by the capacitive sensor, the operating parameters of the motor, and the water level data of the water level sensor are obtained respectively. Based on the detection data, it is determined whether to execute the defoaming program. The operating parameters include current, torque, and power. The operating parameters of the motor and the water level data of the water level sensor are not used to determine whether to execute the defoaming program. When the washing machine is running in the first spin-drying stage, the detection data output by the capacitive sensor, the operating parameters of the motor, and the water level data of the water level sensor are obtained respectively. Based on the operating parameters and the water level data, it is determined whether to execute the defoaming program. The detection data is not used to determine whether to execute the defoaming program. When the washing machine is running in the rinsing stage, the detection data output by the capacitive sensor, the operating parameters of the motor, and the water level data of the water level sensor are obtained respectively, and it is determined whether to execute the defoaming program based on the detection data. The operating parameters of the motor and the water level data of the water level sensor are not used to determine whether to execute the defoaming program. When the washing machine is running in the second spin-drying stage, the detection data output by the capacitive sensor, the operating parameters of the motor, and the water level data of the water level sensor are obtained respectively. Based on the operating parameters and the water level data, it is determined whether to execute the defoaming program. The detection data is not used to determine whether to execute the defoaming program.

2. The washing machine as described in claim 1, characterized in that, The controller is configured to: During the washing or rinsing stage, the detection data output by the capacitive sensor is received and invoked, but the operating parameters of the motor and the water level data of the water level sensor are not received. During the first dehydration stage or the second dehydration stage, the operating parameters of the motor and the water level data of the water level sensor are received and invoked, but the detection data output by the capacitive sensor is not received.

3. The washing machine as described in claim 1, characterized in that, The controller is configured to: During the washing or rinsing stage, the system receives detection data output by the capacitive sensor, operating parameters of the motor, and water level data from the water level sensor, and uses the detection data output by the capacitive sensor without using the operating parameters of the motor or the water level data from the water level sensor. During the first dehydration stage or the second dehydration stage, the detection data output by the capacitive sensor, the operating parameters of the motor, and the water level data of the water level sensor are received. The operating parameters of the motor and the water level data of the water level sensor are called up, but the detection data output by the capacitive sensor is not called up.

4. The washing machine as described in claim 1, characterized in that, The controller is configured to: During the washing or rinsing stage, the detection data output by the capacitive sensor is received and retrieved, and the operating parameters of the motor and the water level data of the water level sensor are received and deleted. During the first dehydration stage or the second dehydration stage, the operating parameters of the motor and the water level data of the water level sensor are received and invoked, and the detection data output by the capacitive sensor is received and deleted.

5. The washing machine as described in any one of claims 1-4, characterized in that, The detection data includes the capacitance value of the capacitive sensor, and the controller is configured to: At the beginning of the target stage, the capacitive sensor is controlled to operate in order to obtain the current capacitance value of the capacitive sensor. The target stage includes a washing stage and a rinsing stage. If the current capacitance value is greater than the preset capacitance threshold, the defoaming procedure is executed.

6. A washing machine, characterized in that, The washing machine includes: Box; An outer cylinder is disposed inside the box, and a water-holding cavity is formed inside the outer cylinder; An inner cylinder is rotatably disposed within the water-holding cavity, and a washing chamber is formed within the inner cylinder; An electric motor is used to drive the inner cylinder to rotate; An overflow pipe having an overflow inlet connected to the water-holding cavity, the overflow pipe being used to discharge overflow water; At least two capacitive sensors are provided, which are symmetrical about the central axis of the outer cylinder. The detection surface of each capacitive sensor is positioned below the highest point of the overflow pipe. The capacitive sensors are used to output detection data. Different detection data correspond to different foam states, including the presence or absence of foam. A controller is used to control the operating state and operating parameters of the motor, the operating state including an on state or an off state, and the operating parameters including the rotation speed, so that the washing machine operates in a target stage, the target stage including a washing stage and a spin-drying stage; The controller is also configured to: When the washing machine is operating in the spin-drying stage, the detection data of the at least two capacitive sensors are obtained; If, based on the detection data from the at least two capacitive sensors, it is determined that foam exists within the detection area of ​​the at least two capacitive sensors, a defoaming procedure is executed.

7. The washing machine as described in claim 6, characterized in that, The controller is configured to: Based on the detection data of the at least two capacitive sensors at the same time, it is determined whether there is foam in the detection area of ​​the at least two capacitive sensors.

8. The washing machine as described in claim 6, characterized in that, The controller is configured to: Based on the detection data of each capacitive sensor in the current detection cycle, it is determined whether there is foam in the detection area of ​​the at least two capacitive sensors.

9. The washing machine as described in claim 8, characterized in that, The current detection period includes at least two moments, and the controller is configured to: Obtain detection data of the target capacitive sensor at each time step, wherein the target capacitive sensor is any one of the at least two capacitive sensors; If the number of times when foam is detected based on the corresponding detection data is greater than or equal to a preset threshold, it is determined that foam exists within the detection area of ​​the at least two capacitive sensors. If the number of times when foam is detected based on the corresponding detection data is less than the preset threshold, the target area in the detection area of ​​the target capacitive sensor that is in contact with the foam is obtained. If the target area is greater than the preset area threshold, it is determined that foam exists in the detection areas of at least two capacitive sensors.

10. The washing machine as described in claim 6, characterized in that, The controller is also configured to: During the process of controlling the washing machine to execute the defoaming program and controlling the motor to rotate, the detection data of the at least two capacitive sensors are obtained; If, based on the detection data from the at least two capacitive sensors, it is determined that there is no foam within the detection area of ​​the at least two capacitive sensors, the defoaming program is stopped, and the washing machine is controlled to operate in the spin-drying stage.