Path planning method, autonomous moving equipment and cleaning robot

By obtaining the obstacle detection parameters and adjusting the reference line, the intelligent cleaning robot can adjust its path in real time to avoid obstacles, solving the problem of low path planning efficiency in the existing technology and improving the robot's traveling efficiency in various environments.

CN113934204BActive Publication Date: 2024-10-15ECOVACS COMML ROBOTICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010671191.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-13
Publication Date
2024-10-15
Estimated Expiration
2040-07-13

AI Technical Summary

Technical Problem

Existing path planning methods cannot adapt to various environments in intelligent cleaning robots. When encountering obstacle areas, the path needs to be re-planned repeatedly, resulting in long working hours and low efficiency.

Method used

By obtaining the detection parameters of obstacles, the reference line is determined, and the path is adjusted based on the reference line and the current planned road section. The travel plan is adjusted in real time to avoid obstacles and return to the known planned path to avoid wasting time in re-planning the path.

Benefits of technology

It improves the traveling efficiency of intelligent cleaning robots when encountering obstacles. It is suitable for many types of robots, such as cleaning, inspection, etc. It reduces the time of path adjustment and improves work efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113934204B_ABST
    Figure CN113934204B_ABST
Patent Text Reader

Abstract

The present application discloses a path planning method, an autonomous moving device and a cleaning robot. The path planning method includes: when an obstacle is encountered in the process of traveling along the planned path in the first planned section, obtaining the detection parameters of the obstacle; determining a first reference line based on the detection parameters; and determining a path to travel to the second planned section in the planned path according to the first reference line and the first planned section. The scheme of the present application is a process of finding the second planned section to return to the known planned path through obstacle detection parameters, which not only ensures normal travel when encountering obstacles, but also avoids wasting time in replanning the path when encountering obstacles.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of robotics technology, and in particular relates to a path planning method, an autonomous moving device and a cleaning robot. Background Art

[0002] At present, with the increasing use of intelligent cleaning equipment, full-coverage path planning solutions are becoming more and more widely used in the field of intelligent cleaning robots. They are mainly used to solve the problem of cleaning robots covering all areas to be cleaned as much as possible when performing full-coverage tasks.

[0003] The common path planning methods in the prior art cannot adapt to a variety of environments. When encountering an obstacle area, the robot needs to replan the path repeatedly, the robot works for a long time and has low efficiency. Summary of the invention

[0004] In order to improve the problems existing in the prior art, the present application provides a path planning method, an autonomous moving device and a cleaning robot.

[0005] In one embodiment of the present application, a path planning method is provided. The method includes: when an obstacle is encountered in a first planned section during the process of traveling along a planned path, obtaining detection parameters of the obstacle; determining a first reference line based on the detection parameters; and determining a path to travel to a second planned section in the planned path based on the first reference line and the first planned section.

[0006] In another embodiment of the present application, an autonomous traveling device is provided, comprising:

[0007] A detection device, used to detect obstacles and obtain detection parameters of the obstacles;

[0008] A traveling device, used to provide traveling power for the autonomous traveling equipment;

[0009] The processor is used to obtain detection parameters of an obstacle when encountering the obstacle in the process of traveling along a planned path on a first planned section; determine a first reference line based on the detection parameters; and determine a path to travel to a second planned section in the planned path based on the first reference line and the first planned section.

[0010] In another embodiment of the present application, a cleaning robot is provided, comprising:

[0011] A detection device, used to detect obstacles and obtain detection parameters of the obstacles;

[0012] A traveling device, used to provide traveling power for the cleaning robot;

[0013] A processor, configured to obtain detection parameters of an obstacle when an obstacle is encountered during traveling along a planned path on a first planned section; determine a first reference line based on the detection parameters; and determine a path to travel to a second planned section in the planned path based on the first reference line and the first planned section;

[0014] The cleaning device is used for cleaning the surface to be cleaned.

[0015] The solution provided in the embodiment of the present application is aimed at the situation where obstacles are encountered during the process of traveling along the planned path. The detection parameters of the obstacles are obtained; based on the detection parameters, a first reference line is determined; then, according to the first reference line and the first planned section currently located, a solution for traveling to the second planned section of the planned path is determined, so as to adjust the travel plan in real time according to the obstacles; since the solution of the present application is to find the second planned section to return to the known planned path through the obstacle detection parameters, it not only ensures normal travel when encountering obstacles, but also avoids the time waste of replanning the path when encountering obstacles. The solution of the present application is suitable for various types of robots, such as cleaning robots, shopping guide robots, inspection robots, public service robots, supermarket inventory robots, etc. The technical solutions provided by the embodiments of the present application are adopted to help improve the travel efficiency of robots, such as cleaning and inspection. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following is a brief introduction to the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0017] Figure 1 A schematic diagram of a flow chart of a path planning method provided in an embodiment of the present application;

[0018] Figure 2a A schematic diagram of a planned path of a target area provided in an embodiment of the present application;

[0019] Figure 2b A schematic diagram of an obstacle existing in a target area provided in an embodiment of the present application;

[0020] Figure 2c A schematic diagram of a path planning result when there are obstacles in the target area provided by an embodiment of the present application;

[0021] Figure 2d A schematic diagram of a path planning result when there are obstacles in another target area provided by an embodiment of the present application;

[0022] Figure 3 A schematic diagram of a planning process for a planned section in a planned path of a target area provided in an embodiment of the present application;

[0023] Figure 4a A schematic diagram of a boundary outline corresponding to map information of a scene to be planned provided in an embodiment of the present application;

[0024] Figure 4b A schematic diagram of a polygon convex decomposition method provided by an embodiment of the present application.

[0025] Figure 4c A schematic diagram of a decomposition result of a polygonal convex decomposition provided by an embodiment of the present application;

[0026] Figure 5 A schematic diagram of the structure of a path planning device provided in one embodiment of the present application;

[0027] Figure 6 A schematic diagram of the structure of a robot provided in accordance with an embodiment of the present application. DETAILED DESCRIPTION

[0028] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0029] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "the" and "the" used in the present application are also intended to include plural forms, unless the context clearly indicates other meanings, and "multiple" generally includes at least two, but does not exclude the situation of including at least one.

[0030] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0031] It should be understood that, although the terms first, second, third, etc. may be used to describe XXX in the embodiments of the present application, these XXX should not be limited to these terms. These terms are only used to distinguish XXX from each other. For example, without departing from the scope of the embodiments of the present application, the first XXX may also be referred to as the second XXX, and similarly, the second XXX may also be referred to as the first XXX. Depending on the context, the words "if", "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determination" or "in response to monitoring". Similarly, depending on the context, the phrase "if it is determined" or "if monitoring (statement of the condition or event)" may be interpreted as "when determining" or "in response to determining" or "when monitoring (statement of the condition or event)" or "in response to monitoring (statement of the condition or event)".

[0032] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a product or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such a product or system. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the product or system including the elements.

[0033] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.

[0034] Figure 1 This is a flow chart of a path planning method provided by an exemplary embodiment of the present application. The execution subject of the method may be an autonomous moving device, which may be various autonomous mobile robots, such as cleaning robots, public service robots, inspection robots, supermarket inventory robots, etc.; it may also be autonomous mobile devices such as driverless cars. The method includes at least the following steps 101 to 103:

[0035] 101. When encountering an obstacle in the process of traveling along the planned path on the first planned road section, obtaining detection parameters of the obstacle;

[0036] 102. Determine a first reference line based on the detection parameters;

[0037] 103. Determine a path to a second planned section in the planned path according to the first reference line and the first planned section.

[0038] The above-mentioned planned path is the path obtained by planning based on the regional information of the target area. Figure 2a The example shown, Figure 2a is a schematic diagram of the planned path of the target area S1, where Qi-2 , Q i-1 , Q i , Q j , Q j+1 The target area S1 is the vertex of each area edge of the target area S1. The planned path may specifically include multiple end-to-end planned sections and path directions; or may include multiple end-to-end planned sections, starting points and end points. The target area S1 may be a medium or large shopping mall area, a bank hall, a hospital area, etc., or may be the floor of a room, or a small area on the floor of a room.

[0039] In the above 101, the obstacle detection parameters can be measured by a detection device on the autonomous moving device. The detection device may include a laser radar, and the working principle of the laser radar is to transmit a detection signal (such as a laser beam) to the target, and then compare the received signal reflected from the target (i.e., the target echo) with the transmitted signal, and after appropriate processing, the relevant information of the target can be obtained, such as distance, direction, height, speed, attitude, shape and other parameters.

[0040] Since the autonomous moving device needs a certain travel width when traveling on the first planned section, the obstacle encountered on the first planned section in the above step 101 may have cut off the first planned section; or it may not have cut off the first planned section, but the autonomous moving device is blocked from traveling on the first planned section due to its own width. When the detection parameters obtained by the detection device determine that there is an obstacle on the current planned section (i.e., the first planned section), the autonomous moving device cannot continue to travel on the first planned section.

[0041] See also Figure 2b In the example shown, it is assumed that the autonomous moving device is currently moving on the first planned section corresponding to L3 in the figure. Although the obstacle does not intercept L3, the autonomous moving device cannot continue to move along L3 due to its own width. Figure 2b In the figure, the planned sections corresponding to L1 and L2 are interrupted by obstacles.

[0042] In the above step 102, the detection parameters may include: the distances of the obstacles detected in multiple detection directions from the autonomous moving device. In specific implementation, the first reference line may be determined by taking a contour edge of the obstacle facing the autonomous moving device as a reference; or: the first reference line may be determined based on at least two points on the detected obstacle.

[0043] In a specific achievable solution, the above step 102 of “determining a first reference line based on the detection parameters” may include the following steps 1021 to 1023; wherein:

[0044] 1021. Determine a first point and a second point related to the obstacle based on the detection parameters;

[0045] 1022. Determine a first distance parameter;

[0046] 1023. Generate, according to the first distance parameter, the first reference line parallel to the line connecting the first point and the second point.

[0047] In the above 1021, the detection parameters may include the detection distance information of multiple edge points of the obstacle. Assuming that the detection device provided on the autonomous moving device is a laser radar, the edge point of the obstacle here is the point that reflects the signal back, and the detection distance of the edge point is the distance from the edge point to the laser radar. The first point may be a point with the shortest detection distance among multiple edge points. Simply put, the first point is the edge point closest to the autonomous moving device among the multiple edge points. The second point may be other points among the multiple edge points except the first point. Specifically, in the above step 1021, "determining the first point and the second point related to the obstacle based on the detection parameters" may include:

[0048] 10211. Based on the detection parameters, obtain a point with the shortest detection distance as the first point;

[0049] 10212. Based on the detection parameters, determine a point of the obstacle in a reference direction as the second point;

[0050] The reference direction is at an angle to the direction of the first planned road section.

[0051] For ease of description, see Figure 2a As shown in , the planned path contains a long side planned section and a short side planned section connecting two adjacent long side planned sections. Take the case of encountering an obstacle on the long side planned section as an example. Figure 2b and 2c In the case of a short side planned section, the reference direction can be determined based on the direction of the short side planned section. In order to further improve the coverage of the non-obstruction area of ​​the target area by the autonomous driving device, the edge point of the obstacle closest to the second planned section can be selected as the second point as much as possible. The reference direction here is the direction with the smallest angle between the edge of the obstacle and the direction pointing from the first planned section to the second planned section. The second planned section can be a section in the planned path that is parallel to and adjacent to the first planned section. See Figure 2c As shown, assuming that the first planned section is rd1, the second planned section can be Figure 2c rd2 in.

[0052] The first distance parameter in 1022 can be determined according to the travel parameter of the autonomous moving device. For example, the autonomous moving device needs to leave the first distance parameter due to the size of its outer contour when moving, so as to avoid collision with obstacles and ensure that there is no uncovered area when the autonomous moving device moves. In specific implementation, the first distance parameter can be determined based on the width of the autonomous moving device perpendicular to the travel direction, such as being equal to or greater than half of the width.

[0053] In the above 103, the purpose of determining the path to the second planned section in the planned path based on the first reference line and the first planned section is essentially to determine a path that can bypass obstacles and return to another known planned section in the planned path to avoid replanning the path. Specifically, the "determining the path to the second planned section in the planned path based on the first reference line and the first planned section" in the above 103 can be implemented by the following steps:

[0054] 1031. Taking the intersection of the first reference line and the first planned road section as a first starting point;

[0055] 1032. Taking the intersection of the first reference line and the second planned road section as the first end point;

[0056] 1033. Obtain the path from the first starting point along the direction of the first reference line to the first end point.

[0057] The path is a turning path determined based on the known first planned section and the second planned section when encountering an obstacle, that is, an adjustment path. After the autonomous driving device determines the path, it continues to move along the path, and when it reaches the intersection of the path and the second planned section, it continues to move along the known planned path.

[0058] For details, please refer to Figure 2c As shown, the first planned road section rd1 and the first reference line Line O1 Intersect at the first starting point b1, the first reference line Line O1 The second planned road segment rd2 intersects at the first end point e1, and b1e1 is the path. That is, when the autonomous driving device encounters an obstacle, the actual travel path on the side encountering the obstacle is Figure 2c The path indicated by "..." in the figure, such as: the actual travel path includes: r1, b1e1, r2. The first planned section rd1 is actually collinear with the section r1. For the convenience of explanation, the position of the first planned section rd1 is displayed by translation. Similarly, the second planned section rd2 is actually collinear with the section r2. For the convenience of explanation, the position of the second planned section rd2 is displayed by translation.

[0059] When the autonomous moving device encounters an obstacle, the above scheme is used to continuously and smoothly return to the next planned section until the autonomous moving device crosses the obstacle area, that is, the obstacle is no longer detected. At this time, the autonomous moving device can move along the current planned section to the end of the planned section. Due to the obstruction of the obstacle, the other side of the obstacle is not covered, so it is necessary to perform travel coverage backfill. Before performing travel coverage backfill, the path planning method provided by this application also includes the following steps:

[0060] 104. When an obstacle is encountered in the first planned section during traveling along the planned path, the first planned section is marked as an initial cut-off section;

[0061] 105. When the planned route reaches a third planned section and the third planned section is completed, the third planned section is marked as an end truncation section.

[0062] It should be noted that the initial cut-off section is the section where the autonomous driving device is currently located when it first detects an obstacle in the target area, and the third planned section is the section in the planned path that is parallel to the first planned section. Assume that the planned path is as follows Figure 2c The route map shown in includes a long side planned section and a short side planned section connecting two adjacent long side planned sections. If the first planned section is a long side planned section, then correspondingly, the third planned section is also a long side planned section and is parallel to the first planned section.

[0063] In addition, it should be added that when the obstacle is Figure 2c In the case shown in Figure 1, obstacles prevent the autonomous vehicle from traveling along the three long-side planned segments. Figure 2c After reaching the planned route Line1 (i.e., reaching point e3 on Line1), the autonomous driving device will follow the planned direction of travel (i.e., Figure 2c Go in the direction indicated by the arrow in the middle) to pass through the short side planned segment and enter the long side planned segment Line2. Figure 2c It can be seen that although there are no obstacles on the long side planned section Line1, the autonomous driving device needs to move in the planned direction and cannot complete the long side planned section Line1; after the autonomous driving device enters the long side planned section Line2, it can complete to the end point e2 of Line2; therefore, Figure 2c The long side planned section Line2 is the ending truncation section mentioned above, not the long side planned section Line1.

[0064] Figure 2dIn the planned path shown, L1 can be used as the initial cut-off section; because the solution provided by the above method can travel to the starting point of L2, and can walk from the starting point to the end point a without being blocked by obstacles, so L2 can be used as the ending cut-off section. Figure 2c Line 1 in the diagram passes through the turning section to a point in the section, not the starting point of Line 1. Therefore, it is impossible to complete Line 1 by walking in the direction of the planned path, and it is impossible to mark Line 1 as the end of the truncated section.

[0065] The marking of the initial cut-off section and the end cut-off section is to facilitate the autonomous moving device to cover and fill in the gaps. Regarding how the autonomous moving device moves to the filling-in starting point after completing the third planned section, the path planning method provided in this application also includes the following steps 106 to 108:

[0066] 106. Obtaining a second end point of the ending truncation section and an end point of the initial truncation section;

[0067] 107. Navigate from the second end point to the end point of the initial truncated section;

[0068] 108, moving in reverse direction along the initial cut-off section from the end point of the initial cut-off section to determine a second starting point;

[0069] 109, starting the traveling covering backfill mode from the second starting point.

[0070] like Figure 2c As shown, assuming that the initial truncation section is Figure 2c Line Lb ; The end of the truncated section is Line2. The end point e2 of the end of the truncated section Line2 is the second end point, and the initial truncated section Line Lb The end point is pe1 and the second starting point is pe2. Figure 2d In the example shown, the end point a of the final cut-off section L2 is the second end point, the end point of the initial cut-off section L1 is b, and the second starting point is c.

[0071] When the autonomous moving device moves in the reverse direction along the initial cut-off section, the autonomous moving device determines the second starting point based on the detection parameters of the detection device (such as a laser radar). The second starting point is the position where the autonomous moving device can move closest to the obstacle without colliding with the obstacle after detecting the obstacle. Figure 2c As shown, the method for determining the second starting point pe2 can refer to the method for determining b1 above, such as based on the reference line Line corresponding to the second starting point pe2 o1’ OK, no further details here.

[0072] The above process 107 of navigating from the second end point to the end point of the initial truncated section can be implemented by using a navigation algorithm in the prior art, such as the A* algorithm. For related content, please refer to the description in the prior art, which will not be described in detail in this embodiment.

[0073] The process of starting the travel coverage backfill mode from the second starting point is the same as the process of steps 101 to 103 above. After completing the travel coverage backfill, the path planning method of the present application further includes the following steps:

[0074] 110. Based on the planned path, obtain an untraveled downstream planned section that is continuous with the end cut-off section;

[0075] 111. Starting from the second end point of the terminated truncation section, continue to move along the downstream planned section.

[0076] The downstream planned section can be understood as: the planned section connecting the starting point in the planned path and the second end point of the end truncation section. Figure 2c In the first example shown, the downstream section of the end cut-off section is re. Figure 2b In the second example shown, the downstream section of the end cut-off section is L3.

[0077] The solution provided in this embodiment is aimed at the situation where obstacles are encountered during the process of traveling along the planned path. The detection parameters of the obstacles are obtained; based on the detection parameters, a first reference line is determined; then, according to the first reference line and the first planned section currently located, a solution for traveling to the second planned section of the planned path is determined, so as to adjust the travel plan in real time according to the obstacles; since the solution of this application is to find the second planned section to return to the known planned path through the obstacle detection parameters, it not only ensures normal travel when encountering obstacles, but also avoids the time waste of replanning the path when encountering obstacles. The solution provided in this embodiment is suitable for various types of robots, such as cleaning robots, shopping guide robots, inspection robots, public service robots, supermarket inventory robots, etc. The use of the technical solution provided in this embodiment helps to improve the travel efficiency of robots, such as cleaning and inspection.

[0078] The aforementioned planned path is obtained after the autonomous moving device performs path planning for the target area. After the path is planned, the autonomous moving device can move in the target area according to the planned path. That is, the method provided in this embodiment may also include the following steps:

[0079] Based on the area information of the target area, path planning is performed on the target area to obtain the planned path.

[0080] The planning process of a planned section in the planned path includes:

[0081] 01. Determine a second reference line based on the area information of the target area;

[0082] 02. Obtain an area edge of the target area that intersects with the second reference line as a third reference line;

[0083] 03. Determine a fourth reference line according to the third reference line;

[0084] 04. Generate a planned section in the planned path using the second reference line and the fourth reference line.

[0085] Specifically, in the above step 01, "determining a second reference line based on the area information of the target area" includes the following steps:

[0086] 011. Based on the region information of the target region, obtain a region edge of the target region as a reference edge;

[0087] 012. Determine a second distance parameter;

[0088] 013. According to the second distance parameter, determine a parallel line parallel to the reference edge as the second reference line.

[0089] The second distance parameter may be obtained according to the travel parameter of the autonomous traveling device. For example, the second distance parameter may be determined based on the width of the autonomous traveling device perpendicular to its travel direction. Specifically, half of the width or the width may be directly used as the second distance parameter.

[0090] In the above step 011, “based on the region information of the target region, obtaining a region edge of the target region as a reference edge” includes:

[0091] Based on the area information of the target area, obtaining the lengths of multiple area edges of the target area;

[0092] The longest region edge is used as the reference edge.

[0093] See also Figure 3 As shown, Q i-2 , Q i-1 , Q i , Q j , Q j+1 are the vertices corresponding to the target area S1, Q i-2 Q i-1 , Q i- 1Q i , Q i Q j , Q j Q j+1 , and Qj+1 Q i-2 are the area edges of the target area S1. Assume that Q i Q j The length of Q is the longest, i Q j As the reference side of the target area S1.

[0094] The second distance parameter is Figure 3 The distance d in will be parallel to the reference edge Q i Q j , from the reference edge Q i Q j Line L1 As a second reference line. L1 With Q i-1 Q i and Q j Q j+1 If they intersect, then Q i-1 Q i The straight line and Q j Q j+1 The straight line is the third reference line.

[0095] In the above step 03, "determining a fourth reference line according to the third reference line" includes the following steps:

[0096] 031. Determine the third distance parameter;

[0097] 032. According to the third distance parameter, determine a line parallel to the third reference line as the fourth reference line.

[0098] The third distance parameter may be the same as or different from the second distance parameter, which is not specifically limited in this embodiment. Similarly, in specific implementation, it may be determined based on the travel parameters of the autonomous travel device. Figure 3 In the example, the third distance parameter is set to be equal to the second distance parameter, that is, both are d. i-1 Q i ), and is away from the Q i-1 Q i A straight line with a distance d from the third reference line (Q j Q j+1 ), and is away from the Q j Q j+1 A straight line with a distance d from the reference line is used as another fourth reference line.

[0099] Accordingly, in the above step 04, "using the second reference line and the fourth reference line to generate a planned section in the planned path" includes the following steps:

[0100] 041. Obtain two intersection points of the second reference line and the two fourth reference lines as the starting point and the end point of the planned road section respectively;

[0101] 042. Starting from the starting point, follow the second reference line to the end point to obtain the planned road section.

[0102] For example, Figure 3 In the example shown, Line L1 and the fourth reference line Line S1 And the fourth reference line Line S2 The two intersection points are p1 and p2, and p1p2 is the planned section. Since p1p2 corresponds to the long side of the target area S1, p1p2 can also be called the long side planned section.

[0103] In order to determine the downstream planned section of p1p2, the above method further includes the following steps 05 to 07; wherein:

[0104] 05. Determine a fifth reference line based on the second reference line;

[0105] 06. According to the traveling direction of the planned road section, an area edge of the target area intersecting with the fifth reference line in the traveling direction is obtained as a sixth reference line;

[0106] 07. Generate a downstream planned section in the planned path that is continuous with the planned section based on the sixth reference line and the preset distance parameter.

[0107] Continue to see Figure 3 In the example shown in the figure, similarly, the second reference line (i.e., Line L1 ) and is within the distance of Line L1 The straight line with a distance d from the center is used as the fifth reference line Line L2 Since the direction of the planned path has been determined in the above steps 01 to 04, that is, from p1 to p2; therefore, the area edge Q is obtained. j Q j+1 As the sixth reference line.

[0108] In the above 07, since the starting point of the planned downstream section is p2, the preset distance parameter should be the same as the second distance parameter mentioned above, that is, the distance parameter d. A distance d from the sixth reference line is generated at a position parallel to the sixth reference line and at a distance d from the sixth reference line. L2 Intersecting Lines S2.Line L2 With Line S2 The intersection point is p3. From p2 along the fifth reference line Line L2 To p3, the downstream planned section p2p3 of the planned section p1p2 is obtained.

[0109] Specifically, the end point of each determined planned section can be used as the starting point of the downstream planned section that is continuous with the planned section. After obtaining the downstream planned section p2p3, the method further includes: setting Line L2 With edge Q i-1 Q i Parallel lines S1 The intersection point is p4, connecting p3 p4, and p3 p4 is another long side planned section.

[0110] Consider Q i-1 Q i , Q j Q j+1 Length, if Line L1 Parallel lines Lk With line segment Q i-1 Q i Disjoint, with Q i-1 Q i-2 If they intersect, then Q i-1 Q i-2 The parallel line in the polygon corresponding to S1 Sk , the translation distance is d, let Line Lk With Line Sk The intersection point is pk; similarly, if Line Lk With Q j+1 Q j+2 Intersect, make Q j+1 Q j+2 Parallel lines Line in the convex polygon corresponding to the target area S1 Sk+1 , set Line Lk With Line Sk+1 The intersection point is pk+1; then pk and pk+1 are the endpoints of the kth long planned road section.

[0111] Repeat the above process until the path planning in the target area S1 is completed. When the path planning for the target area S1 is completed, the planning result is obtained. Figure 2a Schematic diagram of the planning results of the path planning for the target area S1.

[0112] The target area may be a large area such as the inner or outer area of ​​a large shopping mall, a bank hall, a hospital area, etc., or a small area in a room, a lawn or a hall. That is, the method provided in this embodiment may also include:

[0113] 001. Obtain map information of the scene to be planned;

[0114] 002. Extracting boundaries from the map information to obtain boundary information;

[0115] 003. Perform polygonal convex decomposition on the boundary information to obtain multiple convex polygonal areas;

[0116] The target area is one of the multiple convex polygonal areas.

[0117] The map information can be based on a grid map created by a laser radar. The scenes to be planned will be different in different application scenarios. For example, if the autonomous moving device is a cleaning robot, a public service robot, an inspection robot, a supermarket inventory robot, etc., the scenes to be planned are shopping malls, banks, hospitals, etc. to be cleaned. If the autonomous moving device is a weeding robot, the scenes to be planned are lawns to be weeded.

[0118] In the above step 002, “extracting the boundary of the map information to obtain the boundary information” may specifically be:

[0119] S1, extracting contour points of the boundary line in the map information to obtain a point set;

[0120] In actual applications, if the scene to be planned is a supermarket, the supermarket is arranged with shelves. Some shelves are arranged against the wall, and some are not. Or, the scene to be planned is a hospital outpatient hall, and there are lounge chairs in the hall; and so on. Therefore, the map information created by the lidar will contain the boundary line of the outermost contour of the supermarket or hospital hall, and an inner contour boundary line within the outermost contour boundary line (such as the contour boundary line of the shelf or lounge chair); these are all boundary lines in the map information. The point set corresponding to the outermost contour boundary line and the point set of the inner contour boundary line can be in different sets respectively.

[0121] The boundary information may include the point set.

[0122] Following the above step S1, in the above 003, "performing polygonal convex decomposition on the boundary information to obtain multiple convex polygonal regions" can be specifically as follows:

[0123] S2. Determine a plurality of vertices based on the point set.

[0124] S3, determining salient points from the multiple vertices;

[0125] S4. Decompose the boundary contour corresponding to the map information according to the convex points to obtain the multiple convex polygonal areas.

[0126] Specifically, see Figure 4a As shown, the map coordinates of the point set contain x max 、x min ,y max ,y min The points must be vertices of the polygon. Figure 4a As shown, P i+2 The point with the smallest x coordinate; P i+3 The point with the smallest y coordinate; P i-2 The point with the largest x coordinate; P i-1 The point with the largest y coordinate. i-2 , P i+2 , P i-1 , P i+3 These points are all vertices. Then, remove the P from the point set. i-2 , P i+2 , P i-1 , P i+3 The remaining points outside the point are used to determine the vertices. The method for determining all vertices of the boundary contour based on the point set corresponding to the boundary contour can be found in the related content of the prior art, which will not be described in detail herein.

[0127] Furthermore, the above P i-2 , P i+2 , P i-1 , P i+3 These vertices must also be convex points. Therefore, when determining convex points from multiple vertices, P i-2 , P i+2 , P i-1 , P i+3 Remove the vertices from the determined vertices and search for convex points from the remaining vertices. The process of searching for convex points can be specifically as follows: select any vertex and calculate the cross product of the adjacent vectors based on the vertex. If the cross product of the adjacent vectors based on the vertex is greater than 0, it means that the vertex is a convex point. If the cross product is less than 0, it means that the vertex is a concave point. If the selected vertex is Figure 4a Medium i , based on the vertex P i The adjacent vectors of are: calculate and The cross product of i For concave points.

[0128] When P i When P is a concave point, i Except for the adjacent point P i-1 , P i+1 Other vertices P i+2 , P i+3 , Pi+4 , P i-2 Connection, see Figure 4b As shown, the connecting line P is obtained i P i+2 , P i P i+3 , P i P i+4 , P i P i-2 ; Record each connection line in such Figure 4b Points inside the polygon shown. Determine P i P i+1 The reverse extension line P i P′ i+1 With P i P i-1 The reverse extension line P i P′ i-1 The angle bisector P i P i '; Calculate each vertex P i+2 , P i+3 , P i+4 , P i-2 To the angle bisector P i P i ′; the point with the closest distance is taken as the concave point P i The dividing point of Figure 4b In the example shown, it can be concluded that P i+4 is the distance angle bisector P i P i ′ is the nearest point, so P i+4 P is the concave point i The split point.

[0129] Repeat the above steps until all the concave points and their corresponding subdivision points are found. Connect each concave point with its corresponding subdivision point, and the original polygon can be divided into multiple convex polygon areas K1, K2, ..., K m It should be added that: in the specific implementation, if a vertex (such as P i+4 ) is determined as a concave point (such as P i ), then when entering the next cycle to find the next concave point, the subdivision point can be removed from multiple vertices.

[0130] Figure 4a In the example shown, the boundary contour of the scene to be planned S has two concave points, namely P i With P i+4 Among them, P i+4 P is the concave point i The split point is based on the previously recorded connection line P i P i+4 In such Figure 4b The points within the polygon shown can be used to obtain the dividing line, so that the scene S to be planned can be divided into Figure 4c Two convex polygonal regions, S1 and S4, are shown.

[0131] After the polygon convex decomposition, the boundary polygon is decomposed into multiple convex polygon areas. The target area mentioned in the above embodiment can be one of the multiple convex polygon areas. After completing the travel coverage of the target area using the above method, it can be transferred to the next convex polygon area to plan the path for the next convex polygon area, and then travel according to the path planning to cover the entire convex polygon area; until multiple convex polygon areas are fully covered. That is, the method provided in this embodiment can also include the following steps:

[0132] After completing the progress coverage of the target area, determining a convex polygonal area that is not progress covered from the multiple convex deformation areas as the next target area;

[0133] Get the starting point of the next target area;

[0134] Navigate to the starting point of the next target area.

[0135] In specific implementation, after navigating to the starting point of the next target area, the above-mentioned solution can continue to be used for path planning and travel coverage.

[0136] The algorithm for navigating from the current location to the starting point of the next target area can be implemented by using the A* algorithm. For the content of the A* algorithm, please refer to the prior art, which will not be described in detail in this article.

[0137] This application uses a polygon convex decomposition algorithm to divide the entire coverage area into several convex-edged sub-areas, and uses the parallel direction of the longest side as a reference for the scanning direction, and executes a boundary translation strategy to plan the sub-area scanning path, which can reduce the number of turns during the machine coverage process and save scanning time; the truncated scanning backfill strategy can be used to timely record and backfill areas that the original strategy cannot directly cover, reducing the path length of area switching; the classic A* algorithm for calculating the shortest path is used to calculate the scanning path for sub-area switching, reducing unnecessary route length during area switching.

[0138] When implementing this plan, the full coverage path planning optimization plan can be stored in the autonomous moving equipment. The optimization plan mainly adopts the polygon convex decomposition algorithm and the parallel coverage strategy to make the planned path simpler, effectively reduce the machine's full coverage movement time and the number of turns, and improve the efficiency of the autonomous moving equipment in performing full coverage tasks.

[0139] Figure 5A schematic diagram of the structure of a path planning device provided by an exemplary embodiment of the present application, the path planning device comprises: an acquisition module 61, a first determination module 62, and a second determination module 63, wherein:

[0140] An acquisition module 61 is used to acquire detection parameters of an obstacle when encountering an obstacle in the process of traveling along the planned path on the first planned road section;

[0141] A first determination module 62, configured to determine a first reference line based on the detection parameters;

[0142] The second determining module 63 is used to determine a path to a second planned section in the planned path according to the first reference line and the first planned section.

[0143] When used to determine the first reference line based on the detection parameters, the first determination module 62 is specifically used to:

[0144] Based on the detection parameters, determining a first point and a second point associated with the obstacle;

[0145] determining a first distance parameter;

[0146] A first reference line parallel to a line connecting the first point and the second point is generated according to the first distance parameter.

[0147] The first determination module 62, when used to determine the first point and the second point related to the obstacle based on the detection parameter, is specifically used to:

[0148] Based on the detection parameters, acquiring a point with the shortest detection distance as the first point;

[0149] Based on the detection parameters, determining a point of the obstacle in a reference direction as the second point;

[0150] The reference direction is at an angle to the direction of the first planned road section.

[0151] The second determination module 63, when used to determine a path to a second planned section in the planned path according to the first reference line and the first planned section, is specifically used to:

[0152] Taking the intersection of the first reference line and the first planned road section as the first starting point;

[0153] Taking the intersection of the first reference line and the second planned road section as the first end point;

[0154] The path is obtained from the first starting point along the direction of the first reference line to the first end point.

[0155] Optionally, the above-mentioned path planning device also includes a marking module, which is used to: when encountering an obstacle in the first planned section during the process of traveling along the planned path, mark the first planned section as an initial truncation section; when traveling to the third planned section according to the planned path and completing the third planned section, mark the third planned section as the end truncation section.

[0156] Furthermore, the acquisition module 61 can also be used to: acquire the second end point of the ending truncated section and the end point of the initial truncated section. And, the device provided in this embodiment can also include a navigation module, which is used to navigate from the second end point to the end point of the initial truncated section; the device also includes a travel module, which is used to travel in the reverse direction along the initial truncated section from the end point of the initial truncated section, so that the first determination module 62 can determine the second starting point. Specifically, the first determination module 62 is used to: collect environmental parameters during the reverse travel along the initial truncated section from the end point of the initial truncated section, and determine the second starting point based on the collected environmental parameters, so as to start the travel coverage backfill mode from the second starting point.

[0157] Furthermore, the acquisition module 61 is further used to: after completing the traveling coverage backfilling mode, based on the planned path, acquire the untraveled downstream planned section that is continuous with the ending cut-off section;

[0158] The moving module is further used to: continue moving according to the downstream planned section starting from the second end point of the end truncated section.

[0159] Furthermore, the device provided in this embodiment may also include a planning module. The planning module is used to: based on the area information of the target area, perform path planning on the target area to obtain the planned path. Wherein, when planning a planned section in the planned path, the planning module is specifically used to:

[0160] Determining a second reference line based on the area information of the target area;

[0161] Obtaining a region edge of the target region that intersects with the second reference line as a third reference line;

[0162] Determine a fourth reference line according to the third reference line;

[0163] A planned section in a planned path is generated by using the second reference line and the fourth reference line.

[0164] Further, when the above-mentioned planning module is used to determine the second reference line based on the area information of the target area, it is specifically used to:

[0165] Based on the region information of the target region, obtaining a region edge of the target region as a reference edge;

[0166] determining a second distance parameter;

[0167] According to the second distance parameter, a line parallel to the reference edge is determined as the second reference line.

[0168] Furthermore, when the planning module is used to obtain an area edge of the target area as a reference based on the area information of the target area, it is specifically used to:

[0169] Based on the region information of the target region, obtaining the lengths of multiple region edges of the target region;

[0170] The longest region edge is used as the reference edge.

[0171] Furthermore, when determining the second distance parameter, the planning module is specifically used to:

[0172] The second distance parameter is determined based on a travel parameter of the autonomous traveling device.

[0173] Furthermore, when the planning module is used to determine the fourth reference line according to the third reference line, it is specifically used to:

[0174] determining a third distance parameter;

[0175] According to the third distance parameter, a line parallel to the third reference line is determined as the fourth reference line.

[0176] Further, when there are two fourth reference lines, when the planning module generates a planned section in the planned path by using the second reference line and the fourth reference line, it can be specifically used to:

[0177] Obtain two intersection points of the second reference line and the two fourth reference lines as the starting point and the end point of the planned road section respectively;

[0178] Starting from the starting point, along the first reference line to the end point, the planned road section is obtained.

[0179] Furthermore, the planning module is also used for:

[0180] Based on the second reference line, determining a fifth reference line;

[0181] Furthermore, the planning module is further used to: according to the traveling direction of the planned road section, obtain an area edge of the target area intersecting with the fifth reference line in the traveling direction as a sixth reference line;

[0182] A downstream planned section in the planned path that is continuous with the planned section is generated according to the sixth reference line and the preset distance parameter.

[0183] Furthermore, the above device also includes a third determining module, which is used to:

[0184] Obtain map information of the area to be planned;

[0185] Extracting boundaries from the map information to obtain boundary information;

[0186] Performing polygonal convex decomposition on the boundary information to obtain a plurality of convex polygonal regions;

[0187] The target area is one of the multiple convex polygonal areas.

[0188] Furthermore, the device provided in this embodiment may further include a region switching module; the region switching module is used to: after completing the moving coverage of the target region, determine a convex polygonal region that is not covered by the moving coverage from the multiple convex deformation regions as the next target region;

[0189] Get the starting point of the next target area;

[0190] Navigate to the starting point of the next target area.

[0191] It should be noted here that the path planning device provided in this embodiment can implement the technical solution described in the above-mentioned path planning method embodiment. The specific implementation principles of the above-mentioned modules or units can be found in the corresponding contents in the above-mentioned path planning method embodiment, which will not be repeated here.

[0192] Figure 6 FIG. 1 shows a schematic diagram of the structure of an autonomous driving device provided by an embodiment of the present application. Figure 6 As shown, the autonomous traveling device comprises:

[0193] A detection device 76, used to detect obstacles and obtain detection parameters of the obstacles;

[0194] A traveling device 73, used to provide traveling power for the autonomous traveling device;

[0195] Processor 72 is used to obtain detection parameters of an obstacle when encountering the obstacle in the process of traveling along the planned path on the first planned section; determine a first reference line based on the detection parameters; and determine a path to travel to the second planned section in the planned path based on the first reference line and the first planned section.

[0196] Furthermore, the autonomous moving device provided in this embodiment further includes a memory 71. The memory 71 is used to store programs; the processor 72 is coupled to the memory and is used to execute the programs stored in the memory to implement the steps in the above path planning method.

[0197] The memory 71 described above may be configured to store various other data to support operations on the autonomous traveling device. Examples of such data include instructions for any application or method for operating on the autonomous traveling device. The memory 71 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a magnetic disk or an optical disk.

[0198] Furthermore, the processor 72 is further configured to perform path planning on the target area based on the area information of the target area to obtain the planned path;

[0199] The planning process of a planned section in the planned path includes:

[0200] Determining a second reference line based on the area information of the target area;

[0201] Obtaining a region edge of the target region that intersects with the second reference line as a third reference line;

[0202] Determine a fourth reference line according to the third reference line;

[0203] A planned section in the planned path is generated by using the second reference line and the fourth reference line.

[0204] Furthermore, the processor 72 may also be used for:

[0205] Get the map information of the scene to be planned;

[0206] Extracting boundaries from the map information to obtain boundary information;

[0207] Performing polygonal convex decomposition on the boundary information to obtain a plurality of convex polygonal regions;

[0208] The target area is one of the multiple convex polygonal areas.

[0209] When executing the program in the memory 71 , the processor 72 may realize other functions in addition to the above functions, and the details may refer to the description of the above embodiments.

[0210] Further, if Figure 6 As shown, the autonomous moving device also includes: a power supply component 74, a communication component 75 and other components. Figure 6 Only some components are shown schematically, which does not mean that the autonomous driving device only includes Figure 6 Components shown.

[0211] Correspondingly, an embodiment of the present application also provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a computer, it can implement the steps or functions of the path planning method provided in the above embodiments.

[0212] In specific implementation, the autonomous moving equipment can be a cleaning robot, a weeding robot, a public service robot, an inspection robot, a supermarket inventory robot, etc.; it can also be an autonomous mobile device such as a driverless car, etc., which is not specifically limited in this embodiment.

[0213] Another embodiment of the present application provides a cleaning robot, which can be a sweeping robot, a sweeping and mopping robot, etc. suitable for medium and large areas, such as shopping malls, banks, hospitals, and restaurants. The cleaning robot includes:

[0214] A detection device, used to detect obstacles and obtain detection parameters of the obstacles;

[0215] A traveling device, used to provide traveling power for the cleaning robot;

[0216] A processor, configured to obtain detection parameters of an obstacle when an obstacle is encountered during traveling along a planned path on a first planned section; determine a first reference line based on the detection parameters; and determine a path to travel to a second planned section in the planned path based on the first reference line and the first planned section;

[0217] The cleaning device is used for cleaning the surface to be cleaned.

[0218] The specific implementation of the cleaning device may be different for different types of cleaning robots. For example, if the cleaning robot is a sweeping robot, the cleaning device may include a roller brush, a side brush, etc. If the cleaning robot is a sweeping and mopping robot, the cleaning device may include a roller brush, a side brush, a rag, a water tank, etc.

[0219] The following describes the technical solutions provided by each embodiment of the present application in conjunction with specific application scenarios.

[0220] Application scenario 1

[0221] Taking the autonomous moving device as a sweeping robot as an example, when the user turns on the sweeping robot to clean the hall of the shopping mall, the sweeping robot will move and clean the ground according to the planned path corresponding to the area. When encountering obstacles during the movement, such as booths, mascots, billboards, promotional displays and other temporarily placed objects, the sweeping robot will determine the path along the edge of the obstacle to the planned section according to the detection parameters of the detected obstacle, and then follow the path along the edge of the obstacle to the planned section, so as to continue cleaning according to the planned section; after cleaning one side of the obstacle, it will turn back to the other side of the obstacle and use the same method to clean along the planned section, and at the same time determine the path from one planned section to another planned section until the backfill cleaning is completed; throughout the process, the planned sections are kept as much as possible, and the path from one planned section to another planned section is planned according to the detection parameters of the obstacle, avoiding the waste of time in the overall re-planning of the entire target area when encountering obstacles, and improving the cleaning efficiency of the sweeping robot.

[0222] Application scenario 2

[0223] Take the hotel cleaning robot as an example. After the cleaning robot completes the map creation using the laser radar, it divides the lobby into multiple convex polygons based on the created map information. A corresponding planning path is planned for each convex polygon. The cleaning robot first drives into a convex polygonal area and cleans according to its corresponding planned path. If it encounters obstacles during the cleaning process (such as flower pots, dance tables, etc., assuming that there are no flower pots, tables, etc. in the hotel lobby when the map is created, and the flower pots and tables are temporary objects), the cleaning robot will determine the path along the edge of the table to the planned section according to the detection parameters of the detected table, and then follow the path along the edge of the table to the planned section, so as to continue cleaning according to the planned section; after cleaning one side of the table, it will turn back to the other side of the table and clean along the planned section in the same way, and determine the path from one planned section to another planned section until the backfill cleaning is completed; throughout the process, the planned sections are retained as much as possible, and the path from one planned section to another planned section is planned according to the detection parameters of the obstacles, so as to avoid the waste of time in the overall re-planning of the entire target area when encountering obstacles, and improve the cleaning efficiency of the cleaning robot. After the current convex polygonal area is cleaned, the starting point of the adjacent second convex polygonal area is obtained; then the starting point is navigated to, and cleaning is performed from the starting point according to the planned path corresponding to the second convex polygonal area; until all convex polygonal areas in the living room are cleaned and covered.

[0224] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0225] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0226] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A path planning method, It is characterized in that include: When an obstacle is encountered during traveling along the planned path on the first planned road section, obtaining detection parameters of the obstacle; Based on the detection parameters, determining a first reference line; Determining a path to a second planned section in the planned path according to the first reference line and the first planned section; When an obstacle is encountered during traveling along the planned path on the first planned road section, marking the first planned road section as an initial cut-off road section; When the vehicle reaches the third planned section according to the planned path and completes the third planned section, the third planned section is marked as an end cut-off section; Acquire the second end point of the ending truncation section and the end point of the initial truncation section; Navigating from the second end point to the end point of the initial truncated section; The method further comprises moving in reverse direction along the initial cut-off section from the end point of the initial cut-off section to determine a second starting point, and starting a travel covering backfilling mode from the second starting point.

2. The method according to claim 1, It is characterized in that Determining a first reference line based on the detection parameters includes: Based on the detection parameters, determining a first point and a second point associated with the obstacle; determining a first distance parameter; A first reference line parallel to a line connecting the first point and the second point is generated according to the first distance parameter.

3. The method according to claim 2, It is characterized in that Determining a first point and a second point associated with the obstacle based on the detection parameters includes: Based on the detection parameters, acquiring a point with the shortest detection distance as the first point; Based on the detection parameters, determining a point of the obstacle in a reference direction as the second point; The reference direction is at an angle to the direction of the first planned road section.

4. The method according to claim 1, It is characterized in that Determining a path to a second planned section in the planned path according to the first reference line and the first planned section includes: Taking the intersection of the first reference line and the first planned road section as the first starting point; Taking the intersection of the first reference line and the second planned road section as the first end point; The path is obtained from the first starting point along the direction of the first reference line to the first end point.

5. The method according to claim 1, It is characterized in that Also includes: After the traveling coverage backfilling mode is completed, based on the planned path, an untraveled downstream planned section that is continuous with the ending cut-off section is obtained; From the second end point of the terminated truncation section, the route continues according to the downstream planned section.

6. The method according to any one of claims 1 to 4, It is characterized in that Also includes: Based on the area information of the target area, performing path planning on the target area to obtain the planned path; The planning process of a planned section in the planned path includes: Determining a second reference line based on the area information of the target area; Obtaining a region edge of the target region that intersects with the second reference line as a third reference line; Determine a fourth reference line according to the third reference line; A planned section in the planned path is generated by using the second reference line and the fourth reference line.

7. The method according to claim 6, It is characterized in that Determining a second reference line based on the area information of the target area includes: Based on the region information of the target region, obtaining a region edge of the target region as a reference edge; determining a second distance parameter; According to the second distance parameter, a line parallel to the reference edge is determined as the second reference line.

8. The method according to claim 6, It is characterized in that The method further comprises: Get the map information of the scene to be planned; Extracting boundaries from the map information to obtain boundary information; Performing polygonal convex decomposition on the boundary information to obtain a plurality of convex polygonal regions; The target area is one of the multiple convex polygonal areas.

9. The method according to claim 8, It is characterized in that The method further comprises: After completing the progress coverage of the target area, determining a convex polygonal area that is not progress covered from the multiple convex deformation areas as the next target area; Get the starting point of the next target area; Navigate to the starting point of the next target area.

10. An autonomous moving device, It is characterized in that include: A detection device, used to detect obstacles and obtain detection parameters of the obstacles; A traveling device, used to provide traveling power for the autonomous traveling equipment; A processor, configured to obtain detection parameters of an obstacle when an obstacle is encountered during traveling along the first planned road section according to the planned path; Based on the detection parameters, determining a first reference line; Determine a path to a second planned section in the planned path according to the first reference line and the first planned section, and mark the first planned section as an initial truncation section when an obstacle is encountered during the process of traveling along the planned path in the first planned section; When traveling to the third planned section according to the planned path and completing the third planned section, marking the third planned section as an ending truncation section; and obtaining a second end point of the ending truncation section and an end point of the initial truncation section; Navigating from the second end point to the end point of the initial truncated section; The method further comprises moving in reverse direction along the initial cut-off section from the end point of the initial cut-off section to determine a second starting point, and starting a travel covering backfilling mode from the second starting point.

11. The autonomous traveling device according to claim 10, It is characterized in that The processor is further configured to perform path planning on the target area based on the area information of the target area to obtain the planned path; The planning process of a planned section in the planned path includes: Determining a second reference line based on the area information of the target area; Obtaining a region edge of the target region that intersects with the second reference line as a third reference line; Determine a fourth reference line according to the third reference line; A planned section in the planned path is generated by using the second reference line and the fourth reference line.

12. The autonomous traveling device according to claim 11, It is characterized in that The processor is further configured to: Get the map information of the scene to be planned; Extracting boundaries from the map information to obtain boundary information; Performing polygonal convex decomposition on the boundary information to obtain a plurality of convex polygonal regions; The target area is one of the multiple convex polygonal areas.

13. A cleaning robot, It is characterized in that include: A detection device, used to detect obstacles and obtain detection parameters of the obstacles; A traveling device, used to provide traveling power for the cleaning robot; A processor, configured to obtain detection parameters of an obstacle when an obstacle is encountered during traveling along the first planned road section according to the planned path; Based on the detection parameters, determining a first reference line; Determine a path to a second planned section in the planned path according to the first reference line and the first planned section, and mark the first planned section as an initial truncation section when an obstacle is encountered during the process of traveling along the planned path in the first planned section; When the vehicle reaches the third planned section according to the planned path and completes the third planned section, the third planned section is marked as an end cut-off section; Acquire the second end point of the ending truncation section and the end point of the initial truncation section; Navigating from the second end point to the end point of the initial truncated section; Traveling in reverse direction along the initial cut-off section from the end point of the initial cut-off section to determine a second starting point, and starting a travel covering backfilling mode from the second starting point; The cleaning device is used for cleaning the surface to be cleaned.