CN115772770A - Foam detection method and device, nursing machine and storage medium - Google Patents

Foam detection method and device, nursing machine and storage medium Download PDF

Info

Publication number
CN115772770A
CN115772770A CN202111048159.7A CN202111048159A CN115772770A CN 115772770 A CN115772770 A CN 115772770A CN 202111048159 A CN202111048159 A CN 202111048159A CN 115772770 A CN115772770 A CN 115772770A
Authority
CN
China
Prior art keywords
foam
nursing machine
water level
water
machine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111048159.7A
Other languages
Chinese (zh)
Inventor
张志强
苏谦
邱杰
黄英琼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Haier Smart Home Co Ltd
Original Assignee
Haier Smart Home Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Haier Smart Home Co Ltd filed Critical Haier Smart Home Co Ltd
Priority to CN202111048159.7A priority Critical patent/CN115772770A/en
Publication of CN115772770A publication Critical patent/CN115772770A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B40/00Technologies aiming at improving the efficiency of home appliances, e.g. induction cooking or efficient technologies for refrigerators, freezers or dish washers

Landscapes

  • Control Of Washing Machine And Dryer (AREA)

Abstract

The invention belongs to the technical field of household appliances, and particularly relates to a foam detection method, a foam detection device, a nursing machine and a storage medium. The present invention is directed to solving the problems of the prior art. According to the method, the image in the water inlet hose of the nursing machine is obtained, the image is shot by the camera device arranged in the water inlet hose, then the foam in the image is detected, whether the foam exists in the water inlet hose is determined, and if the foam exists in the water inlet hose, the foam in the inner barrel of the nursing machine is removed. According to the technical scheme, the images in the water inlet hose are acquired in real time, so that whether the foam overflows or not can be detected more accurately, the foam is eliminated in time, and the normal operation of the nursing machine is ensured.

Description

Foam detection method and device, nursing machine and storage medium
Technical Field
The embodiment of the invention belongs to the technical field of household appliances, and particularly relates to a foam detection method and device, a nursing machine and a storage medium.
Background
A care machine is a laundry care apparatus having functions of removing wrinkles, removing odor, preventing allergy, and softly drying, for example, a washing machine, a dryer, and the like. When a user puts too much washing powder/laundry detergent into the nursing machine during the use of the nursing machine, too much foam is generated to overflow the outside of the barrel of the nursing machine when clothes are washed in the nursing machine, so that the situations of inconvenient rinsing and waste of the washing powder/laundry detergent are caused.
In the prior art, the current of a motor of a nursing machine is often detected to judge whether the current of the motor is increased or decreased within a reasonable range so as to detect whether foam overflows.
However, in practical applications, since the change of the motor current is not obvious when the foam overflows, the change of the motor current is obvious only when the foam overflows in a large amount, and the prior art cannot detect whether the foam overflows in time, so that the subsequent elimination of the foam is delayed.
Disclosure of Invention
In order to solve the above problem in the prior art, that is, to solve the problem that whether the foam overflows cannot be detected in time in the prior art, so that the subsequent elimination of the foam is delayed, an embodiment of the present invention provides a foam detection method, including:
acquiring an image in a water inlet hose of the nursing machine, wherein the image is shot by a camera device arranged in the water inlet hose;
detecting foam in the image, and determining whether the foam exists in the water inlet hose;
if the foam exists in the water inlet hose, the foam in the inner barrel of the nursing machine is removed.
In a preferred technical solution of the above foam detecting method, the cleaning treatment of the foam in the inner tub of the nursing machine includes:
controlling a motor of the nursing machine to stop rotating;
acquiring the current water level of the inner barrel;
and if the current water level is lower than the first preset water level of the inner barrel, injecting water of a second preset water level into the inner barrel, wherein the sum of the second preset water level and the current water level is lower than the highest water level of the inner barrel.
In a preferred embodiment of the above method for detecting foam, the method further comprises:
if the current water level is greater than or equal to a first preset water level of the inner barrel, discharging the preset water amount in the inner barrel;
and injecting water of a third preset water level into the inner barrel, wherein the sum of the third preset water level and the water level after the preset water level is discharged is lower than the highest water level of the inner barrel.
In a preferred embodiment of the above-mentioned foam detection method, before the acquiring the image of the water inlet hose of the nursing machine, the method further includes:
acquiring the washing process stage of the nursing machine;
determining whether the nursing machine is in a water flow agitating stage or not according to the stage of the washing process;
and if the nursing machine is in the stage of surging the water flow, controlling the camera device to be started.
In a preferred embodiment of the above method for detecting foam, the method further comprises:
determining whether the nursing machine is in a first dehydration stage or not according to the stage of the washing process;
and if the nursing machine is in the first dehydration stage, controlling the camera device to be started.
In a preferred technical solution of the above-mentioned foam detecting method, after the foam in the inner tub of the nursing machine is removed, the method further includes:
executing the remaining washing process of the nursing machine.
In a preferred technical solution of the above-mentioned foam detecting method, before the removing process of the foam in the inner tub of the nursing machine, the method further includes:
collecting the amount of clothes, the water inflow and the detergent amount in the nursing machine;
and sending the amount of clothes, the water inflow amount and the detergent amount in the nursing machine to a server corresponding to the nursing machine, wherein the amount of clothes, the water inflow amount and the detergent amount in the nursing machine are used for updating the use instruction of the nursing machine of the same type.
The embodiment of the invention also provides a foam detection device, which is applied to a nursing machine and comprises: the device comprises an acquisition module, a determination module and a processing module;
the acquisition module is used for acquiring an image in a water inlet hose of the nursing machine, and the image is shot by a camera device installed in the water inlet hose;
the determining module is used for detecting foam in the image and determining whether the foam exists in the water inlet hose;
the processing module is used for removing the foam in the inner barrel of the nursing machine when the foam exists in the water inlet hose.
In a preferred technical solution of the above-mentioned foam detecting apparatus, the processing module is specifically configured to:
controlling a motor of the nursing machine to stop rotating;
acquiring the current water level of the inner barrel;
when the current water level is lower than the first preset water level of the inner barrel, water of a second preset water level is injected into the inner barrel, and the sum of the second preset water level and the current water level is lower than the highest water level of the inner barrel.
In an optimal technical solution of the above-mentioned foam detecting device, the processing module is further specifically configured to:
when the current water level is greater than or equal to a first preset water level of the inner barrel, discharging the preset water amount in the inner barrel;
and injecting water of a third preset water level into the inner barrel, wherein the sum of the third preset water level and the water level after the preset water level is discharged is lower than the highest water level of the inner barrel.
In a preferred technical solution of the above-mentioned foam detecting device, the obtaining module is further configured to obtain a stage of a washing process of the nursing machine;
the processing module is further configured to determine whether the nursing machine is in a water flow agitating stage according to the stage of the washing process, and control the camera to be turned on when the nursing machine is in the water flow agitating stage.
In a preferred technical solution of the above-mentioned foam detecting apparatus, the processing module is further configured to:
determining whether the nursing machine is in a first dehydration stage or not according to the stage of the washing process;
and when the nursing machine is in the first dehydration stage, controlling the camera to be started.
In a preferred embodiment of the above-mentioned foam detecting device, the processing module is further configured to execute a remaining washing process of the nursing machine.
In a preferred technical scheme of the above foam detecting device, the acquiring module is further configured to acquire the amount of laundry, the water inflow, and the amount of detergent in the nursing machine;
the device further comprises: a sending module;
the sending module is further used for sending the amount of clothes, the amount of water inflow and the amount of washing detergent in the nursing machine to a server corresponding to the nursing machine, and the amount of clothes, the amount of water inflow and the amount of washing detergent in the nursing machine are used for updating the service instruction of the nursing machine of the same type.
The embodiment of the invention also provides a nursing machine, which comprises: a processor, a memory;
the memory stores computer execution instructions;
the processor executes the computer-executable instructions to cause the care machine to perform the foam detection method as described above.
The embodiment of the present invention further provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, the computer-readable storage medium is configured to implement the foam detection method as described above.
Embodiments of the present invention also provide a computer program product, which includes a computer program, and the computer program is used for implementing the foam detection method as described above when being executed by a processor.
As can be understood by those skilled in the art, the foam detection method, the device, the nursing machine and the storage medium provided by the embodiment of the invention are applied to the nursing machine, the method comprises the steps of acquiring an image in a water inlet hose of the nursing machine, wherein the image is shot by a camera device installed in the water inlet hose, detecting foam in the image, determining whether the foam exists in the water inlet hose, and if the foam exists in the water inlet hose, performing cleaning treatment on the foam in an inner barrel of the nursing machine. According to the technical scheme, the images in the water inlet hose are acquired in real time, so that whether the foam overflows or not can be detected more accurately, the foam is eliminated in time, and the normal operation of the nursing machine is ensured.
Drawings
Preferred embodiments of a control method of a washing machine of the present invention are described below with reference to the accompanying drawings. The attached drawings are as follows:
fig. 1 is a schematic flow chart of a foam detection method according to a first embodiment of the present invention;
fig. 2 is a schematic flow chart of a second embodiment of a foam detection method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a foam detection apparatus provided in an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a nursing machine according to an embodiment of the present invention.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
It should be understood by those skilled in the art that these embodiments are only for explaining the technical principle of the present invention, and are not intended to limit the scope of the present invention. And can be adjusted as needed by those skilled in the art to suit particular applications.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Before describing the embodiments of the present invention, the technical background of the embodiments of the present invention is explained first:
a care machine is a laundry care apparatus having functions of removing wrinkles, removing odor, preventing allergy, and softly drying, for example, a washing machine, a dryer, and the like. When a user puts too much washing powder/laundry detergent into the nursing machine during the use of the nursing machine, too much foam is generated to overflow the outside of the nursing machine when clothes are washed in the nursing machine, so that the situations of inconvenient rinsing and waste of the washing powder/laundry detergent are caused.
Therefore, how to eliminate the possible overflow and real-time elimination of the foam becomes the task to be solved primarily, and in the prior art, the current of the motor of the nursing machine is often detected to judge whether the current increase or decrease of the motor is within a reasonable range so as to determine whether the foam overflows or not.
However, in this detection method, since the change of the motor current is not obvious when the foam overflows, the change of the motor current is only obvious when the foam overflows in a large amount or after a period of time after the foam overflows, and thus, this method cannot detect whether the foam overflows in time, so that the subsequent elimination of the foam is delayed.
In view of the above problems, the inventive concept of the present invention is as follows: whether foam overflows is determined in a current detection mode in the prior art, detection result delay is easily caused, possible overflow cannot be found in time, a camera device can be installed in a water inlet hose so as to acquire whether foam overflows in real time, the possible overflow foam can be eliminated in time, the real-time performance is high, and the problem in the prior art can be solved.
The following describes the technical solution of the present invention and how to solve the above technical problems in detail by specific examples. These several specific embodiments may be combined with each other below, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
Fig. 1 is a schematic flow chart of a foam detection method according to a first embodiment of the present invention. As shown in fig. 1, the method may include the steps of:
it should be understood that the nursing machine of the following embodiments may be any one of laundry cleaning apparatuses such as a washing machine, a dryer, and the like.
And 11, acquiring an image in a water inlet hose of the nursing machine.
Wherein the image is captured by a camera mounted in the water inlet hose.
In the scheme, the nursing machine is generally fused with water in the washing drum due to the fact that a user puts too much detergent such as laundry detergent/washing powder and the like, a large amount of foam is easy to appear in the process that the motor drives the washing drum to rotate or shake, and when the foam is too much, the foam enters the washing drum from the water inlet hose, overflows out of the washing drum too much and is not beneficial to rinsing.
In this step, can set up camera device in advance in intake hose department, for example, the camera, the user acquires the image in the intake hose to whether follow-up detection has the foam to get into the intake hose.
Before this step, the foam detection method provided in the embodiment of the present invention may further include the following steps:
step 1, obtaining the washing process of the nursing machine.
The step can deduce the stage of the nursing machine by reading the step in which the program corresponding to the washing process is running, for example, the stages may be water feeding, washing, water flow agitating, water draining, first dewatering, second dewatering, drying, etc.
And step 2, determining whether the nursing machine is in a water flow agitating stage or not according to the stage of the washing process, and controlling the camera to be started if the nursing machine is in the water flow agitating stage.
The step can be matched by the steps to determine whether the nursing machine is in a water flow surging stage, and the water flow surging stage mainly uses a motor to drive a washing drum to shake, so that detergent added to the washing drum by a user is fully fused with water, and clothes can be cleaned more conveniently.
During this process, a large amount of foam is likely to be present in the wash cylinder, possibly entering the water inlet hose and then escaping from the wash cylinder.
At the moment, the camera device is started, and whether foam enters the water inlet hose is detected in real time.
And 3, determining whether the nursing machine is in a first dehydration stage or not according to the stage of the washing process, and controlling the camera to be started if the nursing machine is in the first dehydration stage.
The step can be directly judged whether the nursing machine is in the first dehydration stage after the step 2, namely, the nursing machine is determined not to be in the water flow agitating stage, or after the step 1.
The dewatering stage is because washing section of thick bamboo rotational speed is too high for the first time, and when the foam was too much, the water hose of intaking was thrown into with the foam easily, and at this moment, camera device can be opened, and whether real-time detection water hose has the foam to get into.
And 12, detecting the foam in the image, and determining whether the foam exists in the water inlet hose.
In this step, whether foam exists in the image can be identified through an image identification technology, so as to draw a conclusion whether foam exists in the water inlet hose.
Specifically, the color, the distribution rule, the quantity and the like of the substances in the image can be identified; or comparing the image with the image of the water inlet pipe without entering the foam to obtain the difference between the two images, and further judging whether the different substances are foam or not.
In addition, through this image, can also detect out whether have the rivers to advance or flow out into the water hose to carry out real-time early warning to the water level of wash drum, or to the intake valve go on the break-make and judge.
And step 13, if foam exists in the water inlet hose, removing the foam in the inner barrel of the nursing machine.
In this step, if there is foam in the water inlet hose, the foam in the washing cylinder (inner barrel) needs to be eliminated, so that the foam does not affect the normal operation of the nursing machine.
In addition, when the amount of foam is large, the detergent may be excessively supplied, so that residual components of the detergent may still be present on the laundry after the entire washing process is completed.
Optionally, the implementation process of the foam removal treatment on the inner barrel of the nursing machine may include the following 3 steps (it should be understood that this is only one foam removal manner provided by the embodiment of the present invention, and other manners of foam removal are not limited):
and step 1, controlling a motor of the nursing machine to stop rotating.
Wherein continued rotation of the motor increases the integration of detergent with the water in the wash tank, increasing the level of suds, at which time the motor should be stopped.
And step 2, acquiring the current water level of the inner barrel.
The foam cleaning mode provided by the embodiment of the invention is mainly to reduce the generation of foam by adding water to dilute the detergent, so that the current water level of the washing drum needs to be acquired.
Alternatively, the obtaining method may be obtained by weighing the weight of the washing drum, or may be obtained by detecting the pressure at the bottom of the washing drum by using a sensor, or the like.
It should be understood that the current water level of the washing drum refers to the current water level in the washing drum, and may be a water level determined by both the laundry to be washed and the water for washing the laundry, or a water level determined by the water for washing the laundry.
And 3, if the current water level is lower than the first preset water level of the inner barrel, injecting water of a second preset water level into the inner barrel.
Wherein, the sum of the second preset water level and the current water level is lower than the highest water level of the inner barrel.
Optionally, the current water level and the first preset water level are determined, and when the current water level is lower than the first preset water level of the inner tub, a water amount of a second preset water level is injected into the washing tub, so that the sum of the second preset water level and the current water level is lower than the highest water level of the inner tub, and the detergent is diluted without affecting the washing process. The highest water level is the high water level which can be borne by the washing drum or the warning water level when the washing drum washes.
Further, the first preset water level indicates a boundary line whether the washing drum can continue to add water, and the first preset water level, the second preset water level and a third preset water level described below can all be self-defined water levels, provided that the self-defined water levels do not negatively affect the normal operation of the nursing machine during actual operation.
For example, the current water level is 600mm, the first preset water level is 800mm, the second preset water level is 150mm, the current water level after the water injection is finally obtained is 750mm, and the highest water level may be 850mm.
And 4, discharging the preset water amount in the inner barrel if the current water level is more than or equal to the first preset water level of the inner barrel, and injecting a third preset water level water amount into the inner barrel, wherein the sum of the third preset water level and the water level after the preset water amount is discharged is lower than the highest water level of the inner barrel.
Optionally, the current water level and the first preset water level are judged, when the current water level is greater than or equal to the first preset water level of the inner barrel, the preset water amount in the inner barrel is discharged, a third preset water level water amount is injected into the inner barrel, so that the sum of the third preset water level and the current water level is lower than the highest water level of the inner barrel, under the condition that a washing process is not affected, a part of washing water containing high-concentration detergent is discharged, and water containing no detergent is added, so that the concentration of the detergent in the washing water is reduced.
For example, the current water level is 700mm, the first preset water level is 650mm, the preset water amount is 200mm, the third preset water level is 100mm, the current water level after the water injection is finally obtained is 600mm, and the highest water level may be 750mm.
Further, the remaining washing processes of the nursing machine are performed.
After the execution of the 3 rd step or the 4 th step is finished, the washing process before the camera device is started is continuously executed.
Before the foregoing steps, the method for detecting foam provided in the embodiment of the present invention may further include the following steps: the method comprises the steps of collecting the amount of clothes, the water inflow and the detergent amount in the nursing machine, and sending the amount of the clothes, the water inflow and the detergent amount in the nursing machine to a server corresponding to the nursing machine.
Wherein the amount of clothes, the amount of water fed and the amount of detergent in the nursing machine are used for updating the instructions of the same type of nursing machine
Optionally, in order to optimize the same type of the nursing machine to improve user experience, the amount of laundry, the amount of water fed into the nursing machine, and the amount of detergent may be obtained within a preset time period (e.g., 1 month, 3 months) each time the laundry is washed, and the amount of laundry, the amount of water fed into the nursing machine, and the amount of detergent may be sent to a server serving the nursing machine, so that a manufacturer or a technician may update a description of the nursing machine, and may more reasonably grasp the amount of detergent added later when the user purchases the type of nursing machine.
The foam detection method provided by the embodiment of the invention is applied to a nursing machine, and comprises the steps of obtaining an image in a water inlet hose of the nursing machine, wherein the image is obtained by shooting through a camera device arranged in the water inlet hose, detecting foam in the image, determining whether the foam exists in the water inlet hose, and removing the foam in an inner barrel of the nursing machine if the foam exists in the water inlet hose. According to the technical scheme, the images in the water inlet hose are acquired in real time, so that whether the foam overflows or not can be detected more accurately, the foam is eliminated in time, and the normal operation of the nursing machine is guaranteed.
Further, fig. 2 is a schematic flow chart of a second embodiment of the foam detection method provided in the embodiment of the present invention. As shown in fig. 2, a possible detailed implementation procedure provided in the embodiment of the present invention is as follows:
step 1, powering on the nursing machine, and starting a washing process by the nursing machine.
Step 2, judging whether the nursing machine is in a water flow surging stage, if so, executing step 3; if not, executing step 7.
And 3, starting the camera device to acquire the image shot by the camera device.
Step 4, judging whether the foam enters the water inlet hose or not according to the image, and if so, executing step 5; if not, executing the step 6.
And 5, stopping the motor, eliminating the foam and executing the step 7.
Step 6, judging whether the nursing machine is in a first dehydration stage, if so, executing the step 3; if not, executing step 7.
And 7, executing the rest washing process of the nursing machine.
And 8, powering off the nursing machine.
The foam detection method provided by the embodiment of the invention is applied to a nursing machine, the nursing machine is powered on, the nursing machine starts a washing process, whether the nursing machine is in a water flow surging stage or not is judged, if yes, the motor stops running and foam is eliminated, if not, whether the nursing machine is in a first dehydration stage or not is further judged, if yes, the motor stops running and foam is eliminated, and if not, the rest washing process of the nursing machine is executed, and the nursing machine is powered off. According to the method, whether the water inlet hose has the foam or not is determined in real time by checking the stage of the nursing machine with more foam possibly existing, so that the foam is eliminated, and the problems of foam elimination and foam detection delay in the prior art are solved.
The following are embodiments of the apparatus of the present invention that may be used to perform embodiments of the method of the present invention. For details which are not disclosed in the embodiments of the apparatus of the present invention, reference is made to the embodiments of the method of the present invention.
Fig. 3 is a schematic structural diagram of a foam detection device provided in an embodiment of the present invention, the foam detection device is applied to a nursing machine, and includes:
an acquisition module 31, a determination module 32 and a processing module 33;
the acquisition module 31 is used for acquiring images in a water inlet hose of the nursing machine, wherein the images are obtained by shooting through a camera device arranged in the water inlet hose;
a determining module 32, configured to detect foam in the image and determine whether the foam exists in the water inlet hose;
and the processing module 33 is used for removing the foam in the inner barrel of the nursing machine when the foam exists in the water inlet hose.
In a possible design of the embodiment of the present invention, the processing module 33 is specifically configured to:
controlling a motor of the nursing machine to stop rotating;
acquiring the current water level of the inner barrel;
when the current water level is lower than the first preset water level of the inner barrel, the water quantity of a second preset water level is injected into the inner barrel, and the sum of the second preset water level and the current water level is lower than the highest water level of the inner barrel.
In another possible design of the embodiment of the present invention, the processing module 33 is further specifically configured to:
when the current water level is greater than or equal to the first preset water level of the inner barrel, discharging the preset water amount in the inner barrel;
and injecting water of a third preset water level into the inner barrel, wherein the sum of the third preset water level and the water level after the preset water is discharged is lower than the highest water level of the inner barrel.
In another possible design of the embodiment of the present invention, the obtaining module 31 is further configured to obtain a stage of a washing process of the nursing machine;
the processing module 33 is further configured to determine whether the nursing machine is in a water flow agitating stage according to the stage of the washing process, and control the camera to be turned on when the nursing machine is in the water flow agitating stage.
In yet another possible design of the embodiment of the present invention, the processing module 33 is further configured to:
determining whether the nursing machine is in a first dehydration stage or not according to the stage of the washing process;
when the nursing machine is in the first dehydration stage, the camera device is controlled to be started.
In yet another possible design of the embodiment of the present invention, the processing module 33 is further configured to execute the remaining washing process of the nursing machine.
In another possible design of the embodiment of the present invention, the obtaining module 31 is further configured to collect the amount of laundry, the water intake amount, and the amount of detergent in the nursing machine;
the device also includes: a sending module 34;
the sending module 34 is further configured to send the amount of laundry, the amount of water fed, and the amount of detergent in the nursing machine to a corresponding server of the nursing machine, where the amount of laundry, the amount of water fed, and the amount of detergent in the nursing machine are used to update the usage specification of the same type of nursing machine.
The foam detection device provided by the embodiment of the invention can be used for executing the technical scheme of the foam detection method applied to the nursing machine in the embodiment, the implementation principle and the technical effect are similar, and the details are not repeated herein.
It should be noted that the division of each module of the above apparatus is only a logical division, and all or part of the actual implementation may be integrated into one physical entity or may be physically separated. And these modules can be realized in the form of software called by processing element; or may be implemented entirely in hardware; and part of the modules can be realized in the form of calling software by the processing element, and part of the modules can be realized in the form of hardware. For example, the processing module 33 may be a separately established processing element, or may be integrated into a chip of the apparatus, or may be stored in a memory of the apparatus in the form of program code, and a processing element of the apparatus calls and executes the functions of the above determining module. Other modules are implemented similarly. In addition, all or part of the modules can be integrated together or can be independently realized. The processing element may be an integrated circuit having signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.
On the basis of the above embodiments, fig. 4 is a schematic structural diagram of a nursing machine provided by an embodiment of the present invention. As shown in fig. 4, the nursing machine is used for executing the foam detecting method in the above embodiments, and may include: a processor 41, and a memory 42.
The processor 41 executes the computer execution instructions stored in the memory, so that the processor 41 executes the technical solution of the foam detection method in the above embodiment. The processor 41 may be a general-purpose processor including a central processing unit CPU, a Network Processor (NP), and the like; but also a digital signal processor DSP, an application specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic device, discrete gate or transistor logic, discrete hardware components.
A memory 42 is connected to and communicates with the processor 41 via a system bus, and the memory 42 is used for storing computer program instructions.
Optionally, the care machine may further comprise a transceiver 43, the transceiver 43 being adapted to communicate with a server. Optionally, in terms of hardware implementation, the sending module 34 in the embodiment shown in fig. 3 corresponds to the transceiver 43 in this embodiment, and the transceiver 43 forms a communication interface.
The system bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The system bus may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown, but this is not intended to represent only one bus or type of bus. The transceiver is used to enable communication between the database access device and other computers (e.g., clients, read-write libraries, and read-only libraries). The memory may comprise Random Access Memory (RAM) and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The nursing machine provided by the embodiment of the invention can be used for executing the technical scheme of the foam detection method in the embodiment, the implementation principle and the technical effect are similar, and the detailed description is omitted.
The embodiment of the invention also provides a chip for operating the instruction, and the chip is used for executing the technical scheme of the foam detection method in the embodiment.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer instruction is stored in the computer-readable storage medium, and when the computer instruction runs on a computer, the computer is enabled to execute the technical solution of the foam detection method according to the above embodiment.
Embodiments of the present invention further provide a computer program product, where the computer program product includes a computer program stored in a computer-readable storage medium, a processor can read the computer program from the computer-readable storage medium, and when the processor executes the computer program, the processor can implement the technical solution of the foam detection method in the foregoing embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A foam detection method is characterized by being applied to a nursing machine, and the method comprises the following steps:
acquiring an image in a water inlet hose of the nursing machine, wherein the image is shot by a camera device arranged in the water inlet hose;
detecting foam in the image, and determining whether the foam exists in the water inlet hose;
if the foam exists in the water inlet hose, the foam in the inner barrel of the nursing machine is removed.
2. The method according to claim 1, wherein the removing the foam in the inner tub of the nursing machine comprises:
controlling a motor of the nursing machine to stop rotating;
acquiring the current water level of the inner barrel;
and if the current water level is lower than the first preset water level of the inner barrel, injecting water of a second preset water level into the inner barrel, wherein the sum of the second preset water level and the current water level is lower than the highest water level of the inner barrel.
3. The method of claim 2, further comprising:
if the current water level is greater than or equal to a first preset water level of the inner barrel, discharging the preset water amount in the inner barrel;
and injecting water at a third preset water level into the inner barrel, wherein the sum of the third preset water level and the water level after the preset water is discharged is lower than the highest water level of the inner barrel.
4. The method of any of claims 1-3, wherein prior to said acquiring an image in the machine inlet hose, the method further comprises:
acquiring the washing process stage of the nursing machine;
determining whether the nursing machine is in a water flow agitating stage or not according to the stage of the washing process;
and if the nursing machine is in the stage of surging the water flow, controlling the camera device to be started.
5. The method of claim 4, further comprising:
determining whether the nursing machine is in a first dehydration stage or not according to the stage of the washing process;
and if the nursing machine is in the first dehydration stage, controlling the camera device to be started.
6. The method of claim 1, wherein after said disposing of foam in the inner tub of the machine, the method further comprises:
executing the remaining washing process of the nursing machine.
7. The method of claim 1, wherein prior to said disposing of foam in an inner tub of said machine, said method further comprises:
collecting the amount of clothes, the water inflow and the detergent amount in the nursing machine;
and sending the amount of clothes, the water inflow amount and the detergent amount in the nursing machine to a server corresponding to the nursing machine, wherein the amount of clothes, the water inflow amount and the detergent amount in the nursing machine are used for updating the use instruction of the nursing machine of the same type.
8. A foam detection device, characterized in that, being applied to a nursing machine, the device includes: the device comprises an acquisition module, a determination module and a processing module;
the acquisition module is used for acquiring an image in a water inlet hose of the nursing machine, and the image is shot by a camera device installed in the water inlet hose;
the determining module is used for detecting foam in the image and determining whether the foam exists in the water inlet hose;
the processing module is used for removing the foam in the inner barrel of the nursing machine if the foam exists in the water inlet hose.
9. A care machine comprising: a processor, a memory, and computer program instructions stored on the memory and executable on the processor, wherein the processor when executing the computer program instructions implements the foam detection method according to any one of claims 1 to 7.
10. A computer-readable storage medium having computer-executable instructions stored thereon, which when executed by a processor, are configured to implement the foam detection method according to any one of claims 1 to 7.
CN202111048159.7A 2021-09-08 2021-09-08 Foam detection method and device, nursing machine and storage medium Pending CN115772770A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111048159.7A CN115772770A (en) 2021-09-08 2021-09-08 Foam detection method and device, nursing machine and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111048159.7A CN115772770A (en) 2021-09-08 2021-09-08 Foam detection method and device, nursing machine and storage medium

Publications (1)

Publication Number Publication Date
CN115772770A true CN115772770A (en) 2023-03-10

Family

ID=85387923

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111048159.7A Pending CN115772770A (en) 2021-09-08 2021-09-08 Foam detection method and device, nursing machine and storage medium

Country Status (1)

Country Link
CN (1) CN115772770A (en)

Similar Documents

Publication Publication Date Title
CN102137968A (en) Apparatus and method for circulating cleaning water for drum washing machine
CN106567219A (en) Control method and system of washing machine
WO2018050061A1 (en) Dehydration control method for washing machine, and washing machine
CN104185699A (en) Washing machine and control method thereof
CN111265165A (en) Control method and device of dish washing machine, storage medium and dish washing machine
CN111118819A (en) Rinsing treatment method, rinsing treatment device and clothes treatment device
CN114351405A (en) Washing machine control method and device, storage medium and washing machine
CN115772770A (en) Foam detection method and device, nursing machine and storage medium
CN108085927B (en) Washing control method for drum of washing machine and washing machine
CN112941812B (en) Control method and device of washing machine, storage medium and processor
CN113832647A (en) Circulating spraying control method and system, storage medium and washing device
CN115110244A (en) Washing control method and system
CN114108233B (en) Washing control method and washing machine
CN113756051B (en) Control method of washing device and washing device
WO2022021653A1 (en) Control method and apparatus for clothing treatment device, and device and storage medium
CN112813648B (en) Washing machine and control method thereof
CN117626570A (en) Washing apparatus, rinsing control method thereof, computer apparatus, and storage medium
US20230104087A1 (en) Responsive spin cycle in a washing machine appliance
CN114369923A (en) Control method and device of washing machine, washing machine and readable storage medium
WO2023071179A1 (en) Drum washing machine, control method therefor, apparatus, and storage medium
CN113638185A (en) Rinsing additive adding method and system, storage medium and washing machine
KR20110004752A (en) Method for cleaning tub of drum type washer
CN117947617A (en) Washing method of drying and filtering device, clothes treatment assembly and clothes treatment equipment
CN113622149A (en) Detergent adding method and system, storage medium and washing machine
JP6443645B2 (en) Drainage control method for multiple tub washing machines

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination