Cleaning method and device, floor cleaning robot and computer readable storage medium

By segmenting and processing obstacle information at the boundary lines of the robot vacuum's cleaning area, the path is determined and cleaning is carried out, thus solving the problem of missed cleaning caused by obstacles and improving cleaning efficiency and coverage.

CN115844263BActive Publication Date: 2026-11-24SHEN ZHEN 3IROBOTICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211643373.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-20
Publication Date
2026-11-24
Estimated Expiration
2042-12-20

AI Technical Summary

Technical Problem

Robotic vacuum cleaners are prone to missing areas when encountering thresholds due to obstacles, and repeated attempts to overcome obstacles reduce cleaning efficiency.

Method used

By segmenting the boundary lines of the areas based on obstacle information, the robot vacuum cleaner can determine the path from the second area to the first area and clean based on this path, avoiding multiple attempts to cross obstacles.

Benefits of technology

It reduced the rate of missed cleaning and improved cleaning efficiency and coverage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115844263B_ABST
    Figure CN115844263B_ABST
Patent Text Reader

Abstract

This invention discloses a cleaning method, apparatus, robotic vacuum cleaner, and computer-readable storage medium. The method includes: determining a first region, obstacle information within the first region, and determining a boundary line between the first region and a second region; segmenting the boundary line based on the obstacle information to obtain at least one regional passage path between the first and second regions; entering the first region from the second region via the regional passage path; and cleaning the first region based on the obstacle information. Therefore, by segmenting the boundary line based on obstacle information, the robotic vacuum cleaner can enter the first region from the second region via a regional passage path unaffected by obstacles, avoiding missed areas caused by the robotic vacuum cleaner needing to attempt to cross obstacles multiple times, thus reducing the missed area rate and improving cleaning efficiency and coverage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of robotic vacuum cleaners, and in particular to a cleaning method, apparatus, robotic vacuum cleaner, and computer-readable storage medium. Background Technology

[0002] With technological advancements and improved living standards, robotic vacuum cleaners with autonomous movement capabilities have become extremely popular. When cleaning a room, if a robotic vacuum cleaner encounters a threshold, it will first bypass the threshold area and continue cleaning other areas. After cleaning these areas, the robot will return to the threshold and cross it to clean the area on the other side. Currently, there are many threshold-clearing strategies, but all of them have the potential to miss some areas. For example, if there is an obstacle blocking the navigation path or navigation point on the other side of the threshold, the robotic vacuum cleaner will collide with the obstacle and adjust its direction to try to enter. If the obstacle remains blocked after a certain period of navigation, it will result in missed areas. Furthermore, the robot's repeated attempts to cross obstacles increase cleaning time and reduce cleaning efficiency. Summary of the Invention

[0003] This invention aims to at least partially solve one of the technical problems in related technologies. To this end, the first objective of this invention is to propose a cleaning method that can segment the boundary lines of areas based on obstacle information, allowing a robotic vacuum cleaner to enter a first area from a second area via a path through an area unaffected by obstacles. This avoids missed areas caused by the robotic vacuum cleaner needing to attempt to cross obstacles multiple times, thereby reducing the missed area rate and improving cleaning efficiency and coverage.

[0004] A second objective of this invention is to provide a computer-readable storage medium.

[0005] The third objective of this invention is to provide a sweeping robot.

[0006] The fourth objective of this invention is to provide a cleaning device.

[0007] To achieve the above objectives, a first aspect of the present invention provides a cleaning method, the method comprising: determining a first region, obstacle information within the first region, and determining a boundary line between the first region and a second region; segmenting the boundary line based on the obstacle information to obtain at least one passage path between the first region and the second region; entering the first region from the second region through the passage path; and cleaning the first region based on the obstacle information.

[0008] According to the cleaning method of the present invention, a first region, obstacle information within the first region, and a boundary line between the first region and a second region are determined. Based on the obstacle information, the boundary line is segmented to obtain at least one regional passage path between the first and second regions. The robot then enters the first region from the second region via the regional passage path. Cleaning the first region based on obstacle information allows for the segmentation of the boundary line, enabling the robot to enter the first region from the second region via a path unaffected by obstacles. This avoids missed areas caused by the robot needing to attempt to overcome obstacles multiple times, thereby reducing the missed area rate and improving cleaning efficiency and coverage.

[0009] According to one embodiment of the present invention, segmenting the boundary line of a region based on obstacle information to obtain at least one regional passage path between a first region and a second region includes: determining the projection point of an obstacle on the boundary line of the region based on the obstacle information; determining a regional segmentation boundary line from the boundary line of the region based on the projection point; and determining a regional segmentation boundary line with a width greater than a preset threshold as the regional passage path between the first region and the second region.

[0010] According to one embodiment of the present invention, determining the projection point of an obstacle on a region boundary line based on obstacle information includes: offsetting the region boundary line toward a first region by a first preset distance to obtain an offset line; forming multiple dividing lines between the region boundary line and the offset line at preset intervals; determining the intersection points of the multiple dividing lines and the obstacle based on obstacle information; and projecting the intersection points onto the region boundary line to obtain the projection point.

[0011] According to one embodiment of the present invention, before segmenting the boundary line of a region based on obstacle information to obtain at least one traversal path between a first region and a second region, the method further includes:

[0012] Enter the first area from the second area by crossing the area boundary line;

[0013] When obstacles are found to be blocking the process of entering the first area from the second area through the boundary line based on obstacle information, the boundary line is segmented based on the obstacle information to obtain at least one area passage path between the first area and the second area.

[0014] According to one embodiment of the present invention, after cleaning the first area based on obstacle information, the method further includes: obtaining the cleaning coverage rate of the first area; if the cleaning coverage rate is less than a preset coverage rate, then entering the first area from the second area through a path through an area that has not been passed before for cleaning.

[0015] According to one embodiment of the present invention, determining the boundary line between the first area and the second area includes one of the following three methods: determining the boundary line during the cleaning of the second area; determining the boundary line based on historical data; or determining the boundary line based on a preset map.

[0016] According to one embodiment of the present invention, determining the boundary line of the area during the cleaning of the second area includes: determining at least one first area connected to the second area while cleaning the second area along a preset motion trajectory; determining an uncleaned first area from the at least one first area, and / or a first area with an area not less than a preset area; offsetting the preset motion trajectory toward the first area by a second preset distance to obtain an offset trajectory; determining a boundary area based on the preset motion trajectory and the offset trajectory; and processing the boundary area to obtain the boundary line of the area.

[0017] According to one embodiment of the present invention, processing the boundary region to obtain the region boundary line includes: determining the dividing line between the first region and the second region from the boundary region as the region boundary line; or, processing the first region using a convex hull algorithm to obtain a set of points within the first region, determining threshold-type obstacles within the first region based on the set of points, and determining the region boundary line according to a preset motion trajectory and threshold-type obstacles.

[0018] To achieve the above objectives, a second aspect of the present invention provides a computer-readable storage medium having a program stored thereon that, when executed by a processor, implements the cleaning method of the first aspect embodiment.

[0019] The aforementioned computer-readable storage medium determines a first region, obstacle information within the first region, and the boundary line between the first and second regions; it then segments the boundary line based on the obstacle information to obtain at least one regional passage path between the first and second regions; the robot enters the first region from the second region via the regional passage path; and it cleans the first region based on the obstacle information. The segmentation of the boundary line based on the obstacle information allows the robot to enter the first region from the second region via a regional passage path unaffected by obstacles, avoiding missed areas caused by the robot needing to attempt to overcome obstacles multiple times. This reduces the missed area rate and improves cleaning efficiency and coverage.

[0020] To achieve the above objectives, a third aspect of the present invention provides a sweeping robot, comprising: a memory, a processor, and a program stored in the memory and executable on the processor. When the processor executes the program, it implements the sweeping method of the first aspect embodiment.

[0021] The aforementioned robotic vacuum cleaner determines a first area, obstacle information within the first area, and the boundary line between the first and second areas. Based on the obstacle information, it segments the boundary line to obtain at least one area passage path between the first and second areas. The robot then enters the first area from the second area via this area passage path. By segmenting the boundary line based on the obstacle information, the robotic vacuum cleaner can enter the first area from the second area via an area passage path unaffected by obstacles. This avoids missed areas caused by the robotic vacuum cleaner needing to attempt to overcome obstacles multiple times, thus reducing the missed area rate and improving cleaning efficiency and coverage.

[0022] To achieve the above objectives, a fourth aspect of the present invention provides a cleaning device, comprising: a determining module for determining a first region, obstacle information within the first region, and determining a boundary line between the first region and a second region; a segmenting module for segmenting the boundary line based on the obstacle information to obtain at least one regional passage path between the first region and the second region; a control module for entering the first region from the second region via the regional passage path; and a cleaning module for cleaning the first region based on the obstacle information.

[0023] According to the cleaning device of the present invention, a determining module determines a first region, obstacle information within the first region, and a boundary line between the first region and a second region; a segmentation module segments the boundary line based on the obstacle information to obtain at least one regional passage path between the first region and the second region; a control module enters the first region from the second region via the regional passage path; and a cleaning module cleans the first region based on the obstacle information. The segmentation of the boundary line based on the obstacle information allows the robot vacuum to enter the first region from the second region via a regional passage path unaffected by obstacles, avoiding missed areas caused by the robot vacuum needing to attempt to cross obstacles multiple times, thereby reducing the missed area rate and improving cleaning efficiency and coverage.

[0024] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description

[0025] Figure 1 A schematic flowchart of a cleaning method according to an embodiment of the present invention;

[0026] Figure 2 A schematic flowchart of a second embodiment of a cleaning method provided by the present invention;

[0027] Figure 3 A schematic diagram of a projection point and a region segmentation boundary line provided in an embodiment of the present invention;

[0028] Figure 4 A schematic diagram of another projection point and region segmentation boundary line provided in an embodiment of the present invention;

[0029] Figure 5 A flowchart illustrating a third embodiment of a cleaning method provided by the present invention;

[0030] Figure 6 This is a schematic diagram illustrating the cleaning process of a sweeping robot according to an embodiment of the present invention;

[0031] Figure 7 A schematic diagram illustrating the cleaning process of another robotic vacuum cleaner provided in an embodiment of the present invention;

[0032] Figure 8 A schematic flowchart of a fourth embodiment of a cleaning method provided by the present invention;

[0033] Figure 9 This is a schematic diagram illustrating an application scenario of a cleaning method provided in an embodiment of the present invention;

[0034] Figure 10 This is a schematic diagram of the structure of a cleaning device provided in an embodiment of the present invention;

[0035] Figure 11 This is a structural schematic diagram of a sweeping robot provided in an embodiment of the present invention. Detailed Implementation

[0036] Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain the present invention, and should not be construed as limiting the present invention.

[0037] The cleaning method, apparatus, sweeping robot, and computer-readable storage medium proposed in the embodiments of the present invention are described below with reference to the accompanying drawings.

[0038] In this application, Figure 1 This is a flowchart illustrating a cleaning method according to an embodiment of the present invention. The cleaning method provided in this embodiment can be executed by a robot, specifically an autonomous intelligent robot, such as a robotic vacuum cleaner used for household floor cleaning. In this embodiment, a robotic vacuum cleaner is used as an example for explanation. Figure 1 As shown, the cleaning method provided in this embodiment may include the following steps:

[0039] S101, determine the first region, the obstacle information within the first region, and the boundary line between the first region and the second region.

[0040] The second area can be the area where the robot vacuum is currently located, and the first area can be the area that the robot vacuum is about to go to. For example, the first area can be the next area that the robot vacuum will clean. The boundary line between the first area and the second area is used to separate the first area and the second area. For example, the boundary line can be a threshold, a long and thin object, etc.

[0041] Specifically, the obstacle information in the first area can include obstacle type, obstacle name, obstacle attributes, etc. For example, the types of obstacles that the robot vacuum may encounter during cleaning can be pre-set, and these obstacles can be categorized into light obstacles, threshold obstacles, and strong obstacles. Light obstacles include socks and wires, threshold obstacles include thresholds and thin strips, and strong obstacles are those higher than the robot vacuum's clearance height. In practice, the robot vacuum can identify surrounding obstacles during cleaning using dual-line lasers, lidar, etc., and determine the obstacle's type, name, shape, height, length, and other characteristic information. In this embodiment, the robot vacuum can identify obstacles at close range using dual-line lasers, and it can also identify obstacles at greater distances using lidar. Therefore, the robot vacuum can determine obstacle information in other areas while cleaning the second area.

[0042] S102, based on obstacle information, the boundary line of the region is segmented to obtain at least one regional passage path between the first region and the second region.

[0043] Since the second area is the current location of the robot vacuum, and the first area is the area the robot vacuum is about to visit, it is necessary to determine the path the robot vacuum takes from the second area to the first area so that it can successfully reach the first area. Furthermore, if there are obstacles in the first area, these obstacles may affect the robot vacuum's movement from the second area to the first area. Therefore, it is necessary to segment the boundary lines of the areas based on obstacle information to reduce the impact of obstacles on the robot vacuum.

[0044] S103, enter the first area from the second area through the path via the area.

[0045] S104, clean the first area based on obstacle information.

[0046] Specifically, the aforementioned cleaning is not limited to sweeping and vacuuming; it can also refer to cleaning functions such as mopping, polishing, or waxing. That is, the robot can perform sweeping, vacuuming, mopping, polishing, or waxing of the floor in a first area based on obstacle information.

[0047] The cleaning method provided in this invention determines a first region, obstacle information within the first region, and the boundary line between the first and second regions. Based on the obstacle information, the boundary line is segmented to obtain at least one regional passage path between the first and second regions. The robot then enters the first region from the second region via this regional passage path. Cleaning the first region based on obstacle information allows for the segmentation of the boundary line, enabling the robot to enter the first region from the second region via a path unaffected by obstacles. This avoids missed areas caused by the robot needing to attempt to overcome obstacles multiple times, thus reducing the missed area rate and improving cleaning efficiency and coverage.

[0048] Figure 2 This is a flowchart illustrating a second embodiment of a cleaning method provided by the present invention. (Refer to...) Figure 2 As shown, the cleaning method provided in this embodiment may include the following steps:

[0049] S201, determine the first region, the obstacle information within the first region, and the boundary line between the first region and the second region.

[0050] S202, Determine the projection point of the obstacle on the boundary line of the area based on the obstacle information.

[0051] Specifically, the projection point of the obstacle on the boundary line of the area can be determined based on information such as the shape and size of the obstacle.

[0052] S203, determine the regional division boundary line from the regional boundary line based on the projection point.

[0053] Since the obstacle is located in the first area that the robot vacuum is about to enter, the boundary line between the first and second areas separates them. The robot vacuum can only enter the first area from the second area via the path corresponding to this boundary line. Therefore, the projection line segment of the obstacle on the boundary line, obtained from the projection point described above, can characterize the extent to which the obstacle affects the robot vacuum's path. In the boundary line, besides the projection line segment obtained using the above method, the remaining line segment constitutes the area segmentation boundary line.

[0054] S204, determine the region segmentation boundary line with a width greater than a preset threshold as the region passage path between the first region and the second region.

[0055] The aforementioned preset threshold can be set based on the width of the path that the robot vacuum can pass through. When the width of the area division boundary line is less than or equal to the preset threshold, the robot vacuum cannot enter the first area from the second area through the path corresponding to that boundary line. For example, if the width of the path that the robot vacuum can pass through is 0.4 meters, the preset threshold can be set to 0.4 meters. Using the above method, two area division boundary lines are obtained: area division boundary line 1 and area division boundary line 2. Assuming the width of area division boundary line 1 is 0.35 meters and the width of area division boundary line 2 is 0.8 meters, since the width of area division boundary line 1 is less than the width of the path that the robot vacuum can pass through, and the width of area division boundary line 2 is greater than the width of the path that the robot vacuum can pass through, area division boundary line 2 can be used as the area passage path between the first and second areas.

[0056] S205, enter the first area from the second area through the route via the area.

[0057] S206, cleans the first area based on obstacle information.

[0058] The execution processes of S201, S205 and S206 can be found in the execution processes of S101, S103 and S104 in the above embodiments, and will not be repeated here.

[0059] In this embodiment of the invention, by determining the projection point of the obstacle on the boundary line of the region based on the obstacle information; determining the region segmentation boundary line from the boundary line of the region based on the projection point; and determining the region segmentation boundary line with a width greater than a preset threshold as the region passage path between the first region and the second region, the region boundary line can be segmented more accurately based on the projection point, thereby obtaining a more accurate region passage path.

[0060] In some embodiments, determining the projection point of an obstacle on the boundary line of a region based on obstacle information may include the following steps: offsetting the boundary line of a region towards a first region by a first preset distance to obtain an offset line; forming multiple dividing lines between the boundary line of a region and the offset line at preset intervals; determining the intersection points of the multiple dividing lines and the obstacle based on obstacle information; and projecting the intersection points onto the boundary line of a region to obtain a projection point.

[0061] For example, Figure 3 This is a schematic diagram of a projection point and a region segmentation boundary line provided in an embodiment of the present invention, as shown below. Figure 3As shown, ABCD represents the second region, EFGH represents the first region, and HG is the boundary line between the first region EFGH and the second region ABCD. There is a triangular obstacle within the first region EFGH. In practice, the boundary line HG can be offset by a first preset distance of 0.3 meters towards the first region EFGH to obtain the offset line H'G'. Multiple dividing lines are then formed between the boundary line HG and the offset line H'G' at preset intervals of 0.05 meters. The intersection points of these dividing lines with the obstacle are determined as... Figure 3 The intersection points O and Q are projected onto the region boundary line HG to divide the area, resulting in projection points P and R. The projection line segment is then PR, and the region division boundary lines are HP and RG. Therefore, the robot vacuum can enter the first region from the second region via HP or RG.

[0062] In the above Figure 3 The example provided illustrates obtaining two pathways between regions. However, in reality, segmenting the boundary lines of regions based on obstacle information may result in multiple pathways between the first and second regions. In practice, the corresponding pathway can be selected according to a preset order to enter the first region from the second region.

[0063] For example, Figure 4 This is a schematic diagram of another projection point and region segmentation boundary line provided in an embodiment of the present invention, as shown below. Figure 4 As shown, ABCD represents the second region, EFGH represents the first region, and HG is the boundary line between the first region EFGH and the second region ABCD. The first region EFGH contains a virtual restricted area. In practice, the boundary line HG is offset by a preset distance of 0.3 meters towards the first region EFGH to obtain an offset line H'G'. Multiple dividing lines are formed between the boundary line HG and the offset line H'G' at preset intervals of 0.05 meters. The intersections of these dividing lines with the virtual restricted area are projected onto the boundary line HG to divide it, resulting in projection points R and S. The projected line segment is RS, and the region division boundary lines are HR and SG. Therefore, the robot vacuum cleaner can enter the first region from the second region via HR or SG.

[0064] In this embodiment of the invention, an offset line is obtained by shifting the boundary line of a region toward the first region by a first preset distance; multiple dividing lines are formed between the boundary line of the region and the offset line according to a preset interval; the intersection points of the multiple dividing lines and the obstacles are determined based on obstacle information; and the intersection points are projected onto the boundary line of the region to obtain more accurate projection points, which facilitates more accurate segmentation of the boundary line of the region based on more accurate projection points, thereby obtaining a more accurate region passage path.

[0065] Figure 5This is a flowchart illustrating a third embodiment of a cleaning method provided by the present invention. (Refer to...) Figure 5 As shown, the cleaning method provided in this embodiment may include the following steps:

[0066] S501, determine the first region, the obstacle information within the first region, and the boundary line between the first region and the second region.

[0067] S502, enters the first area from the second area by crossing the area boundary line.

[0068] Once the boundary line between the first and second zones is determined, the robot vacuum cleaner can directly enter the first zone from the second zone by crossing the boundary line.

[0069] S503, when it is determined based on obstacle information that there is an obstacle blocking the process of entering the first area from the second area through the boundary line, the boundary line is segmented based on the obstacle information to obtain at least one area passage path between the first area and the second area.

[0070] Specifically, when an obstacle is found to be obstructing the robot vacuum's movement from the second area to the first area via the boundary line, based on obstacle information, this obstacle will affect the robot's ability to enter the first area. For example, when an obstacle is present, the robot vacuum may collide with it, and it may adjust its direction to attempt to enter the first area. If it is still blocked by the obstacle after a certain period of time, the robot vacuum will stop entering the first area, resulting in missed areas. Therefore, to avoid missed areas, when an obstacle is found to be obstructing the movement from the second area to the first area via the boundary line, the boundary line needs to be segmented based on the obstacle information to obtain at least one path between the first and second areas. The specific segmentation process can be found in the above embodiment.

[0071] S504, enter the first area from the second area through the path via the area.

[0072] S505 cleans the first area based on obstacle information.

[0073] The execution processes of S501, S504 and S505 can be found in the execution processes of S101, S103 and S104 in the above embodiments, and will not be repeated here.

[0074] In this embodiment of the invention, the robot enters the first area from the second area via the boundary line. When it is determined based on obstacle information that there is an obstacle blocking the process of entering the first area from the second area via the boundary line, the boundary line is segmented based on the obstacle information to obtain at least one path between the first and second areas. This can reduce the impact of obstacles on the robot's entry from the second area to the first area in advance, avoid missed cleaning due to the robot needing to try to cross obstacles multiple times, thereby reducing the missed cleaning rate and improving cleaning efficiency and cleaning coverage.

[0075] In some embodiments, after cleaning the first area based on obstacle information, the cleaning method may further include: obtaining the cleaning coverage rate of the first area; if the cleaning coverage rate is less than a preset coverage rate, then entering the first area from the second area through a path through an area that has not been traversed before to perform cleaning.

[0076] Specifically, if the cleaning coverage rate is less than the preset coverage rate, it indicates that the first area has not been completely cleaned, that is, there are still uncleaned areas in the first area. Therefore, the robot vacuum cleaner needs to pass through the areas it has not passed before and enter the first area from the second area to clean.

[0077] For example, Figure 6 This is a schematic diagram illustrating the cleaning process of a robotic vacuum cleaner according to an embodiment of the present invention, as shown below. Figure 6As shown, ABCD is the second region, EFGH is the first region, and HG is the boundary line between the first region EFGH and the second region ABCD. Within the first region EFGH, there is a low obstacle (shown as a dotted line in the figure) that is slightly higher than the robot vacuum's obstacle-crossing height but lower than the lidar's visibility height. This low obstacle divides the first region EFGH into two sub-regions. Faced with this situation, the robot vacuum cannot directly cross the low obstacle to enter the other sub-region from one. In a practical implementation, the boundary line segmentation method described in the above embodiment can be used to segment the boundary line HG based on the low obstacle information, resulting in two pathways HS and SG. For example, after the robot vacuum has cleaned the second region ABCD (i.e., the region is covered by the coverage line as shown in the figure), it can enter the first region EFGH from the second region ABCD via SG and clean the sub-region to the right of the low obstacle. After cleaning is completed (i.e., the sub-area is covered by the coverage line as shown in the figure), assuming that the cleaning coverage rate of the first area EFGH is 60%, while the preset coverage rate is 90%, since the cleaning coverage rate at this time is less than the preset coverage rate, and the robot vacuum cannot directly cross the low obstacle to enter from one sub-area to another, the robot vacuum can enter the first area from the second area through the path HS to clean the area it has not yet passed.

[0078] For example, Figure 7 This is a schematic diagram illustrating the cleaning process of another robotic vacuum cleaner provided in an embodiment of the present invention, as shown below. Figure 7 As shown, ABCD is the second area, EFGH is the first area, and HG is the boundary line between the first area EFGH and the second area ABCD. When the robot vacuum has cleaned the first area EFGH on the other side of the boundary line HG (i.e., the first area EFGH is covered by the line as shown in the figure), the cleaning coverage rate is 100%, while the preset coverage rate is 90%. Since the cleaning coverage rate at this time is greater than the preset coverage rate, the robot vacuum does not need to clean the area EFGH anymore.

[0079] In this embodiment of the invention, by obtaining the cleaning coverage rate of the first area; if the cleaning coverage rate is less than the preset coverage rate, the first area is entered from the second area through the previously unpassed area to perform cleaning, which can avoid the occurrence of missed cleaning, thereby reducing the missed cleaning rate and improving the cleaning coverage rate.

[0080] In some embodiments, the boundary line between the first area and the second area can be determined during the process of the robot vacuum cleaning the second area.

[0081] Specifically, since obstacles at closer distances can be identified by dual-line lasers and obstacles at farther distances can be identified by lidar, when the robot vacuum cleaner detects obstacles such as thresholds or long, thin objects during the cleaning of the second area, these objects can be identified as the boundary line between the first and second areas.

[0082] Specifically, during the cleaning of the second area by the robotic vacuum cleaner, when it detects obstacles such as thresholds or long, thin objects, it identifies these objects as the boundary between the first and second areas. The robotic vacuum cleaner can then record information about these objects and bypass them to continue cleaning the remaining uncleaned areas of the second area. After cleaning these areas, the robotic vacuum cleaner can return to the boundary and process it using the method described in the above embodiment to facilitate subsequent cleaning of the first area.

[0083] In some embodiments, the boundary line between the first region and the second region can also be determined based on historical data.

[0084] Specifically, assuming that the robot vacuum recorded information about obstacles such as thresholds and long, thin objects in the second area during the previous cleaning process (i.e., historical data), then during the next cleaning of the second area, such objects can be directly identified as the boundary line between the first and second areas based on the previously recorded historical data.

[0085] In some embodiments, the boundary line between the first region and the second region can also be determined based on a preset map.

[0086] Specifically, information about obstacles such as thresholds and long, thin objects in the second area can be stored in the preset map in advance. Then, when cleaning the second area next time, such objects can be directly identified as the boundary line between the first and second areas based on the preset map.

[0087] In some embodiments, determining the boundary line of the area during the cleaning of the second area may include the following steps:

[0088] S801, when cleaning the second region along a preset motion trajectory, at least one first region connected to the second region is determined.

[0089] Specifically, when the robot vacuum cleaner is cleaning the second area, if it detects a threshold-type obstacle, it can identify at least one first area connected to the second area while continuing to clean the second area along a preset motion trajectory.

[0090] S802, determine an uncleaned first area from at least one first area, and / or a first area with an area not less than a preset area.

[0091] Specifically, an uncleaned first area is determined from at least one first area, or a first area with an area not less than a preset area is determined from at least one first area; or an uncleaned first area with an area not less than a preset area is determined from at least one first area.

[0092] For example, suppose that when cleaning the second area along the preset motion trajectory, it is determined that there are four first areas connected to the second area, and three of these areas have been cleaned by the robot vacuum cleaner. Then the remaining uncleaned area can be identified as the first area.

[0093] For example, if when cleaning the second area along a preset motion trajectory, it is determined that there are four first areas connected to the second area, and the area of ​​three of these areas is smaller than the preset area, then the remaining area with an area not smaller than the preset area can be determined as the first area.

[0094] For example, suppose that when cleaning the second area along the preset motion trajectory, there are four first areas connected to the second area: area a, area b, area c and area d. Area a and area b have been cleaned by the robot vacuum cleaner, and the area of ​​area c is 3 square meters, the area of ​​area d is 5 square meters, and the preset area is 4 square meters. Therefore, the area d that has not been cleaned and whose area is not less than the preset area can be identified as the first area.

[0095] S803, offset the preset motion trajectory toward the first region by a second preset distance to obtain the offset trajectory.

[0096] Specifically, the obtained offset trajectory is located within the first region.

[0097] S804 determines the boundary area based on the preset motion trajectory and offset trajectory.

[0098] Specifically, the area obtained by merging the preset motion trajectory and the offset trajectory can be defined as the boundary area.

[0099] S805 processes the boundary region to obtain the regional boundary line.

[0100] Specifically, in the boundary region, the dividing line between the first region and the second region can be used as the boundary line between the regions.

[0101] Alternatively, a convex hull algorithm can be used to process the first region to obtain a set of points within the first region. Based on this set of points, threshold-type obstacles within the first region can be identified. The region boundary line can then be determined based on a preset motion trajectory and the threshold-type obstacles. Specifically, local straight lines can be extracted based on the preset motion trajectory, and the region boundary line can be obtained by merging the extracted straight line sets.

[0102] In some embodiments, the above-described cleaning method can be applied to situations where a room has an obstacle (e.g., a threshold) that divides the room into multiple areas. In this case, the area on one side of the obstacle (i.e., the second area) can be cleaned first, and then the area on the other side of the obstacle (i.e., the first area) can be cleaned after the second area is cleaned. If the robot vacuum cleaner determines that the area on the other side of the threshold is an independent room based on a preset map, the robot vacuum cleaner can clean according to a preset room cleaning order, or it can clean the independent room on the other side of the threshold using the above-described cleaning method. Figure 9 This is a schematic diagram illustrating an application scenario of a cleaning method provided in an embodiment of the present invention, such as... Figure 9 As shown, ABCD represents room 2 (second area), EFGH represents room 1 (first area), and HG represents the boundary line between room 1 and room 2. The robot vacuum can clean room 2 according to the preset cleaning order and then clean room 1. Alternatively, the robot vacuum can clean the second area ABCD of room 2 according to the above cleaning method and then clean the first area EFGH of room 1 on the other side of the threshold.

[0103] Figure 10 This is a schematic diagram of a cleaning device provided in an embodiment of the present invention. Figure 10 As shown, the cleaning device 100 may include: a determining module 1010, a dividing module 1020, a controlling module 1030, and a cleaning module 1040. The determining module 1010 is used to determine a first region, obstacle information within the first region, and the boundary line between the first region and a second region. The dividing module 1020 is used to divide the boundary line based on the obstacle information to obtain at least one regional passage path between the first and second regions. The controlling module 1030 is used to allow entry from the second region into the first region via the regional passage path. The cleaning module 1040 is used to clean the first region based on the obstacle information.

[0104] The cleaning device provided in this embodiment of the invention determines a first area, obstacle information within the first area, and the boundary line between the first and second areas through a determining module; it obtains at least one area passage path between the first and second areas by segmenting the boundary line based on the obstacle information through a segmentation module; it enters the first area from the second area through the area passage path through a control module; and it cleans the first area based on the obstacle information through a cleaning module. The segmentation of the boundary line based on the obstacle information allows the robot vacuum to enter the first area from the second area through an area passage path unaffected by obstacles, avoiding missed areas caused by the robot vacuum having to attempt to cross obstacles multiple times, thus reducing the missed area rate and improving cleaning efficiency and coverage.

[0105] According to an embodiment of the present invention, the segmentation module 1020 described above can be specifically used to determine the projection point of the obstacle on the boundary line of the region based on the obstacle information; determine the region segmentation boundary line from the boundary line of the region based on the projection point; and determine the region segmentation boundary line with a width greater than a preset threshold as the region passage path between the first region and the second region.

[0106] According to an embodiment of the present invention, the above-mentioned segmentation module 1020 can be specifically used to offset the boundary line of the region toward the first region by a first preset distance to obtain an offset line; to form multiple segmentation lines between the boundary line of the region and the offset line according to a preset spacing; to determine the intersection points of the multiple segmentation lines and the obstacles based on obstacle information; and to project the intersection points onto the boundary line of the region to obtain projection points.

[0107] According to an embodiment of the present invention, the control module 1030 can also be used to enter the first region from the second region through the region boundary line; at this time, the segmentation module 1020 can be specifically used to segment the region boundary line based on the obstacle information when it is determined that there is an obstacle blocking the process of entering the first region from the second region through the region boundary line based on the obstacle information, to obtain at least one region passage path between the first region and the second region.

[0108] According to one embodiment of the present invention, the cleaning module 1040 can also be used to obtain the cleaning coverage rate of the first area; if the cleaning coverage rate is less than the preset coverage rate, the cleaning module can enter the first area from the second area through the previously unpassed area to perform cleaning.

[0109] According to one embodiment of the present invention, the determination module 1010 described above can be specifically used to determine the boundary line of the area during the cleaning of the second area; determine the boundary line of the area based on historical data; and determine the boundary line of the area based on a preset map.

[0110] According to an embodiment of the present invention, the determining module 1010 described above can be specifically used to determine at least one first region connected to the second region when cleaning the second region along a preset motion trajectory; determine an uncleaned first region from the at least one first region, and / or a first region with an area not less than a preset area; offset the preset motion trajectory toward the first region by a second preset distance to obtain an offset trajectory; determine a boundary region based on the preset motion trajectory and the offset trajectory; and process the boundary region to obtain a region boundary line.

[0111] According to one embodiment of the present invention, the determination module 1010 can be specifically used to determine the dividing line between the first region and the second region as the region boundary line from the boundary region; or, to process the first region using the convex hull algorithm to obtain the point set in the first region, to determine the threshold-type obstacles in the first region based on the point set, and to determine the region boundary line according to the preset motion trajectory and the threshold-type obstacles.

[0112] In addition, corresponding to the cleaning method provided in the above embodiments, this invention also provides a sweeping robot, such as... Figure 11 As shown, the sweeping robot 110 may include: a memory 1110, a processor 1120, and a program stored in the memory 1110 and executable on the processor 1120. When the processor 1120 executes the program, it implements all the steps of the cleaning method provided in the embodiments of the present invention.

[0113] The aforementioned robotic vacuum cleaner can segment the boundary lines of the area based on obstacle information, allowing the robot to enter the first area from the second area through the area unaffected by obstacles. This avoids missed cleaning caused by the robot having to make multiple attempts to cross obstacles, thereby reducing the missed cleaning rate and improving cleaning efficiency and coverage.

[0114] In addition, corresponding to the cleaning method provided in the above embodiments, the present invention also provides a computer-readable storage medium having a program stored thereon, which, when executed by a processor, implements all the steps of the cleaning method of the present invention.

[0115] The aforementioned computer-readable storage medium can segment the boundary lines of areas based on obstacle information, enabling the robot vacuum cleaner to enter the first area from the second area through a path that is not affected by obstacles. This avoids missed cleaning caused by the robot vacuum cleaner having to make multiple attempts to cross obstacles, thereby reducing the missed cleaning rate and improving cleaning efficiency and cleaning coverage.

[0116] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.

[0117] It should be understood that various parts of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0118] In the description of this specification, references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0119] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this invention, "a plurality of" means at least two, such as two, three, etc., unless otherwise explicitly specified.

[0120] In this invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," "linking," and "fixing," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components, unless otherwise explicitly limited. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.

[0121] Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.

Claims

1. A cleaning method, characterized in that, The method includes: Determine the first region, the obstacle information within the first region, and the boundary line between the first region and the second region; Based on the obstacle information, the boundary line of the region is segmented to obtain at least one regional passage path between the first region and the second region; Enter the first area from the second area through a path; The first area is cleaned based on the obstacle information; After cleaning the first area based on the obstacle information, the method further includes: Obtain the cleaning coverage rate of the first area; If the cleaning coverage rate is less than the preset coverage rate, the cleaning will proceed from the second area to the first area through a previously unvisited area.

2. The method according to claim 1, characterized in that, The step of segmenting the boundary line of the region based on the obstacle information to obtain at least one regional passage path between the first region and the second region includes: The projection point of the obstacle on the boundary line of the area is determined based on the obstacle information; Determine the region segmentation boundary line from the region boundary line based on the projection point; The boundary lines of the region segmentation with a width greater than a preset threshold are determined as the region passage paths between the first region and the second region.

3. The method according to claim 2, characterized in that, Determining the projection point of the obstacle on the boundary line of the area based on the obstacle information includes: The boundary line of the region is offset towards the first region by a first preset distance to obtain an offset line; Multiple dividing lines are formed between the boundary line of the region and the offset line at preset intervals; Based on the obstacle information, determine the intersection points of the multiple dividing lines and the obstacles; The intersection point is projected onto the boundary line of the region to obtain the projection point.

4. The method according to claim 1, characterized in that, Before segmenting the boundary line of the region based on the obstacle information to obtain at least one regional traversal path between the first region and the second region, the method further includes: Enter the first region from the second region through the boundary line of the region; When it is determined, based on the obstacle information, that there is an obstacle blocking the process of entering the first area from the second area through the area boundary line, the area boundary line is segmented based on the obstacle information to obtain at least one area passage path between the first area and the second area.

5. The method according to any one of claims 1-4, characterized in that, Determining the boundary line between the first region and the second region includes one of the following three methods: Determine the boundary line of the area during the cleaning of the second area; Regional boundaries determined based on historical data; Determine the boundary lines of the regions based on a preset map.

6. The method according to claim 5, characterized in that, Determining the boundary line of the area during the cleaning of the second area includes: When cleaning the second region along a preset motion trajectory, at least one first region connected to the second region is determined; Identify an uncleaned first area from at least one first area, and / or a first area with an area not less than a preset area; The preset motion trajectory is offset towards the first region by a second preset distance to obtain the offset trajectory; The boundary region is determined based on the preset motion trajectory and the offset trajectory; The boundary region is processed to obtain the region boundary line.

7. The method according to claim 6, characterized in that, The process of processing the boundary region to obtain the region boundary line includes: The dividing line between the first region and the second region is determined from the boundary region and serves as the boundary line between the regions. Alternatively, the convex hull algorithm can be used to process the first region to obtain a set of points within the first region, and threshold-type obstacles within the first region can be determined based on the set of points. The boundary line of the region can be determined according to the preset motion trajectory and the threshold-type obstacles.

8. A computer-readable storage medium, characterized in that, It stores a program that, when executed by a processor, implements the cleaning method according to any one of claims 1-7.

9. A robotic vacuum cleaner, characterized in that, include: A memory, a processor, and a program stored in the memory and executable on the processor, wherein the processor, when executing the program, implements the cleaning method according to any one of claims 1-7.

10. A cleaning device, characterized in that, The device includes: The determination module is used to determine the first region, the obstacle information within the first region, and the boundary line between the first region and the second region; The segmentation module is used to segment the boundary line of the region based on the obstacle information to obtain at least one region passage path between the first region and the second region; The control module is used to enter the first area from the second area via a path through the area; The cleaning module is used to clean the first area based on the obstacle information; The cleaning module is also used to obtain the cleaning coverage rate of the first area; if the cleaning coverage rate is less than the preset coverage rate, the module enters the first area from the second area through the previously unpassed area to perform cleaning.

Citation Information

Patent Citations

  • Robot control method and device, electronic equipment and computer storage medium

    CN112130574A

  • Path planning method and device, electronic equipment and storage medium

    CN114061606A