A*- RRT algorithm robot path planning method suitable for complex underground environment

By combining RRT and A* algorithms and the concept of air flight corridors, the problem of low path planning efficiency and accuracy in complex underground environments is solved, and efficient and safe path planning is achieved.

CN118999566APending Publication Date: 2024-11-22DALIAN UNIV OF TECH
View PDF 0 Cites 8 Cited by

Patent Information

Application Number
CN202411091128.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

Traditional path planning algorithms have high computational complexity and low efficiency in complex downhole environments, and the paths generated by the RRT algorithm are rough and are not suitable for high-precision path planning.

Method used

Combining RRT and A* algorithms, paths are quickly generated through RRT and refined using A* algorithm, introducing the concept of aerial flight corridors, and optimizing paths to improve efficiency and accuracy.

Benefits of technology

It significantly improves the efficiency and accuracy, adaptability and robustness of path planning, ensuring safe navigation of robots in complex environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118999566A_ABST
    Figure CN118999566A_ABST
Patent Text Reader

Abstract

The invention discloses an A *-RRT algorithm robot path planning method suitable for a complex underground environment, and the method comprises the steps: firstly initializing a starting point and an end point, carrying out the path exploration through an RRT algorithm, and forming a path reaching the end point through random sampling and a nearest neighbor connection strategy. And then, refining the path generated by the RRT algorithm through the A * algorithm, and searching an optimized path with lower cost through cost function evaluation. In order to enhance the obstacle avoidance capability of the robot, an air flight corridor concept is introduced to further optimize the route, and the robustness of path planning is improved. Besides, compared with the prior art, the method has higher adaptability and flexibility, particularly in underground scenes with dense obstacles or frequent environment change, the efficiency and success rate of path planning can be remarkably improved, and meanwhile the path failure risk caused by environment uncertainty is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of robot path planning, and in particular to an A*-RRT algorithm robot path planning method suitable for complex underground environments. Background Art

[0002] Robot path planning is an important research direction in robotics technology, which mainly solves the problem of safe walking paths for robots from the starting point to the target point in complex environments. Although traditional path planning algorithms such as Dijkstra and A* can find the optimal path in a static environment, they often show problems such as high computational complexity and low efficiency when dealing with dynamic environments or high-dimensional spaces. In contrast, the rapid random tree (RRT) algorithm has attracted widespread attention due to its ability to quickly generate collision-free paths and its superior performance in dynamic and high-dimensional spaces. However, the paths generated by the RRT algorithm are usually rough and are not suitable for application scenarios that require high-precision path planning. Summary of the invention

[0003] The purpose of the present invention is to provide an A*-RRT algorithm robot path planning method suitable for complex underground environments, which utilizes the fast path generation capability of RRT and the path optimization characteristics of the A* algorithm to significantly improve the efficiency and accuracy of path planning.

[0004] In one aspect of the present invention, the present invention proposes an A*-RRT algorithm robot path planning method suitable for complex underground environments. According to an embodiment of the present invention, the method comprises the following steps:

[0005] S1, system initialization: initialize the map environment information, define the search space and the starting point and end point, initialize the tree, use the starting point as the root node of the tree, set the step size and the maximum number of iterations;

[0006] S2. Path exploration based on the RRT algorithm: In the underground environment, random sampling is performed based on the defined robot starting point as the initial point tree, and a sampling point is randomly selected from the free space of the underground environment each time; the random sampling point and the nearest node in the current RRT tree are determined, and the distance between the two is calculated. Under the premise of meeting the maximum path length limit, the nearest node and the sampling point are tried to be connected to form a new path segment, and collision detection is performed on the newly formed path segment to ensure that the path segment does not collide with obstacles in the underground environment. If the path segment collides with the environment, the path segment is abandoned and random sampling is performed again. If there is no collision, the new node is added to the RRT tree, and the random sampling and connection steps are repeated until the distance between a node in the RRT tree and the robot's target point is less than the preset threshold, forming a preliminary path to the target point;

[0007] S3, A* path optimization: Use the A* algorithm to refine the preliminary path generated by RRT and find a lower-cost optimized path through cost function evaluation;

[0008] S4. Aerial flight corridor: Based on the characteristics of the underground environment, the concept of aerial flight corridor is introduced to further optimize the path to improve obstacle avoidance capability and path planning efficiency.

[0009] In addition, the A*-RRT algorithm robot path planning method applicable to a complex underground environment according to the above embodiment of the present invention may also have the following additional technical features:

[0010] In some embodiments of the present invention, in step S1, the map environment information includes a starting point, a target point, and obstacle positions; random sampling is performed in the underground environment based on the defined robot starting point as an initial point tree.

[0011] In some embodiments of the present invention, step S2 is specifically as follows:

[0012] S201, randomly generate a point q in the search space rand ;

[0013] When an obstacle-dense area is detected, reducing the step size ΔS increases the precision of the path. Therefore, the step size used in the obstacle-dense area is ΔS. dense =min(ΔS max )·f(ρ), where f(ρ) is a decreasing function of the density of obstacles, ΔS max is the maximum step length;

[0014] On the contrary, in areas with sparse obstacles, the step size is increased to improve exploration efficiency. The step size used in areas with sparse obstacles is ΔS sparse =max(ΔS min )·g(ρ), where g(ρ) is an increasing function of the density of obstacles, ΔS min is the minimum value of the step length;

[0015] The nodes in the RRT tree are evaluated using the node importance evaluation mechanism:

[0016] Frontier F(n) is defined as the distance d from node n to the nearest obstacle obstacle (n), that is

[0017]

[0018] Connectivity C(n) is defined as the inverse of the average distance d(n) from node n to other nodes, that is,

[0019]

[0020] The evaluation function E(n) formula is E(n)=w F F(n)+w C C(n), where w F and w c are their respective weight coefficients;

[0021] Select the node with the highest evaluation value, that is, n best = arg max n∈RRTtree E(n) is expanded first;

[0022] S202, find the distance q in the tree rand The nearest node q nearest , select the optimal node q through the evaluation function E(n) nearest Perform path expansion;

[0023] S203, from q nearest Hajj rand Move a predetermined step in the direction to generate a new node q new , build the path step by step;

[0024] S204, check from q nearest to q new Whether the path encounters an obstacle, if not, q new Add to the tree T and add q new With q nearest connect;

[0025] S205, check q new Is it at the end point q goal If so, the path is generated successfully and the algorithm ends; if the end point is not reached, return to step S201 and continue to generate random points;

[0026] S206, from the end point q goal Back to the starting point q start , extract the path for subsequent path optimization.

[0027] In some embodiments of the present invention, step S3 includes the following steps: defining the actual cost as the path length, the path curvature, and the distance between the path and the obstacle; applying the heuristic function search strategy of the A* algorithm, starting from the end point of the preliminary path generated by RRT, and gradually performing reverse search and optimization along the direction of the initial path toward the starting point; in each expansion step, selecting the adjacent nodes of the current node as candidate nodes, and calculating their actual costs and heuristic estimated values; after comprehensive evaluation, selecting the candidate nodes with the lowest cost for expansion, and gradually improving the path; wherein the heuristic function uses the Euclidean distance to estimate the distance from the current node to the target point; introducing an iterative optimization process, and gradually improving the path through multiple iterative A* searches, and fine-tuning the actual cost after each iteration to adapt to environmental changes or changes in the robot's motion characteristics.

[0028] In some embodiments of the present invention, the calculation formulas for the path length L, the path curvature K, the distance D between the path and the obstacle, and the actual cost G are as follows:

[0029]

[0030] In the formula, (x i+1 ,y i+1 ) is the coordinate of the i+1th point on the path, (x i ,y i ) are the coordinates of the i-th point on the path:

[0031]

[0032] In the formula, θ i is the angle of the i-th point on the path, θ i+1 is the angle of the i+1th point on the path, d i is the length of the i-th segment on the path, and n is the total number of sampling points;

[0033]

[0034] Where, d obsi is the distance between the i-th point on the path and the nearest obstacle;

[0035] G=w L L+w K K+w D D

[0036] In the formula, w L 、w K and w D They are the weight coefficients of path length, path curvature and the distance between the path and obstacles.

[0037] In some embodiments of the present invention, step S3 is specifically as follows: applying the heuristic search strategy of the A* algorithm to obtain the end point q of the preliminary path generated by the RRT goal Start, follow the initial path direction, and gradually move towards the starting point q start In each expansion step, select the adjacent node n of the current node n. next As a candidate node, and calculate the actual cost G(n next ) and the heuristic estimate H(n next ).

[0038] S301, initialization: set the end point q goal As the initial node, set the open list O = {q goal}, closed list Define the function cost function value f(n) = G(n) + H(n), where G(n) represents the value of the function from the starting point q start The actual path cost to the current node n, H(n) is the cost from the current node n to the target point q goal Heuristic estimation cost of ;

[0039] S302, select the node n with the smallest cost function value f(n) in the open list for expansion:

[0040]

[0041] S303: Calculate the adjacent node n of the current node n next The actual cost G(n next ) and the heuristic estimate H(n next );

[0042] S304, move the current node n to the closed list J, and its adjacent node n next Add to the open list O;

[0043] S305, repeat steps S302-S304 until the starting point q is found start or the open list is empty;

[0044] S306, introducing an iterative optimization process, and gradually improving the path through multiple iterative A* searches until a predetermined optimization accuracy or number of iterations is reached.

[0045] In some embodiments of the present invention, step S4 is specifically as follows:

[0046] S401, selecting any adjacent path points in the path optimized by the A* algorithm, determining the midpoint of the path as the center of the sphere, and constructing a sphere with half the path length as the radius;

[0047] S402, adjusting the lengths of the other two coordinate axes of the sphere according to the spatial layout around the path point and the distribution of obstacles, and shrinking the sphere to obtain a collision-free maximum ellipsoid;

[0048] S403, using the intersection of the ellipsoid and the obstacle as a tangent point, constructing a section plane, which separates the ellipsoid from the obstacle to form a half-space that does not contain the obstacle, repeating this process, each time considering the next obstacle around the path point, and constructing a new section plane;

[0049] S404, obtaining a convex polyhedron by the intersection of multiple cut surfaces, wherein the space inside the convex polyhedron is a closed space without obstacles, providing a safe navigation area for the robot;

[0050] S405, setting a bounding box to limit the expansion of the ellipsoid, when the ellipsoid reaches the bounding box in a certain direction without hitting an obstacle, the bounding box is used as a dividing surface to prevent the ellipsoid from expanding indefinitely;

[0051] S406, shrinking the convex polyhedron set according to the size and shape of the robot to form a final safe flight corridor;

[0052] S407. In the process of generating the aerial flight corridor, monitor the environmental changes and the robot status in real time, and dynamically adjust the parameters of the ellipsoid and the convex polyhedron.

[0053] Compared with the prior art, the present invention has the following beneficial effects:

[0054] (1) The present invention introduces the A* algorithm to refine the path generated by RRT. As a heuristic search algorithm, the A* algorithm can find a lower-cost optimized path based on a known path through cost function evaluation, thereby improving the smoothness and feasibility of the path.

[0055] (2) The present invention also introduces the concept of aerial flight corridors to further improve the robot's obstacle avoidance ability and path planning efficiency in underground environments. This concept is particularly suitable for underground environments with dense obstacles and can significantly improve the success rate and efficiency of path planning. The aerial flight corridor provides a safe navigation area for the robot by constructing a collision-free closed space, ensuring the reliability and safety of the path.

[0056] (3) The A*-RRT algorithm of the present invention has been significantly improved in adaptability, efficiency and robustness. Specifically, it has strong adaptability: it can quickly generate a collision-free path in a complex, high-dimensional underground environment, and refine and optimize the path to improve the smoothness and feasibility of the path; it can effectively solve complex path planning problems in the underground environment, and provide important technical support for the application of robots in dynamic and high-dimensional spaces. High efficiency: the random sampling and tree structure expansion of the RRT algorithm make the path generation speed faster, which is suitable for real-time path planning needs. The heuristic search of the A* algorithm further optimizes the path and improves the efficiency of path planning. High robustness: the introduction of the concept of aerial flight corridors ensures that the robot can avoid all obstacles in a complex environment, improving the robustness and safety of path planning. Dynamic adjustment: using an adaptive step size strategy and a node importance evaluation mechanism, the path planning parameters are dynamically adjusted according to the complexity of the underground environment, further improving the accuracy and efficiency of path planning. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 A schematic flow chart of an A*-RRT algorithm robot path planning method applicable to a complex underground environment in an embodiment of the present invention;

[0058] Figure 2 This is a schematic diagram of the RRT path exploration process in an embodiment of the present invention;

[0059] Figure 3 A schematic diagram of A* path optimization in an embodiment of the present invention;

[0060] Figure 4 Schematic diagram of polygon generation of an aerial flight corridor in an embodiment of the present invention, (a), (b), and (c) are schematic diagrams of ellipse generation of a local path, a division boundary diagram, and a convex polygon generation diagram, respectively. DETAILED DESCRIPTION

[0061] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0062] like Figure 1 As shown, an A*-RRT algorithm robot path planning method suitable for complex underground environments includes the following steps:

[0063] 1. System initialization.

[0064] (1) Initialize the map environment information, including the starting point, target point, and obstacle location information;

[0065] (2) Define the search space and starting point q start , end point q goal , and initialize the two-dimensional grid map, initialize the tree T, and set the starting point q start As the root node of the tree. The step size δ is set in the range of 0.5 to 1 meter, and the maximum number of iterations N is set to 1000 times. The program termination condition is set to the number of iterations greater than the maximum number of iterations.

[0066] 2. Path exploration based on RRT algorithm, such as Figure 2 shown.

[0067] Initialize the parameters of the RRT algorithm, including the maximum number of iterations, the maximum path length, and the range of random sampling. In the underground environment, use the defined robot starting point as the initial point tree to perform random sampling, and randomly select a sampling point from the free space of the underground environment each time. Determine the random sampling point and the nearest node in the current RRT tree, calculate the distance between the two, and try to connect the nearest node and the sampling point to form a new path segment under the premise of meeting the maximum path length limit. Perform collision detection on the newly formed path segment to ensure that the path segment does not collide with obstacles in the underground environment. If the path segment collides with the environment, abandon the path segment and re-execute random sampling. If there is no collision, add the new node to the RRT tree, and repeat the random sampling and connection steps until the distance between a node in the RRT tree and the robot's target point is less than the preset threshold, forming a preliminary path to the target point.

[0068] An adaptive step-size strategy is adopted to dynamically adjust the connection distance between the sampling point and the nearest node according to the density of obstacles in the underground environment. The step-size is reduced in the obstacle-dense area to increase the precision of the path, and the step-size is increased in the obstacle-sparse area to improve the exploration efficiency. The node importance evaluation mechanism is used to evaluate the nodes in the RRT tree, and those nodes that contribute more to path optimization are expanded first. The most potential nodes are selected for expansion by calculating the frontier and connectivity indicators of the nodes.

[0069] The specific steps are as follows:

[0070] (1) Randomly generate a point q in the search space rand This step randomly selects a position in the given search space to ensure that the algorithm explores potential paths in the entire space. In order to improve efficiency, a heuristic method is used to set the sampling points, and the density of sampling points is increased in areas with dense obstacles to better avoid obstacles. The specific operations are as follows;

[0071] When an obstacle-dense area is detected, the step size ΔS is reduced to increase the precision of the path. Therefore, the step size used in the obstacle-dense area is ΔS.dense =min(ΔS max )·f(ρ), where f(ρ) is a decreasing function of the density of obstacles, ΔS max is the maximum step size.

[0072] On the contrary, in areas with sparse obstacles, the step size is increased to improve exploration efficiency. The step size used in areas with sparse obstacles is ΔS sparse =max(ΔS min )·g(ρ), where g(ρ) is an increasing function of the density of obstacles, ΔS min is the minimum step size.

[0073] The nodes in the RRT tree are evaluated using the node importance evaluation mechanism.

[0074] Frontier F(n) is defined as the distance d from node n to the nearest obstacle obstacle (n), that is

[0075]

[0076] Connectivity C(n) is defined as the inverse of the average distance d(n) from node n to other nodes, that is,

[0077]

[0078] The evaluation function E(n) comprehensively considers the node's frontier F(n) and connectivity C(n), and the formula is E(n) = w F F(n)+w C C(n), where w F and w c are their respective weight coefficients. Select the node with the highest evaluation value, that is, n best = argmax n∈RRTtree E(n) is expanded first.

[0079] (2) Find the distance q in the tree T rand The nearest node q nearest , Select the optimal node q by evaluating the function E(n) nearest Perform path expansion.

[0080] (3) From q nearest Hajj rand Move a predetermined step in the direction to generate a new node q new , Build the path incrementally.

[0081] (4) Check from q nearest to q newIf no obstacle is encountered, q new Add to the tree T and add q new With q nearest connect.

[0082] (5) Check q new Is it at the end point q goal If so, the path is generated successfully and the algorithm ends. If the end point is not reached, return to step (1) and continue to generate random points.

[0083] (6) From the end point q goal Back to the starting point q start , extract the path for subsequent path optimization.

[0084] 3. If Figure 3 As shown, the A* algorithm is used for path optimization.

[0085] The actual cost is defined as the path length, path curvature, and the distance between the path and the obstacle, forming an optimization goal that comprehensively considers multiple factors. Among them, the weight coefficient of the actual cost can be adjusted according to the actual environment and task requirements; the heuristic search strategy of the A* algorithm is applied, starting from the end point of the preliminary path generated by RRT, along the direction of the initial path, and gradually searching and optimizing in the direction of the starting point. In each step of the expansion process, the adjacent nodes of the current node are selected as candidate nodes, and their actual costs and heuristic estimates are calculated. After comprehensive evaluation, the candidate nodes with the lowest cost are selected for expansion, and the path is gradually improved; among them, the heuristic function uses the Euclidean distance to estimate the distance from the current node to the target point; an iterative optimization process is introduced, and the path is gradually improved through multiple iterations of A* search. After each iteration, the actual cost is fine-tuned to adapt to environmental changes or changes in robot motion characteristics.

[0086] The actual costs specifically include:

[0087] (1) Path length L is used to measure the total length of the path. The goal is to select the path with the shortest total length:

[0088]

[0089] In the formula, (x i+1 ,y i+1 ) is the coordinate of the i+1th point on the path, (x i ,y i ) are the coordinates of the i-th point on the path.

[0090] (2) Path curvature K is used to evaluate the smoothness of the path and improve the feasibility and walking stability of the path by reducing sharp turns and drastic changes in the path:

[0091]

[0092] Among them, θ i is the angle of the i-th point on the path, θ i+1 is the angle of the i+1th point on the path, d i is the length of the i-th segment on the path, and n is the total number of sampling points.

[0093] (3) The distance D between the path and the obstacle is used to ensure the safety of the path in the environment. By increasing the distance between the path and the obstacle, the risk of collision is reduced:

[0094]

[0095] Among them, d obsi is the distance between the i-th point on the path and the nearest obstacle.

[0096] In summary, the weight coefficient of the actual cost G can be adjusted according to the actual environment and task requirements to balance the influence of different factors:

[0097] G=w L L+w K K+w D D

[0098] Among them, w L 、w K and w D They are the weight coefficients of path length, path curvature and the distance between the path and obstacles.

[0099] The heuristic function uses the Euclidean distance H to estimate the distance from the current node to the target point. The Euclidean distance is a method that directly measures the straight-line distance between two points. It is suitable for providing more accurate distance estimates and can help generate better paths:

[0100]

[0101] Among them, because it is reverse optimization, (x start ,y start ) is the coordinate of the starting point of RRT, (x next ,y next) are the coordinates of the current node. Euclidean distance provides a good estimate of the distance from the current node to the target point by calculating the straight-line distance between the two points in two-dimensional space. The main reason for choosing Euclidean distance as the heuristic function is its accuracy and simplicity in calculation, which is particularly suitable for path planning in underground environments. In underground environments, paths are often affected by complex terrain and obstacles. Euclidean distance can provide fast and reliable distance estimates, helping robots to efficiently plan paths in complex terrain. Using Euclidean distance as a heuristic function can effectively deal with situations with complex terrain and dense obstacles, ensuring the feasibility and safety of the path.

[0102] The path optimization in this embodiment specifically includes the following steps:

[0103] (1) Define the cost function f(n) = G(n) + H(n), where G(n) represents the cost function from the starting point q start The actual path cost to the current node n, H(n) is the cost from the current node n to the target point q goal The heuristic cost estimation is as follows: set the open list O = {q goal}, closed list

[0104] (2) Initialize the open list (Open List) and closed list (ClosedList) of the A* algorithm. goal Add it to the open list and set its f(n) to 0.

[0105] (3) Loop through the following steps until the open list is empty or the starting point q is found. start : Select the node n with the smallest f(n) value from the open list to expand:

[0106] Move node n from the open list to the closed list; for each neighbor node n of node n next , do the following: Calculate the start To neighbor node n next The new cost G'(n next ); if n next In the closed list and the new cost G'(n next ) is greater than the previously calculated cost, the neighbor node is ignored; if n next If it is not in the open list or the closed list, add it to the open list and calculate its f(n next ) value; if n next In the open list and the new cost G'(n next ) is less than the previous cost, then update n next G(n next) value and parent node.

[0107] (4) For each neighbor node n next , calculate the heuristic function H(n next ), where the Euclidean distance is used as the heuristic function, that is, Where (x next ,y next ) is node n next The coordinates of (x start ,y start ) are the coordinates of the target point.

[0108] (5) In each iteration, the cost function of the path is updated to reflect the path length, curvature, and distance to obstacles. Specifically, the actual cost G(n) is defined as:

[0109] G(n)=w L L(n)+w K K(n)+w D D(n)

[0110] Where L(n) is the path length from node n to its parent node, K(n) is the path curvature of node n, D(n) is the distance from node n to the nearest obstacle, and w L ,w K ,w D are the corresponding cost weight coefficients respectively.

[0111] (6) Select the node with the smallest cost function f(n) as the current expansion node, and use it as the parent node to continue exploring its neighbor nodes.

[0112] (7) When the search reaches the starting point q start Or when the open list is empty, the algorithm ends. At this time, starting from the starting point q start To the end point goal The path has been regenerated and is the optimal path optimized by the cost function.

[0113] (8) In order to further improve the smoothness and adaptability of the path, an iterative optimization process can be introduced. In each iteration, the weight coefficient w in the actual cost function is fine-tuned according to changes in the environment or changes in the robot's motion characteristics. L ,w K ,w D , and repeat the path search and optimization process.

[0114] Specifically:

[0115]

[0116] in, is the weight coefficient after the k+1th iteration.

[0117] (9) Ultimately, the A* algorithm will provide a start To the target point q goal The optimal path is obtained by considering the comprehensive cost function of path length, curvature and obstacle distance.

[0118] 4. Generate an aerial flight corridor.

[0119] (1) Select any adjacent path points in the path optimized by the A* algorithm, determine the midpoint of the path segment as the center of the sphere, and construct a sphere with a radius of half the path length. This step is to provide sufficient space buffer for the path points to deal with possible obstacles.

[0120] (2) According to the spatial layout and obstacle distribution around the path point, adjust the lengths of the other two coordinate axes of the sphere and shrink it to obtain a collision-free maximum ellipsoid, such as Figure 4 (a) is shown. This step can be achieved by the following method: First, identify all potential obstacles around the waypoint and map their positions and sizes to the relative positions of the waypoint. Next, based on the robot's driving safety requirements, determine a safety boundary for each obstacle, that is, an area that extends a certain distance outward from the obstacle as the center. Then, use these safety boundaries to adjust the size of the ellipsoid to ensure that the ellipsoid does not exceed these boundaries in any direction, thereby avoiding collisions with obstacles. If the obstacles in a certain direction are more concentrated, the radius of the ellipsoid in that direction is reduced accordingly; if the obstacles are fewer or farther away, a larger radius can be maintained. In this way, the volume of the ellipsoid can be maximized while ensuring safety, providing sufficient driving space for the robot. This step ensures that the ellipsoid has enough space around the waypoint while avoiding collisions with obstacles.

[0121] (3) Use the intersection of the ellipsoid and the obstacle as the tangent point to construct the section surface, such as Figure 4 (b) These slices separate the ellipsoid from the obstacle, forming a half-space that does not contain the obstacle. This process is repeated, each time considering the next obstacle around the waypoint and constructing a new slice.

[0122] (4) By intersecting multiple facets, we obtain a convex polyhedron, such as Figure 4 (c) The space inside the convex polyhedron is a closed space without obstacles, which provides a safe navigation area for the robot. This step ensures that the robot can navigate safely in the complex underground environment.

[0123] (5) In order to solve the problem that the ellipsoid may expand too much in some directions, a bounding box is added in the direction without obstacles to limit the expansion of the ellipsoid. When the ellipsoid reaches the bounding box in a certain direction without hitting an obstacle, the bounding box is used as a dividing surface to ensure that the ellipsoid does not expand indefinitely.

[0124] (6) According to the size and shape of the robot, the set of convex polyhedra is contracted to form the final safe flight corridor. The specific contraction method is as follows: First, determine the geometric dimensions of the robot, including length, width and height, as well as the safe distance required for its travel. Then, using this size information, adjust the boundaries of each convex polyhedron so that they shrink inward until they match the size and shape of the robot. The contraction process is achieved by calculating the minimum safe distance between the robot size and the convex polyhedron boundary, ensuring that the robot has enough space to navigate in all directions. This step ensures that the robot can safely walk in the corridor and avoid obstacles while taking its own size into consideration, thereby improving the practicality and safety of path planning.

[0125] Through the above steps, the A*-RRT algorithm robot path planning method of the present invention can not only provide an optimized path, but also generate a safe aerial flight corridor, which significantly improves the path planning efficiency and safety of the robot in a complex underground environment.

[0126] The above contents are merely examples and explanations of the present invention. Those skilled in the art may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the structure of the present invention or exceed the scope defined by the claims, they shall all fall within the protection scope of the present invention.

Claims

1. A robot path planning method using the A*-RRT algorithm suitable for complex underground environments, characterized in that: The following steps are involved: S1, system initialization: initialize the map environment information, define the search space and the starting point and end point, initialize the tree, use the starting point as the root node of the tree, set the step size and the maximum number of iterations; S2. Path exploration based on the RRT algorithm: In the underground environment, random sampling is performed based on the defined robot starting point as the initial point tree, and a sampling point is randomly selected from the free space of the underground environment each time; the random sampling point and the nearest node in the current RRT tree are determined, and the distance between the two is calculated. Under the premise of meeting the maximum path length limit, the nearest node and the sampling point are tried to be connected to form a new path segment, and collision detection is performed on the newly formed path segment to ensure that the path segment does not collide with obstacles in the underground environment. If the path segment collides with the environment, the path segment is abandoned and random sampling is performed again. If there is no collision, the new node is added to the RRT tree, and the random sampling and connection steps are repeated until the distance between a node in the RRT tree and the robot's target point is less than the preset threshold, forming a preliminary path to the target point; S3, A* path optimization: Use the A* algorithm to refine the preliminary path generated by RRT and find a lower-cost optimized path through cost function evaluation; S4. Aerial flight corridor: Based on the characteristics of the underground environment, the concept of aerial flight corridor is introduced to further optimize the path to improve obstacle avoidance capability and path planning efficiency.

2. The A*-RRT algorithm robot path planning method suitable for complex underground environments according to claim 1, characterized in that: In the step S1, the map environment information includes a starting point, a target point, and obstacle positions; random sampling is performed in the underground environment based on the defined robot starting point as an initial point tree.

3. The A*-RRT algorithm robot path planning method suitable for complex underground environments according to claim 1, characterized in that: The step S2 is specifically as follows: S201, randomly generate a point q in the search space ran d; When an obstacle-dense area is detected, reducing the step size ΔS increases the precision of the path. Therefore, the step size used in the obstacle-dense area is ΔS. dense =min(ΔS max )·f(ρ), where f(ρ) is a decreasing function of the density of obstacles, ΔS max is the maximum step length; On the contrary, in areas with sparse obstacles, the step size is increased to improve exploration efficiency. The step size used in areas with sparse obstacles is ΔS sparse =max(ΔS min )·g(ρ), where g(ρ) is an increasing function of the density of obstacles, ΔS min is the minimum value of the step length; The nodes in the RRT tree are evaluated using the node importance evaluation mechanism: Frontier F(n) is defined as the distance d from node n to the nearest obstacle obstacle (n), that is Connectivity C(n) is defined as the inverse of the average distance d(n) from node n to other nodes, that is, The evaluation function E(n) formula is E(n)=w F F(n)+w C C(n), where w F and w c are their respective weight coefficients; Select the node with the highest evaluation value, that is, n best = arg max n∈RRTtree E(n) is expanded first; S202, find the distance q in the tree rand The nearest node q nearest , select the optimal node q through the evaluation function E(n) nearest Perform path expansion; S203, from q nearest Hajj rand Move a predetermined step in the direction to generate a new node q new , build the path step by step; S204, check from q nearest to q new Whether the path encounters an obstacle, if not, q new Add to the tree T and add q new With q nearest connect; S205, check q new Is it at the end point q goal If so, the path is generated successfully and the algorithm ends; if the end point is not reached, return to step S201 and continue to generate random points; S206, from the end point q goal Back to the starting point q start , extract the path for subsequent path optimization.

4. The A*-RRT algorithm robot path planning method suitable for complex underground environments according to claim 1, characterized in that: The step S3 includes the following steps: defining the actual cost as the path length, the path curvature, and the distance between the path and the obstacle; applying the heuristic function search strategy of the A* algorithm, starting from the end point of the preliminary path generated by the RRT, and gradually searching and optimizing in the direction of the starting point along the initial path direction; in each step of the expansion process, selecting the adjacent nodes of the current node as candidate nodes, and calculating their actual costs and heuristic estimated values; after comprehensive evaluation, selecting the candidate nodes with the lowest cost for expansion, and gradually improving the path; wherein the heuristic function uses the Euclidean distance to estimate the distance from the current node to the target point; introducing an iterative optimization process, through multiple iterations of the A* search, gradually improving the path, and fine-tuning the actual cost after each iteration to adapt to environmental changes or changes in the robot's motion characteristics.

5. The A*-RRT algorithm robot path planning method suitable for complex underground environments according to claim 4, characterized in that: The calculation formulas for the path length L, path curvature K, distance D between the path and the obstacle, and actual cost G are as follows: In the formula, (x i+1 ,y i+1 ) is the coordinate of the i+1th point on the path, (x i ,y i ) are the coordinates of the i-th point on the path: In the formula, θ i is the angle of the i-th point on the path, θ i+1 is the angle of the i+1th point on the path, d i is the length of the i-th segment on the path, and n is the total number of sampling points; Where, d obsi is the distance between the i-th point on the path and the nearest obstacle; G=w L L+w K K+w D D In the formula, w L 、w K and w D They are the weight coefficients of path length, path curvature and the distance between the path and obstacles.

6. The A*-RRT algorithm robot path planning method suitable for complex underground environments according to claim 5, characterized in that: The step S3 is specifically as follows: S301, initialization: set the end point q goal As the initial node, set the open list O = {q goal }, closed list Define the function cost function value f(n) = G(n) + H(n), where G(n) represents the value of the function from the starting point q start The actual path cost to the current node n, H(n) is the cost from the current node n to the target point q goal Heuristic estimation cost of ; S302, select the node n with the smallest cost function value f(n) in the open list for expansion: S303: Calculate the adjacent node n of the current node n next The actual cost G(n next ) and the heuristic estimate H(n next ); S304, move the current node n to the closed list J, and its adjacent node n next Add to the open list O; S305, repeat steps S302-S304 until the starting point q is found start or the open list is empty; S306, introducing an iterative optimization process, and gradually improving the path through multiple iterative A* searches until a predetermined optimization accuracy or number of iterations is reached.

7. The A*-RRT algorithm robot path planning method suitable for complex underground environments according to claim 1, characterized in that: The step S4 is specifically as follows: S401, selecting any adjacent path points in the path optimized by the A* algorithm, determining the midpoint of the path as the center of the sphere, and constructing a sphere with half the path length as the radius; S402, adjusting the lengths of the other two coordinate axes of the sphere according to the spatial layout around the path point and the distribution of obstacles, and shrinking the sphere to obtain a collision-free maximum ellipsoid; S403, using the intersection of the ellipsoid and the obstacle as a tangent point, constructing a section plane, which separates the ellipsoid from the obstacle to form a half-space that does not contain the obstacle, repeating this process, each time considering the next obstacle around the path point, and constructing a new section plane; S404, obtaining a convex polyhedron by the intersection of multiple cut surfaces, wherein the space inside the convex polyhedron is a closed space without obstacles, providing a safe navigation area for the robot; S405, setting a bounding box to limit the expansion of the ellipsoid, when the ellipsoid reaches the bounding box in a certain direction without hitting an obstacle, the bounding box is used as a dividing surface to prevent the ellipsoid from expanding indefinitely; S406, shrinking the convex polyhedron set according to the size and shape of the robot to form a final safe flight corridor; S407. In the process of generating the aerial flight corridor, monitor the environmental changes and the robot status in real time, and dynamically adjust the parameters of the ellipsoid and the convex polyhedron.

Citation Information

Cited By

  • Robot path planning method based on RRT improved algorithm

    CN119321769A

  • Multi-terminal vehicle management system based on intelligent algorithm

    CN119672942A

  • Multi-robot path planning system and method based on sampling

    CN119987383A

  • Intelligent detection robot system for valve hall assembly of power converter station and detection method

    CN120038763A

  • Digital twinning-based transfer robot path dynamic reconstruction method and system

    CN121089750A