Foam eliminating method of washing machine, electronic equipment, medium and washing machine
By obtaining the image in the bucket in the washing machine and using the foam detection algorithm to determine the foam residue, selectively performing the defoaming operation, the problem of foam removal after the washing procedure is solved, and the clothing cleaning effect and defoaming efficiency are improved.
Patent Information
- Application Number
- CN202311382348.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-24
- Publication Date
- 2025-04-25
AI Technical Summary
After the washing procedure is over, the foam will be eliminated and will affect the washing effect of the clothes.
Defoaming operations, including spray defoaming and rinsing operations, are selectively performed by acquiring images in the washing machine bucket and using a foam detection algorithm to determine whether foam residue is above a preset threshold.
It effectively solves the problem of foam eliminating uncleanness after the washing procedure, improves the washing effect of clothes, and improves the efficiency of defoaming operation through the combination of water spraying and blowing equipment of different intensity.
Smart Images

Figure CN119877236A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of washing machines, and specifically provides a foam elimination method for a washing machine, an electronic device, a medium and a washing machine. Background Art
[0002] During the use of the washing machine, although relatively fine control is made on the foam flushing, in some cases the foam is not eliminated cleanly. For example, when the user manually puts in too much detergent and uses the quick wash program, too much foam is generated during the washing process, resulting in foam remaining on the drum pad below. As a result, the foam may not be eliminated cleanly after the washing program is completed, affecting the cleaning effect of the clothes.
[0003] Accordingly, the art needs a new foam elimination solution for a washing machine to solve the above problems. Summary of the invention
[0004] In order to overcome the above-mentioned defects, the present invention is proposed to provide a foam elimination method, electronic device, medium and washing machine for a washing machine, so as to solve or at least partially solve the technical problem that the foam is still not completely eliminated after the washing program is completed.
[0005] In a first aspect, the present invention provides a method for eliminating foam in a washing machine, comprising:
[0006] In response to the washing program ending, acquiring an image inside the drum of the washing machine;
[0007] Based on the drum image of the washing machine and the foam detection algorithm, determining whether the foam residue in the drum of the washing machine is higher than a first preset threshold;
[0008] Based on the judgment result, a defoaming operation is selectively performed;
[0009] If the defoaming operation is performed, the rinsing operation is performed after the defoaming operation is completed.
[0010] In a technical solution of the above-mentioned method for eliminating foam in a washing machine, the washing machine is provided with a spray device, and the selectively performing the defoaming operation based on the judgment result includes:
[0011] If the judgment result is no, the defoaming operation is not performed;
[0012] If the judgment result is yes, a spray device is used to spray and defoam the inner barrel of the washing machine.
[0013] In a technical solution of the above-mentioned method for eliminating foam in a washing machine, the step of using a spray device to spray and eliminate foam on the inner barrel of the washing machine comprises:
[0014] Acquire a ratio of the foam area to the image based on the image in the drum of the washing machine;
[0015] Based on the ratio, water flow of different intensities is used for spraying.
[0016] In a technical solution of the above-mentioned method for eliminating foam in a washing machine, the method further comprises:
[0017] Acquiring a real-time image of the washing machine in the drum based on dynamic detection;
[0018] Acquire a ratio of the foam area to the real-time drum image of the washing machine based on the image, wherein the ratio is divided into a first ratio, a second ratio, or a third ratio;
[0019] Based on the ratio, a water flow of a corresponding first intensity, a second intensity, or a third intensity is adopted for spraying.
[0020] In a technical solution of the above-mentioned method for eliminating foam in a washing machine, the washing machine is further provided with a blowing device, and the performing of the defoaming operation further comprises:
[0021] determining whether the foam is within the spraying range of the spraying device based on the image inside the drum of the washing machine;
[0022] If the foam is within the spraying range of the spraying device, the spraying device is directly used to spray and defoam the inner barrel of the washing machine;
[0023] If there is foam outside the spraying range of the spraying device, a blowing device is used to transfer the foam outside the spraying range into the spraying range, and then the spraying device is used to spray and defoam the inner barrel of the washing machine.
[0024] In a technical solution of the above-mentioned method for eliminating foam in a washing machine, the method further comprises:
[0025] After the rinsing operation is completed, returning to "re-acquiring the image inside the washing machine barrel", and judging whether the foam residue in the current washing machine barrel is higher than a first preset threshold based on the re-acquired image inside the washing machine barrel and the foam detection algorithm;
[0026] Until the judgment result is no, the defoaming operation is not performed.
[0027] In a technical solution of the above-mentioned method for eliminating foam in a washing machine, the washing machine is provided with a spray device, and the method further comprises:
[0028] When the rinsing program is running, images of the inside of the drum of the washing machine during the rinsing process are obtained at preset intervals;
[0029] Based on the image in the drum during the rinsing process and the foam detection algorithm, determining whether the foam residue in the current washing machine drum is higher than a second preset threshold;
[0030] If so, perform a spray defoaming operation to reduce the residual foam during the rinsing process.
[0031] In a second aspect, an electronic device is provided, which includes a processor and a memory, wherein the memory is suitable for storing multiple program codes, and the program codes are suitable for being loaded and run by the processor to execute the foam elimination method for a washing machine described in any one of the technical solutions of the above-mentioned foam elimination method for a washing machine.
[0032] In a third aspect, a computer-readable storage medium is provided, in which a plurality of program codes are stored, wherein the program codes are suitable for being loaded and run by a processor to execute the foam elimination method for a washing machine described in any one of the technical solutions of the foam elimination method for a washing machine.
[0033] In a fourth aspect, the present invention provides a washing machine, comprising a washing machine body and the above-mentioned electronic device.
[0034] The above one or more technical solutions of the present invention have at least one or more of the following Beneficial effects:
[0035] In the technical solution of the present invention, the image inside the washing machine barrel and the foam detection algorithm are used to determine whether the foam residue in the washing machine barrel is higher than a first preset threshold, and a defoaming operation is selectively performed, thereby solving the problem of incomplete foam elimination after the washing program is completed.
[0036] Furthermore, by adopting technical solutions such as spraying with water flow of different intensities and combining with blowing equipment to eliminate foam, the efficiency of the defoaming operation is further improved. And by combining technical solutions such as re-detecting and performing the defoaming operation after the rinsing operation is completed, and performing the defoaming operation during the rinsing program, the level of foam elimination is further improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The disclosure of the present invention will become more easily understood with reference to the accompanying drawings. It is easy for those skilled in the art to understand that these drawings are only for illustrative purposes and are not intended to limit the scope of protection of the present invention. In addition, similar numbers in the figures are used to represent similar components, among which:
[0038] Figure 1 is a flow chart of main steps of a foam elimination method for a washing machine according to an embodiment of the present invention;
[0039] Figure 2is a detailed flow chart of the steps of a method for eliminating foam in a washing machine according to an embodiment of the present invention;
[0040] Figure 3 It is a main structural block diagram of an electronic device for executing the foam elimination method of a washing machine of the present invention. DETAILED DESCRIPTION
[0041] Some embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.
[0042] In the description of the present invention, "module" and "processor" may include hardware, software or a combination of the two. A module may include hardware circuits, various suitable sensors, communication ports, and memories, and may also include software parts, such as program codes, or a combination of software and hardware. The processor may be a central processing unit, a microprocessor, an image processor, a digital signal processor, or any other suitable processor. The processor has data and / or signal processing functions. The processor may be implemented in software, hardware, or a combination of the two. Non-temporary computer-readable storage media include any suitable medium that can store program codes, such as a magnetic disk, a hard disk, an optical disk, a flash memory, a read-only memory, a random access memory, and the like. The term "A and / or B" means all possible combinations of A and B, such as only A, only B, or A and B. The term "at least one A or B" or "at least one of A and B" has a similar meaning to "A and / or B", and may include only A, only B, or A and B. The singular terms "one" and "the" may also include plural forms.
[0043] See attached Figure 1 , Figure 1 FIG. 1 is a flow chart of the main steps of a foam elimination method for a washing machine according to an embodiment of the present invention. Figure 1 As shown, the foam elimination method of the washing machine in the embodiment of the present invention mainly includes the following steps S11 to S14.
[0044] Step S11, in response to the washing program ending, acquiring an image inside the drum of the washing machine.
[0045] In this embodiment, a camera disposed in the washing machine may be used to take a picture of the inside of the drum to obtain an image of the inside of the drum of the washing machine.
[0046] Specifically, obtaining the image inside the drum of the washing machine includes obtaining the foam situation at the drum pad of the washing machine and / or obtaining the foam situation at the drum pad of the washing machine and the foam situation attached to the clothes.
[0047] Step S12, based on the drum image of the washing machine and the foam detection algorithm, it is determined whether the foam residue in the drum of the washing machine is higher than a first preset threshold.
[0048] Among them, the image inside the barrel of the washing machine and the foam detection algorithm are used to judge whether the foam residue in the current washing machine barrel is higher than a first preset threshold. Specifically, the judgment can be made by adopting a deep learning model suitable for image classification, such as a convolutional neural network. A pre-trained CNN model, such as ResNet, Inception, etc., can also be used, which can be fine-tuned and trained to judge the foam residue in the washing machine barrel.
[0049] In one embodiment, the first preset threshold value can be set by those skilled in the art according to actual needs. That is, when the foam residue in the washing machine drum is higher than the first preset threshold value, it is considered that the foam has not been rinsed clean at the end of the washing program and further defoaming operation is required; when it is lower than the first preset threshold value, it is considered that the foam has been rinsed clean at the end of the washing program and no further defoaming operation is required.
[0050] Step S13, selectively performing a defoaming operation based on the judgment result.
[0051] In one embodiment of the present invention, the washing machine is provided with a spray device, and the selectively performing the defoaming operation based on the judgment result includes:
[0052] If the judgment result is no, the defoaming operation is not performed;
[0053] If the judgment result is yes, a spray device is used to spray and defoam the inner barrel of the washing machine.
[0054] In one embodiment of the present invention, the step of spraying and defoaming the inner barrel of the washing machine using a spray device comprises:
[0055] Acquire a ratio of the foam area to the image based on the image in the drum of the washing machine;
[0056] Based on the ratio, water flow of different intensities is used for spraying.
[0057] Furthermore, in one embodiment, the method further comprises:
[0058] Acquiring a real-time image of the washing machine in the drum based on dynamic detection;
[0059] Acquire a ratio of the foam area to the real-time drum image of the washing machine based on the image, wherein the ratio is divided into a first ratio, a second ratio, or a third ratio;
[0060] Based on the ratio, a water flow of a corresponding first intensity, a second intensity, or a third intensity is adopted for spraying.
[0061] The larger the proportion of the foam area to the image, the greater the water flow intensity used during spraying, which can save water while cleaning the foam in the barrel and reduce the cost of removing foam.
[0062] In one embodiment of the present invention, the washing machine is further provided with a blowing device, and the performing of the defoaming operation further comprises:
[0063] determining whether the foam is within the spraying range of the spraying device based on the image inside the drum of the washing machine;
[0064] If the foam is within the spraying range of the spraying device, the spraying device is directly used to spray and defoam the inner barrel of the washing machine;
[0065] If foam exists and is outside the spraying range of the spraying device, a blowing device is used to transfer the foam outside the spraying range into the spraying range, and then the spraying device is used to spray and defoam the inner barrel of the washing machine.
[0066] The above-mentioned embodiment can transfer the foam outside the spraying range into the spraying range and remove it, so as to reduce the number of times the foam elimination operation is repeated and effectively eliminate the foam in the washing machine barrel.
[0067] Step S14: if a defoaming operation is performed, a rinsing operation is performed after the defoaming operation is completed.
[0068] Specifically, in one embodiment, the performing of the rinsing operation is performing one rinsing operation. In other embodiments of the present invention, those skilled in the art can set the number of rinsing times required for performing the rinsing operation as required.
[0069] In one embodiment of the present invention, the method further comprises:
[0070] After the rinsing operation is completed, returning to "re-acquiring the image inside the washing machine barrel", and judging whether the foam residue in the current washing machine barrel is higher than a first preset threshold based on the re-acquired image inside the washing machine barrel and the foam detection algorithm;
[0071] Until the judgment result is no, the defoaming operation is not performed.
[0072] Furthermore, the present invention provides an embodiment. Figure 2 , Figure 2 It is a detailed flowchart of a foam elimination method for a washing machine according to an embodiment of the present invention.
[0073] Step S21, in response to the washing program ending, acquiring an image inside the drum of the washing machine;
[0074] Step S22, based on the drum image of the washing machine and the foam detection algorithm, determine whether the foam residue in the drum of the current washing machine is higher than a first preset threshold; if the determination result is no, execute step S23, if the determination result is yes, execute step S24;
[0075] Step S23, not performing the defoaming operation;
[0076] Step S24, performing a defoaming operation; specifically, a spraying device may be used to spray and defoam the inner barrel of the washing machine;
[0077] Step S25, after the defoaming operation is completed, performing a rinsing operation;
[0078] After the rinsing operation in step S25 is completed, the process returns to step S21 to "re-acquire the image inside the drum of the washing machine", and based on the re-acquired image inside the drum of the washing machine and the foam detection algorithm, it is determined whether the foam residue in the current drum of the washing machine is higher than a first preset threshold value; until the judgment result is no, the defoaming operation is not performed.
[0079] The above embodiment can check the effect of foam elimination after the rinsing operation is completed, and further defoaming treatment can be performed on the possible situation where the foam elimination is not ideal, until the requirement of clean foam rinsing is met.
[0080] Furthermore, in one embodiment of the present invention, the washing machine is provided with a spray device, and the method further comprises:
[0081] When the rinsing program is running, images of the inside of the drum of the washing machine during the rinsing process are obtained at preset intervals;
[0082] Based on the image in the drum during the rinsing process and the foam detection algorithm, determining whether the foam residue in the current washing machine drum is higher than a second preset threshold;
[0083] If so, perform a spray defoaming operation to reduce the residual foam during the rinsing process.
[0084] Since the complete washing program includes a rinsing program, performing a defoaming operation during the rinsing program can effectively reduce the amount of foam attached to the clothes at the end of the washing program, which helps to reduce the working pressure of the defoaming operation after the washing program. In addition, performing a spray defoaming operation does not require pausing the rinsing program and will not affect the rinsing speed of the clothes.
[0085] In order to take into account the efficiency of the rinsing procedure, the second preset threshold is usually set higher than the first preset threshold.
[0086] Based on the above steps S11 to S14, the image inside the washing machine barrel and the foam detection algorithm are used to determine whether the foam residue in the washing machine barrel is higher than the first preset threshold, and a defoaming operation is selectively performed, thereby solving the problem that the foam is not completely eliminated after the washing program is completed.
[0087] Furthermore, by adopting technical solutions such as spraying with water flow of different intensities and combining with blowing equipment to eliminate foam, the efficiency of the defoaming operation is further improved. And by combining technical solutions such as re-detecting and performing the defoaming operation after the rinsing operation is completed, and performing the defoaming operation during the rinsing program, the level of foam elimination is further improved.
[0088] It should be pointed out that although the various steps in the above embodiments are described in a specific order, those skilled in the art can understand that in order to achieve the effects of the present invention, different steps do not have to be performed in such an order. They can be performed simultaneously (in parallel) or in other orders. These changes are within the scope of protection of the present invention.
[0089] Furthermore, the present invention also provides an electronic device. Figure 3 , Figure 3 It is a main structural block diagram of an electronic device for executing the foam elimination method of a washing machine of the present invention.
[0090] like Figure 3 As shown, in an electronic device embodiment according to the present invention, the electronic device 300 includes a processor 301 and a memory 302, the memory 302 can be configured to store a program code 303 for executing the foam elimination method of the washing machine of the above method embodiment, and the processor 301 can be configured to execute the program code 303 in the memory 302, the program code 303 including but not limited to the program code 303 for executing the foam elimination method of the washing machine of the above method embodiment. For the convenience of explanation, only the part related to the embodiment of the present invention is shown, and for the specific technical details not disclosed, please refer to the method part of the embodiment of the present invention.
[0091] Exemplarily, the processor 301 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0092] The memory 302 may be an internal storage unit of the electronic device 300, for example, a hard disk or memory of the electronic device 300; the memory 302 may also be an external storage device of the electronic device 300, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 300. Further, the memory 302 may also include both an internal storage unit of the electronic device 300 and an external storage device. The memory 302 is used to store computer programs and other programs and data required by the electronic device 300. The memory 302 may also be used to temporarily store data that has been output or is to be output.
[0093] In some possible implementations, the electronic device 300 may include multiple processors 301 and memories 302. The program code 303 for executing the foam elimination method for the washing machine of the above method embodiment may be divided into multiple subprograms, each of which may be loaded and run by the processor 301 to execute different steps of the foam elimination method for the washing machine of the above method embodiment. Specifically, each subprogram may be stored in different memories 302, respectively, and each processor 301 may be configured to execute the programs in one or more memories 302 to jointly implement the foam elimination method for the washing machine of the above method embodiment, that is, each processor 301 executes different steps of the foam elimination method for the washing machine of the above method embodiment, respectively, to jointly implement the foam elimination method for the washing machine of the above method embodiment.
[0094] Furthermore, the present invention also provides a computer-readable storage medium. In a computer-readable storage medium embodiment according to the present invention, the computer-readable storage medium can be configured to store a program for executing the foam elimination method of the washing machine of the above-mentioned method embodiment, and the program can be loaded and run by the processor to implement the foam elimination method of the above-mentioned washing machine. For ease of explanation, only the parts related to the embodiment of the present invention are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present invention. The computer-readable storage medium can be a storage device formed by various electronic devices. Optionally, the computer-readable storage medium in the embodiment of the present invention is a non-temporary computer-readable storage medium.
[0095] Furthermore, the present invention also provides a washing machine, comprising a washing machine body and the above-mentioned electronic device.
[0096] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0097] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments of the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0098] In the embodiments provided by the present invention, it should be understood that the disclosed electronic devices and methods can be implemented in other ways. For example, the electronic device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices or units, which may be electrical, mechanical or other forms.
[0099] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0100] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0101] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. The computer program may include computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electric carrier signals and telecommunication signals.
[0102] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
Claims
1. A method for eliminating foam in a washing machine, characterized in that: include: In response to the washing program ending, acquiring an image inside the drum of the washing machine; Based on the drum image of the washing machine and the foam detection algorithm, determining whether the foam residue in the drum of the washing machine is higher than a first preset threshold; Based on the judgment result, a defoaming operation is selectively performed; If the defoaming operation is performed, the rinsing operation is performed after the defoaming operation is completed.
2. The method according to claim 1, characterized in that The washing machine is provided with a spray device, and the selectively performing the defoaming operation based on the judgment result includes: If the judgment result is no, the defoaming operation is not performed; If the judgment result is yes, a spray device is used to spray and defoam the inner barrel of the washing machine.
3. The method according to claim 2, characterized in that The method of using a spraying device to spray and defoam the inner barrel of the washing machine includes: Acquire a ratio of the foam area to the image based on the image in the drum of the washing machine; Based on the ratio, water flow of different intensities is used for spraying.
4. The method according to claim 3, characterized in that The method further comprises: Acquiring a real-time image of the washing machine in the drum based on dynamic detection; Acquire a ratio of the foam area to the real-time drum image of the washing machine based on the image, wherein the ratio is divided into a first ratio, a second ratio, or a third ratio; Based on the ratio, a water flow of a corresponding first intensity, a second intensity, or a third intensity is adopted for spraying.
5. The method according to claim 2, characterized in that: The washing machine is also provided with a blowing device, and the defoaming operation further comprises: determining whether the foam is within the spraying range of the spraying device based on the image inside the drum of the washing machine; If the foam is within the spraying range of the spraying device, the spraying device is directly used to spray and defoam the inner barrel of the washing machine; If there is foam outside the spraying range of the spraying device, a blowing device is used to transfer the foam outside the spraying range into the spraying range, and then the spraying device is used to spray and defoam the inner barrel of the washing machine.
6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: After the rinsing operation is completed, returning to "re-acquiring the image inside the washing machine barrel", and judging whether the foam residue in the current washing machine barrel is higher than a first preset threshold based on the re-acquired image inside the washing machine barrel and the foam detection algorithm; Until the judgment result is no, the defoaming operation is not performed.
7. The method according to any one of claims 2 to 5, characterized in that: The washing machine is provided with a spray device, and the method further comprises: When the rinsing program is running, images of the inside of the drum of the washing machine during the rinsing process are obtained at preset intervals; Based on the image in the drum during the rinsing process and the foam detection algorithm, determining whether the foam residue in the current washing machine drum is higher than a second preset threshold; If so, perform a spray defoaming operation to reduce the residual foam during the rinsing process.
8. An electronic device, comprising a processor and a memory, wherein the memory is suitable for storing a plurality of program codes, characterized in that: The program code is suitable for being loaded and run by the processor to execute the foam elimination method for a washing machine according to any one of claims 1 to 7.
9. A computer-readable storage medium storing a plurality of program codes, characterized in that: The program code is suitable for being loaded and run by a processor to execute the foam elimination method for a washing machine according to any one of claims 1 to 7.
10. A washing machine, characterized in that: The invention comprises a washing machine body and the electronic device according to claim 8.