Washing device and bubble overflow detection method thereof, electronic equipment and storage medium
By using a TOF sensor to detect the amount of foam in the washing machine, the safety hazard of foam overflow during the washing process is solved, timely defoaming is achieved, and the cleaning efficiency and safety of the washing device are improved.
Patent Information
- Application Number
- CN202411145291.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-20
- Publication Date
- 2026-03-03
Smart Images

Figure CN121593283A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of washing, and in particular to a washing device, a method for detecting overflow bubbles, an electronic device, and a storage medium thereof. Background Technology
[0002] As people's consumption levels rise, fully automatic washing machines have become an essential household appliance. Currently, fully automatic washing machines are very popular among consumers due to their high degree of automation, bringing convenience but also new problems.
[0003] Washing machines require detergent or washing powder to remove stains from clothes during the washing process. The mixture of detergent and water produces a large amount of foam, which can easily lead to overflow. In severe cases, this can cause component failure or damage. Even worse, overflowing foam can cause users to slip and fall, posing a safety hazard. Foam overflowing into the machine's wiring can also cause electrical components or circuit boards to malfunction, leading to short circuits and fires. During the rinsing stage, overflow can cause the machine to spin-dry while still wet, resulting in motor overheating and a sharp increase in current, creating a safety risk for users. Current technology typically detects foam during the draining and spin-drying stages based on changes in drum pressure or water level. Detecting foam during the washing process is either impossible or prohibitively expensive, making it difficult to accurately and promptly determine if overflow is present.
[0004] Therefore, it is necessary to develop a new method for detecting overflow bubbles in washing devices to solve the above problems. Summary of the Invention
[0005] To overcome the shortcomings of existing technologies, the present invention aims to provide a washing device and its foam overflow detection method, electronic device, and storage medium. During the washing process, a distance value is obtained through a sensing device, and the excessive foam is promptly and accurately determined based on the distance value, preventing foam overflow. This method can accurately and promptly obtain the amount of foam during the washing process and execute a defoaming process in a timely manner, effectively avoiding the risk of foam overflow.
[0006] To achieve the objectives of this invention, the following technical solution is adopted:
[0007] A method for detecting overflow in a washing device, wherein the washing device is equipped with a sensor for collecting data from inside the drum, and the method includes the following steps during the washing process:
[0008] The distance value obtained by the sensing device after reflection from the environment inside the inner cylinder is acquired.
[0009] Determine whether a defoaming process needs to be executed based on the distance value.
[0010] Furthermore, the distance values collected based on reflections from the inner cylinder environment specifically include:
[0011] The light source module of the sensing device emits a beam of light into the cylinder at a preset angle;
[0012] The reflected light beam is received by the receiving module of the sensing device;
[0013] The distance value is obtained based on the time difference between the emitted beam and the reflected beam.
[0014] Furthermore, determining whether a defoaming process needs to be executed based on the distance value specifically includes:
[0015] Determine whether the distance value is less than or equal to a first preset threshold; the first preset threshold is the distance between the sensor and the cylinder when there is foam in the cylinder and the foam is high.
[0016] If the distance value is less than or equal to the first preset threshold, the defoaming process is started.
[0017] If the distance value is greater than the first preset threshold, the distance value is reacquired.
[0018] Furthermore, obtaining the distance value collected by the sensing device and obtained by reflection from the environment inside the inner cylinder also includes:
[0019] The distance value includes multiple first distance values;
[0020] The first distance value is the first distance value collected by the sensing device at different preset angles and obtained by reflection from the environment inside the inner cylinder.
[0021] Furthermore, determining whether a defoaming process needs to be executed based on the distance value specifically includes:
[0022] Based on the first distance value, determine whether the sampling points are on the same preset plane;
[0023] If they are on the same preset plane, the defoaming process will begin.
[0024] If they are not on the same preset plane, the first distance value will be continuously monitored.
[0025] Furthermore, determining whether a defoaming process needs to be executed based on the distance value also includes:
[0026] The distance values that can be collected within the third preset threshold are used to determine whether the foam has reached the warning value.
[0027] Furthermore, specifically including:
[0028] If a distance value can be collected within the third preset threshold, it is determined that the foam has reached the warning value, and the defoaming process begins.
[0029] If no distance value is collected within the third preset threshold, it is determined that the foam has not reached the warning value, and the distance value is continuously monitored.
[0030] Furthermore, the defoaming process includes the following steps before it begins:
[0031] Control the washing device to rotate, and obtain the distance value again;
[0032] Determine whether the distance values are consistent before and after the washing device rotates;
[0033] If they match, then it is determined that there is foam inside the cylinder;
[0034] If there is a discrepancy, the distance value will be continuously monitored.
[0035] A washing device, and a method for detecting overflow bubbles in the washing device.
[0036] Furthermore, the sensing device is installed inside the door glass of the washing device, on the door seal, or inside the lifting rib.
[0037] An electronic device includes: a memory storing program code thereon; and a processor connected to the memory, which, when the program code is executed by the processor, implements a method for detecting overflow bubbles in a washing device.
[0038] A computer-readable storage medium having program instructions stored thereon, which, when executed, implement a method for detecting overflow bubbles in a washing device.
[0039] Compared with the prior art, the beneficial effects of the present invention are:
[0040] This technical solution uses a sensor to obtain distance values to accurately determine the amount of foam in the washing machine drum, identify excessive foam, and promptly execute a defoaming process to prevent foam overflow and damage to the washing machine; timely execution of the defoaming process improves the cleaning efficiency of the washing machine.
[0041] The above description is merely an overview of the technical solution of the present invention. To better understand the technical means of the present invention and to enable its implementation according to the description, the preferred embodiments of the present invention are described in detail below with reference to the accompanying drawings. Specific embodiments of the present invention are given in detail below with reference to the accompanying drawings. Attached Figure Description
[0042] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:
[0043] Figure 1This is a flowchart illustrating a method for detecting overflow bubbles in a washing device according to Example 1;
[0044] Figure 2 This is the method flow for determining whether a defoaming process needs to be executed based on the distance value in Example 1. Figure 1 ;
[0045] Figure 3 This is the method flow for determining whether a defoaming process needs to be executed based on the distance value in Example 1. Figure 2 ;
[0046] Figure 4 This is a flowchart of the method for determining whether the collection points are on the same preset plane in Example 1;
[0047] Figure 5 This is a top view of the washing device in Example 1;
[0048] Figure 6 This is a schematic diagram illustrating the calculation of the vertical distance of the sensing device based on depth data in Example 1.
[0049] Figure 7 This is the method flow for determining whether a defoaming process needs to be executed based on the distance value in Example 1. Figure 3 ;
[0050] Figure 8 This is a flowchart illustrating the process of determining whether distance values are consistent after obtaining them in Example 1.
[0051] Figure 9 This is a detailed structural schematic diagram of a washing device in Example 2;
[0052] Figure 10 This is a schematic diagram of the electronic device in Example 3;
[0053] Figure 11 This is a schematic diagram of the storage medium in Example 4;
[0054] In the diagram: 1. Inner drum of the washing machine; 2. Sensor device; 3. Foam; 11. Door glass; 12. Door. Detailed Implementation
[0055] The present invention will now be further described in conjunction with the accompanying drawings and specific embodiments. It should be noted that, without conflict, the various embodiments or technical features described below can be arbitrarily combined to form new embodiments.
[0056] Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without inventive effort are within the scope of protection of this invention.
[0057] The drawing numbers in this application are only used to distinguish the steps in the scheme and are not used to limit the execution order of the steps. The specific execution order is as described in the specification.
[0058] 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 invention pertains. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
[0059] Figure 1 This is a flowchart of a foam overflow detection method for a washing device provided in Embodiment 1 of the present invention. Embodiment 1 of the present invention is applicable to real-time monitoring of foam during the washing process, so as to promptly execute the defoaming process and avoid foam overflow from the washing device causing damage to the washing device.
[0060] Example 1
[0061] like Figure 1 The overflow detection method of the washing device according to the present invention includes the following steps during the washing process: The washing device is equipped with a sensing device for collecting data from inside the drum.
[0062] S1: Obtain the distance value obtained by the sensor device through reflection from the environment inside the inner cylinder;
[0063] It should be noted that the distance value specifically includes:
[0064] The light source module of the sensing device emits a beam of light into the cylinder at a preset angle;
[0065] The reflected light beam is received by the receiving module of the sensing device;
[0066] The distance value is obtained based on the time difference between the emitted beam and the reflected beam.
[0067] The sensing device is a depth sensor that can collect distance values. The distance value represents the actual distance of each pixel from the depth sensor. It is similar to a grayscale image, but the difference is that the depth data reflects the real distance of each point on the object's surface from the sensing device.
[0068] The sensing device in this embodiment is a single-point Time-of-Flight (TOF) sensor. A TOF sensor works by continuously sending modulated light sources or pulses to a target object, then receiving the light reflected back from the target object. The distance to the target object is obtained by calculating the round-trip time of the modulated light source or probe light pulse. In this embodiment, the TOF sensor's light source module includes a structured light emitter and a laser emitter, which can simultaneously emit structured light and modulated laser light, which are then received by the TOF sensor to calculate depth data. This embodiment's TOF sensor fully combines TOF and structured light technologies, improving the measurement accuracy of TOF technology at close range. It overcomes the measurement limitations of TOF technology for black objects and low-reflectivity objects at close range, greatly improving the accuracy of the final output distance value and enhancing its anti-interference capabilities. This makes it suitable for more complex environments, broadening the product's applicability. Patent CN109889809A describes the structure of this TOF sensor in detail.
[0069] Because the TOF sensor can be fixedly installed inside the door glass, door seal, or lifting rib of the washing machine door, its spatial position is fixed, and the detection space is also fixed, ensuring the validity of the data collected by the sensor. Distance values obtained through the TOF sensor do not require edge calibration, corner settings, or other functional settings, and can perform up to 9 million distance measurements per second with millimeter-level accuracy.
[0070] In a preferred embodiment, considering that the field of view of a single TOF sensor is usually between 60° and 90°, there is a large detection blind zone. Therefore, depth data can also be collected by several TOF sensors to make the results more accurate.
[0071] In this embodiment, the inner environment of the inner cylinder includes the inner cylinder wall, foam, and clothing. The light source module of the TOF sensor emits a light beam towards the foam in the inner cylinder at a preset angle, and the receiving module of the TOF sensor then receives the light beam reflected by the foam. The distance between the TOF sensor and the foam can be obtained based on the time of the emitted and reflected light beams, which is the distance value. The preset angle is the emission angle of the light beam emitted by the light source module of the TOF sensor.
[0072] S2: Determine whether the defoaming process needs to be executed based on the distance value.
[0073] It should be noted that, as Figure 2 As shown, determining whether to execute the defoaming process based on the distance value specifically includes:
[0074] S201: Determine whether the distance value is less than or equal to the first preset threshold;
[0075] S202: If the distance value is less than or equal to the first preset threshold, then start the defoaming process;
[0076] S203: If the distance value is greater than the first preset threshold, then reacquire the depth data.
[0077] In this embodiment, the first preset threshold is the distance between the sensor and the container when there is foam in the container and the foam is high. At this time, a defoaming process needs to be performed to defoam in time.
[0078] In another preferred embodiment, such as Figure 3 As shown, obtaining the distance value collected by the sensing device and obtained by reflection from the environment inside the inner cylinder also includes:
[0079] S204: The distance value includes multiple first distance values;
[0080] S205: The first distance value is the first distance value obtained by the sensor emitting light beams at different preset angles and reflecting off the environment inside the inner cylinder.
[0081] In this embodiment, as Figure 5 As shown, when the sensing device is installed on the door glass, the light source module of the depth sensor is controlled to emit light beams from different angles within the measurable range of the sensing device, so that the first distance value can be measured at multiple locations.
[0082] It should be noted that determining whether to execute the defoaming process based on the distance value specifically includes:
[0083] S206: Determine whether the collection points are on the same preset plane based on the first distance value;
[0084] S207: If they are on the same preset plane, the defoaming process will begin;
[0085] S208: If they are not on the same preset plane, the first distance value will be continuously monitored.
[0086] Specifically, such as Figure 4 As shown, determining whether the sampling points are on the same plane specifically includes:
[0087] S2061: Calculate the vertical distance between the sensor device and the foam based on the first distance value;
[0088] S2062: Determine whether the vertical distance is less than the second preset threshold;
[0089] S2063: If the vertical distance is less than the second preset threshold, then it is determined that they are on the same preset plane.
[0090] S2064: If the vertical distance is not less than the second preset threshold, then it is determined that they are not on the same preset plane.
[0091] It should be noted that, as Figure 6As shown, the vertical distance 'a' is obtained by using the cosine formula with the preset angle and the first distance value:
[0092] a=dcosα
[0093] Where α represents the preset angle, d is the first distance value, and the second preset threshold is the value at which the vertical distance meets the defoaming requirement. This threshold can be set according to the garment parameters and specific needs. The threshold can be a specific value or a range of values.
[0094] In another embodiment, combined Figure 7 , Figure 9 As shown, determining whether to perform a defoaming process based on the distance value also includes:
[0095] S209: Determine whether the foam has reached the warning value by using the distance value that can be collected within the third preset threshold.
[0096] The third preset threshold is the distance between the sensor and the foam when the foam volume is at its maximum; the third preset threshold is much smaller than the first preset threshold and the second preset threshold. This threshold can be a specific value or a range of values.
[0097] S210: If a distance value can be collected within the third preset threshold, it is determined that a large amount of foam has been generated, and the defoaming process is started.
[0098] S211: If no distance value is collected within the third preset threshold, it is determined that no large amount of foam has been generated, and the distance value is continuously monitored.
[0099] In some embodiments, such as Figure 9 The diagram illustrates that, for example, when foam has spread to the door glass, it indicates that the foam quantity has reached its maximum, i.e., the warning threshold, and a defoaming process urgently needs to be executed. Detecting foam at the door glass: This is done by measuring distance values that can be collected near a specific depth on the washing machine's door glass to determine if a large amount of foam has been generated. Specifically, for example, all third-depth threshold values (z) can be filtered out. k The distance values form a set T Zk Determine set T Zk If a distance value exists, it can be determined that foam has been generated, and the defoaming process can be started.
[0100] It should be noted that z k It can be a point value or a value in z. k The range of values formed near the depth of the door glass is used to characterize whether there is a reflection signal at the depth of the door glass; since the water reflection signal is extremely weak, the depth sensor can capture the foam with reflective ability on the water surface, and the clothing data can be filtered by rotating the cylinder to ensure the accuracy of the judgment.
[0101] like Figure 8 As shown, the defoaming process includes the following steps before it begins:
[0102] Control the washing device to rotate and obtain the distance value again;
[0103] Determine whether the distance values before and after the washing device rotates are consistent;
[0104] If the distance values are consistent, then it is determined that there is foam inside the cylinder;
[0105] If the distance values are inconsistent, the distance values will be continuously monitored.
[0106] The distance value detected by the sensor may also be the distance between the sensor and the clothing. Therefore, it is necessary to rotate the drum to filter out the clothing data in order to ensure the accuracy of the data.
[0107] Controlling the rotation of the washing machine drum includes, but is not limited to, controlling the inner drum to rotate forward, reverse, or alternately in both directions, as well as controlling the inner drum to perform forward and reverse rotation to create a shaking motion. During the operation of the inner drum, the depth distance can be continuously monitored. When the detected depth distance is within a second preset threshold, the defoaming process is initiated, improving the cleaning efficiency of the washing machine.
[0108] This application uses a sensor to obtain distance values to accurately distinguish the foam situation inside the washing device drum. Based on the distance value, it can determine if there is too much foam, so as to promptly execute the defoaming process and avoid foam overflow from the washing device, which could cause damage. Timely execution of the defoaming process improves the cleaning efficiency of the washing device.
[0109] Example 2
[0110] A washing device is disclosed, along with a method for detecting overflow bubbles within the washing device. A detailed description of the method can be found in the corresponding descriptions in the above-described method embodiments, and will not be repeated here. In some embodiments, the washing device may be a washing machine, and in other embodiments, it may be a washer-dryer combo; this embodiment uses a pulsator washing machine as an example.
[0111] It should be noted that the sensor is installed inside the door glass of the washing machine, on the door seal, or inside the lifting rib.
[0112] Combination Figure 5 , Figure 9 As shown, the washing device includes an inner drum 1, a door 12, a door glass 11, and a sensor 2, with the door glass 11 mounted on the door 12. The washing device includes at least one sensor 2. The sensor acquires the distance value between the inner environment of the drum and the sensor itself, and determines whether a defoaming process needs to be performed based on the distance value.
[0113] In some alternative embodiments, the sensing device 2 is fixedly installed inside the door glass 11. The sensing device 2 continuously sends modulated light sources or pulses into the cylinder, and then receives the light returning from the inner cylinder. The distance to the foam 4 inside the cylinder is obtained by measuring the round-trip time of the modulated light source or probe light pulse. Since the sensing device 2 is fixedly installed inside the door glass, its spatial position is fixed, and the detection space is also fixed, ensuring the validity of the data collected by the sensor.
[0114] In some alternative embodiments, the sensing device 2 can also be mounted on the door seal. The sensing device 2 continuously sends modulated light sources or pulses into the cylinder, and then receives the light returning from the inner cylinder. The distance to the foam 3 inside the cylinder is obtained by measuring the round-trip time of the modulated light source or probe light pulse. Since the sensing device 2 is fixedly mounted on the door seal, its spatial position is fixed, and the detection space is also fixed, ensuring the validity of the data collected by the sensor.
[0115] In some alternative embodiments, the sensor 2 can also be installed inside the lifting rib. The sensor 2 measures the internal environment of the cylinder when it is in a specific position. Although the sensor 2 is fixedly installed inside the lifting rib, the position of the sensor is not fixed because the lifting rib rotates with the inner cylinder. Therefore, to ensure the validity of the data collected by the sensor, it is necessary to control the lifting rib to stop at a specific position before collecting distance values. For example, when the lifting rib containing the sensor 2 rotates to its highest position, the detection space of the sensor 2 is also fixed, ensuring the validity of the data collected by the sensor.
[0116] The sensing device in this embodiment is a Time-of-Flight (TOF) sensor, which can be used to measure distance and obtain a distance value. The light source integrated into the TOF sensor emits light pulses that illuminate the object. The object reflects the light pulses back to the camera. Based on the time required for the light pulses to travel, the distance between the object and the camera is determined, thereby obtaining the distance value.
[0117] When using a Time-of-Flight (TOF) sensor for data acquisition, up to 9 million distance measurements can be performed per second with millimeter-level accuracy. Compared to other sensing devices, TOF sensors are more economical, compact, and simple, allowing for easy installation and integration.
[0118] Example 3
[0119] An electronic device 100, such as Figure 10 As shown, the device includes: a memory 101 storing program code; and a processor 102 connected to the memory, which, when executed by the processor, implements a method for detecting overflow bubbles in a washing device. For a detailed description of the method, please refer to the corresponding description in the above method embodiments, which will not be repeated here.
[0120] Example 4
[0121] A computer-readable storage medium 200, such as Figure 11 As shown, it stores program instructions 201, which, when executed, implement a method for detecting overflow bubbles in a washing device. For a detailed description of the method, please refer to the corresponding description in the above method embodiments; it will not be repeated here.
[0122] The number of devices and processing scale described herein are for the purpose of simplifying the description of the invention. Applications, modifications, and variations of the invention will be readily apparent to those skilled in the art.
[0123] Although embodiments of the present invention have been disclosed above, they are not limited to the applications listed in the specification and embodiments. They can be applied to various fields suitable for the present invention. For those skilled in the art, other modifications can be easily made. Therefore, without departing from the general concept defined by the claims and their equivalents, the present invention is not limited to the specific details and illustrations shown and described herein.
[0124] The apparatus, electronic device, and non-volatile computer storage medium and method provided in the embodiments of this specification are corresponding. Therefore, the apparatus, electronic device, and non-volatile computer storage medium also have similar beneficial technical effects as the corresponding method. Since the beneficial technical effects of the method have been described in detail above, the beneficial technical effects of the corresponding apparatus, electronic device, and non-volatile computer storage medium will not be repeated here.
[0125] Those skilled in the art will also know that, besides implementing the controller in the form of purely computer-readable program code, the same functions can be achieved by logically programming the method steps, making the controller take the form of logic gates, switches, application-specific integrated circuits (ASICs), programmable logic controllers (PLCs), and embedded microcontrollers. Therefore, such a controller can be considered a hardware component, and the devices included within it for implementing various functions can also be considered structures within that hardware component. Alternatively, the devices for implementing various functions can be considered as both software units implementing the method and structures within a hardware component.
[0126] The systems, apparatuses, or units described in the above embodiments can be implemented by computer chips or physical entities, or by products with certain functions. For ease of description, the above apparatuses are described separately as various units based on their functions. Of course, when implementing one or more embodiments of this specification, the functions of each unit can be implemented in one or more software and / or hardware.
[0127] Those skilled in the art will understand that the embodiments of this specification can be provided as methods, systems, or computer program products. Therefore, the embodiments of this specification can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the embodiments of this specification can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0128] This specification is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this specification. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create a machine for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0129] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0130] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0131] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0132] This specification may be described in the general context of computer-executable instructions, such as program units, that are executed by a computer. Generally, program units include routines, programs, objects, components, data structures, etc., that perform a specific task or implement a specific abstract data type. This specification may also be practiced in distributed computing environments, where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program units may reside in local and remote computer storage media, including storage devices.
[0133] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to interchangeably. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.
[0134] The above description is merely an embodiment of this specification and is not intended to limit the scope of one or more embodiments of this specification. Various modifications and variations can be made to one or more embodiments of this specification by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principle of one or more embodiments of this specification should be included within the scope of the claims of one or more embodiments of this specification.
Claims
1. A method for detecting overflow foam in a washing device, characterized in that, The washing unit is equipped with a sensor to collect data from inside the drum. The washing process includes the following steps: The distance value obtained by the sensing device after reflection from the environment inside the inner cylinder is acquired. Determine whether a defoaming process needs to be executed based on the distance value.
2. The method for detecting overflow foam in a washing device according to claim 1, characterized in that, The distance values collected, obtained from reflections of the environment inside the inner cylinder, specifically include: The light source module of the sensing device emits a beam of light into the cylinder at a preset angle; The reflected light beam is received by the receiving module of the sensing device; The distance value is obtained based on the time difference between the emitted beam and the reflected beam.
3. The method for detecting overflow foam in a washing device according to claim 1, characterized in that, Determining whether a defoaming process needs to be executed based on the distance value specifically includes: Determine whether the distance value is less than or equal to a first preset threshold; the first preset threshold is the distance between the sensor and the cylinder when there is foam in the cylinder and the foam is high. If the distance value is less than or equal to the first preset threshold, the defoaming process is started. If the distance value is greater than the first preset threshold, the distance value is reacquired.
4. The method for detecting overflow foam in a washing device according to claim 1, characterized in that, Obtaining the distance value collected by the sensing device and obtained by reflection from the environment inside the inner cylinder further includes: The distance value includes multiple first distance values; The first distance value is the first distance value collected by the sensing device at different preset angles and obtained by reflection from the environment inside the inner cylinder.
5. The method for detecting overflow foam in a washing device according to claim 4, characterized in that, Determining whether a defoaming process needs to be executed based on the distance value specifically includes: Based on the first distance value, determine whether the sampling points are on the same preset plane; If they are on the same preset plane, the defoaming process will begin. If they are not on the same preset plane, the first distance value will be continuously monitored.
6. The method for detecting overflow foam in a washing device according to claim 1, characterized in that, Determining whether a defoaming process needs to be executed based on the distance value also includes: The distance values that can be collected within the third preset threshold are used to determine whether the foam has reached the warning value.
7. The method for detecting overflow foam in a washing device according to claim 6, characterized in that, Specifically, it includes: If a distance value can be collected within the third preset threshold, it is determined that the foam has reached the warning value, and the defoaming process begins. If no distance value is collected within the third preset threshold, it is determined that the foam has not reached the warning value, and the distance value is continuously monitored.
8. The method for detecting overflow foam in a washing apparatus according to any one of claims 2, 5, or 7, characterized in that, The process of defoaming is further divided into the following steps before starting the defoaming process: Control the washing device to rotate, and obtain the distance value again; Determine whether the distance values are consistent before and after the washing device rotates; If they match, then it is determined that there is foam inside the cylinder; If there is a discrepancy, the distance value will be continuously monitored.
9. A washing device, characterized in that, The method described in any one of claims 1 to 8 is applied.
10. The washing apparatus according to claim 9, characterized in that, The sensing device is installed inside the door glass of the washing device, on the door seal, or inside the lifting rib.
11. An electronic device, characterized in that, include: A memory that stores program code; A processor connected to the memory, which, when the program code is executed by the processor, implements the method as described in any one of claims 1 to 8.
12. A computer-readable storage medium, characterized in that, It stores program instructions that, when executed, implement the method as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Depth camera module, depth camera, depth map obtaining method, and depth camera module forming method
CN109889809A