Stain cleaning method of cleaning robot and cleaning robot

By setting up front and rear data collection elements on the cleaning robot and combining them with information comparison technology, the robot can accurately identify stained areas and perform targeted cleaning, thus solving the problem of cleaning robots misidentifying stains and improving cleaning efficiency and user experience.

CN118285713BActive Publication Date: 2024-11-05DREAM INNOVATION TECH (SUZHOU) CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410723315.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2024-11-05
Estimated Expiration
2044-06-05

AI Technical Summary

Technical Problem

Cleaning robots are prone to misidentification when identifying stains, causing them to perform deep cleaning on non-stain areas, which affects cleaning efficiency and user experience.

Method used

By employing pre- and post-collection elements to overlap and collect data on stained areas, and comparing the initial and post-cleaning stain information, false detections are identified, stained areas are accurately identified, and targeted cleaning is performed to avoid contamination of non-stained areas.

Benefits of technology

It improves the accuracy of stain identification and cleaning efficiency, reduces the need to clean non-stained areas, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118285713B_ABST
    Figure CN118285713B_ABST
Patent Text Reader

Abstract

The present application provides a stain cleaning method of a cleaning robot and a cleaning robot, which relate to the field of cleaning robots. The cleaning robot comprises a body, a front collecting element and a rear collecting element, and the lateral collecting ranges of the front collecting element and the rear collecting element for the working surface overlap. The method comprises: when the cleaning robot moves along an original cleaning path, the stain information in front of the cleaning robot is collected by the front collecting element, after determining that there is an initial stain area based on the stain information, the first stain information is determined, and the body is controlled to continue to move along the original cleaning path to at least perform wet cleaning. When the body enters the initial stain area and moves a specified distance, the body can be controlled to perform a preset action so that the rear collecting element collects the second stain information of the initial stain area after cleaning. Through the difference between the first stain information and the second stain information, the degree of dirtiness is detected, which greatly improves the accuracy of false detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of cleaning robots, and in particular to a stain cleaning method for a cleaning robot and a cleaning robot. Background Art

[0002] At present, cleaning robots usually perform deep cleaning on oil, milk, soy sauce and other stains on the floor to improve the cleaning effect on the stains. Because some stains are similar to the floor in terms of color and texture, the cleaning robot is not accurate in identifying stains in this scenario, and misidentifies stains, and performs deep cleaning in non-stained areas, affecting the cleaning efficiency of the cleaning robot and the user experience. Summary of the invention

[0003] The present application provides a stain cleaning method for a cleaning robot and a cleaning robot, which can more accurately identify the stain area, improve the cleaning effect, improve the cleaning efficiency, and further improve the user experience.

[0004] In a first aspect, the present application provides a stain cleaning method for a cleaning robot, wherein the cleaning robot is used to clean a working surface, the cleaning robot comprises a body, with the forward direction of the cleaning robot as the front, a front collecting element is arranged on the front side of the body, and a rear collecting element is arranged on the rear side of the body, with the longitudinal direction parallel to the forward direction as the longitudinal direction and the transverse direction perpendicular to the forward direction as the transverse direction, and the transverse collecting ranges of the front collecting element and the rear collecting element for the working surface overlap; the method comprises:

[0005] Controlling the body to move along the original cleaning path to obtain stain information on the working surface in front of the cleaning robot based on the front collection element;

[0006] After determining that an initial stain area exists on the original cleaning path based on the stain information acquired by the front collection element, stain information corresponding to the initial stain area is used as first stain information, and the body is controlled to continue to move along the original cleaning path to at least perform wet cleaning on the initial stain area;

[0007] After the body enters the initial stain area and moves a specified distance, the body is controlled to perform a preset action to obtain second stain information of the initial stain area after cleaning based on the rear collection element; wherein the specified distance is determined based on the effective detection distance of the rear collection element in the longitudinal direction;

[0008] When the difference between the first stain information and the second stain information meets the stain cleaning requirement, the cleaning robot is controlled to perform stain cleaning.

[0009] Based on the embodiments of the present application, after the stain area is preliminarily identified based on the front collection element, the first stain information corresponding to the initial stain area can be output first, and the cleaning robot can be controlled to perform at least wet cleaning in the initial stain area, so as to collect the cleaned stain area based on the rear collection element, and output the second stain information of the cleaned stain area, and then by comparing the stain information of the initial stain area before and after cleaning, it is determined whether the initial stain area is a false detection. When it is determined to be a false detection, the cleaning robot can be controlled to continue cleaning other uncleaned areas. When it is determined that the initial stain area is not a false detection, deep cleaning can be performed on the stain area, so that the stain area and the non-stain area with similar characteristics to the stain area can be further accurately distinguished, which not only ensures the accurate identification and cleaning of the stain area, avoids the stain area from being uncleanly cleaned and contaminating other non-stain areas, but also can further reduce the probability of identifying the non-stain area as the stain area, thereby improving the cleaning efficiency and user experience.

[0010] At the same time, after the initial stain area is identified, the fuselage is first controlled to move along the original cleaning path until the initial stain area after cleaning is within the effective detection distance of the rear collection element in the longitudinal direction, and then based on the size of the area of ​​the initial stain area after cleaning within the lateral collection range of the rear collection element, the fuselage is controlled to perform a preset action. When the stain area after cleaning collected by the rear collection element is small, the fuselage is controlled to perform preset actions such as turning and / or moving back and forth, left and right, so that there is enough second stain information for stain misdetection judgment; when the second stain information obtained based on the rear collection element is sufficient for stain misdetection judgment, the preset action can also be to continue to keep the fuselage moving along the original cleaning path or control the fuselage to stop, so as to minimize the fuselage from performing additional actions on the basis of ensuring the accuracy of stain misdetection analysis. When it is determined that it is not a false detection, the cleaning robot is controlled to perform deep cleaning of the stain area to improve the cleaning quality. The solution of this embodiment, on the basis of ensuring the accuracy of the stain false detection analysis, has less adjustment in the moving path of the machine body during the whole process from identifying the initial stain area to outputting whether the initial stain area is a false detection, thereby improving the simplicity of the overall control of the machine and the cleaning efficiency, while also minimizing the problem of missed cleaning caused by adjusting the cleaning path during the process; and the user has less perception during the whole process, thereby further improving the user experience on the basis of reducing the false detection of stains.

[0011] Optionally, a dry cleaning member is further provided on the machine body; the dry cleaning member has a cleaning position in contact with the working surface and a lifting position separated from the working surface;

[0012] Control the fuselage to continue moving along the original cleaning path, including:

[0013] When the initial stain area is determined to be a specified stain type based on the first stain information, when the dry cleaning element is in a raised position, the body is controlled to continue moving along the original cleaning path in the initial stain area; wherein the specified stain type is a stain type that contaminates the dry cleaning element.

[0014] The dry cleaning piece is controlled to be in a raised position and move directly within the initial stain area. The dry cleaning piece will not directly contact the initial stain area, thereby avoiding contamination of the dry cleaning piece and further affecting the cleaning of other areas, thereby maintaining the cleaning effect and the service life of the dry cleaning piece.

[0015] Optionally, controlling the cleaning robot to perform stain cleaning includes: controlling the cleaning robot to perform stain cleaning while keeping the dry cleaning piece in a raised position.

[0016] While the dry cleaning element is kept in a raised position, the cleaning robot is controlled to perform stain cleaning on the initial stain area. This can reduce the possibility of the dry cleaning element being contaminated by the stain area, protect the dry cleaning element from damage, and reduce secondary contamination of the cleaned stain area, thereby cleaning the stain area more efficiently and reducing cleaning time. At the same time, it can prevent the dry cleaning element from bringing stains to other areas, thereby improving the cleaning quality and effect.

[0017] Optionally, the method further includes: controlling the body to move within the stain area to determine a boundary of the stain area;

[0018] Accordingly, after the boundary of the stain area is determined, the cleaning robot is controlled to perform stain cleaning on the stain area within the boundary.

[0019] By determining the boundary of the stain area, the cleaning robot can accurately locate the position of the stain, and then clean the stain area within the boundary, ensuring the accuracy and comprehensiveness of the robot's cleaning of the stain area, improving the cleaning efficiency and effect; at the same time, it can also prevent the cleaning robot from moving in the non-stain area, polluting the non-stain area, and affecting the cleaning effect and user experience. Controlling the body to move in the stain area to determine the boundary of the stain area can ensure that the machine does not leave the stain area during the entire process, thereby preventing the wet cleaning parts and walking parts from polluting the non-stain area, improving the cleaning efficiency and user experience; at the same time, in the process of determining the stain boundary, the wet cleaning parts can be controlled to remain in the cleaning position without performing the lifting action of the wet cleaning parts, thereby simplifying the structure and control logic, and keeping the wet cleaning parts in the cleaning position to perform the boundary determination of the stain area, and in the process of determining the boundary, the stain area can be cleaned, thereby further improving the cleaning efficiency.

[0020] Optionally, a wet cleaning member is further provided on the machine body; the wet cleaning member has a cleaning position in contact with the working surface and a lifting position separated from the working surface; the method further comprises:

[0021] When the wet cleaning element is controlled to be in a raised position, the body is controlled to move to a non-stained area adjacent to the initial stained area, and to move in the non-stained area to determine a boundary of the stained area;

[0022] Accordingly, after the boundary of the stain area is determined, the cleaning robot is controlled to perform stain cleaning on the stain area within the boundary.

[0023] By controlling the wet cleaning element to be in a raised position and moving it to the non-stained area to clean the stained area along the edge, the moving position of the machine body can be controlled more flexibly, thereby comprehensively identifying the stains, avoiding missing stains, and accurately determining the boundaries of the stained area; and in the process of identifying the stains, since the wet cleaning element is in a raised position, direct contact between the cleaning element and the non-stained area can be avoided, thereby reducing contamination of the non-stained area.

[0024] Optionally, the method further comprises: after cleaning the stain area within the boundary, controlling the cleaning robot to return to the base station with the wet cleaning piece in a raised position to clean the wet cleaning piece;

[0025] When it is determined that the stained area needs secondary cleaning, the cleaning robot is controlled to clean the stained area again; wherein, it is determined that the stained area needs secondary cleaning based on the dirtiness of the cleaning wastewater of the wet cleaning piece and / or the dirtiness of the stained area after cleaning.

[0026] By judging whether a secondary cleaning is needed, the cleaning efficiency can be improved while ensuring that the stained area is cleaned more thoroughly and the cleaning quality is improved; and after the cleaning robot cleans the wet cleaning parts, it goes to the stained area again to clean it again, and uses the clean wet cleaning parts to perform secondary cleaning on the stained area, which can further improve the cleaning effect; further, by evaluating whether the stain is cleaned by the degree of dirtiness of the cleaning wastewater and / or the degree of dirtiness after cleaning, the accuracy of the judgment on whether the stain is cleaned can be guaranteed, thereby ensuring the cleaning effect.

[0027] Optionally, the method further includes: when it is determined that the stained area does not need to be cleaned a second time, controlling the cleaning robot to perform cleaning work on the uncleaned area.

[0028] In this way, when the present application determines that the stained area does not need secondary cleaning, it controls the cleaning robot to continue cleaning the remaining work surface, so that the cleaning robot can more effectively cover and clean the remaining work surface, reduce the possibility of repeated cleaning, thereby saving time and energy consumption, and improving cleaning efficiency.

[0029] In a second aspect, the present application provides a stain cleaning method for a cleaning robot, wherein the cleaning robot is used to clean a working surface, the cleaning robot comprises a body, with the forward direction of the cleaning robot as the front, a front collecting element is arranged on the front side of the body, and a rear collecting element is arranged on the rear side of the body, with the longitudinal direction parallel to the forward direction as the longitudinal direction and the transverse direction perpendicular to the forward direction as the transverse direction, and the transverse collecting ranges of the front collecting element and the rear collecting element for the working surface overlap; the method comprises:

[0030] Controlling the body to move along the original cleaning path to obtain stain information on the working surface in front of the cleaning robot based on the front collection element;

[0031] After determining that an initial stain area exists on the original cleaning path based on the stain information acquired by the front collection element, stain information corresponding to the initial stain area is used as first stain information, and the body is controlled to continue to move along the original cleaning path to perform at least wet cleaning on the initial stain area;

[0032] After the body enters the initial stain area and travels a specified distance, the body is controlled to perform a preset action to obtain second stain information of the initial stain area after cleaning based on the rear collection element; wherein the specified distance is determined based on the effective detection distance of the rear collection element in the longitudinal direction;

[0033] When the difference between the first stain information and the second stain information does not meet the stain cleaning requirement, the cleaning robot is controlled to continue to perform the cleaning work on the uncleaned area.

[0034] In this way, on the basis of ensuring the accuracy of stain false detection analysis, the moving path of the machine body is adjusted less frequently, thereby improving the simplicity of overall control of the machine and the cleaning efficiency, while also minimizing the problem of missed cleaning caused by adjusting the cleaning path in the process; and the user perceives less during the whole process, which further improves the user experience on the basis of reducing stain false detection.

[0035] Optionally, a dry cleaning member is further provided on the body; the dry cleaning member has a cleaning position in contact with the working surface and a lifting position separated from the working surface; and controlling the body to continue to move along the original cleaning path includes:

[0036] When the initial stain area is determined to be a specified stain type based on the first stain information, when the dry cleaning element is in a raised position, the body is controlled to continue moving along the original cleaning path in the initial stain area; wherein the specified stain type is a stain type that contaminates the dry cleaning element.

[0037] In this way, the present application can control the dry cleaning piece to be in a raised position and move directly within the initial stain area to perform wet cleaning. There is no need for complex control logic, and the dry cleaning piece will not come into direct contact with the initial stain area, thereby avoiding contamination of the dry cleaning piece, which in turn affects the cleaning of other areas, thereby maintaining its cleaning effect and service life. By performing wet cleaning through the original cleaning path and the dry cleaning piece in a raised position, the cleaning robot can complete cleaning tasks more intelligently and efficiently, thereby improving the user's cleaning experience and satisfaction.

[0038] Optionally, the method further includes: when it is determined that the difference between the first stain information and the second stain information does not meet the stain cleaning requirement, controlling the dry cleaning element to switch from the lifting position to the cleaning position;

[0039] The controlling the cleaning robot to continue to perform cleaning work on the uncleaned area comprises: after the dry cleaning piece is switched to the cleaning position, controlling the cleaning robot to continue to perform cleaning work on the uncleaned area.

[0040] In this way, after determining that the difference between the first stain information and the second stain information does not meet the stain cleaning requirements, the present application can ensure the cleaning effect of the cleaning robot on the entire area and improve the cleaning efficiency by switching the dry cleaning part to the cleaning position and continuing to perform cleaning work on the uncleaned area. It can also avoid the cleaning robot from frequently stopping and replanning the path during the cleaning process, saving time and energy consumption, and improving resource utilization efficiency. After intelligently switching the dry cleaning part to the cleaning position, the cleaning robot is controlled to continue cleaning, thereby improving the intelligence level of the cleaning operation.

[0041] Optionally, the method further includes: when it is determined that the difference between the first stain information and the second stain information does not meet the stain cleaning requirement, controlling the dry cleaning member to switch from the lifting position to the cleaning position; when the dry cleaning member is in the cleaning position, controlling the cleaning robot to perform repeated cleaning on the area cleaned by the initial stain area;

[0042] The controlling the cleaning robot to continue to perform cleaning work on the uncleaned area includes: after the repeated cleaning is completed, controlling the cleaning robot to continue to perform cleaning work on the uncleaned area.

[0043] In this way, when the present application determines that the difference between the first stain information and the second stain information does not meet the stain cleaning requirements, the dry cleaning element can be controlled to be in the cleaning position to clean the initial stain area again, which can more thoroughly remove garbage or dirt, improve the cleaning effect, and ensure that the area is clean and tidy. The second cleaning can ensure that the cleaning robot covers all areas that need to be cleaned, improve the cleaning coverage rate, and ensure that the entire area is cleaned. Furthermore, after the second cleaning is completed, the cleaning work is continued for the uncleaned area, which can save time and energy consumption and improve resource utilization efficiency.

[0044] In a third aspect, the present application provides a stain cleaning method for a cleaning robot, wherein the cleaning robot is used to clean a working surface, the cleaning robot comprises a body, the front side of the body is provided with a front collecting element, the rear side of the body is provided with a rear collecting element, the longitudinal direction is parallel to the forward direction, the lateral direction is perpendicular to the forward direction, and the lateral collecting range of the front collecting element and the rear collecting element for the working surface overlaps; the method comprises:

[0045] Controlling the cleaning robot to perform cleaning work on the working surface along the original cleaning path when the dry cleaning element and the wet cleaning element are both located at the cleaning position, so as to obtain stain information on the working surface in front of the cleaning robot based on the front collection element; wherein the dry cleaning element and the wet cleaning element both have a cleaning position in contact with the working surface and a lifting position separated from the working surface;

[0046] After determining that there is an initial stain area on the original cleaning path based on the stain information acquired by the front collection element, the stain information corresponding to the initial stain area is used as the first stain information, and the body is controlled to move in the initial stain area when the dry cleaning element is in the lifting position and the wet cleaning element is in the cleaning position;

[0047] After the body enters the initial stain area and travels a specified distance, the body is controlled to perform a preset action so that the rear collection element collects second stain information of the initial stain area after cleaning; wherein the specified distance is determined based on the effective detection distance of the rear collection element in the longitudinal direction;

[0048] When the difference between the first stain information and the second stain information meets the stain cleaning requirement, the cleaning robot is controlled to perform stain cleaning.

[0049] In this way, the stain information is obtained in real time through the front collection element, and the initial stain area is identified. After the initial stain area is detected, the dry cleaning part can be lifted to avoid contact with the stain, thereby extending its service life, reducing the cleaning and maintenance requirements of the cleaning part, reducing maintenance costs and time, and avoiding the spread of stains to a larger area; at the same time, the wet cleaning part is placed in the cleaning position to perform wet cleaning on the stain, so that the second stain information of the initial stain area after cleaning is significantly different from the first stain information, thereby improving the accuracy of judging whether the stain area is a false detection. The cleaning robot can also adjust the cleaning path according to actual conditions to improve the flexibility of cleaning, and can collect enough second stain information to improve the accuracy of false detection judgment.

[0050] In a fourth aspect, the present application provides a stain cleaning method for a cleaning robot, wherein the cleaning robot is used to clean a working surface, the cleaning robot comprises a body, the front side of the body is provided with a front collecting element, the rear side of the body is provided with a rear collecting element, the longitudinal direction is parallel to the forward direction, the lateral direction is perpendicular to the forward direction, and the lateral collecting range of the front collecting element and the rear collecting element for the working surface overlaps; the method comprises:

[0051] Controlling the body to move along the original cleaning path so that the front collection element collects stain information on the working surface in front of the cleaning robot;

[0052] After determining that an initial stain area exists on the original cleaning path based on the stain information acquired by the front collection element, stain information corresponding to the initial stain area is used as first stain information, and the body is controlled to continue to move along the original cleaning path to at least perform wet cleaning on the initial stain area;

[0053] After the body enters the initial stain area and travels a specified distance, the body is controlled to maintain the travel direction of the original cleaning path, and the third stain information of the rear working surface of the cleaning robot is acquired based on the rear collection element, wherein the specified distance is determined based on the effective detection distance of the rear collection element in the longitudinal direction;

[0054] The stain information corresponding to the initial stain area after cleaning in the third stain information is used as the second stain information, and when the difference between the first stain information and the second stain information meets the stain cleaning requirement, the cleaning robot is controlled to perform stain cleaning on the stain area.

[0055] During the process of detecting the initial stain area until determining whether it is a false detection, the machine body is controlled to move along the original cleaning path. If it is confirmed to be a false detection, since the machine body is always moving along the original cleaning path, the machine can continue to be controlled to clean the uncleaned area along the original cleaning path, so that there is no need to adjust the cleaning path additionally during the entire process, which improves the simplicity of overall control of the machine and the cleaning efficiency; it can also avoid the problem of missed cleaning caused by multiple adjustments to the cleaning path during the process; and the user has zero perception during the entire process, which can further improve the user experience on the basis of reducing false stain detection. When it is determined that it is not a false detection, the cleaning robot is controlled to perform deep cleaning on the stain area to improve the cleaning quality.

[0056] In a fifth aspect, the present application provides a stain cleaning method for a cleaning robot, wherein the cleaning robot is used to clean a working surface, the cleaning robot comprises a body, with the forward direction of the cleaning robot as the front, a front collecting element is arranged on the front side of the body, a rear collecting element is arranged on the rear side of the body, a longitudinal direction parallel to the forward direction is the longitudinal direction, a transverse direction perpendicular to the forward direction is the transverse direction, and the transverse collecting range of the front collecting element and the rear collecting element for the working surface overlaps; the method comprises:

[0057] Controlling the body to move along the original cleaning path so that the front collecting element collects stain information on the working surface in front of the cleaning robot;

[0058] After determining that an initial stain area exists on the original cleaning path based on the stain information acquired by the front collection element, stain information corresponding to the initial stain area is used as first stain information, and the body is controlled to continue to move along the original cleaning path to at least perform wet cleaning on the initial stain area;

[0059] After the body enters the initial stain area and travels a specified distance, the body is controlled to maintain the travel direction of the original cleaning path, and third stain information of the rear working surface of the cleaning robot is acquired based on the rear collection element, wherein the specified distance is determined based on the effective detection distance of the rear collection element in the longitudinal direction;

[0060] The stain information corresponding to the initial stain area after cleaning in the third stain information is used as the second stain information. When the difference between the first stain information and the second stain information does not meet the stain cleaning requirement, the cleaning robot is controlled to continue cleaning the uncleaned area along the original cleaning path.

[0061] In a sixth aspect, the present application provides a cleaning robot, the cleaning robot being used to clean a work surface;

[0062] The cleaning robot includes a body, a front collection element, a rear collection element and a controller;

[0063] Taking the forward direction of the cleaning robot as the front, a front collecting element is arranged on the front side of the body, and a rear collecting element is arranged on the rear side of the body. The longitudinal direction is parallel to the forward direction, and the transverse direction is perpendicular to the forward direction. The transverse collecting ranges of the front collecting element and the rear collecting element for the working surface overlap.

[0064] The controller is used to execute the method according to any one of the first to fourth aspects.

[0065] In this way, the present application is based on the design of the cleaning robot, and through the information collected by the front collection element and the rear collection element in the overlapping area, the stain condition of the working surface can be more accurately detected to avoid omissions or misdetections. Furthermore, based on the stain comparison in the overlapping area, the cleaning robot can perform cleaning actions in a targeted manner to avoid unnecessary cleaning of the entire surface, thereby improving the efficiency of the cleaning operation, and through precise stain detection and targeted cleaning operations, it can ensure that the cleaning robot fully cleans the stained area, thereby improving the cleaning effect and the cleanliness of the working surface.

[0066] Optionally, the fuselage includes an edge side for performing edge detection against obstacles, and a side opposite to the edge side of the fuselage is used as a non-edge side, and the rear collection element is offset to the non-edge side.

[0067] Optionally, the intersection of the central axis of the rear collection element and the fuselage is used as a reference point, the tangent of the fuselage at the reference point is used as a reference line, the specified angle between the central axis and the reference line is less than 90 degrees, and the specified angle is toward the rear side of the fuselage. This can increase the overlap of the lateral collection range of the rear collection element and the front collection element, ensure that more useful information is collected in the same area, and improve the accuracy of stain misdetection analysis.

[0068] Optionally, the types of the front acquisition component and the rear acquisition component are consistent. By setting the front acquisition component and the rear acquisition component of the same type, the consistency of information acquisition can be ensured, the data differences and mismatches that may be caused by different sensor types can be avoided, and the accuracy and reliability of the collected information can be improved. Sensors of the same type are easier to implement in terms of integration and data processing, which can reduce the adaptation work for different sensor interfaces and data formats, simplify the design and development process of the cleaning robot, and the use of sensors of the same type can also be unified for maintenance and management, reducing maintenance costs and workload. In addition, the output data format and processing method of sensors of the same type are similar, which is conducive to unifying data processing processes and algorithms and improving processing efficiency and performance.

[0069] Optionally, the type of the front acquisition component is an RGB sensor; the type of the rear acquisition component is an RGB sensor. By using the same type of RGB sensor, it is possible to ensure that the data format collected by the front and rear acquisition components is consistent, simplify the data processing and analysis process, and improve the consistency and accuracy of the data. The RGB sensor can accurately capture color information, ensure the accuracy of color matching, and is conducive to the accuracy and reliability of image processing and analysis, thereby improving the user experience. In addition, using the same type of RGB sensor can reduce the development cost and risk of the cleaning robot. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0071] Figure 1 A schematic diagram of the structure of a cleaning robot provided in an embodiment of the present application;

[0072] Figure 2 A schematic diagram of the location and direction of the front collection element and the rear collection element on the fuselage provided in the embodiment of the present application Figure 1 ;

[0073] Figure 3 A schematic diagram of the location and direction of the front collection element and the rear collection element on the fuselage provided in the embodiment of the present application Figure 2 ;

[0074] Figure 4 A schematic diagram of the location and direction of the front collection element and the rear collection element on the fuselage provided in the embodiment of the present application Figure 3 ;

[0075] Figure 5 A schematic diagram of the placement of a front collection element and a rear collection element provided in an embodiment of the present application;

[0076] Figure 6 A schematic diagram of an application scenario provided for an embodiment of the present application;

[0077] Figure 7 Schematic diagram of the cleaning robot performing cleaning work provided in the embodiment of the present application Figure 1 ;

[0078] Figure 8 Schematic diagram of the cleaning robot performing cleaning work provided in the embodiment of the present application Figure 2 ;

[0079] Fig. 9 Schematic diagram of the cleaning robot performing cleaning work provided in the embodiment of the present application Figure 3 ;

[0080] Fig.10 Schematic diagram of the cleaning robot performing cleaning work provided in the embodiment of the present application Figure 4 ;

[0081] Fig.11 Schematic diagram of the cleaning robot performing cleaning work provided in the embodiment of the present application Figure 5 .

[0082] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0083] In order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second" and the like are used to distinguish the same items or similar items with substantially the same functions and effects. For example, the first device and the second device are only used to distinguish different devices, and their order is not limited. Those skilled in the art can understand that the words "first", "second" and the like do not limit the quantity and execution order, and the words "first", "second" and the like do not necessarily limit them to be different.

[0084] It should be noted that, in this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0085] In this application, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0086] For example, Figure 1A schematic diagram of the structure of a cleaning robot provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the cleaning robot 100 may include a body 101, a walking system, a cleaning module, a control system 104, a sensing system, etc. Among them, the body 101 has an installation cavity for installing some structures. The shape of the body 100 is not limited, and can be, but not limited to, a circular shape, a D-shape, a triangular shape, or other shapes.

[0087] refer to Figure 1 , the walking system is arranged on the fuselage 101, and is used to drive the fuselage 101 to realize the walking function of self-movement on the working surface. The walking system generally includes a driver and a walking part. The driver drives the walking part to move so that the fuselage moves. The movement of the fuselage can include forward, backward and rotation in place. There can generally be two walking parts, and the two walking parts are symmetrically arranged on the fuselage 101. The walking parts can be but not limited to driving wheels, track wheels or steering wheels with adjustable steering. For example: the steering wheel is a Mecanum wheel. In addition, the walking system can be swingably arranged on the fuselage 101 so that the cleaning robot has an obstacle crossing function during walking. Among them, the working surface can be but not limited to the surface or scene of objects such as the ground and the desktop. For the convenience of expression, the working surface below is described using the ground as an example. The width direction of the fuselage is perpendicular to the forward direction of the fuselage.

[0088] The cleaning module includes a dry cleaning component or a wet cleaning component, or includes both a dry cleaning component and a wet cleaning component. Regarding the arrangement of the dry cleaning component and the wet cleaning component on the body 101, when the cleaning robot 100 performs a cleaning task, it can sweep first and then mop the floor, and in the forward direction of the cleaning robot 100, the wet cleaning component is located behind the dry cleaning component.

[0089] The dry cleaning element includes a main brush, a dust box (not shown) and a fan (not shown). A main brush chamber is provided at the bottom of the body 101. The main brush is rotatably provided in the main brush chamber. The dust suction port on the main brush chamber is connected to the dust inlet of the dust box, and the air outlet of the dust box is connected to the fan. During the rotation of the main brush, the garbage around and in front of it is moved to the dust suction port. The garbage at the dust suction port is sucked into the dust box under the negative pressure generated by the fan to achieve the cleaning function of the working surface.

[0090] The wet cleaning element includes a driving structure and a cleaning component. The cleaning component may include a cleaning disc and a cleaning element disposed on the bottom of the cleaning disc. The driving structure drives the cleaning disc to move, so as to drive the cleaning element to vibrate or rotate back and forth. The cleaning element forms friction with the ground during the movement to clean the ground.

[0091] The cleaning module also includes side brushes located on one or both sides of the front part of the body 101. Along the forward direction of the cleaning robot 100, the side brushes are located in front of the dry cleaning part, and at least part of the side brushes extend out of the edge of the body 101. The side brushes rotate under the drive of the driving mechanism. During the rotation of the side brushes, the garbage located in front of and around it is moved toward the inside of the body 101, so that the main brush of the dry cleaning part located at the rear can clean up the garbage and be sucked into the dust box by the fan.

[0092] The wet cleaning element and / or the dry cleaning element can be lifted relative to the machine body, and the lifting structure is not limited here. The wet cleaning element and / or the dry cleaning element can have a cleaning position in contact with the working surface and a lifting position separated from the working surface relative to the machine body.

[0093] The perception system includes a two-dimensional laser radar or a three-dimensional laser radar located above the fuselage, and also includes a buffer, a line laser sensor, a visual sensor located at the front of the fuselage 101, and an edge sensor located on the side wall of the fuselage 101, an ultrasonic sensor and a downward sensor located at the bottom of the fuselage 101, an inertial measurement unit and an odometer located inside the robot and other sensing devices.

[0094] Among them, the buffer can perform obstacle detection by colliding with the obstacle. The edge sensor can detect the distance of the obstacle so that the robot can perform edge cleaning for the obstacle based on the information detected by the edge sensor. Two-dimensional laser radar or three-dimensional laser radar, line laser sensor can collect distance information of obstacles; visual sensors can also be used to identify images of the environment in which the cleaning robot is located; the control system 104 can determine the distance of the obstacle, the outline of the obstacle and the type of obstacle based on the information collected by the two-dimensional laser radar or three-dimensional laser radar, line laser sensor, and visual sensor, and then realize map building, and control the cleaning robot to perform obstacle avoidance / obstacle crossing / edge cleaning, etc. The downward sensor is used for cliff detection. The inertial measurement unit can be a device for measuring the three-axis attitude angle (or angular rate) and acceleration of an object to obtain the motion attitude information of the cleaning robot in real time. The odometer can be used to determine the position of the cleaning robot in the map, that is, to locate the cleaning robot. The ultrasonic sensor is used to identify the carpet signal, and the control system 104 controls the cleaning parts of the wet cleaning parts of the cleaning robot to lift up according to the signal, or controls the cleaning robot to return to the base station to remove the cleaning parts of the wet cleaning parts, wherein the base station is used to power the cleaning robot 100 or clean the cleaning parts of the cleaning robot 100. Of course, the above-mentioned perception system is only for illustration and does not constitute a limitation of the embodiments of this specification.

[0095] It can be understood that the control system 104 can also be called a controller, which can also execute the stain cleaning method of the cleaning robot described in any of the following embodiments.

[0096] The cleaning robot 100 can work based on the operation map. The operation map can be constructed by fast mapping, and can be updated in real time as the cleaning robot 100 performs cleaning work, and can be updated by receiving information input by the user or other terminals. The operation map can be stored in advance for reuse in subsequent cleaning, so that the map does not need to be rebuilt every time cleaning, which affects the cleaning efficiency. In the process of working with the reused operation map, the cleaning robot can also update the operation map based on the information collected in real time, the information input by the user or other terminals, so as to improve the cleaning accuracy and flexibility.

[0097] The cleaning robot 100 may further include a front collecting element 102 and a rear collecting element 103. With the forward direction of the cleaning robot as the front, the front side of the body 101 is provided with the front collecting element 102, and the rear side of the body 101 is provided with the rear collecting element 103.

[0098] The type of the front-end acquisition element 102 is not limited, for example, the sensor in the sensing system can be reused, or it can be a separately arranged sensor. For example, the type of the front-end acquisition element 102 can be one type, or it can be a combination of multiple types of sensors.

[0099] Optionally, the front acquisition element includes at least one of the following: a monocular vision sensor, a binocular vision sensor, a line laser sensor, a surface laser sensor, a laser diffraction sensor (LDS), a direct time-of-flight sensor (Dtof), an indirect time-of-flight sensor (Itof), an optical flow sensor, etc. The embodiment of the present application does not specifically limit the type of the front acquisition element. It is understandable that the definition of the rear acquisition element is similar to that of the front acquisition element, and the embodiment of the present application will not be repeated here. For details, please refer to the description of the front acquisition element. The type and quantity of the rear acquisition sensor may be consistent with the type and quantity of the front acquisition element, or may be inconsistent.

[0100] The front acquisition element 102 can be used to collect information on the working surface in front of the fuselage, and the processor of the cleaning robot 100 outputs the stain information of the working surface based on the information collected by the front acquisition element 102. The stain information can be image information, point cloud information, etc., which is used to determine whether there is a stain area. When the stain information is image information, the front acquisition element that collects the image information can be an RGB sensor. When the stain information is point cloud information, the front acquisition element that collects the point cloud information can be a structured light sensor. The stain information can also be the recognition result of whether it is a stain, the type of stain, the range of the stain coverage area, etc. The stain can be dirt, oil, etc. attached to the working surface. The stain can be in a wet state on the working surface, or it can be in a dry and solidified state. The stain type can be milk stains, egg stains, juice stains, coffee stains, tea stains, soup, etc. The embodiment of the present application does not limit the specific type and state of the stain.

[0101] If the front acquisition element 102 is an RGB sensor, the RGB sensor acquires image information of the working surface, and the processor can process the image information based on a pre-built artificial intelligence (AI) model, and then output the stain information of the working surface. When the front acquisition element 102 is a sensor of multiple types, the processor can comprehensively determine the stain information of the working surface based on the information acquired by the sensors of multiple types.

[0102] For the convenience of distinguishing expressions, the embodiments of this specification take the direction parallel to the forward movement direction of the cleaning robot as the longitudinal direction, and the direction perpendicular to the forward movement direction as the transverse direction. Figures 2 to 4 The figure is a schematic diagram of the setting positions and directions of the front collecting element 102 and the rear collecting element 103 on the fuselage, wherein R is the center line of the fuselage, the area between the dotted line a1 and the dotted line b1 is a schematic diagram of the lateral collecting range of the front collecting element 102 on the working surface, the area between the dotted line a2 and the dotted line b2 is a schematic diagram of the lateral collecting range of the rear collecting element 103 on the working surface, and the area defined by the dotted lines W1 and W2 is a schematic diagram of the overlapping part of the lateral collecting ranges of the front collecting element 102 and the rear collecting element 103 on the working surface.

[0103] The front acquisition component 102 has a certain lateral acquisition range for the working surface. The lateral acquisition range of the front acquisition component for the working surface is determined based on the internal parameters and external parameters of the front acquisition component 102. For example, in the case where the front acquisition component 102 includes an image acquisition unit, the lateral acquisition range of the front acquisition component 102 is determined based on the external parameters of the image acquisition unit (such as the installation position and installation angle of the image acquisition unit on the fuselage) and the internal parameters (the field of view angle of the image acquisition component).

[0104] For the RGB acquisition module, the horizontal acquisition range can refer to the angle formed by the two edges of the maximum range of the lens in the front acquisition element or the rear acquisition element, with the lens in the front acquisition element or the rear acquisition element as the vertex. This angle is determined by the field of view of the front acquisition element or the rear acquisition element. Generally, the larger the field of view, the larger the horizontal acquisition range.

[0105] Taking the forward direction of the fuselage as a reference, for example, the front collection element 102 is an RGB (Red, Green, Blue) collection module, the RGB sensor is installed on the front side of the fuselage and is located on the center line R of the fuselage, and the central axis of the RGB sensor's field of view is the center line R of the fuselage. The field angle of the RGB sensor is 90 degrees. Then, the lateral collection range of the front collection element 102 on the working surface is a range of 45 degrees on the front side of the fuselage 101 and on both sides of the central axis.

[0106] The front acquisition element 102 usually has a certain effective detection distance in the longitudinal direction. The front acquisition element 102 may not be able to capture a position that is too far or too close to the front acquisition element 102. The effective detection distance of the front acquisition element 102 is determined by the external parameters and internal parameters of the front acquisition element 102. For example, in the case where the front acquisition element 102 includes an image acquisition unit, the effective detection distance of the front acquisition element 102 is determined based on the external parameters of the image acquisition unit (such as the installation position and installation angle of the image acquisition unit on the fuselage) and the internal parameters (focal length of the image acquisition element, etc.).

[0107] For example, when the front acquisition element 102 is an RGB sensor, the RGB sensor usually has a downward installation angle so as to collect RGB image information of the working surface. The installation angle will affect the effective detection distance of the RGB sensor. At the same time, the effective detection distance of the RGB sensor will also be affected by the acquisition focal length of the RGB sensor. The maximum and minimum values ​​of the effective detection distance of the RGB sensor can be determined by comprehensively considering the installation angle and focal length.

[0108] The sensor type of the rear collection element 103 may be the same as or different from that of the front collection element 102. The determination method of the lateral collection range and the effective detection distance refers to the front collection element 102, and the processing algorithm of the processor to determine the stain information of the working surface based on the information collected by the rear collection element 103 may be the same or different.

[0109] Of course, the information collected by the front collection element 102 and the rear collection element 103 can also be transmitted to the cloud or other terminal devices for processing to obtain the stain information of the work surface, which is not limited here.

[0110] Optionally, the types of the front collection element 102 and the rear collection element 103 are consistent. When the types of the front collection element 102 and the rear collection element 103 are consistent, the consistency of the comparison of the front and rear detection results can be guaranteed, and thus the accuracy of the false detection judgment can be guaranteed.

[0111] Exemplarily, the front collection element 102 may be a TOF (Time-of-Flight) sensor, and the rear collection element is also a TOF sensor. The rear collection element is also used to collect auxiliary positioning information, so that the cleaning robot 100 can flexibly retreat when it moves to a corner.

[0112] In this way, by setting the same type of front-end acquisition components and rear-end acquisition components, the consistency of information acquisition can be ensured, data differences and mismatches caused by different sensor types can be avoided, and the accuracy and reliability of the collected information can be improved. Sensors of the same type are easier to implement in terms of integration and data processing, which can reduce the adaptation work of different sensor interfaces and data formats, simplify the design and development process of cleaning robots, and use sensors of the same type for unified maintenance and management, reducing maintenance costs and workload. In addition, the output data format and processing methods of sensors of the same type are similar, which is conducive to unifying data processing processes and algorithms and improving processing efficiency and performance.

[0113] It should be noted that any type of front collection element and rear collection element can implement the method of the present application.

[0114] Optionally, the type of the front acquisition component 102 is an RGB sensor; the type of the rear acquisition component 103 is an RGB sensor. The RGB sensor can accurately capture color information, brightness information, etc., and can more easily distinguish stains from other environmental information, thereby improving the accuracy of stain recognition.

[0115] For example, when the type of the front acquisition element 102 is an RGB sensor and the type of the rear acquisition element 103 is an RGB sensor, the data collected by the front and rear RGB sensors can be processed based on the same AI model to obtain the stain information on the front working surface of the fuselage and the stain information on the rear working surface of the fuselage. Since the front acquisition element 102 and the rear acquisition element 103 both use the same sensor type and algorithm model, the consistency of stain information recognition before and after cleaning the same area is guaranteed, further reducing the probability of misidentification of stains.

[0116] like Figures 2 to 4As shown, when the cleaning robot is in the right edge mode, the forward direction of the cleaning robot is the front, the front collecting element 102 is arranged on the front side of the body, and the front collecting element 102 is used to collect the stain information of the front working surface of the cleaning robot; the rear collecting element 103 is arranged on the left rear side of the body, and is used to collect the stain information of the rear working surface of the cleaning robot; the center line R of the body is taken as the reference position, as shown in FIG. Figure 2 As shown, the front collecting element 102 and the rear collecting element 103 are both arranged in the middle position of the fuselage; Figure 3 , 4 As shown, the front collecting element 102 is arranged in the middle of the fuselage, while the rear collecting element 103 is arranged offset to one side.

[0117] The rear side of the fuselage is usually provided with a charging plate and an infrared docking module that are docked with a base station, and it is difficult to have space for the rear acquisition module. Therefore, the rear acquisition module 103 can be offset to the sides of the fuselage. From the above embodiments, it can be seen that the front acquisition element 102 and the rear acquisition element 103 usually reuse existing sensing elements, such as RGB sensors. In view of the fact that the reused sensing elements also need to perform the detection of environmental information such as obstacles, the rear acquisition element 103 can be set on the non-edge side when it is offset to one side of the fuselage relative to the center line of the fuselage, so that when the cleaning robot moves to a corner or other position, the rear acquisition element 103 can be used to collect information from the rear side of the cleaning robot, so as to realize the flexible retreat and turning of the cleaning robot. Correspondingly, the fuselage 101 includes an edge side for performing edge detection against obstacles, with the side opposite to the edge side of the fuselage 101 being a non-edge side. When the rear collecting element 103 is offset to one side of the fuselage relative to the center line of the fuselage, the rear collecting element 103 is offset to the non-edge side.

[0118] For example, Figure 5 A schematic diagram of the placement of a front collection element and a rear collection element provided in an embodiment of the present application is shown in FIG. Figure 5 As shown in A, the front side of the fuselage is provided with a front collecting element 102. When the right side of the fuselage is the edge side, the position of the rear collecting element 103 can be set at the left rear side of the non-edge side, such as Figure 5 As shown in B, when the left side of the fuselage is the edge side, the position of the rear collection element 103 can be set at the right rear side of the non-edge side.

[0119] Figure 3Taking the case where both the front acquisition element and the rear acquisition element are RGB sensors as an example, since the lateral acquisition range of the RGB sensor in the horizontal direction is about 90 degrees, when the rear acquisition element 103 is offset to one side of the fuselage relative to the center line of the fuselage, the lateral acquisition ranges of the front RGB sensor and the rear RGB sensor do not completely overlap, resulting in that the RGB sensor on the rear side may acquire a smaller range of the stain area after cleaning (e.g. Figure 8 As shown in the figure, or the cleaned stain area cannot be collected, thus affecting the effective execution of the false dirt detection. Figure 4 As shown, the placement direction of the rear acquisition element 103 can be adjusted, the intersection of the central axis N of the rear acquisition element and the fuselage is used as a reference point, the tangent M of the fuselage at the reference point is used as a reference line, the specified angle c between the central axis N of the rear acquisition element and the reference line M is less than 90 degrees, and the specified angle c is toward the rear side of the fuselage, so as to increase the overlap between the lateral acquisition range of the rear acquisition element 103 and the front acquisition element. For example, when the rear acquisition element includes an image acquisition unit, the central axis of the rear acquisition element can be the center line of the acquisition field angle of the rear acquisition element.

[0120] It should be noted that the embodiment of the present application does not specifically limit the position of the rear collecting element offset to the non-edge side, and the placement position of the rear collecting element can be determined based on the actual scene requirements so that the lateral collecting range of the front collecting element and the rear collecting element is greater than the third threshold to meet the needs of stain detection; the third threshold is a threshold set in advance, and the embodiment of the present application does not specifically limit the size of the third threshold.

[0121] Based on the structural design of the cleaning robot, the cleaning robot can be used to clean the work surface to determine whether there are stains on the work surface and perform deep cleaning on the stained area. Taking the cleaning robot in a home scene as an example, Figure 6 A schematic diagram of an application scenario provided in an embodiment of the present application is as follows: Figure 6 As shown, the application scenario includes a cleaning robot 100 and a base station 200. The base station 200 can provide a cleaning function for the cleaning robot 100, and can also provide a charging function for the cleaning robot 100. The cleaning robot 100 includes a body 101, a front collection element 102, and a rear collection element 103. With the forward direction of the cleaning robot 100 as the front, the front side of the body 101 is provided with the front collection element 102, and the rear side of the body 101 is provided with the rear collection element 103. The lateral collection range of the front collection element 102 and the rear collection element 103 for the living room surface overlaps.

[0122] The cleaning robot can clean the floor in the room based on the real-time planned path. For example, the cleaning robot can perform bow cleaning, obstacle cleaning, edge cleaning, etc. in the living room. The cleaning path can be generated in real time based on the work map and the information perceived by the perception system in real time. There may be stains such as oil stains, coffee stains, and soup on the floor. The stains are usually colored and oily, and are extremely difficult to clean. After the cleaning robot performs cleaning, the stains will also contaminate the cleaning components. At this time, when the cleaning robot continues to clean in the non-stained area, it will also cause the non-stained area to be contaminated, thereby affecting the cleaning effect and further affecting the user experience. Accordingly, the cleaning robot can be controlled to perform key cleaning on the stained area, improve the cleaning effect of the stain, and avoid contaminating other areas without stains. Because some stains are similar to the floor in terms of color, texture, etc., the cleaning robot is not accurate enough in identifying stains in this scenario, resulting in misidentification of stains, and performing deep cleaning in the non-stained area, affecting the cleaning efficiency of the cleaning robot and the user experience.

[0123] Accordingly, in a scenario example provided in this specification, when the cleaning robot 100 performs cleaning work on the floor of a working area (such as a living room) along a real-time planned path, if the front collection element 102 identifies a stain area on the surface of the living room in front, such as a stain area of ​​water stains, coffee stains, soup, etc., the stain information corresponding to the stain area can be used as the first stain information, and then the cleaning robot 100 can use the cleaning position of the cleaning component in contact with the living room surface to move in the stain area and perform cleaning. After the fuselage 101 travels a specified distance in the stain area, the fuselage 101 is controlled to perform a preset action, such as deflecting a certain angle, so that the rear collection element 103 obtains the second stain information of the cleaned stain area. Then, the difference between the first stain information and the second stain information is compared to determine whether the stain area is a false detection. If it is determined that the difference meets the stain cleaning requirements, it is determined that it is not a false detection, and then the cleaning robot 100 can perform stain cleaning for the stain area. For example, after the stain area is confirmed, the cleaning robot may be controlled to perform deep cleaning on the stain area based on the stain deep cleaning strategy.

[0124] For floor materials with patterns, a pattern in a certain place may be identified as a stained area by the cleaning robot 100 because it is similar to a certain type of stain. After comparing the difference in stain information after cleaning the stained area, it can be determined that there is almost no difference in the stain information of the patterned area before and after cleaning, and then it is determined that the patterned area is not a stained area. Therefore, there is no need to perform deep cleaning. The cleaning robot can be controlled to continue cleaning the uncleaned area, thereby avoiding deep cleaning in the non-stained area, affecting the cleaning efficiency of the cleaning robot and the user experience.

[0125] It should be noted that the stain cleaning method of the cleaning robot can also be applied to shopping mall scenes, school scenes, and office scenes. The present application does not limit the specific application scenarios of the stain cleaning method of the cleaning robot. The above is only an example.

[0126] Based on the above embodiments, the present application provides a stain cleaning method for a cleaning robot, which may include:

[0127] S101: controlling the body to move along the original cleaning path to obtain stain information on the front working surface of the cleaning robot based on the front collection element;

[0128] For the convenience of distinguishing expressions, in the embodiments of this specification, the path planned in real time by the cleaning robot when no focused cleaning is performed on the stained area can be described as the original cleaning path.

[0129] For example, the cleaning robot is performing bow-shaped cleaning. During the bow-shaped cleaning process, the front collection element can collect information about the working surface in front of the cleaning robot. The information collected by the front collection element can be processed using a pre-built algorithm or AI model to output the stain information on the working surface in front of the cleaning robot. The stain information is as described above. For example, the sensor information collected by the front collection element can be input into the AI ​​model for identification to determine whether there is an initial stain area. The AI ​​model is a machine model that has been trained in advance based on a large amount of training data. The training data may include a variety of stain types and easily interfered feature types, such as patterned floors, etc. The embodiment of the present application does not specifically limit the method for determining the existence of an initial stain area. It can refer to existing methods or redefine new methods.

[0130] Of course, when the cleaning robot is performing obstacle avoidance and cleaning along the wall, the front collection component can collect information on the working surface in front of the cleaning robot to obtain stain information on the working surface in front of the cleaning robot.

[0131] Figures 7 to 11 A schematic diagram of the state of the cleaning robot performing cleaning work provided in an embodiment of the present application, taking the cleaning robot in right edge mode as an example, Figures 7 to 11 As shown, the cleaning robot can clean the working surface according to the original cleaning path such as the bow-shaped cleaning path. In the process of traveling based on the bow-shaped cleaning path, the front collection element 102 collects information of the working surface in front of the cleaning robot to determine whether there is a stain on the working surface in front. After determining that there is a stain, an initial stain area 1041 is obtained. The initial stain area is the area where the cleaning robot identifies and preliminarily determines that there is a stain, and the size of the initial stain area is not specifically limited. The cleaning robot can perform at least wet cleaning on the initial stain area to obtain the initial stain area 1042 after cleaning.

[0132] in, Figure 7 , Figure 8 as well as Fig.10 for Figure 3 Schematic diagram of the cleaning path under the structure shown, Fig. 9 for Figure 4 Schematic diagram of the cleaning path under the structure shown, Fig.11 for Figure 2 Schematic diagram of the cleaning path under the structure shown.

[0133] S102: after determining that an initial stain area exists on the original cleaning path based on the stain information acquired by the front collection element, using the stain information corresponding to the initial stain area as first stain information, and controlling the body to continue to move along the original cleaning path, so as to perform at least wet cleaning on the initial stain area;

[0134] For the convenience of distinguishing expressions, in the embodiments of this specification, after determining that there is an initial stain area on the front working surface based on the information collected by the front collection element, the stain information corresponding to the initial stain area can be described as first stain information.

[0135] After determining that there is an initial stain area on the original cleaning path based on the stain information obtained by the front collection element, the body can be controlled to move to the initial stain area so that the body moves in the initial stain area and at least wet cleaning is performed on the initial stain area.

[0136] The body can be controlled to move along the original cleaning path to the initial stain area. After the body is controlled to move along the original cleaning path to the initial stain area, the body can be controlled to continue moving along the original cleaning path in the initial stain area until the travel distance of the body after entering the initial stain area is a specified distance.

[0137] In the case where the lateral collection range of the rear collection element is not offset along the side, and the position of the initial stain area is offset along the side, controlling the body to move along the original cleaning path to the initial stain area may result in the rear collection element failing to collect the cleaned stain area, or collecting less of the cleaned initial stain area.

[0138] In the case where the lateral collection range of the rear collection element is offset from the side and the position of the initial stain area is offset from the side, the cleaning path can be replanned based on the distribution and position of the initial stain area after the initial stain area is identified. The cleaning robot travels to the initial stain area based on the replanned cleaning path to ensure that when the fuselage moves to the initial stain area, the area of ​​the initial stain area of ​​the fuselage not along the side is greater than the specified area threshold, thereby ensuring that after the fuselage enters the initial stain area and travels a specified distance, the rear collection element can collect more of the cleaned initial stain area.

[0139] Alternatively, when the fuselage is controlled to move along the original cleaning path to the initial stain area and reaches the boundary of the initial stain area at the front side of the fuselage, the fuselage can be controlled to adjust its direction to enter the initial stain area with the adjusted moving direction, to ensure that after the fuselage enters the initial stain area and moves a specified distance, the area of ​​the initial stain area after cleaning that can be collected by the rear collection element is greater than the specified area threshold.

[0140] Alternatively, after controlling the body to move along the original cleaning path to the initial stain area and maintaining the body along the direction of the original cleaning path to enter the initial stain area, the body can be controlled to move based on the re-planned cleaning path to ensure that after the body enters the initial stain area and moves a specified distance, the rear collection element can collect more of the cleaned initial stain area.

[0141] Exemplarily, the re-planned cleaning path is located at the central axis of the initial stain area, or the area of ​​the initial stain area located on the non-edge side of the fuselage is larger than the area along the edge of the fuselage. The embodiment of the present application does not specifically limit the re-planned cleaning path, and it is sufficient to ensure that the rear collection element can collect more of the initial stain area after cleaning.

[0142] During the movement of the body in the initial stain area, the wet cleaning parts of the cleaning robot can be controlled to be located at the cleaning position to at least perform wet cleaning on the initial stain area. For example, dry cleaning and suction cleaning can also be performed, which are not specifically limited in the embodiments of the present application. Wet cleaning can refer to cleaning performed using a wet cleaning component, such as a cleaning component component, etc., dry cleaning can refer to cleaning performed using a dry cleaning component, such as a side brush component and / or a roller brush component, etc., and suction cleaning can refer to cleaning performed using a suction cleaning component, such as a suction component, etc.

[0143] If the initial stain area is small and the travel distance of the fuselage has not reached the specified distance, the fuselage has moved out of the stain area, causing the wet cleaning element to contaminate the non-stained area, increasing the cleaning area and affecting the user experience. Therefore, it is possible to determine whether the wet cleaning element is about to leave the initial stain area. When it is determined that it is about to leave the initial stain area, the wet cleaning element is controlled to be in a raised position, and then the fuselage is controlled to continue moving until the travel distance of the fuselage reaches the specified distance, so as to avoid the wet cleaning element contaminating the non-stained area during the movement of the fuselage.

[0144] S103: After the robot body enters the initial stain area and moves a specified distance, stain information on the rear working surface of the cleaning robot is obtained based on the rear collection element; wherein the specified distance is determined based on the effective detection distance of the rear collection element in the longitudinal direction;

[0145] The position where any position S of the body enters the initial stain area can be taken as the starting point. After entering the initial stain area and traveling a specified distance, the stain information of the rear working surface of the cleaning robot obtained by the rear acquisition element is extracted.

[0146] like Figures 7 to 11 As shown, due to the difference in the lateral collection range between the rear collection element and the front collection element, as well as the effective detection distance of the rear collection element in the longitudinal direction, there is a difference between the initial stain area after cleaning that can be collected by the rear collection element and the initial stain area 1042 cleaned by the cleaning robot. The initial stain area after cleaning that can be collected by the rear collection element may be smaller than the initial stain area 1042 cleaned by the cleaning robot. Therefore, it should be particularly noted that the stain information described in this application based on the initial stain area after cleaning obtained by the rear collection element is the stain information corresponding to the initial stain area 1042 after cleaning collected by the rear collection element.

[0147] For example, the distance between any position S and the rear collection element in the longitudinal direction can be extracted as T, and the specified distance P can be determined by combining the fuselage length T and the effective detection distance K. If any position S is in front of the rear collection element, the sum of T and the minimum effective detection distance Kmin can be D1, and the sum of T and the maximum effective detection distance Kmax can be D2. The specified distance P can be any value between D1 and D2. If any position S is behind the rear collection element, the difference between the minimum effective detection distance Kmin and T can be calculated, and the absolute value of the difference can be taken as D1; ​​the difference between the minimum effective detection distance Kmax and T can be calculated, and the absolute value of the difference can be taken as D2. The specified distance P can be any value between D1 and D2. For example, the specified distance can be set to the average of D1 and D2, and the average of D1 and D2 can be taken as the specified distance P.

[0148] When the distance between the location where information needs to be collected and the rear collection element is less than the minimum effective detection distance Kmin, the rear collection element will not be able to collect information at the corresponding location due to reasons such as inability to focus. At the specified distance P, it can be ensured as much as possible that the initial stain area after cleaning is within the collection range of the rear collection element, ensuring that the rear collection element collects the initial stain area after cleaning.

[0149] On the basis of the above embodiment, the sum of D1 and d can also be used as the specified distance P, d can be a preset value, or the length L of the initial stain area in the longitudinal direction can be determined, and the value of d can be determined based on L. Determining the specified distance in the above manner can avoid the specified distance being too short, resulting in too little information collected about the initial stain area after cleaning. If the moving distance is too long, after determining that it is a stain area, the cleaning robot needs to travel a long distance to return to perform stain cleaning, which has poor execution flexibility and affects the user experience. Combining the length of the initial stain area to determine d and then determine the specified distance P can avoid the specified distance being too long, resulting in the cleaning robot moving too long in the process of determining whether the stain area is a false detection, affecting the detection efficiency.

[0150] After the fuselage enters the initial stain area and travels a specified distance, the stain information of the rear working surface of the cleaning robot acquired by the rear collection element can be extracted. In the implementation method of traveling to the initial stain area based on the re-planned path, and / or adjusting the movement direction of the fuselage when the fuselage reaches the boundary of the initial stain area, and / or controlling the fuselage to move in the initial stain area according to the re-planned path, given that the above-mentioned actions ensure that the rear collection element can collect the initial stain area after cleaning, therefore, after the fuselage enters the initial stain area and travels a specified distance, there is no need to control the fuselage to perform additional preset actions, and the stain information of the rear working surface of the cleaning robot acquired by the rear collection element can be extracted. Of course, after the fuselage enters the initial stain area and travels a specified distance, based on the position of the initial stain area after cleaning relative to the fuselage, the fuselage can be controlled to perform preset actions to further ensure that the rear collection element can collect the initial stain area after cleaning, or to ensure that the area of ​​the initial stain area collected after cleaning is greater than the specified threshold.

[0151] Alternatively, after the initial stain area is identified, the body can be controlled to continue to move along the original cleaning path until the travel distance of the body after entering the initial stain area is a specified distance. However, in this embodiment, when the lateral collection range of the rear collection element is offset toward the non-edge side, the rear collection element may collect less or no initial stain area after cleaning. In this case, Fig.10 As shown, the body can be controlled to perform preset actions to ensure that the rear collection element collects more initial stain areas after cleaning. Fig.10 Relative to Figure 8 , the rear collection element can collect a larger area of ​​the initial stain area after cleaning.

[0152] The preset action may be turning the fuselage in place, moving the fuselage forward, backward, left, and right, etc., which is not limited here. When the area of ​​the cleaned stain area collected by the rear collection element is large enough, the preset action may also be to continue moving along the original cleaning path or to control the fuselage to stop.

[0153] The stain information corresponding to the initial stain area after cleaning can be extracted from the stain information of the rear working surface of the cleaning robot obtained by the rear collection element. For the convenience of distinguishing descriptions, the collection area of ​​the rear collection element after the body enters the initial stain area and moves a specified distance can be used as the rear collection area, and the stain information of the rear working surface of the cleaning robot obtained by the rear collection element can be described as the third stain information. The initial stain area after cleaning in the rear collection area is used as the stain comparison area; the stain information corresponding to the stain comparison area is extracted from the third stain information and described as the second stain information.

[0154] Or, if Figure 8 , Fig. 9 , Fig.11 As shown, after the initial stain area is identified, the body is controlled to continue to move along the original cleaning path until the travel distance of the body after entering the initial stain area is a specified distance, and the area of ​​the initial stain area after cleaning collected by the rear collection element is not analyzed, and the body is controlled to continue to stay along the original cleaning path to obtain the stain information of the rear working surface of the cleaning robot based on the rear collection element. When the area collected by the rear collection element includes the initial stain area after cleaning, the second stain information of the initial stain area after cleaning is extracted to perform the analysis of stain misdetection; if the area collected by the rear collection element does not include the initial stain area after cleaning, the analysis of stain misdetection is not performed.

[0155] S104: Based on the determination result of whether the initial stain area is a false detection, the cleaning robot is controlled to perform a cleaning action.

[0156] The stain cleaning requirement may refer to a requirement for determining a stain area or a stain area with a large difference in stain characteristics. For example, the stain cleaning requirement may be that the stain difference result is greater than or equal to a second threshold. The embodiment of the present application does not limit the size of the second threshold, which may be determined based on a large amount of test data or may be artificially set based on application scenario requirements. Of course, the stain cleaning requirement may also take other forms, which are not limited.

[0157] For example, when the control body performs a preset action to obtain the second stain information of the initial stain area after cleaning based on the rear collection element, the first stain information can be directly compared with the second stain information. When the difference between the first stain information and the second stain information meets the stain cleaning requirements, the cleaning robot is controlled to perform stain cleaning; when the difference between the first stain information and the second stain information does not meet the stain cleaning requirements, the cleaning robot is controlled to perform cleaning work on the uncleaned area. Exemplarily, after the first stain information is collected based on the front collection element and the second stain information is collected based on the rear collection element, the second stain information can be compared with the first stain information to determine whether the initial stain area is a false detection. When the difference in the comparison result is greater than or equal to the second threshold, it is determined that it is not a false detection. Further, the cleaning robot can be controlled to perform stain cleaning on the initial stain area. When the difference in the comparison result is less than the second threshold, it is determined that it is a false detection, and the cleaning robot is controlled to perform cleaning work on the uncleaned area.

[0158] In the process from detecting the initial stain area to outputting whether the initial stain area is a stain area, if the fuselage is controlled to move along the original cleaning path, after obtaining the third stain information, the initial stain area after cleaning can be extracted from the rear acquisition area first, and after extracting the initial stain area after cleaning, the second stain information of the initial stain area after cleaning is obtained, and the second stain information is compared with the first stain information. When the difference between the first stain information and the second stain information meets the stain cleaning requirements, the cleaning robot is controlled to perform stain cleaning on the stain area. When the difference between the first stain information and the second stain information does not meet the stain cleaning requirements, the cleaning robot is controlled to perform cleaning work on the uncleaned area based on the original cleaning path. When the initial stain area after cleaning cannot be extracted, the cleaning robot is controlled to perform cleaning work on the uncleaned area based on the original cleaning path.

[0159] The stain area targeted for stain cleaning may be the initial stain area, or may be a stain area that is re-determined based on information collected by the front collection element and / or the rear collection element after it is determined that the stain is not falsely detected. Given that the area range of the stain area may be irregular or small in size, the robot body may easily move outside the stain area during the robot cleaning process, and it is also difficult to control the cleaning element to remain in the stain area. Therefore, it should be noted that the cleaning of the stain area described in the embodiments of the present application does not limit the body and the cleaning element to remain within the stain area.

[0160] There is no limit to the strategy for performing stain cleaning on the stained area. For example, the stained area can be cleaned once based on a preset path, or the stained area can be repeatedly cleaned based on a preset path. The cleaning path in the stained area can be, for example, rotation in place, bow shape, return shape, forward and backward movement, etc. During the cleaning process, the pressure of the cleaning part mopping the floor can be increased, detergent for the stains can be sprayed on the cleaning part, the speed of the cleaning part disc can be increased, the cleaning time of the machine on the stained area can be increased, etc., to improve the cleaning effect. The embodiment of the present application does not specifically limit the process of stain cleaning.

[0161] After the cleaning strategy for the stained area is completed and / or the stained area is determined to be clean, the cleaning robot can be controlled to continue cleaning the uncleaned area. Whether the stained area is clean can be determined based on the information collected by the front collection element and / or the rear collection element.

[0162] The machine can also be controlled to lift the wet cleaning parts after cleaning the stained area, and control the cleaning robot to return to the base station. After cleaning the cleaning parts at the base station, it continues to clean other uncleaned areas to prevent the contaminated cleaning parts from contaminating other unstained areas. For cleaning robots equipped with a sewage tank that can perform real-time cleaning of rags, the cleaning robot may not return to the base station after cleaning the stained area. After determining that the stained area has been cleaned, the cleaning robot continues to perform regular cleaning on the uncleaned area.

[0163] When the cleaning robot is controlled to return to the base station for cleaning, the degree of dirtiness of the sewage after the base station cleans the cleaning parts can also be detected. If the degree of dirtiness of the sewage after the base station cleans the cleaning parts is relatively serious, the cleaning robot is controlled to return to the stained area and perform secondary cleaning on the stained area to further improve the cleaning effect of the stained area. Alternatively, when the robot moves to the vicinity of the stained area, the degree of dirtiness of the stained area can be detected. If the degree of dirtiness is still relatively serious, the stained area can be cleaned again.

[0164] The solution provided by the above embodiment can first output the first stain information corresponding to the initial stain area after the stain area is preliminarily identified based on the front collection element, and control the cleaning robot to perform at least wet cleaning in the initial stain area, so as to collect the cleaned stain area based on the rear collection element, and output the second stain information of the cleaned stain area, and then determine whether the initial stain area is a false detection by comparing the stain information of the initial stain area before and after cleaning. When it is determined to be a false detection, the cleaning robot can be controlled to continue cleaning other uncleaned areas. When it is determined that the initial stain area is not a false detection, deep cleaning can be performed on the stain area, so that the stain area and the non-stain area with similar characteristics to the stain area can be further accurately distinguished, which not only ensures the effective identification and cleaning of the stain area, avoids the stain area from being uncleanly cleaned, and contaminates other non-stain areas; it can also further reduce the probability of identifying the non-stain area as the stain area, thereby improving the cleaning efficiency and user experience. Embodiment 1

[0165] Optionally, a dry cleaning piece is also provided on the body; the dry cleaning piece has a cleaning position in contact with the working surface and a lifting position separated from the working surface; when the initial stain area is determined to be a specified stain type based on the first stain information, when the dry cleaning piece is in the lifting position, the body is controlled to move in the initial stain area; wherein the specified stain type is a stain type that contaminates the dry cleaning piece.

[0166] Optionally, the dry cleaning component may include side brush components, roller brush components, and other components that do not require the aid of water for cleaning. Accordingly, the specified stain type refers to the type of stain that sticks to or contaminates the dry cleaning component, such as milk stains, egg stains, juice stains, coffee stains, tea stains, soup, etc.

[0167] In an embodiment of the present application, since stains of a specified stain type may contaminate the dry cleaning piece, if the dry cleaning piece encounters an initial stain area with a specified stain type and then cleans the work surface, the work surface may be contaminated. Therefore, when it is determined based on the first stain information that the initial stain area contains a specified stain type, the dry cleaning piece may be controlled to be in a raised position to avoid contact with the initial stain area. Instead, a wet cleaning piece or a cleaning mode corresponding to the specified stain type may be used to perform wet cleaning on the initial stain area.

[0168] Exemplarily, after the first stain information of the initial stain area is collected based on the front collection element, the first stain information is input into the AI ​​model to identify whether the initial stain area is a specified stain type. If it is determined that the initial stain area is of the specified stain type, the dry cleaning element is controlled to be in a raised position, and the cleaning robot is controlled to move in the initial stain area and perform wet cleaning; at this time, the wet cleaning element is in a cleaning position in contact with the working surface. At this time, the machine only performs wet cleaning on at least part of the initial stain area.

[0169] Optionally, controlling the dry cleaning piece to be in a raised position includes, if the dry cleaning piece is in the raised position while the cleaning robot is performing cleaning work on the working surface along an original cleaning path before determining an initial stain area, directly controlling the cleaning robot to move within the initial stain area and perform wet cleaning; if the dry cleaning piece is in the cleaning position while the cleaning robot is performing cleaning work on the working surface along an original cleaning path before determining an initial stain area, controlling the dry cleaning piece to switch from the cleaning position to the raised position, and then controlling the cleaning robot to move within the initial stain area to perform wet cleaning.

[0170] In this way, the embodiment of the present application can control the dry cleaning element to be in a raised position, and the machine can move within the initial stain area to perform wet cleaning. The dry cleaning element will not come into direct contact with the initial stain area, thereby avoiding contamination of the dry cleaning element and further affecting the cleaning of other areas, thereby ensuring the cleaning effect and the service life of the cleaning element.

[0171] When the initial stain area is determined to be a designated stain type based on the first stain information, the body can be controlled to continue to move along the original cleaning path in the initial stain area when the dry cleaning element is in the raised position. The original cleaning path and the dry cleaning element in the raised position are used to perform wet cleaning, so that the cleaning robot can complete the cleaning task more intelligently and efficiently, thereby improving the cleaning experience and satisfaction of the user. Embodiment 2

[0172] Optionally, the cleaning robot is controlled to perform stain cleaning while keeping the dry cleaning member in a raised position.

[0173] Since it has been determined that there are stains in the initial stain area, or at least wet cleaning has been performed, when performing stain cleaning on the initial stain area, keeping the dry cleaning piece in a raised position to control the cleaning robot to perform stain cleaning action on the stain area can prevent the stains from contaminating the dry cleaning piece and protect the dry cleaning piece from being damaged; it can also prevent the dry cleaning piece from causing secondary contamination to the cleaned stained area and prevent the dry cleaning piece from bringing stains to other areas and contaminating non-stained areas, thereby ensuring the cleaning quality and effect.

[0174] Exemplarily, when the cleaning robot determines that the initial stain area is a specified stain type based on the first stain information, the dry cleaning piece is controlled to be in a raised position, and the initial stain area is wet cleaned to determine whether the initial stain area is a false detection. If it is not a false detection, the dry cleaning piece can continue to be controlled to remain in the raised position, and the cleaning robot can be controlled to perform stain cleaning on the stain area. Embodiment 3

[0175] The body can be controlled to move to determine the boundary of the stain area, and after the boundary of the stain area is determined, the cleaning robot is controlled to perform stain cleaning on the stain area within the boundary. For example, the boundary of the stain area can be determined by a front collection element and / or a rear collection element, and the embodiment of the present application does not specifically limit the device and method for determining the boundary of the stain.

[0176] If the scope of the stain area is uncertain, after wet cleaning, the wet cleaning component may cause the stain-contaminated area to become larger and larger. Although cleaning can be achieved in the end, the user experience is not good. Therefore, after determining that the initial stain area is not a false detection, you can first perform edge detection on the stain area to determine the boundary of the stain area. By determining the boundary of the stain area, the cleaning robot can accurately locate the location of the stain, and then clean the stain area within the boundary, ensuring the accuracy and comprehensiveness of the robot's cleaning of the stain area, improving cleaning efficiency and effect; at the same time, it can also prevent the cleaning robot from moving in the non-stain area, contaminating the non-stain area, and affecting the cleaning effect and user experience.

[0177] Optionally, the body may be controlled to move within the stain area to determine the boundary of the stain area; accordingly, after the boundary of the stain area is determined, the cleaning robot is controlled to perform stain cleaning.

[0178] After the cleaning robot moves in the initial stain area to at least perform wet cleaning, the wet cleaning parts are usually contaminated by stains, and the moving parts of the machine may also be contaminated. In the embodiment of the present application, after determining that the initial stain area is not a false detection, the cleaning robot can be controlled to move in the stain area to determine the boundary of the stain area; after determining the boundary of the stain area, the cleaning robot is controlled to perform stain cleaning on the area within the boundary. During the whole process, it can be ensured that the machine does not leave the stain area as much as possible, thereby preventing the wet cleaning parts and moving parts from contaminating the non-stained area, improving the cleaning efficiency and user experience.

[0179] Under the scheme provided in this embodiment, the wet cleaning element can be controlled to remain in the cleaning position during the process of determining the boundary of the stain, without the need to perform the lifting and lowering action of the wet cleaning element, thereby simplifying the structure and control logic; and by keeping the wet cleaning element in the cleaning position to perform boundary determination of the stain area, the stain area can be cleaned during the process of determining the boundary, thereby further improving the cleaning efficiency.

[0180] Exemplarily, after the first dirt information is collected based on the front collection element and the second stain information is collected based on the rear collection element, the second stain information with overlapping parts can be compared with the first stain information to determine that when the difference between the two meets the stain cleaning requirements, the cleaning robot is controlled to move in the stain area to determine the boundary of the stain area. Accordingly, after determining the boundary of the stain area, the cleaning robot is controlled to perform stain cleaning in the area corresponding to the boundary to avoid contamination of the area outside the stain area. Embodiment 4

[0181] A wet cleaning piece is also provided on the machine body; the wet cleaning piece has a cleaning position in contact with the working surface and a lifting position separated from the working surface; the machine body can be controlled to move when the wet cleaning piece is in the lifting position to determine the boundary of the stain area. Because the boundary of the stain area is not initially accurate enough, in the process of determining the boundary of the stain area, the machine body is controlled to move when the wet cleaning piece is in the lifting position, so as to avoid the contaminated wet cleaning piece from contaminating the non-stained area in the process of determining the boundary of the stain area, thereby affecting the cleaning efficiency and user experience.

[0182] Optionally, the wet cleaning element can be controlled to be lifted from the cleaning position to the lifting position, and then the body can be controlled to move to the non-stain area adjacent to the initial stain area, and move in the non-stain area to determine the boundary of the stain area; accordingly, after determining the boundary of the stain area, the cleaning robot is controlled to perform stain cleaning on the stain area within the boundary. The range of the stain area is usually limited, and the front collection component and the rear collection component have a certain effective detection distance. If the distance between the stain and the front collection component or the rear collection component is less than the minimum effective detection distance, it may not be detected. Controlling the wet cleaning element to be in the lifting position and moving to the non-stain area to edge the stain area can more flexibly control the moving position of the body, so that the stain can be fully identified, avoiding the omission of stains, and accurately determining the boundary of the stain area; and in the process of identifying stains, since the wet cleaning element is in the lifting position, direct contact between the cleaning element and the non-stain area can be avoided, reducing the contamination of the non-stain area.

[0183] Optionally, after determining the boundary of the stain area, the body can be controlled to enter the stain area, and the wet cleaning element can be controlled to switch from a raised position to a cleaning position, and then the body can be controlled to move within the stain area while keeping the wet cleaning element in the cleaning position to perform stain cleaning on the stain area. Embodiment 5

[0184] Optionally, the method further includes:

[0185] After cleaning the stain area within the boundary, controlling the cleaning robot to return to the base station with the wet cleaning piece in the raised position to clean the wet cleaning piece;

[0186] When it is determined that the stained area needs secondary cleaning, the cleaning robot is controlled to clean the stained area again; wherein, it is determined that the stained area needs secondary cleaning based on the dirtiness of the cleaning wastewater of the wet cleaning piece and / or the dirtiness of the stained area after cleaning.

[0187] To prevent the wet cleaning parts from contaminating other areas except the stained area after wet cleaning, after cleaning the stained area within the boundary, the cleaning robot is controlled to return to the base station while the wet cleaning parts are in the raised position to clean the wet cleaning parts.

[0188] After the cleaning robot returns to the base station, the wet cleaning parts can be cleaned in the base station. After cleaning, the degree of dirtiness of the sewage used to clean the wet cleaning parts can be detected. If the degree of dirtiness of the sewage is less than a first threshold, it means that the stained area has been cleaned and there is no need to perform secondary cleaning on the stained area; if the degree of dirtiness of the sewage is greater than or equal to the first threshold, it means that the stained area has not been cleaned and there is a need to perform secondary cleaning on the stained area.

[0189] Among them, the first threshold is a threshold set in advance to determine that the sewage is dirty and needs to be cleaned twice. The embodiment of the present application does not specifically limit the size of the first threshold. It can be determined based on a large amount of test data or manually set based on the needs of the application scenario.

[0190] Optionally, after controlling the cleaning robot to perform stain cleaning on the stain area, stain information of the stain area is collected based on the front collection element and / or the rear collection element to determine the degree of dirtiness of the stain area after cleaning, and then determine whether it is necessary to perform secondary cleaning on the stain area. In some embodiments, the fourth stain information of the front stain area A can be obtained based on the front collection element, and the fifth stain information of the stain area A after cleaning can be obtained based on the rear collection element. By judging the difference between the fourth stain information and the fifth stain information corresponding to the stain area A, it is determined whether the stain area after cleaning needs to be further cleaned; if the difference between the first stain information and the third stain information is large, or the degree of contamination of the stain area A determined based on the fifth stain information is higher than a preset value, secondary cleaning is performed; if the difference between the first stain information and the third stain information is small, and the degree of contamination of the stain area A determined based on the fifth stain information is less than a preset value, secondary cleaning is not performed. By integrating the degree of dirtiness of the stain area after cleaning and the difference in stain information before and after cleaning, it is comprehensively determined whether it is cleaned, which can further reduce misjudgment and improve the cleaning effect.

[0191] Optionally, the degree of dirtiness of the stained area after cleaning can be detected based on a stain detection device to determine whether the stained area needs to be cleaned again. The embodiment of the present application does not specifically limit the method for detecting the degree of dirtiness of the stained area after cleaning. The above is only an example.

[0192] Therefore, the embodiment of the present application can improve the cleaning efficiency while ensuring that the stained area is cleaned more thoroughly and the cleaning quality is improved by judging whether a secondary cleaning is needed; and after the cleaning robot cleans the wet cleaning parts, it goes to the stained area again to perform cleaning, and uses the clean wet cleaning parts to perform secondary cleaning on the stained area, which can further improve the cleaning effect; further, by evaluating whether the stain is cleaned by the degree of dirtiness of the cleaning wastewater and / or the degree of dirtiness after cleaning, the accuracy of the judgment on whether the stain is cleaned can be guaranteed, thereby ensuring the cleaning effect. Embodiment 6

[0193] Optionally, the method further includes:

[0194] When it is determined that the stained area does not need to be cleaned again, the cleaning robot is controlled to clean the uncleaned area.

[0195] Exemplarily, if the degree of contamination of the sewage after cleaning the wet cleaning parts is lower than the first threshold, the cleaning robot is controlled to leave the base station and continue to perform cleaning work on the uncleaned area in the working area.

[0196] Optionally, if it is determined that the stained area does not need to be cleaned again based on the degree of dirtiness of the stained area after cleaning, the cleaning robot can be directly controlled to perform cleaning work on the uncleaned area based on the original cleaning path.

[0197] Therefore, when it is determined that the stained area does not need secondary cleaning, the embodiment of the present application controls the cleaning robot to continue cleaning the remaining work surface, so that the cleaning robot can more effectively cover and clean the remaining work surface, reduce the possibility of repeated cleaning, thereby saving time and energy consumption, and improving cleaning efficiency. Embodiment 7

[0198] In some embodiments, the stain cleaning method of the cleaning robot may include:

[0199] Controlling the body to move along the original cleaning path so that the front collection element collects stain information on the working surface in front of the cleaning robot;

[0200] After determining that an initial stain area exists on the original cleaning path based on the stain information acquired by the front collection element, stain information corresponding to the initial stain area is used as first stain information, and the body is controlled to continue to move along the original cleaning path to perform at least wet cleaning on the initial stain area;

[0201] After the body enters the initial stain area and travels a specified distance, the body is controlled to maintain the travel direction of the original cleaning path, and the third stain information of the rear working surface of the cleaning robot is acquired based on the rear collection element, wherein the specified distance is determined based on the effective detection distance of the rear collection element in the longitudinal direction;

[0202] Using the stain information corresponding to the initial stain area after cleaning in the third stain information as the second stain information, and when the difference between the first stain information and the second stain information meets the stain cleaning requirement, controlling the cleaning robot to perform stain cleaning on the stain area;

[0203] When the difference between the first stain information and the second stain information meets the stain cleaning requirement, or when the rear collection area corresponding to the rear collection element does not include the initial stain area after cleaning, the cleaning robot is controlled to continue to perform cleaning work on the uncleaned area along the original cleaning path.

[0204] In this embodiment, during the process of the cleaning robot performing cleaning work on the working surface along the original cleaning path, if it is determined that there is an initial stain area, the cleaning robot can be controlled to move to the initial stain area based on the original cleaning path and move in the initial stain area to perform at least wet cleaning. After the cleaning robot travels a specified distance in the initial stain area, the body can be controlled to maintain the moving direction of the original cleaning path to collect third stain information. Furthermore, the difference between the first stain information and the third stain information of the overlapping part of the area collected by the front collection element and the rear collection element on the working surface is compared to determine whether it is suitable for false detection.

[0205] Controlling the fuselage to maintain the moving direction of the original cleaning path may mean controlling the fuselage to continue to move along the original cleaning path, or may mean controlling the fuselage to stop and remain motionless while maintaining the moving direction of the original cleaning path.

[0206] For example, after obtaining the third stain information, the initial stain area after cleaning can be extracted from the third stain area. After extracting the initial stain area after cleaning, the second stain information of the initial stain area after cleaning is obtained, and the second stain information is compared with the first stain information. When the difference between the first stain information and the second stain information meets the stain cleaning requirements, the cleaning robot is controlled to perform stain cleaning. When the difference between the first stain information and the second stain information does not meet the stain cleaning requirements, the cleaning robot is controlled to perform cleaning work on the uncleaned area based on the original cleaning path. When the initial stain area after cleaning cannot be extracted, the cleaning robot is controlled to perform cleaning work on the uncleaned area based on the original cleaning path.

[0207] The specific implementation method can refer to the above embodiments, which will not be described in detail here.

[0208] In this embodiment, during the process of detecting the initial stain area until determining whether it is a false detection, the machine body is controlled to move along the original cleaning path. In the case of a false detection, since the machine body is always moving along the original cleaning path, the machine can continue to be controlled to clean the uncleaned area along the original cleaning path, so that there is no need to adjust the cleaning path additionally during the whole process, thereby improving the simplicity of the overall control of the machine and the cleaning efficiency; it can also avoid the problem of missed cleaning caused by multiple adjustments to the cleaning path during the process; and the user has zero perception during the whole process, which can further improve the user experience on the basis of reducing false stain detection. When it is determined that it is not a false detection, the cleaning robot is controlled to perform deep cleaning on the stain area to improve the cleaning quality.

[0209] Optionally, a dry cleaning piece is also provided on the body; the dry cleaning piece has a cleaning position in contact with the working surface and a lifted position separated from the working surface; and the body is controlled to continue to move along the original cleaning path, comprising: when it is determined based on the first stain information that the initial stain area is a specified stain type, when the dry cleaning piece is in the lifted position, controlling the body to continue to move along the original cleaning path in the initial stain area; wherein the specified stain type is a stain type that contaminates the dry cleaning piece.

[0210] Optionally, controlling the cleaning robot to perform stain cleaning includes: controlling the cleaning robot to perform stain cleaning while keeping the dry cleaning piece in a raised position.

[0211] Optionally, the method further includes: controlling the body to move within the stain area to determine the boundary of the stain area; correspondingly, after determining the boundary of the stain area, controlling the cleaning robot to perform stain cleaning.

[0212] Optionally, a wet cleaning piece is also provided on the body; the wet cleaning piece has a cleaning position in contact with the working surface and a raised position separated from the working surface; the method also includes: controlling the wet cleaning piece to be in the raised position, and controlling the body to move to a non-stain area adjacent to the initial stain area, and moving within the non-stain area to determine the boundary of the stain area; accordingly, after determining the boundary of the stain area, controlling the cleaning robot to perform stain cleaning.

[0213] Optionally, the method also includes: after cleaning the stained area within the boundary, controlling the cleaning robot to return to the base station when the wet cleaning part is in a raised position to clean the wet cleaning part; when it is determined that the stained area needs to be cleaned a second time, controlling the cleaning robot to clean the stained area again; wherein, based on the degree of dirtiness of the cleaning wastewater of the wet cleaning part and / or the degree of dirtiness of the stained area after cleaning, it is determined that the stained area needs to be cleaned a second time.

[0214] Optionally, the method further includes: when it is determined that the stained area does not need to be cleaned a second time, controlling the cleaning robot to perform cleaning work on the uncleaned area.

[0215] It should be noted that the specific implementation principles and effects of each optional scheme of the stain cleaning method of the cleaning robot can be found in the relevant descriptions and effects corresponding to the above embodiments, and no further elaboration will be made here. Embodiment 8

[0216] Exemplarily, the embodiment of the present application further provides a stain cleaning method for a cleaning robot, wherein the cleaning robot is used to clean a working surface, the cleaning robot comprises a body, with the forward direction of the cleaning robot as the front, a front collecting element is arranged on the front side of the body, and a rear collecting element is arranged on the rear side of the body, with the longitudinal direction parallel to the forward direction as the longitudinal direction and the transverse direction perpendicular to the forward direction as the transverse direction, and the transverse collecting ranges of the front collecting element and the rear collecting element for the working surface overlap; the method comprises:

[0217] Controlling the body to move along the original cleaning path to obtain stain information on the working surface in front of the cleaning robot based on the front collection element;

[0218] After determining that an initial stain area exists on the original cleaning path based on the stain information acquired by the front collection element, stain information corresponding to the initial stain area is used as first stain information, and the body is controlled to continue to move along the original cleaning path to perform at least wet cleaning on the initial cleaning area;

[0219] The body enters the initial stain area and moves a specified distance, and controls the body to perform a preset action to obtain second stain information of the initial stain area after cleaning based on the rear collection element; wherein the specified distance is determined based on the effective detection distance of the rear collection element in the longitudinal direction;

[0220] When the difference between the first stain information and the second stain information meets the stain cleaning requirement, the cleaning robot is controlled to perform stain cleaning.

[0221] In the embodiment of the present application, when controlling the rear-end collecting element to obtain the second stain information of the initial stain area after cleaning, since the second stain information is the stain information of the stain area after cleaning, and the first stain information is the stain information of the initial stain area, the first stain information can be directly compared with the second stain information. In order to ensure that the rear-end collecting element can collect the second stain information of the initial stain area after cleaning, the fuselage can be controlled to perform a preset action to adjust the driving path of the fuselage, such as deflecting a certain angle, so that the rear-end collecting element can collect sufficient second stain information for differential comparison.

[0222] It can be understood that similar execution steps in the embodiments of the present application can refer to the description of the above embodiments and will not be repeated here.

[0223] The stain information of the working surface can be obtained in real time through the front collection element to locate the initial stain area in real time. After the initial stain area is detected, the machine body can be controlled to move along the original cleaning path to the initial stain area, and move along the original cleaning path in the initial stain area. If the initial stain area is long enough, the machine body will move a specified distance along the original cleaning path after entering the initial stain area; if the initial stain area is not long enough, after the machine body leaves the initial stain area, it can continue to move along the original cleaning path until it moves a specified distance. During the process of the machine body moving in the initial stain area, the initial stain area can be wet cleaned by at least using a wet cleaning element.

[0224] After the fuselage enters the initial stain area and travels a specified distance, the fuselage can be controlled to perform a preset action to collect enough second stain information for differential comparison, so as to compare the first stain information and the second stain information to determine whether it is a false detection. Exemplarily, after the fuselage travels a specified distance, if it is determined that the rear collection element cannot collect the cleaned stain area or the collected area is small, the fuselage can be controlled to turn and / or move forward, backward, left, and right to ensure that the cleaned stain area collected by the rear collection element is large enough, thereby improving the recognition accuracy of false detection; when the cleaned stain area collected by the rear collection element is large enough, the preset action can be to continue to move along the original cleaning path or control the fuselage to stop.

[0225] In this embodiment, after the initial stain area is identified, the fuselage is first controlled to move along the original cleaning path until the initial stain area after cleaning is within the effective detection distance of the rear collection element in the longitudinal direction, and then based on the area of ​​the initial stain area after cleaning within the lateral collection range of the rear collection element, the fuselage is controlled to perform a preset action. When the stain area after cleaning collected by the rear collection element is small, the fuselage is controlled to turn and / or move forward, backward, left and right so that there is enough second stain information for stain misdetection judgment; when the area of ​​the stain area after cleaning collected by the rear collection element is large enough, the preset action can be to continue to move along the original cleaning path or control the fuselage to stop, so as to minimize the fuselage from performing additional actions while ensuring the accuracy of stain misdetection analysis. When it is determined that it is not a false detection, the cleaning robot is controlled to perform deep cleaning of the stain area to improve the cleaning quality. On the basis of ensuring the accuracy of the false stain detection analysis, the movement path of the machine body is adjusted less frequently during the entire process from identifying the initial stain area to outputting whether the initial stain area is a false detection, thereby improving the simplicity of overall control of the machine and the cleaning efficiency, while also minimizing the problem of missed cleaning caused by adjusting the cleaning path in the process; and the user perceives less during the entire process, which further improves the user experience on the basis of reducing false stain detection.

[0226] Optionally, a dry cleaning piece is also provided on the body; the dry cleaning piece has a cleaning position in contact with the working surface and a lifted position separated from the working surface; and the body is controlled to continue to move along the original cleaning path, comprising: when it is determined based on the first stain information that the initial stain area is a specified stain type, when the dry cleaning piece is in the lifted position, controlling the body to continue to move along the original cleaning path in the initial stain area; wherein the specified stain type is a stain type that contaminates the dry cleaning piece.

[0227] Optionally, controlling the cleaning robot to perform stain cleaning includes: controlling the cleaning robot to perform stain cleaning while keeping the dry cleaning piece in a raised position.

[0228] Optionally, the method further includes: controlling the body to move within the stain area to determine the boundary of the stain area; correspondingly, after determining the boundary of the stain area, controlling the cleaning robot to perform stain cleaning.

[0229] Optionally, a wet cleaning piece is also provided on the body; the wet cleaning piece has a cleaning position in contact with the working surface and a raised position separated from the working surface; the method also includes: controlling the wet cleaning piece to be in the raised position, and controlling the body to move to a non-stain area adjacent to the initial stain area, and moving within the non-stain area to determine the boundary of the stain area; accordingly, after determining the boundary of the stain area, controlling the cleaning robot to perform stain cleaning.

[0230] Optionally, the method also includes: after cleaning the stained area within the boundary, controlling the cleaning robot to return to the base station when the wet cleaning part is in a raised position to clean the wet cleaning part; when it is determined that the stained area needs to be cleaned a second time, controlling the cleaning robot to clean the stained area again; wherein, based on the degree of dirtiness of the cleaning wastewater of the wet cleaning part and / or the degree of dirtiness of the stained area after cleaning, it is determined that the stained area needs to be cleaned a second time.

[0231] Optionally, the method further includes: when it is determined that the stained area does not need to be cleaned a second time, controlling the cleaning robot to perform cleaning work on the uncleaned area.

[0232] It should be noted that the specific implementation principles and effects of each optional scheme of the stain cleaning method of the cleaning robot can be found in the relevant descriptions and effects corresponding to the above embodiments, and no further elaboration will be made here. Embodiment 9

[0233] Exemplarily, an embodiment of the present application further provides a stain cleaning method for a cleaning robot, the cleaning robot is used to clean a working surface, the cleaning robot comprises a body, with the forward direction of the cleaning robot as the front, a front collecting element is arranged on the front side of the body, a rear collecting element is arranged on the rear side of the body, the longitudinal direction is parallel to the forward direction, the lateral direction is perpendicular to the forward direction, and the lateral collecting range of the front collecting element and the rear collecting element for the working surface overlaps; the method comprises:

[0234] Controlling the cleaning robot to perform cleaning work on the working surface along the original cleaning path when both the dry cleaning element and the wet cleaning element are located at the cleaning position, so as to obtain stain information on the working surface in front of the cleaning robot based on the front collection element; wherein both the dry cleaning element and the wet cleaning element have a cleaning position in contact with the working surface and a lifting position separated from the working surface;

[0235] After determining that there is an initial stain area on the original cleaning path based on the stain information acquired by the front collection element, the stain information corresponding to the initial stain area is used as the first stain information, and the body is controlled to move in the initial stain area when the dry cleaning element is in the lifting position and the wet cleaning element is in the cleaning position;

[0236] After the body enters the initial stain area and travels a specified distance, the body is controlled to perform a preset action so that the rear collection element collects second stain information of the initial stain area after cleaning; wherein the specified distance is determined based on the effective detection distance of the rear collection element in the longitudinal direction;

[0237] When the difference between the first stain information and the second stain information meets the stain cleaning requirement, the cleaning robot is controlled to perform stain cleaning.

[0238] In the embodiment of the present application, since the initial stain area may contaminate the dry cleaning piece, if the dry cleaning piece contacts the initial stain area and then cleans other working surfaces, it may cause contamination to the non-stained area. Therefore, controlling the dry cleaning piece to be in a raised position can prevent the stains in the initial stain area from being dragged to other clean areas to avoid cross contamination, and can also prevent the stains from spreading to a larger area during the cleaning process, ensuring a better cleaning effect. The wet cleaning piece can be used to perform wet cleaning on the initial stain area to ensure a deeper cleaning effect on the initial stain area, so that the second stain information of the initial stain area after cleaning is significantly different from the first stain information, so as to improve the accuracy of judging whether the stain area is a false detection.

[0239] In this embodiment, when the dry cleaning member and the wet cleaning member are both located in the cleaning position, the working surface is cleaned along the original cleaning path, and after determining that there is an initial stain area, the body is controlled to move in the initial stain area when the dry cleaning member is in the raised position and the wet cleaning member is in the cleaning position, so as to avoid the dry cleaning member from contacting the stain, thereby extending its service life, reducing the cleaning and maintenance requirements of the cleaning member, and reducing maintenance costs and time. The dry cleaning member may spread the stain to a larger area when handling wet stains. At the same time, the wet cleaning member is placed in the cleaning position to perform wet cleaning on the stain, so that the second stain information of the initial stain area after cleaning is significantly different from the first stain information, thereby improving the accuracy of judging whether the stain area is a false detection.

[0240] The path that the fuselage moves to the initial stain area, and the path that the fuselage moves in the process of entering the initial stain area and moving a specified distance are not limited, and reference may be made to the above embodiments.

[0241] Optionally, after the body enters the initial stain area and travels a specified distance, the body can be controlled to perform a preset action to obtain second stain information of the initial stain area after cleaning based on the rear acquisition element, and determine whether to perform stain cleaning by comparing the difference between the second stain information and the first stain information.

[0242] In this way, the stain information is obtained in real time through the front collection element, the initial stain area is identified, and after the initial stain area is detected, the dry cleaning part is lifted and the wet cleaning part continues to work, which can more effectively perform deep cleaning of the stain, avoid contamination of the dry cleaning part, extend its service life, reduce the cleaning and maintenance requirements of the cleaning part, reduce maintenance costs and time, and avoid spreading the stain to a larger area; at the same time, the wet cleaning part is placed in the cleaning position to perform wet cleaning on the stain, so that the second stain information of the initial stain area after cleaning is significantly different from the first stain information, thereby improving the accuracy of judging whether the stain area is a false detection. The cleaning robot can also adjust the cleaning path according to actual conditions to improve the flexibility of cleaning, and can collect enough second stain information to improve the accuracy of false detection judgment.

[0243] Optionally, controlling the dry cleaning piece to be in a raised position, the wet cleaning piece to be in a cleaning position, and controlling the body to move in an initial stain area includes: when it is determined based on the first stain information that the initial stain area is a specified stain type, controlling the body to move in the initial stain area when the dry cleaning piece is in a raised position and the wet cleaning piece is in a cleaning position; wherein the specified stain type is a stain type that contaminates the dry cleaning piece.

[0244] Optionally, controlling the cleaning robot to perform stain cleaning includes: controlling the cleaning robot to perform stain cleaning while keeping the dry cleaning piece in a raised position.

[0245] Optionally, the method further includes: controlling the body to move within the stain area to determine the boundary of the stain area; correspondingly, after determining the boundary of the stain area, controlling the cleaning robot to perform stain cleaning.

[0246] Optionally, the method also includes: controlling the wet cleaning element to be in a raised position, and controlling the body to move to a non-stained area adjacent to the initial stain area, and moving within the non-stained area to determine the boundary of the stain area; accordingly, after determining the boundary of the stain area, controlling the cleaning robot to perform stain cleaning.

[0247] Optionally, the method also includes: after cleaning the stained area within the boundary, controlling the cleaning robot to return to the base station when the wet cleaning part is in a raised position to clean the wet cleaning part; when it is determined that the stained area needs to be cleaned a second time, controlling the cleaning robot to clean the stained area again; wherein, based on the degree of dirtiness of the cleaning wastewater of the wet cleaning part and / or the degree of dirtiness of the stained area after cleaning, it is determined that the stained area needs to be cleaned a second time.

[0248] Optionally, the method further includes: when it is determined that the stained area does not need to be cleaned a second time, controlling the cleaning robot to perform cleaning work on the uncleaned area.

[0249] It should be noted that the specific implementation principles and effects of each optional scheme of the stain cleaning method of the cleaning robot can be found in the relevant descriptions and effects corresponding to the above embodiments, and no further elaboration will be made here. Embodiment 10

[0250] Exemplarily, the embodiment of the present application further provides a stain cleaning method for a cleaning robot, and when the difference between the first stain information and the second stain information does not meet the stain cleaning requirement, the cleaning robot is controlled to continue to perform cleaning work on the uncleaned area. When it is determined that the difference between the first stain information and the second stain information does not meet the stain cleaning requirement, the cleaning robot is controlled to continue to perform cleaning work on the uncleaned area, which can ensure that the cleaning robot performs a comprehensive cleaning of the entire area.

[0251] Optionally, a dry cleaning piece is further provided on the body; the dry cleaning piece has a cleaning position in contact with the working surface and a lifting position separated from the working surface. When the initial stain area is determined to be a specified stain type based on the first stain information, the body is controlled to move in the initial stain area when the dry cleaning piece is in the lifting position; wherein the specified stain type is a stain type that contaminates the dry cleaning piece. The cleaning robot moves in the initial stain area, so that at least during the wet cleaning process, the dry cleaning piece is in the lifting position, so that the possibility of the initial stain area contaminating the dry cleaning piece can be avoided.

[0252] Accordingly, when it is determined that the difference between the first stain information and the second stain information does not meet the stain cleaning requirement, the dry cleaning element can be controlled to switch from the lifting position to the cleaning position; after the dry cleaning element is switched to the cleaning position, the cleaning robot is controlled to continue cleaning the uncleaned area. When it is determined that the difference between the first stain information and the second stain information does not meet the stain cleaning requirement, that is, it is determined that this detection is a false detection, indicating that there is no stain in the initial stain area, at this time, the dry cleaning element can be controlled to switch from the lifting position to the cleaning position, so that the cleaning robot continues to perform cleaning work on the uncleaned area, thereby ensuring the cleaning effect on the uncleaned area.

[0253] Optionally, when it is determined that the difference between the first stain information and the second stain information does not meet the stain cleaning requirements, the dry cleaning element is controlled to switch from the lifting position to the cleaning position; when the dry cleaning element is in the cleaning position, the cleaning robot is controlled to perform repeated cleaning on the area cleaned by the initial stain area; after the repeated cleaning is completed, the cleaning robot is controlled to continue cleaning the uncleaned area. When it is determined that the difference between the first stain information and the second stain information does not meet the stain cleaning requirements, the dry cleaning element can be controlled to be in the cleaning position to clean the initial stain area again, which can more thoroughly remove garbage or dirt, improve the cleaning effect, ensure that the area is clean and tidy, and the re-cleaning can ensure that the cleaning robot covers all areas that need to be cleaned, thereby improving the cleaning coverage rate.

[0254] In combination with the above embodiments, the embodiments of the present application are based on the design of the cleaning robot. Through the information collected by the front collection element and the rear collection element in the overlapping area, the stain condition of the working surface can be more accurately detected to avoid omissions or misdetection. Furthermore, based on the stain comparison in the overlapping area, the cleaning robot can perform cleaning in a targeted manner to avoid unnecessary cleaning of the entire surface, thereby improving the efficiency of the cleaning operation. Moreover, through precise stain detection and targeted cleaning operations, it can be ensured that the cleaning robot fully cleans the stained area, thereby improving the cleaning effect and the cleanliness of the working surface.

[0255] In the above embodiments, the stain cleaning method of the cleaning robot provided in the embodiments of the present application is introduced. In order to realize the functions in the method provided in the embodiments of the present application, the cleaning robot as the execution subject may include a hardware structure and / or a software module, and realize the above functions in the form of a hardware structure, a software module, or a hardware structure plus a software module. Whether one of the above functions is executed in the form of a hardware structure, a software module, or a hardware structure plus a software module depends on the specific application and design constraints of the technical solution.

[0256] An embodiment of the present application further provides a computer-readable storage medium, which stores computer program execution instructions. When the computer program execution instructions are executed by a processor, they are used to implement the method described in any of the aforementioned embodiments of the present application.

[0257] An embodiment of the present application further provides a chip for executing instructions, wherein the chip is used to execute the method described in any of the aforementioned embodiments as executed by an electronic device in any of the aforementioned embodiments of the present application.

[0258] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the method described in any of the aforementioned embodiments of the present application executed by an electronic device can be implemented.

[0259] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0260] The modules described as separate components may or may not be physically separated, and the components shown as modules 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 modules may be selected according to actual needs to implement the solution of this embodiment.

[0261] In addition, each functional module in each embodiment of the present application can be integrated into one processing unit, each module can exist physically separately, or two or more modules can be integrated into one unit. The above modular units can be implemented in the form of hardware or hardware plus software functional units.

[0262] The above-mentioned integrated module implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the method described in each embodiment of the present application.

[0263] It should be understood that the above processor can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. The general-purpose processor can be a microprocessor or the processor can be any conventional processor, etc. The steps of the method disclosed in the application can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor.

[0264] The memory may include high-speed random access memory (RAM), and may also include non-volatile memory (NVM), such as at least one disk storage, and may also be a USB flash drive, a mobile hard disk, a read-only memory, a disk or an optical disk, etc.

[0265] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of this application is not limited to only one bus or one type of bus.

[0266] The above storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The storage medium can be any available medium that can be accessed by a general or special computer.

[0267] An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the storage medium can also exist as discrete components in an electronic device or a main control device.

[0268] The above is only a specific implementation of the embodiment of the present application, but the protection scope of the embodiment of the present application is not limited thereto, and any changes or replacements within the technical scope disclosed in the embodiment of the present application should be included in the protection scope of the embodiment of the present application. Therefore, the protection scope of the embodiment of the present application should be based on the protection scope of the claims.

Claims

1. A stain cleaning method for a cleaning robot, characterized in that: The cleaning robot is used to clean a working surface, and comprises a body, with the forward direction of the cleaning robot as the front, a front collecting element is arranged on the front side of the body, and a rear collecting element is arranged on the rear side of the body; With the longitudinal direction parallel to the advancing direction and the transverse direction perpendicular to the advancing direction, the transverse collection ranges of the front collection element and the rear collection element for the working surface overlap; the method comprises: Controlling the body to move along the original cleaning path to obtain stain information on the front working surface of the cleaning robot based on the front collecting element; After determining that an initial stain area exists on the original cleaning path based on the stain information acquired by the front collection element, stain information corresponding to the initial stain area is used as first stain information, and the body is controlled to continue to move along the original cleaning path to at least perform wet cleaning on the initial stain area; After the body enters the initial stain area and travels a specified distance, the body is controlled to perform a preset action to obtain second stain information of the initial stain area after cleaning based on the rear collection element; wherein the specified distance is determined based on an effective detection distance of the rear collection element in the longitudinal direction; When the difference between the first stain information and the second stain information meets the stain cleaning requirement, it is determined that the initial stain area does not belong to a stain misdetection, and the cleaning robot is controlled to perform stain cleaning on the stain area.

2. The method according to claim 1, characterized in that: The body is also provided with a dry cleaning member; the dry cleaning member has a cleaning position in contact with the working surface and a lifting position separated from the working surface; The controlling the body to continue to move along the original cleaning path comprises: In the case where it is determined based on the first stain information that the initial stain area is a specified stain type, when the dry cleaning element is in a raised position, the body is controlled to continue moving along the original cleaning path in the initial stain area; wherein the specified stain type is a stain type that contaminates the dry cleaning element.

3. The method according to claim 2, characterized in that The controlling the cleaning robot to perform stain cleaning on the stain area includes: The cleaning robot is controlled to perform stain cleaning on the stain area while keeping the dry cleaning member in the raised position.

4. The method according to claim 1, characterized in that: The method further includes: controlling the body to move within the stain area to determine the boundary of the stain area; Accordingly, after the boundary of the stain area is determined, the cleaning robot is controlled to perform stain cleaning on the stain area within the boundary.

5. The method according to claim 2, characterized in that: The body is also provided with a wet cleaning member; the wet cleaning member has a cleaning position in contact with the working surface and a lifting position separated from the working surface; the method further comprises: when the wet cleaning member is controlled to be in the lifting position, controlling the body to move to a non-stained area adjacent to the initial stained area, and moving within the non-stained area to determine the boundary of the stained area; Accordingly, after the boundary of the stain area is determined, the cleaning robot is controlled to perform stain cleaning on the stain area within the boundary.

6. The method according to claim 4 or 5, characterized in that: The method further comprises: After cleaning the stain area within the boundary, controlling the cleaning robot to return to the base station with the wet cleaning element in the raised position to clean the wet cleaning element; When it is determined that the stained area needs to be cleaned twice, the cleaning robot is controlled to clean the stained area again; wherein, it is determined that the stained area needs to be cleaned twice based on the dirtiness of the cleaning wastewater of the wet cleaning piece and / or the dirtiness of the stained area after cleaning.

7. The method according to claim 6, characterized in that The method further comprises: When it is determined that the stained area does not need to be cleaned again, the cleaning robot is controlled to continue cleaning the uncleaned area.

8. A stain cleaning method for a cleaning robot, characterized in that: The cleaning robot is used to clean a working surface, the cleaning robot comprises a body, with the forward direction of the cleaning robot as the front, a front collecting element is arranged on the front side of the body, a rear collecting element is arranged on the rear side of the body, a longitudinal direction parallel to the forward direction is the longitudinal direction, a transverse direction perpendicular to the forward direction is the transverse direction, and the transverse collecting range of the front collecting element and the rear collecting element for the working surface overlaps; the method comprises: Controlling the body to move along the original cleaning path to obtain stain information on the front working surface of the cleaning robot based on the front collecting element; After determining that an initial stain area exists on the original cleaning path based on the stain information acquired by the front collection element, stain information corresponding to the initial stain area is used as first stain information, and the body is controlled to continue to move along the original cleaning path to at least perform wet cleaning on the initial stain area; After the body enters the initial stain area and travels a specified distance, the body is controlled to perform a preset action to obtain second stain information of the initial stain area after cleaning based on the rear collection element; wherein the specified distance is determined based on an effective detection distance of the rear collection element in the longitudinal direction; When the difference between the first stain information and the second stain information does not meet the stain cleaning requirement, it is determined that the initial stain area is a stain misdetection, and the cleaning robot is controlled to continue cleaning the uncleaned area.

9. The method according to claim 8, characterized in that The body is also provided with a dry cleaning member; the dry cleaning member has a cleaning position in contact with the working surface and a lifting position separated from the working surface; The controlling the body to continue to move along the original cleaning path comprises: In the case where it is determined based on the first stain information that the initial stain area is a specified stain type, when the dry cleaning element is in a raised position, the body is controlled to continue moving along the original cleaning path in the initial stain area; wherein the specified stain type is a stain type that contaminates the dry cleaning element.

10. The method according to claim 9, characterized in that The method further includes: when it is determined that the difference between the first stain information and the second stain information does not meet the stain cleaning requirement, controlling the dry cleaning element to switch from the lifting position to the cleaning position; The controlling the cleaning robot to continue to perform cleaning work on the uncleaned area includes: after the dry cleaning member is switched to the cleaning position, controlling the cleaning robot to continue to perform cleaning work on the uncleaned area.

11. The method according to claim 9, characterized in that The method further includes: when it is determined that the difference between the first stain information and the second stain information does not meet the stain cleaning requirement, controlling the dry cleaning member to switch from the lifting position to the cleaning position; when the dry cleaning member is in the cleaning position, controlling the cleaning robot to perform repeated cleaning on the area cleaned by the initial stain area; The controlling the cleaning robot to continue to perform cleaning work on the uncleaned area includes: after the repeated cleaning is completed, controlling the cleaning robot to continue to perform cleaning work on the uncleaned area.

12. A stain cleaning method for a cleaning robot, characterized in that: The cleaning robot is used to clean a working surface, the cleaning robot comprises a body, with the forward direction of the cleaning robot as the front, a front collecting element is arranged on the front side of the body, a rear collecting element is arranged on the rear side of the body, a longitudinal direction parallel to the forward direction is the longitudinal direction, a transverse direction perpendicular to the forward direction is the transverse direction, and the transverse collecting range of the front collecting element and the rear collecting element for the working surface overlaps; the method comprises: Controlling the cleaning robot to perform cleaning work on the working surface along the original cleaning path when both the dry cleaning element and the wet cleaning element are located at the cleaning position, so as to obtain stain information on the working surface in front of the cleaning robot based on the front collection element; wherein both the dry cleaning element and the wet cleaning element have a cleaning position in contact with the working surface and a lifting position separated from the working surface; After determining that there is an initial stain area on the original cleaning path based on the stain information acquired by the front collection element, using the stain information corresponding to the initial stain area as the first stain information, and controlling the body to move in the initial stain area when the dry cleaning element is in the raised position and the wet cleaning element is in the cleaning position; After the body enters the initial stain area and travels a specified distance, the body is controlled to perform a preset action so that the rear collection element collects second stain information of the initial stain area after cleaning; wherein the specified distance is determined based on the effective detection distance of the rear collection element in the longitudinal direction; When the difference between the first stain information and the second stain information meets the stain cleaning requirement, it is determined that the initial stain area does not belong to a stain misdetection, and the cleaning robot is controlled to perform stain cleaning on the stain area.

13. A stain cleaning method for a cleaning robot, characterized in that: The cleaning robot is used to clean a working surface, the cleaning robot comprises a body, with the forward direction of the cleaning robot as the front, a front collecting element is arranged on the front side of the body, a rear collecting element is arranged on the rear side of the body, a longitudinal direction parallel to the forward direction is the longitudinal direction, a transverse direction perpendicular to the forward direction is the transverse direction, and the transverse collecting range of the front collecting element and the rear collecting element for the working surface overlaps; the method comprises: Controlling the body to move along the original cleaning path so that the front collecting element collects stain information on the working surface in front of the cleaning robot; After determining that an initial stain area exists on the original cleaning path based on the stain information acquired by the front collection element, stain information corresponding to the initial stain area is used as first stain information, and the body is controlled to continue to move along the original cleaning path to at least perform wet cleaning on the initial stain area; After the body enters the initial stain area and travels a specified distance, the body is controlled to maintain the travel direction of the original cleaning path, and third stain information of the rear working surface of the cleaning robot is acquired based on the rear collection element, wherein the specified distance is determined based on the effective detection distance of the rear collection element in the longitudinal direction; The stain information corresponding to the initial stain area after cleaning in the third stain information is used as the second stain information. When the difference between the first stain information and the second stain information meets the stain cleaning requirement, it is determined that the initial stain area does not belong to a false stain detection, and the cleaning robot is controlled to perform stain cleaning on the stain area.

14. A stain cleaning method for a cleaning robot, characterized in that: The cleaning robot is used to clean a working surface, the cleaning robot comprises a body, with the forward direction of the cleaning robot as the front, a front collecting element is arranged on the front side of the body, a rear collecting element is arranged on the rear side of the body, a longitudinal direction parallel to the forward direction is the longitudinal direction, a transverse direction perpendicular to the forward direction is the transverse direction, and the transverse collecting range of the front collecting element and the rear collecting element for the working surface overlaps; the method comprises: Controlling the body to move along the original cleaning path so that the front collecting element collects stain information on the working surface in front of the cleaning robot; After determining that an initial stain area exists on the original cleaning path based on the stain information acquired by the front collection element, stain information corresponding to the initial stain area is used as first stain information, and the body is controlled to continue to move along the original cleaning path to at least perform wet cleaning on the initial stain area; After the body enters the initial stain area and travels a specified distance, the body is controlled to maintain the travel direction of the original cleaning path, and third stain information of the rear working surface of the cleaning robot is acquired based on the rear collection element, wherein the specified distance is determined based on the effective detection distance of the rear collection element in the longitudinal direction; The stain information corresponding to the initial stain area after cleaning in the third stain information is used as the second stain information. When the difference between the first stain information and the second stain information does not meet the stain cleaning requirement, it is determined that the initial stain area is a false stain detection, and the cleaning robot is controlled to continue cleaning the uncleaned area along the original cleaning path.

15. A cleaning robot, characterized in that: The cleaning robot is used to clean the working surface; The cleaning robot comprises a body, a front collection element, a rear collection element and a controller; Taking the forward direction of the cleaning robot as the front, the front side of the body is provided with a front collection element, and the rear side of the body is provided with a rear collection element, with the longitudinal direction parallel to the forward direction and the transverse direction perpendicular to the forward direction, and the transverse collection ranges of the front collection element and the rear collection element for the working surface overlap; The controller is configured to execute the method according to any one of claims 1 to 14.

16. The cleaning robot according to claim 15, characterized in that: The fuselage includes an edge side for performing edgewise movement against obstacles, and a side opposite to the edge side of the fuselage is used as a non-edge side, and the rear collecting element is offset to the non-edge side.

17. The cleaning robot according to claim 16, characterized in that: The intersection of the central axis of the rear collection element and the fuselage is used as a reference point, the tangent of the fuselage at the reference point is used as a reference line, the specified angle between the central axis and the reference line is less than 90 degrees, and the specified angle is toward the rear side of the fuselage.

18. The cleaning robot according to claim 15, characterized in that: The front collecting element and the rear collecting element are of the same type.

19. The cleaning robot according to claim 15, characterized in that: The type of the front acquisition component is an RGB sensor; the type of the rear acquisition component is an RGB sensor.

Citation Information

Patent Citations

  • Sweeping robot control method, device and equipment and computer readable medium

    CN112471976A

  • Cleaning robot and control method thereof

    CN117481552A

  • Aerial cleaning robot and cleaning method

    CN117533537A

  • Cleaning robot

    CN117881328A

  • Cleaning member assembly, dust box assembly, a self-moving cleaning device, and cleaning system

    WO2023273660A1