Foam control method and device of washing machine, washing machine and medium
By setting thresholds in the washing machine and monitoring the foam height and speed in real time, the problem of insufficient foam detection accuracy in the prior art is solved, and a more efficient foam treatment effect is achieved.
Patent Information
- Application Number
- CN202310603748.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-26
- Publication Date
- 2024-11-26
AI Technical Summary
The foam detection methods in existing washing machines are insufficient in accuracy, and the foam state cannot be effectively obtained, the processing effect is poor, and it is handled after the event.
Set up safety lines, early warning lines and defoaming lines in the washing machine to obtain the foam height and growth rate in real time, compare according to the threshold, perform prevention and defoaming treatment, analyze the foam trend in advance and intervene in the treatment.
The efficiency and accuracy of foam treatment are improved, and the processing effect is better through different thresholds. The treatment effect is improved in advance.
Smart Images

Figure CN119020940A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of washing machines, and in particular provides a foam control method and device for a washing machine, a washing machine and a medium. Background Art
[0002] The prior art usually uses a motor detection method to detect the foam in the washing machine. When there is too much foam, it will fill the inner and outer drums of the washing machine. When the drum is running, the resistance will increase, and then the motor output current signal will change. When the current current signal exceeds the set current threshold, it is judged that there is too much foam. Therefore, the motor detection method is not accurate enough and is a post-processing method, that is, it will not be detected until there is too much foam, and the foam state cannot be well obtained in the subsequent foam processing, and the processing effect is not good. Summary of the invention
[0003] In order to overcome the above-mentioned defects, the present invention is proposed to provide a solution or at least partially solve the problem of being unable to effectively obtain the foam state and the poor effect of processing the foam.
[0004] In a first aspect, the present invention provides a foam control method for a washing machine, comprising:
[0005] S1. Before washing, a first threshold corresponding to a safety line, a second threshold corresponding to a warning line, a third threshold corresponding to a defoaming line, and / or a preset growth rate are set according to the amount of laundry in the washing machine, wherein the second threshold is greater than the first threshold, and the third threshold is greater than the second threshold;
[0006] S2, obtaining in real time the current height of the foam in the washing machine and / or the current growth rate of the foam;
[0007] S3, comparing the current height of the foam with at least one of the first threshold, the second threshold, and the third threshold to obtain a first comparison result;
[0008] and / or, comparing the current growth rate of the foam with a preset growth rate to obtain a second comparison result;
[0009] S4. Perform corresponding control on the washing machine based on the first comparison result and / or the second comparison result.
[0010] In a technical solution of the foam control method of the washing machine, controlling the washing machine accordingly based on the first comparison result and / or the second comparison result includes:
[0011] When the first comparison result is that the current height of the foam is less than or equal to the first threshold, the washing machine continues to execute the preset program;
[0012] and / or, when the first comparison result is that the current height of the foam is greater than or equal to a second threshold value and / or the current growth rate of the foam is greater than or equal to a preset growth rate, a preventive processing procedure is initiated;
[0013] And / or, when the first comparison result is that the current height of the foam is greater than or equal to a third threshold, a defoaming program is started.
[0014] In a technical solution of the foam control method of the washing machine, the method further comprises:
[0015] After the preventive treatment program is started for a preset time, the real-time acquisition of the foam height and / or the foam speed in the washing machine is continued, and steps S3 and S4 are performed based on the continuously acquired foam height and / or foam speed.
[0016] In one technical solution of the foam control method for the washing machine, starting the preventive treatment program includes:
[0017] The current growth rate of the foam is obtained, and a corresponding preventive measure is selected based on a gear corresponding to the current growth rate of the foam.
[0018] In a technical solution of the foam control method of the washing machine, obtaining the current growth rate of the foam includes:
[0019] Get the real-time growth time and distance of the foam;
[0020] Calculating the current growth rate based on the real-time growth time and real-time growth distance of the foam;
[0021] Or, when the first comparison result is that the current height of the foam is greater than or equal to a second threshold, obtain a second growth time and a second growth distance, where the second growth time is the time for the foam to reach the warning line from the safety line, and the second growth distance is the distance between the safety line and the warning line; calculate the current growth speed based on the second growth time and the second growth distance of the foam.
[0022] In a technical solution of the foam control method of the washing machine, the corresponding preventive measures are selected based on the gear corresponding to the current growth rate of the foam, including:
[0023] According to the corresponding gear position, selecting a shift-stop ratio corresponding to the gear position;
[0024] And / or, according to the corresponding gear, selecting a temperature corresponding to the gear.
[0025] In a technical solution of the foam control method of the above-mentioned washing machine, after starting the defoaming program for a preset time, the real-time acquisition of the foam height in the washing machine continues, and the acquired foam height and / or foam speed continues to execute steps S3 and S4.
[0026] In a second aspect, the present invention provides a foam control device for a washing machine, comprising:
[0027] A setting module is used to set a first threshold value corresponding to a safety line, a second threshold value corresponding to a warning line, a third threshold value corresponding to a defoaming line, and / or a preset growth rate according to the amount of laundry to be washed in the washing machine before washing, wherein the second threshold value is greater than the first threshold value, and the third threshold value is greater than the second threshold value; an acquisition module is used to acquire the current height of the foam and the current growth rate of the foam in the washing machine in real time when washing starts; a comparison module is used to compare the current height of the foam with at least one of the first threshold value, the second threshold value, and the third threshold value to obtain a comparison result; and / or compare the current growth rate of the foam with a preset growth rate to obtain a comparison result; a control module is used to control the washing machine accordingly based on the comparison result.
[0028] In a third aspect, a washing machine is provided, comprising a processor and a storage device, wherein the storage device is suitable for storing a plurality of program codes, and the program codes are suitable for being loaded and run by the processor to execute the foam control method for a washing machine described in any one of the technical solutions of the foam control method for the above-mentioned washing machine.
[0029] In a fourth aspect, a computer-readable storage medium is provided, in which a plurality of program codes are stored, characterized in that the program codes are suitable for being loaded and run by a processor to execute the foam control method for a washing machine described in any one of the technical solutions of the foam control method for a washing machine.
[0030] The above one or more technical solutions of the present invention have at least one or more of the following beneficial effects:
[0031] In the technical scheme of implementing the present invention, the present invention provides a method for controlling foam in a washing machine, comprising: S1, before washing, respectively setting a first threshold corresponding to a safety line, a second threshold corresponding to a warning line, and a third threshold corresponding to a defoaming line according to the amount of laundry to be washed in the washing machine, wherein the second threshold is greater than the first threshold, and the third threshold is greater than the second threshold; S2, when washing starts, obtaining the foam height in the washing machine in real time; S3, comparing the foam height in the washing machine obtained in real time with at least one of the first threshold, the second threshold, and the third threshold to obtain a comparison result; S4, controlling the washing machine accordingly based on the comparison result. Compared with the prior art, the method for controlling foam in a washing machine provided by the present invention has the following beneficial effects: the scheme analyzes the foam trend in advance and intervenes in the processing, and at the same time, different processing methods are adopted according to the foam state during the processing process, thereby improving the processing efficiency; in addition, different thresholds are set based on the amount of laundry in the washing machine drum, so that the foam state is obtained more accurately, and when the foam state is judged and processed based on the threshold, the processing effect is better. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] 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:
[0033] Figure 1 is a schematic flow chart of main steps of a method for controlling foam in a washing machine according to an embodiment of the present invention;
[0034] Figure 2 It is a schematic diagram of the main structure block diagram of a foam control device for a washing machine according to an embodiment of the present invention.
[0035] List of reference numerals:
[0036] 11: Setting module; 12: Acquisition module; 13: Comparison module; 14: Control module. DETAILED DESCRIPTION
[0037] 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.
[0038] 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.
[0039] Embodiment 1
[0040] See attached Figure 1 , Figure 1 FIG. 1 is a flow chart showing the main steps of a method for controlling foam in a washing machine according to an embodiment of the present invention. Figure 1 As shown, the foam control method for a washing machine in the embodiment of the present invention mainly includes the following steps S1 to S4.
[0041] S1. Before washing, a first threshold corresponding to a safety line, a second threshold corresponding to a warning line, a third threshold corresponding to a defoaming line, and / or a preset growth rate are set according to the amount of laundry in the washing machine, wherein the second threshold is greater than the first threshold, and the third threshold is greater than the second threshold;
[0042] In this embodiment, a plurality of initial image data containing clothes are acquired, and the acquired initial image data are analyzed, for example, by analyzing the image by feature extraction, to obtain information about the clothes in the image. Specifically, a camera is used to photograph the inner drum of a washing machine containing clothes to be washed, to obtain a picture containing the clothes to be washed, and the picture containing the clothes to be washed is transmitted to the cloud or to a local device to identify the clothes to be washed, to distinguish clothes from non-clothes in the image, and to distinguish the edges of the clothes. Based on the edges of the clothes, the proportion of the clothes in the picture can be calculated, and the proportion of the clothes to be washed in the inner drum can be obtained, and then the volume of the clothes can be obtained. In addition, the total weight of the clothes that can be contained in the inner drum is known, and the weight of the current clothes can be obtained according to the proportion of the clothes in the picture. At least one threshold is set according to at least one of the volume and weight of the clothes to be washed. During the washing process, foam will accumulate between the observation window and the window pad of the washing machine, and as the foam increases, the height will continue to increase and the two sides are basically the same height. Therefore, observing the foam height on one side can reflect the amount of foam in the drum to a certain extent. It can be one or more, for example, three thresholds are set, corresponding to three control lines, including a safety line, a warning line, and a defoaming line. Among them, the safety line is that the amount of foam corresponding to the current amount of clothes is small and will not cause excessive foam. The warning line is that there is a risk of excessive foam, and the defoaming line is that the foam is excessive.
[0043] The camera can be set on the observation window of the washing machine or on the top of the window pad. When the washing machine starts to rotate, the clothes in the washing machine will rub against the camera under the action of inertia, thus keeping the camera clean.
[0044] The preset growth rate is related to factors such as the amount of detergent poured in by the user, the water temperature, and the rotation speed. The amount of detergent added is based on the volume of the laundry to be washed, and the water temperature and rotation speed in the washing machine are related to the current washing program of the washing machine.
[0045] S2, obtaining in real time the current height of the foam in the washing machine and / or the current growth rate of the foam;
[0046] Specifically, by analyzing the image captured by the camera, the current height of the foam in the washing machine is obtained according to the proportion of the current height of the foam in the image.
[0047] S3, comparing the current height of the foam with at least one of the first threshold, the second threshold, and the third threshold to obtain a first comparison result;
[0048] and / or, comparing the current growth rate of the foam with a preset growth rate to obtain a second comparison result;
[0049] In this embodiment, there are many factors that affect the height of the foam in the inner drum, such as the amount of laundry detergent poured in, the rotation speed of the washing machine, etc. Therefore, the height of the foam is uncontrollable and needs to be compared with at least one of the first threshold, the second threshold, and the third threshold in real time; in addition, during the processing of clothes, the speed of the foam can be obtained in real time, so the current growth rate of the foam can also be compared with the preset growth rate.
[0050] S4. Perform corresponding control on the washing machine based on the first comparison result and / or the second comparison result.
[0051] In one embodiment, when the first comparison result is that the current height of the foam is less than or equal to a first threshold, the washing machine continues to execute a preset program; wherein the preset program includes weighing, water intake, washing, rinsing, dehydration, etc.
[0052] And / or, when the first comparison result is that the current height of the foam is greater than or equal to a second threshold value and / or the current growth rate of the foam is greater than or equal to a preset growth rate, a preventive treatment procedure is initiated; initiating the preventive treatment procedure can reduce the amount of foam and prevent further increase of the foam.
[0053] And / or, when the first comparison result is that the current height of the foam is greater than or equal to the third threshold, the defoaming program is started. When the defoaming program needs to be started, it means that the foam is excessive, so it is necessary to strengthen the intervention treatment means, such as spraying, hot air, drainage and the like.
[0054] In one embodiment, starting the prevention treatment procedure includes: selecting a corresponding prevention measure based on the current growth speed of the foam. According to the length of the growth time, the growth time is set to one or more gears, for example, it can be set to a slow gear, a normal gear, and a fast gear, wherein the slow gear can be set to 120s, the normal gear can be set to 60s, and the fast gear can be set to 30s;
[0055] In one embodiment, the current growth rate of the foam is obtained, and a corresponding preventive measure is selected based on the gear corresponding to the current growth rate of the foam.
[0056] In this embodiment, the size of the gear corresponding to the growth rate corresponds to different strengths of the preventive measures.
[0057] In one embodiment, obtaining the current growth rate of the foam includes: obtaining the real-time growth time and real-time growth distance of the foam; calculating the current growth rate based on the real-time growth time and real-time growth distance of the foam; or, when the first comparison result is that the current height of the foam is greater than or equal to a second threshold, obtaining the second growth time and the second growth distance, the second growth time being the time for the foam to reach the warning line from the safety line, and the second growth distance being the distance between the safety line and the warning line; calculating the current growth rate based on the second growth time and the second growth distance of the foam.
[0058] In this embodiment, the height of the foam is extracted and the time of the current foam is recorded by real-time analysis of the information in the picture collected by the camera. In order to calculate the current growth rate, the difference between the current foam time and the foam time at a previous moment is the real-time growth time of the foam. Similarly, the real-time growth distance of the foam can be obtained by the above method, and then the current growth rate of the foam can be calculated. In addition, the current growth rate of the foam can also be calculated based on the distance between the safety line and the warning line, and the time it takes for the foam to grow from the safety line to the warning line.
[0059] Furthermore, based on the growth time t and the growth distance s of the foam, the real-time growth rate is calculated according to the formula V=s / t, and the current growth rate of the foam is calculated.
[0060] In one embodiment, selecting a corresponding preventive measure based on the gear corresponding to the current growth rate of the foam includes: selecting a start-stop ratio corresponding to the gear according to the corresponding gear; and / or selecting a temperature corresponding to the gear according to the corresponding gear.
[0061] In this embodiment, different start-stop ratios are set according to the growth rate of the foam; for example, the faster the growth rate, the smaller the corresponding start-stop ratio. Different temperatures are lowered according to the growth rate of the foam, for example, the faster the growth rate, the faster the temperature drops.
[0062] In one embodiment, after the preventive treatment program is started for a preset time, the real-time acquisition of the foam height and / or the foam speed in the washing machine is continued, and steps S3 and S4 are performed based on the continuously acquired foam height and / or foam speed.
[0063] In this embodiment, since the washing machine program is still running, it is necessary to continuously monitor the foam height and / or foam speed in the washing machine.
[0064] Further, after a preset time period after the defoaming program is started, the real-time acquisition of the foam height and / or the foam speed in the washing machine is continued, and the obtained foam height and / or foam speed is continued to execute steps S3 and S4.
[0065] In this embodiment, since the washing machine is still running, it is necessary to continuously monitor the foam height and / or foam speed in the washing machine.
[0066] 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.
[0067] Embodiment 2
[0068] The invention also provides a foam control device for a washing machine.
[0069] See attached Figure 2 , Figure 2 FIG. 1 is a main structural block diagram of a foam control device for a washing machine according to an embodiment of the present invention. Figure 2 As shown, the foam control device of the washing machine in the embodiment of the present invention mainly includes a setting module 11, an acquisition module 12, a comparison module 13 and a control module 14. In some embodiments, one or more of the setting module 11, the acquisition module 12, the comparison module 13 and the control module 14 can be combined into one module. In some embodiments, the setting module 11 can be configured to execute the program of step S1. The acquisition module 12 can be configured to execute the program of step S2. The comparison module 13 can be configured to execute the program of step S3. The control module 14 executes the program of step S4. In one embodiment, the description of the specific implementation function can refer to steps S1-S4.
[0070] The foam control device of the washing machine is used to perform Figure 1 The embodiment of the foam control method for the washing machine shown in the figure has similar technical principles, technical problems solved and technical effects produced. Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working process and related instructions of the foam control device of the washing machine can refer to the contents described in the embodiment of the foam control method for the washing machine, which will not be repeated here.
[0071] It is understood by those skilled in the art that the present invention implements all or part of the processes in the method of the above embodiment, and can also be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of each of the above method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable storage medium may include: any entity or device, medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory, random access memory, electric carrier signal, telecommunication signal and software distribution medium, etc. that can carry computer program code. It should be noted that the content contained in the computer-readable storage 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 storage medium does not include electric carrier signals and telecommunication signals.
[0072] Embodiment 3
[0073] The present invention also provides a washing machine. In one embodiment of the washing machine according to the present invention, the washing machine includes a processor and a storage device, the storage device can be configured to store a program for executing the foam control method of the washing machine of the above method embodiment, and the processor can be configured to execute the program in the storage device, the program including but not limited to the program for executing the foam control method of the washing machine of the above method embodiment. For ease of explanation, only the part related to the embodiment of the present invention is shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present invention. The control device can be a control device device formed by various electronic devices.
[0074] Embodiment 4, the present invention further 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 control method of the washing machine of the above method embodiment, and the program can be loaded and run by the processor to implement the foam control method of the above 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.
[0075] Further, it should be understood that since the setting of each module is only for illustrating the functional units of the device of the present invention, the physical devices corresponding to these modules may be the processor itself, or a part of the software in the processor, a part of the hardware, or a part of the combination of software and hardware. Therefore, the number of each module in the figure is only schematic.
[0076] Those skilled in the art will appreciate that the modules in the device can be adaptively split or merged. Such splitting or merging of specific modules will not cause the technical solution to deviate from the principle of the present invention, and therefore, the technical solutions after splitting or merging will fall within the protection scope of the present invention.
[0077] 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 foam control method for a washing machine, characterized in that: include: S1. Before washing, a first threshold corresponding to a safety line, a second threshold corresponding to a warning line, a third threshold corresponding to a defoaming line, and / or a preset growth rate are set according to the amount of laundry in the washing machine, wherein the second threshold is greater than the first threshold, and the third threshold is greater than the second threshold; S2, obtaining in real time the current height of the foam in the washing machine and / or the current growth rate of the foam; S3, comparing the current height of the foam with at least one of the first threshold, the second threshold, and the third threshold to obtain a first comparison result; and / or, comparing the current growth rate of the foam with a preset growth rate to obtain a second comparison result; S4. Perform corresponding control on the washing machine based on the first comparison result and / or the second comparison result.
2. The method according to claim 1, characterized in that Controlling the washing machine accordingly based on the first comparison result and / or the second comparison result includes: When the first comparison result is that the current height of the foam is less than or equal to the first threshold, the washing machine continues to execute the preset program; and / or, when the first comparison result is that the current height of the foam is greater than or equal to a second threshold value and / or the current growth rate of the foam is greater than or equal to a preset growth rate, a preventive processing procedure is initiated; And / or, when the first comparison result is that the current height of the foam is greater than or equal to a third threshold, a defoaming program is started.
3. The method according to claim 1, characterized in that The method further comprises: After the preventive treatment program is started for a preset time, the real-time acquisition of the foam height and / or the foam speed in the washing machine is continued, and steps S3 and S4 are performed based on the continuously acquired foam height and / or foam speed.
4. The method according to claim 2, characterized in that: Initiating preventive treatment procedures includes: The current growth rate of the foam is obtained, and a corresponding preventive measure is selected based on a gear corresponding to the current growth rate of the foam.
5. The method according to claim 4, characterized in that Get the current growth rate of the bubble including: Get the real-time growth time and distance of the foam; Calculating the current growth rate based on the real-time growth time and real-time growth distance of the foam; Or, when the first comparison result is that the current height of the foam is greater than or equal to a second threshold, obtain a second growth time and a second growth distance, where the second growth time is the time for the foam to reach the warning line from the safety line, and the second growth distance is the distance between the safety line and the warning line; calculate the current growth speed based on the second growth time and the second growth distance of the foam.
6. The method according to claim 5, characterized in that The corresponding preventive measures based on the gear selection corresponding to the current growth rate of the foam include: According to the corresponding gear, selecting a shift-stop ratio corresponding to the gear; And / or, according to the corresponding gear, selecting the temperature corresponding to the gear.
7. The method according to claim 2, characterized in that After the defoaming program is started for a preset time, the real-time acquisition of the foam height in the washing machine is continued, and the obtained foam height and / or foam speed is continued to execute steps S3 and S4.
8. A foam control device for a washing machine, characterized in that: include: A setting module, used for setting a first threshold corresponding to a safety line, a second threshold corresponding to a warning line, a third threshold corresponding to a defoaming line, and / or a preset growth rate according to the amount of laundry in the washing machine before washing, wherein the second threshold is greater than the first threshold, and the third threshold is greater than the second threshold; An acquisition module is used to obtain the current height and current growth rate of the foam in the washing machine in real time when washing starts; a comparison module, configured to compare the current height of the foam with at least one of the first threshold, the second threshold, and the third threshold to obtain a comparison result; and / or comparing the current growth rate of the foam with a preset growth rate to obtain a comparison result; A control module is used to control the washing machine accordingly based on the comparison result.
9. A washing machine, comprising a processor and a storage device, wherein the storage device 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 control method for a washing machine according to any one of claims 1 to 7.
10. 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 control method for a washing machine according to any one of claims 1 to 7.
