Self-adaptive FMT* path planning method based on convex angle point search

The adaptive FMT* path planning method based on convex corner point search solves the shortcomings of the traditional FMT* algorithm in search efficiency and certainty of the number of sampling points, achieves more efficient path planning, and enhances the practicality of mobile robot path planning. sex.

CN118533192APending Publication Date: 2024-08-23NORTHEASTERN UNIV AT QINHUANGDAO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410597429.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-14
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

The traditional FMT* algorithm has the problems of low search efficiency and difficulty in determining the number of sampling points in path planning, resulting in low practicality.

Method used

The adaptive FMT* path planning method based on convex point search is adopted. Through lazy neighbor determination and improved equidistant sampling and search radius, the number of sampling points is adaptively determined to improve search efficiency and the practicality of path planning.

Benefits of technology

It reduces the calculation amount of unnecessary nodes, improves the search efficiency and the accuracy of path planning, reduces the redundant search problem of the traditional FMT* algorithm, and enhances the practicality of path planning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118533192A
    Figure CN118533192A
Patent Text Reader

Abstract

The invention provides a self-adaptive FMT * path planning method based on convex corner point search, and relates to the technical field of path planning, and the method comprises the steps: firstly designing an obstacle edge convex corner point detector to detect a key convex corner point grid which may form a shortest path; secondly, convex corner points are classified, and a lazy neighbor judgment method is designed according to the position relation between the convex corner points and obstacles; and finally, designing self-adaptive equidistant sampling points and search radiuses in a mode of simulating maps with different precisions according to the number of convex corner points and the size of the map. Simulation results of multiple types of maps show that compared with a traditional rapid tree path planning method, the path planning method not only can improve the quality of the path, but also can improve the search efficiency, and simulation experiments verify the superiority and effectiveness of the proposed method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of path planning, and in particular to an adaptive FMT* path planning method based on convex corner point search. Background Art

[0002] In recent years, mobile robots have been widely used in various industries, such as traction robots in industrial manufacturing, sorting robots in the logistics industry, and food delivery robots in the catering service industry. With the increasing application of mobile robots, path planning technology, that is, finding an optimal path from the starting point to the target point in a specified space without colliding with obstacles, has become a key criterion for judging whether the performance of mobile robots is excellent. At present, the mainstream path planning algorithms can be divided into two categories, namely traditional algorithms and intelligent algorithms. Among them, traditional algorithms include A* algorithm, Rapidly-exploring Random Tree (RRT) algorithm, artificial potential field method, Fast Marching Tree (FMT*) algorithm, etc. Intelligent algorithms include ant colony algorithm, genetic algorithm, particle swarm algorithm, etc. In traditional algorithms, sampling-based algorithm iteration has been widely welcomed so far.

[0003] The FMT* algorithm is a multi-query sampling-based progressive optimal path planning algorithm that combines breadth-first search and parent node optimization mechanism. However, the breadth-first search method also leads to limitations in the efficiency of FMT* in searching paths. In addition, FMT* progressive search is different from RRT*. The quality of the path searched by FMT* depends on the number of sampling points set manually, which makes FMT* not very practical. Summary of the invention

[0004] In view of the shortcomings of the prior art, the present invention provides an adaptive FMT* path planning method based on convex corner point search, which realizes a mobile robot path planning method that adaptively determines the number of sampling points, improves search efficiency, and enhances practicality. Through convex corner point search, lazy neighbor judgment, improved adaptive equidistant sampling and improved neighbor search radius, the shortest path planning of the mobile robot is realized;

[0005] An adaptive FMT* path planning method based on convex corner point search comprises the following steps:

[0006] Step 1: Create a rectangular grid map, search and classify the convex corner points in the rectangular grid map, perform equidistant sampling according to the equidistant sampling method, and establish an unvisited grid set G unvisited , the convex corner point G Convex , equidistant sampling points G Sample and the end point x goal Join G unvisitedIn the example above, we create an exploration grid set G open , the starting point x init Add G open In the example, set the starting cost c(x init )=0, establish the explored grid set G closed , and set

[0007] The specific process of searching and classifying salient corner points in a rectangular grid map is as follows:

[0008] For a free grid G, set its coordinates to (x, y), and its eight neighboring grids have coordinates of (x-1, y+1), (x, y+1), (x+1, y+1), (x-1, y), (x+1, y), (x-1, y-1), (x, y-1), (x+1, y-1). If there is only one obstacle grid among the eight neighboring grids, and the coordinates of the obstacle grid are (x-1, y+1), (x+1, y+1), then the obstacle grid will be in the same grid as the one in the grid. +1), (x-1, y-1), (x+1, y-1), that is, the free grid and its only neighbor obstacle grid are in a diagonal position relationship, then the grid G ​​is a convex corner point; if the convex corner point is at the upper left of the obstacle grid, the convex corner point is UL type, if the convex corner point is at the upper right of the obstacle, the convex corner point is UR type, if the convex corner point is at the lower left of the obstacle, the convex corner point is BL type, if the convex corner point is at the lower right of the obstacle, the convex corner point is BR type;

[0009] The equidistant sampling method determines the number of sampling points according to the number of convex corner points and the map size, and the number of equidistant sampling grids N sample Calculation method:

[0010]

[0011] Where N convex is the number of convex corners, W is the map width, and H is the map height.

[0012] The method for calculating the coordinates of sampling points for equidistant sampling according to the equidistant sampling method is as follows:

[0013] For a rectangular grid map, its width is W, its height is H, and the equally spaced sampling interval is The number of equally spaced sampling grids in the horizontal direction is The number of equally spaced sampling grids in the vertical direction is

[0014] Then the coordinate calculation method of the (i, j)th equally spaced sampling grid g(i, j) is:

[0015]

[0016] where i=1,2,…sw , j = 1, 2, ... s h , when s w 、s h is the number of grids, when s w 、s h If the value is not an integer, it will be rounded off.

[0017] According to the number of convex corner points N convex , map size, and equidistant sampling interval d sample Determine the improved neighbor search radius Rn, Rn calculation method:

[0018]

[0019] Step 2: Determine the exploration grid set G open Is it empty? If G open Is empty, jump to step 8. If G open If it is not empty, jump to step 3;

[0020] Step 3: Select the exploration grid set G open The minimum value grid z in the middle generation, determine whether z is the target point, if z is the target point, jump to step 9, if z is not the target point, jump to step 4;

[0021] Step 4: Search for the unvisited grid set G unvisited With z as the center, r n The unvisited grids within the circle of radius g unvisited , add the unvisited grids in the circle to the temporary unvisited neighbor grid set X near ;

[0022] Step 5: For each unvisited neighbor grid x∈X near , search the explored grid set G open With x as the center, r n The explored grid within the circle with radius g open , and the g in the circle open The grid is added to the temporary explored grid set Y near , get the grid y with the minimum cost min ;

[0023] The grid y with the minimum cost is obtained min Specifically: For each grid y∈Y near , calculate the cost Cost(y,x) from each grid y to grid x, which is the Euclidean distance, ignoring the existence of obstacles, and calculate the distance from the starting point x init Through the temporary cost set {Cost(y)+Cost(y,x)} from each grid y to grid x, select the grid with the smallest cost in the temporary cost set and record it as ymin , where the grid x cost calculation formula is:

[0024] Cost(x)=Cost(y min )+Cost(y min ,x)

[0025] Step 6: Use lazy neighbor judgment to determine y min Whether it forms a neighbor relationship with x, if y min Form a neighbor relationship with x, and move x from G unvisited Remove and add to G open In the example, change z from G open Remove and add to G closed middle.

[0026] The lazy neighbor judgment method is as follows:

[0027] Set the currently selected grid g current The coordinates are (x cur ,y cur ), the convex corner point g that needs to be judged whether it forms a neighbor relationship i The coordinates are (x i ,y i ), calculate g current and g i The coordinate difference, the horizontal coordinate difference dif x =x i -x cur , the vertical coordinate difference dif y =y i -y cur ; When dif x ≤0 and dif y ≥0, or dif x ≥0 and dif y ≤0, if the salient corner point is UR or LB, keep the g i ; When dif x ≥0 and dif y ≥0, or dif x ≤0 and dif y ≤0, if the salient corner point is of LU or RB type, keep the g i ; Finally, use the line of sight method to determine the retained g i and g current Is there an obstacle between them? If there is no obstacle, the two grids form a neighbor relationship;

[0028] Step 7: After exploring each unvisited neighbor grid x of z, jump to step 2.

[0029] Step 8: Path search fails and the search ends.

[0030] Step 9: Use the greedy method to backtrack to the starting point, output the path result, and the search ends.

[0031] The beneficial effects of adopting the above technical solution are:

[0032] The present invention provides an adaptive FMT* path planning method based on convex corner point search. In a two-dimensional map with obstacles, if there is a shortest path between two points in a feasible area, any section of the shortest path trajectory must be a straight line or the boundary of an obstacle. By using the obstacle boundary distribution information, the potential path planning space can be reduced, and the key turning points on the shortest path can be quickly searched, thereby reducing the calculation amount of unnecessary nodes.

[0033] The lazy neighbor judgment method prioritizes confirming whether the grid to be judged may constitute the key turning point of the shortest path. Only the grid that may become the key turning point is judged by the line of sight method. This method reduces the number of times the line of sight method is used, improves the redundant search problem of the traditional FMT* algorithm, and improves the search efficiency.

[0034] The number of initial sampling points is adaptively determined according to the number of convex corner points and map size. Equidistant sampling is designed by simulating maps of different precisions and the search radius of uneven sampling point distribution is redesigned. This improves the problem of the difficulty in determining the number of initial sampling points in the traditional FMT* algorithm and improves its practicability. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 It is a flow chart of an adaptive FMT* path planning method based on salient corner point search in an embodiment of the present invention;

[0036] Figure 2 Schematic diagram of the execution process of adaptive FMT* path planning based on salient corner point search in an embodiment of the present invention;

[0037] in, Figure 2 In (a), G is selected. open The grid z with the minimum internal cost and the unvisited grids around z are searched. Figure 2 (b) The local shortest connection is performed on one of the unvisited grids x around z. Figure 2 (c) x is successfully connected to the fast progress tree. Figure 2 (d) Middle G open The search for the grid z with the minimum internal cost has been completed, and all grids have been updated.

[0038] Figure 3 Schematic diagram of lazy neighbor judgment in an embodiment of the present invention.

[0039] Figure 4It is the search result of the adaptive FMT* path planning method based on salient corner point search in Map1 to Map6 in an embodiment of the present invention.

[0040] in Figure 4 (a) is the search result of Map1. Figure 4 (b) is the search result of Map2. Figure 4 (c) is the search result of Map3. Figure 4 (d) is the Map4 search result. Figure 4 (e) is the search result of Map5. Figure 4 (f) is the Map6 search result. DETAILED DESCRIPTION

[0041] The specific implementation of the present invention is further described in detail below in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0042] An adaptive FMT* path planning method based on convex corner search, such as Figure 1 As shown, the following steps are included:

[0043] Step 1: Create a rectangular grid map, search and classify the convex corner points in the rectangular grid map, perform equidistant sampling according to the equidistant sampling method, and establish an unvisited grid set G unvisited , the convex corner point G Convex , equidistant sampling points G Sample and the end point x goal Join G unvisited In the example above, we create an exploration grid set G open , the starting point x init Add G open In the example, set the starting cost c(x init )=0, establish the explored grid set G closed , and set G unvisited G is the set of all grids that have not been added to the quick progress tree. open is a set of grids that have been added to the quick progress tree and can be further connected. closed A collection of rasters that have been added to the quick-run tree and cannot generate new connections.

[0044] The specific process of searching and classifying salient corner points in a rectangular grid map is as follows:

[0045] For a free grid G, set its coordinates to (x, y), and its eight neighbor grid coordinates to (x-1, y+1), (x, y+1), (x+1, y+1), (x-1, y), (x+1, y), (x-1, y-1), (x, y-1), (x+1, y-1), if there is only one obstacle grid among the eight neighbor grids, and the obstacle grid coordinates are (x-1, y+1), (x+1, y+1), (x-1 ,y-1), (x+1,y-1), that is, the free grid and its only neighbor obstacle grid have a diagonal position relationship relative to each other, then the grid G ​​is a convex corner point; if the convex corner point is at the upper left of the obstacle grid, the convex corner point is UL type, if the convex corner point is at the upper right of the obstacle, the convex corner point is UR type, if the convex corner point is at the lower left of the obstacle, the convex corner point is BL type, if the convex corner point is at the lower right of the obstacle, the convex corner point is BR type; the purpose of classification is to speed up the subsequent neighbor determination.

[0046] When the obstacles in the map are mostly rectangular and the number of convex corners is small, reduce the number of sampling points and increase the search radius to speed up the search. When the obstacle edges in the map are arc-shaped and there are many convex corners, increase the number of sampling points and reduce the search radius to reduce unnecessary line-of-sight obstacle checks and speed up the search.

[0047] The equidistant sampling method determines the number of sampling points according to the number of convex corner points and the map size, and the number of equidistant sampling grids N sample Calculation method:

[0048]

[0049] Where N convex is the number of convex corners, W is the map width, and H is the map height.

[0050] The method for calculating the coordinates of sampling points for equidistant sampling according to the equidistant sampling method is as follows:

[0051] For a rectangular grid map, its width is W, its height is H, and the equally spaced sampling interval is The number of equally spaced sampling grids in the horizontal direction is The number of equally spaced sampling grids in the vertical direction is

[0052] Then the coordinate calculation method of the (i, j)th equally spaced sampling grid g(i, j) is:

[0053]

[0054] where i=1,2,…s w , j = 1, 2, ... s h , when s w 、s his the number of grids, when s w 、s h If the value is not an integer, it will be rounded off.

[0055] In order to ensure that the tree can grow normally, it is necessary to ensure that the search radius is larger than the sampling interval, and a new search radius formula is designed. convex , map size, and equidistant sampling interval d sample Determine the improved neighbor search radius Rn, Rn calculation method:

[0056]

[0057] Step 2: If Figure 2 As shown in (a), determine the exploration grid set G open Is it empty? If G open Is empty, jump to step 8. If G open If it is not empty, jump to step 3;

[0058] Step 3: Select the exploration grid set G open The minimum value grid z in the middle generation, determine whether z is the target point, if z is the target point, jump to step 9, if z is not the target point, jump to step 4;

[0059] Step 4: Search for the unvisited grid set G unvisited With z as the center, r n The unvisited grids within the circle of radius g unvisited , add the unvisited grids in the circle to the temporary unvisited neighbor grid set X near ;

[0060] Step 5: Figure 2 As shown in (b), for each unvisited neighbor grid x∈X near , search the explored grid set G open With x as the center, r n The explored grid within the circle with radius g open , and the g in the circle open The grid is added to the temporary explored grid set Y near , get the grid y with the minimum cost min ;

[0061] The grid y with the minimum cost is obtained min Specifically: For each grid y∈Y near , calculate the cost Cost(y,x) from each grid y to grid x, which is the Euclidean distance, ignoring the existence of obstacles, and calculate the distance from the starting point x initThrough the temporary cost set {Cost(y)+Cost(y,x)} from each grid y to grid x, select the grid with the smallest cost in the temporary cost set and record it as y min , where the grid x cost calculation formula is:

[0062] Cost(x)=Cost(y min )+Cost(y min ,x)

[0063] Step 6: Figure 2 As shown in (c), the lazy neighbor judgment method is used to judge y min Whether it forms a neighbor relationship with x, if y min Form a neighbor relationship with x, and move x from G unvisited Remove and add to G open In the example, change z from G open Remove and add to G closed middle.

[0064] The lazy neighbor judgment method is as follows:

[0065] Set the currently selected grid g current The coordinates are (x cur ,y cur ), the convex corner point g that needs to be judged whether it forms a neighbor relationship i The coordinates are (x i ,y i ), calculate g current and g i The coordinate difference, the horizontal coordinate difference dif x =x i -x cur , the vertical coordinate difference dif y =y i -y cur ; When dif x ≤0 and dif y ≥0, or dif x ≥0 and dif y ≤0, if the salient corner point is UR or LB, keep the g i ; When dif x ≥0 and dif y ≥0, or dif x ≤0 and dif y ≤0, if the salient corner point is of LU or RB type, keep the g i ; Finally, use the line of sight method to determine the retained g i and g current Is there an obstacle between them? If there is no obstacle, the two grids form a neighbor relationship;

[0066] like Figure 3 As shown, in this embodiment, the currently selected grid g current The upper left corner is the five-pointed star position grid. The convex corner points that need to be judged whether they form a neighbor relationship are black grids, but only the convex corner points within the ellipse dotted line may become the turning points of the shortest path.

[0067] Step 7: Figure 2 As shown in (d), after each unvisited neighbor grid x of z is explored, jump to step 2.

[0068] Step 8: Path search fails and the search ends.

[0069] Step 9: Use the greedy method to backtrack to the starting point, output the path result, and the search ends.

[0070] In order to verify the performance of the improved FMT* method based on convex corner point search proposed in the embodiment, the FMT* algorithm, LAT* algorithm and A* algorithm were selected for comparison with the method of the present invention. The size of the simulation experiment map is 500×500 grids, and all obstacles are expanded according to 3 grid units. In order to ensure the fairness of the comparison, it is necessary to control the path length searched by FMT* to converge to within 1.1 times the shortest path length. The number of sampling points of the FMT* algorithm is 500, and all experimental data are taken as the average value of 50 rounds of experiments.

[0071] The results of searching in Map1 to Map6 using the method proposed in the embodiment are as follows: Figure 4 (a)- Figure 4 As shown in (f), the starting point coordinates are (20,480) and the end point coordinates are (480,20).

[0072] Planning time and path length are introduced as performance indicators for evaluation. The path planning time comparison is shown in Table 1, and the path planning length comparison is shown in Table 2.

[0073] It can be found from Table 1 and Table 2 that the planning path length and planning time of the method of the present invention are shorter than those of the FMT* algorithm and the A* algorithm. Compared with the LTA* algorithm, the path planning length of the method of the present invention is close to the shortest, while the path planning time is significantly shortened, which also shows that the method of the present invention has better map adaptability.

[0074] Table 1 Comparison of path planning time

[0075]

[0076] Table 2 Comparison of path planning lengths

[0077]

[0078] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) to form a technical solution.

Claims

1. An adaptive FMT* path planning method based on salient corner point search, characterized in that: The following steps are involved: Step 1: Create a rectangular grid map, search for and classify the convex corner points in the rectangular grid map; perform equidistant sampling according to the equidistant sampling method to establish an unvisited grid set G unvisited , the convex corner point G Convex , equidistant sampling points G Sample and the end point x goal Join G unvisited In the example above, we create an exploration grid set G open , the starting point x init Add G open In the example, we set the starting cost c(x init )=0, establish the explored grid set G closed , and set Step 2: Determine the exploration grid set G open Is it empty? If G open Is empty, jump to step 8. If G open If it is not empty, jump to step 3; Step 3: Select the exploration grid set G open The minimum value grid z in the middle generation, determine whether z is the target point, if z is the target point, jump to step 9, if z is not the target point, jump to step 4; Step 4: Search for the unvisited grid set G unvisited With z as the center, r n The unvisited grids within the circle of radius g unvisited , add the unvisited grids in the circle to the temporary unvisited neighbor grid set X near ; Step 5: For each unvisited neighbor grid x∈X near , search the explored grid set G open With x as the center, r n The explored grid within the circle with radius g open , the g in the circle open The grid is added to the temporary explored grid set Y near , get the grid y with the minimum cost min ; Step 6: Use lazy neighbor judgment to determine y min Whether it forms a neighbor relationship with x, if y min Form a neighbor relationship with x, and move x from G unvisited Remove and add to G open In the example, change z from G open Remove and add to G closed middle; Step 7: After exploring all the unvisited neighbor grids x of z, jump to step 2; Step 8: Path search fails and the search ends; Step 9: Use the greedy method to backtrack to the starting point, output the path result, and the search ends.

2. The adaptive FMT* path planning method based on salient corner point search according to claim 1 is characterized in that: The specific process of searching and classifying the salient corner points in the rectangular grid map described in step 1 is as follows: For a free grid G, set its coordinates to (x, y), and its eight neighboring grids have coordinates of (x-1, y+1), (x, y+1), (x+1, y+1), (x-1, y), (x+1, y), (x-1, y-1), (x, y-1), (x+1, y-1). If there is only one obstacle grid among the eight neighboring grids, and the coordinates of the obstacle grid are (x-1, y+1), (x+1, y+1), then the obstacle grid will be in the same grid as the one in the grid. +1), (x-1, y-1), (x+1, y-1), that is, the free grid and its only neighbor obstacle grid are in a diagonal position relationship, then the grid G ​​is a convex corner point; if the convex corner point is at the upper left of the obstacle grid, the convex corner point is UL type, if the convex corner point is at the upper right of the obstacle, the convex corner point is UR type, if the convex corner point is at the lower left of the obstacle, the convex corner point is BL type, if the convex corner point is at the lower right of the obstacle, the convex corner point is BR type.

3. The adaptive FMT* path planning method based on salient corner point search according to claim 1 is characterized in that: The equidistant sampling method described in step 1 determines the number of sampling points according to the number of convex corner points and the map size, and the number of equidistant sampling grids N sample Calculation method: Where N convex is the number of convex corner points, W is the map width, and H is the map height; The method for calculating the coordinates of sampling points for equidistant sampling according to the equidistant sampling method is as follows: For a rectangular grid map, its width is W, its height is H, and the equally spaced sampling interval is The number of equally spaced sampling grids in the horizontal direction is The number of equally spaced sampling grids in the vertical direction is Then the coordinate calculation method of the (i, j)th equally spaced sampling grid g(i, j) is: where i=1,2,…s w , j=1,2,…s h , when s w 、s h is the number of grids, when s w 、s h If the value is not an integer, it will be rounded off. According to the number of convex corner points N convex , map size, and equidistant sampling interval d sample Determine the improved neighbor search radius Rn, Rn calculation method:

4. The adaptive FMT* path planning method based on salient corner point search according to claim 1 is characterized in that: The grid y with the minimum cost is obtained as described in step 5 min Specifically: For each grid y∈Y near , calculate the cost Cost(y,x) from each grid y to grid x, which is the Euclidean distance, ignoring the existence of obstacles, and calculate the distance from the starting point x init Through the temporary cost set {Cost(y)+Cost(y,x)} from each grid y to grid x, select the grid with the smallest cost in the temporary cost set and record it as y min , where the grid x cost calculation formula is: Cost(x)=Cost(y min )+Cost(y min ,x)。 5. The adaptive FMT* path planning method based on salient corner point search according to claim 1, characterized in that: The lazy neighbor judgment method described in step 6 is as follows: Set the currently selected grid g current The coordinates are (x cur ,y cur ), the convex corner point g that needs to be judged whether it forms a neighbor relationship i The coordinates are (x i ,y i ), calculate g current and g i The coordinate difference, the horizontal coordinate difference dif x =x i -x cur , the vertical coordinate difference dif y =y i -y cur ; When dif x ≤0 and dif y ≥0, or dif x ≥0 and dif y ≤0, if the salient corner point is UR or LB, keep the g i ; When dif x ≥0 and dif y ≥0, or dif x ≤0 and dif y ≤0, if the salient corner point is of LU or RB type, keep the g i ; Finally, use the line of sight method to determine the retained g i and g current Is there an obstacle between them? If there is no obstacle, the two grids form a neighbor relationship.