Intelligent agent layered path planning method and system considering dynamic obstacles in complex environment
Through the agent hierarchical path planning method, combined with the JPS strategy to improve the A* algorithm and vector method, combined with the dynamic window method, the problem of dynamic obstacle avoidance in complex environments is solved, and efficient and smooth path planning and dynamic obstacle avoidance are achieved. Effect.
Patent Information
- Application Number
- CN202411000552.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-09-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing path planning algorithms are difficult to effectively avoid dynamic obstacles in complex environments, resulting in path planning failures, unsmooth paths, excessive turning angles, large memory overhead, etc. Moreover, global path planning cannot consider local information, and local path planning is easy to Stuck in a local minimum.
The agent hierarchical path planning method is adopted, by constructing an environment map model, integrating environmental information and JPS strategy to improve the A* algorithm, combining the vector method and TEB method for global path optimization, and using the dynamic window method for local path planning during the movement. , to achieve efficient obstacle avoidance of static and dynamic obstacles.
It improves the efficiency and smoothness of path planning, ensures that the agent can successfully avoid obstacles in complex environments, avoids local optimal traps, and achieves global path optimization and dynamic obstacle avoidance.
Smart Images

Figure CN118583184A
Abstract
Description
Technical Field
[0001] The present invention relates to a path planning technology, and more particularly to an intelligent agent hierarchical path planning method and system when dynamic obstacles are considered in a complex environment. Background Art
[0002] The path planning problem is to plan an optimal path from the starting position to the target position in the environment space under the conditions of satisfying multiple constraints such as the distance of the route, the time spent, and the turning points. In addition to meeting the requirements of efficiency and safety, the path must also be able to avoid obstacles in the environment. The results of the path planning algorithm directly affect the efficiency of the agent in performing tasks. According to the hierarchical division, path planning can be divided into two categories: global and local path planning.
[0003] Global path planning is to plan a safe and collision-free path for the agent under known environmental information. It is widely used to solve path planning problems in known static environments. Common algorithms include Dijkstra, fast random expansion tree, A*, etc. However, since most global path planning algorithms do not have obstacle avoidance capabilities, planning often fails when the environment changes, and there are problems such as uneven paths, large turning angles, and high memory overhead.
[0004] Local path planning is to plan routes for mobile agents when environmental information is unknown. In the local planning process, the agent dynamically updates the position of obstacles in the map based on the real-time information of obstacles in the current environment detected by external sensors. Common local planning algorithms include artificial potential field method, vector field histogram method, dynamic window method, ant colony algorithm, etc. However, in the planning process, local algorithms only use part of the environmental information to generate motion instructions, which is easy to fall into local minimum. In actual application, both global path planning and local path planning algorithms have failed to completely solve problems such as many path turning points, large corners, low path smoothness, and unreachable target points. Summary of the invention
[0005] In order to address the deficiencies of the above-mentioned prior art, the present invention proposes an intelligent agent hierarchical path planning method and system when considering dynamic obstacles in a complex environment, which realizes efficient obstacle avoidance of static obstacles and dynamic obstacles by improving and integrating the two planning levels.
[0006] In order to achieve the above-mentioned purpose, the present invention adopts the following technical scheme:
[0007] An agent-based hierarchical path planning method considering dynamic obstacles in complex environments, comprising:
[0008] According to the operating environment information of the intelligent agent, an environmental map model for path planning is constructed;
[0009] Based on the environment map model, the A* algorithm is improved by integrating environmental information and JPS strategy to plan the optimal path at the global level;
[0010] According to the optimal path of the global layer, the key points are extracted using the vector method;
[0011] According to the extracted key path points, the TEB method is used for optimization;
[0012] Move according to the established local planning layer, perform obstacle detection during the movement, and use the dynamic window method to plan the local path when encountering obstacles;
[0013] The above steps are iterated until the end of the global path is reached.
[0014] Furthermore, the environment map model is an occupied grid map model, and a binary random variable is assigned to a grid unit to indicate whether the grid unit is occupied. If the variable is 1, it indicates that the grid is occupied by an obstacle, and if the variable is 0, it indicates that the grid is an idle grid;
[0015] Dilate the obstacle boundaries in the map. is the obstacle structure element, is the matrix to be processed, right The process of performing expansion is:
[0016]
[0017] in, For structural elements Fields using structural elements Pair Matrix Dilation is equivalent to the matrix The elements in its structural elements to achieve the maximum value in the field.
[0018] Furthermore, the A* algorithm is improved by integrating environmental information and JPS strategy to plan the optimal path at the global level, including:
[0019] Step 2-1, add a preprocessing process before the execution of the A* algorithm, find the inherited jump point of the current node through the iterative jump point search function, prune the useless nodes in the middle through the pruning strategy, and connect the jump points to achieve long-distance jumps between two points;
[0020] Step 2-2: A* algorithm uses heuristic cost function to introduce obstacle coverage when planning the path Abstractly represent the environmental information and construct a sigmoid-like function to dynamically adjust the weight of the heuristic function.
[0021] Furthermore, the step 2-1 specifically includes:
[0022] (1) When there are no obstacles around the node, the pruning strategy is as follows when moving in a straight line or diagonally:
[0023]
[0024] in is the current node, for The parent node of
[0025] When the A* algorithm is extended to the current node After that, the neighbor nodes that do not need to be evaluated are deleted according to the pruning strategy.
[0026] at this time The remaining neighboring nodes are called natural neighboring nodes, that is, the jumping points when there are no obstacles;
[0027] (2) When there are obstacles around the node, if it is expanded to After the node, there are obstacles around it, and the pruning strategy is as follows:
[0028]
[0029] n is a neighbor node and not a natural neighbor node; the nodes that meet the above pruning strategy are mandatory neighbor nodes, that is, jumping points when there are obstacles around. In the improved A* algorithm, these unnecessary nodes are deleted according to the pruning strategy, leaving only representative jumping points, and then the path planning operation of the A* algorithm is executed to obtain the optimal path.
[0030] Furthermore, the heuristic cost function and obstacle coverage in step 2-2 are respectively:
[0031]
[0032]
[0033]
[0034]
[0035] in, Indicates passing through the node from the starting point The total cost to reach the destination; Represents the actual cost from the starting point to the node; Represents a slave node Heuristic estimate of cost to the target point; , For Node and target point The coordinates of and represents obstacle space and free space, Representing coordinates The value function of .
[0036] Furthermore, using the vector method to extract key points specifically includes:
[0037] Step 3-1, define the collection Represents all path nodes in the global layer, where and Represent the starting point and the target point respectively, and define the set , represents the extracted path node, the initial value is the starting point ;
[0038] Step 3-2, Definition For Node and nodes If the expansion direction between and If they are the same, then the decision node is a redundant node, otherwise, the node is a turning point;
[0039] Step 3-3, from the starting point Start, Connect The first turning point after , skip redundant nodes on the same line segment , add it to the collection middle;
[0040] Repeat steps 3-3 until the target point appears in the collection In the process, the key points of the path are extracted.
[0041] Furthermore, according to the extracted key path points, the optimization using the TEB method specifically includes:
[0042] Step 4-1, based on the extracted key path point set , assigning a timestamp to each waypoint ,The initial timestamp is determined based on the path length between the two points and the agent’s expected movement speed;
[0043] Step 4-2, combining dynamic restriction cost, smoothness cost, time consistency cost and local path planning cost, constructing the g2o graph optimization framework to optimize the time elastic band;
[0044] Step 4-3, during the operation of the intelligent agent, it perceives environmental changes in real time and dynamically updates the path; using sensor data, the G2O framework is used to adjust the time elastic band to keep it feasible in the new environment.
[0045] Furthermore, the dynamic window method is used to plan the local path, which specifically includes:
[0046] Step 5-1, let The linear velocity of the agent at time , the angular velocity is , approximating it as uniform linear motion, the increments of position and heading angle at two adjacent moments are:
[0047]
[0048] in, is the time difference between two adjacent moments, for The heading angle at time The position at the moment is:
[0049]
[0050] Step 5-2, set up the speed sampling space: calculate the speed sampling space of the dynamic window according to the current speed and acceleration limit of the agent;
[0051] Step 5-3, establish a comprehensive cost function: within the dynamic window, for each pair of speed To evaluate, generate trajectories within a fixed time, and calculate the comprehensive cost function:
[0052]
[0053] in, is the normalization function, is the weight coefficient of the evaluation function, is the azimuth evaluation function, whose value is the angle difference between the trajectory end point and the target point; is the obstacle distance evaluation function, which represents the distance between the agent and the nearest obstacle; is the speed evaluation function, which indicates the magnitude of speed; is the global layer path distance evaluation function, which is:
[0054]
[0055] in, The coordinates of the end point of the global layer path planning, is the coordinate of the target point of the current layer;
[0056] Step 5-4, select the speed pair that minimizes the comprehensive cost function from the dynamic window , and update the intelligent body posture, repeat the above steps, and adjust the local path in real time.
[0057] Further, the speed sampling space is the intersection of the speed limit constraint, the maximum acceleration / deceleration constraint and the safety constraint;
[0058] The speed limit constraints are:
[0059]
[0060] in, are the minimum and maximum values of the linear velocity, are the minimum and maximum values of the angular velocity;
[0061] The maximum acceleration and deceleration constraints are:
[0062] V ' = { ( v , oh )| v ∈ [ v c - v b ¯ D t , v c + v a ¯ D t ], oh ∈ [ oh c - oh b ¯ D t , oh c + oh a ¯ D t ] }
[0063] in, and are the current linear and angular velocities, and are the maximum acceleration and maximum deceleration of the linear velocity, and are the maximum acceleration and maximum deceleration of angular velocity respectively;
[0064] The security constraints are:
[0065]
[0066] in, Speed combination The closest distance to the obstacle on the corresponding simulation trajectory;
[0067] Then the speed sampling space is:
[0068] .
[0069] A system for implementing the agent hierarchical path planning method, comprising:
[0070] An environment map model building unit, used to build an environment map model for path planning;
[0071] The optimal path planning unit of the global layer is based on the environmental map model, integrates environmental information and JPS strategy to improve the A* algorithm, and plans the optimal path of the global layer;
[0072] The key point extraction unit uses the vector method to extract key points according to the optimal path of the global layer;
[0073] The key path point optimization unit uses the TEB method to optimize the extracted key path points;
[0074] The local path planning unit moves according to the established local planning layer, performs obstacle detection during the movement, and plans the local path using the dynamic window method.
[0075] Compared with the prior art, the present invention has the following beneficial effects:
[0076] 1. Aiming at the problems of too many waypoints in the A* algorithm, low search efficiency, the dynamic window method easily falling into local optimality, and failure to consider global information, this patent improves and integrates the A* algorithm and the dynamic window method, and proposes an intelligent agent hierarchical path planning method;
[0077] 2. The present invention integrates the environmental information and the improved A* algorithm of the JPS strategy to plan the path of the global layer of the intelligent agent, improves the search efficiency, and realizes the adaptive adjustment of the heuristic function;
[0078] 3. Starting from the perspective of the actual running trajectory of the intelligent agent, the present invention comprehensively considers the kinematic constraints of the intelligent agent, uses the vector method and TEB method to process the global path, designs a strategy for extracting key nodes of the path, and realizes the optimization of the global layer path planning;
[0079] 4. The present invention integrates global information and improves the dynamic window method evaluation function, so that the intelligent agent can still basically run according to the global path when avoiding obstacles smoothly. BRIEF DESCRIPTION OF THE DRAWINGS
[0080] Figure 1 This is the overall framework flow chart of the agent hierarchical path planning algorithm when considering dynamic obstacles.
[0081] Figure 2 This is a diagram showing the implementation effect of the improved A* algorithm based on the fusion of environmental information and the JPS strategy.
[0082] Figure 3 This is the schematic diagram of the velocity sampling and dynamic window method. DETAILED DESCRIPTION
[0083] Combination Figure 1 This embodiment follows the idea of "global guiding local, local combining global" in order to solve the problems of long planning algorithm time consumption, many turning points, uneven paths, and inability of global path planning to plan dynamic obstacles. Starting from the intelligent body navigation technology, the randomness of obstacles in complex environments, intelligent body sensor load, global path planning and dynamic obstacle avoidance are comprehensively considered to carry out the process of intelligent body hybrid path planning, so as to achieve efficient obstacle avoidance of static and dynamic obstacles. This embodiment proposes an intelligent body hierarchical path planning method considering dynamic obstacles, which specifically includes:
[0084] Step 1: Establish the corresponding environment map model and configuration parameters according to the operating environment information of the intelligent agent;
[0085] The environmental map model is an occupied grid map model, which assigns a binary random variable to a grid unit to indicate whether the grid unit is occupied. If the variable is 1, it indicates that the grid is occupied by an obstacle, and if the variable is 0, it indicates that the grid is an idle grid.
[0086] Since there is a certain deviation between the known obstacle information in the map and the actual obstacle information, it is difficult to ensure the safety of obstacle avoidance and collision avoidance by using absolutely known obstacle information for path planning. Therefore, it is necessary to expand the obstacle boundary in the map. is the obstacle structure element, If is the matrix to be processed, then use right The process of performing the expansion is defined as:
[0087]
[0088] in, For structural elements Fields using structural elements Pair Matrix Dilation is equivalent to the matrix The elements in its structural elements to achieve the maximum value in the field.
[0089] Step 2: Based on the environment map model, Figure 2 , the A* algorithm improved by integrating environmental information and JPS strategy is used to plan the optimal path of the global layer:
[0090] A preprocessing process is added before the execution of the A* algorithm. By iterating the jump point search function, the inherited jump points of the current node are found, the useless nodes in the middle are pruned, and the jump points are connected to achieve long-distance jumps between two points, thereby improving the search efficiency of the global path.
[0091] set up is the current node, for The parent node of:
[0092] (1) When there are no obstacles around the node, the pruning strategy is as follows when moving in a straight line or diagonally:
[0093]
[0094] When the A* algorithm is extended to the current node After that, the neighbor nodes that do not need to be evaluated are deleted according to the above pruning conditions.
[0095] at this time The remaining neighboring nodes are called natural neighboring nodes, that is, jumping points when there are no obstacles.
[0096] (2) When there are obstacles around the node, if it is expanded to If there are obstacles around the node, all non-natural neighboring nodes cannot be pruned away. The node is the path with the minimum cost. Such a node is called a mandatory neighbor node. The screening conditions for mandatory neighbor nodes are as follows:
[0097] n is a neighbor node and not a natural neighbor node;
[0098]
[0099] The nodes that meet the above screening conditions are mandatory neighbor nodes, that is, the jumping points when there are obstacles around. In the improved A* algorithm, these unnecessary nodes are deleted according to the above rules, leaving only representative jumping points, and then the general operations of the A* algorithm are performed to obtain the optimal path.
[0100] The A* algorithm uses a heuristic function to achieve a balance between algorithm accuracy and speed, and introduces obstacle coverage Abstractly represent environmental information, construct a sigmoid-like function to dynamically adjust the weight of the heuristic function to improve the efficiency of path planning. The improved cost function and obstacle coverage are:
[0101]
[0102]
[0103]
[0104]
[0105] in, Indicates passing through the node from the starting point The total cost to reach the destination; Represents the actual cost from the starting point to the node; Represents a slave node Heuristic estimate of the cost to the goal point. , For Node and target point The coordinates of . and represents obstacle space and free space, Representing coordinates The value function of .
[0106] Step 3: According to the global optimal path, use the vector method to extract key points. The specific steps are as follows:
[0107] (1) Define a set Represents all path nodes in the global layer, where and Represent the starting point and the target point respectively. Define the set , represents the extracted path node, the initial value is the starting point
[0108] (2) Definition For Node and nodes If the expansion direction between and If they are the same, then the decision node is a redundant node. For the turning point.
[0109] (3) From the starting point Start, Connect The first turning point after , skip redundant nodes on the same line segment , add it to the collection middle.
[0110] (4) Repeat step (3) until the target point appears in the set In the process, the key points of the path are extracted.
[0111] Step 4: According to the extracted key path points, use the TEB method to optimize, including the following steps:
[0112] (1) Based on the extracted key path point set , assigning a timestamp to each waypoint The initial timestamp is determined based on the path length between the two points and the agent's expected movement speed;
[0113] (2) Combining the dynamic constraint cost, smoothness cost, time consistency cost and local path planning cost, a g2o graph optimization framework is constructed to optimize the time elastic band;
[0114] (3) During the operation of the intelligent agent, it perceives environmental changes in real time and dynamically updates the path; using sensor data, the G2O framework is used to adjust the time elastic band to keep it feasible in the new environment.
[0115] As for (2) and (3), they are relatively common and will not be elaborated in detail here.
[0116] Step 5: Move according to the established local planning layer, perform obstacle detection during the movement, and when encountering obstacles, use the improved dynamic window method to plan the local path. The schematic diagram of speed sampling and dynamic window method is shown in Figure 3 , specifically including:
[0117] (1) Order The linear velocity of the agent at time , the angular velocity is , the interval between two adjacent sampling times is short and the displacement of the intelligent body is small, so it can be approximated as uniform linear motion. Then the increments of the position and heading angle at two adjacent moments are:
[0118]
[0119] in, is the time difference between two adjacent moments, for The heading angle at the moment. The pose at the moment can be expressed as:
[0120]
[0121] (2) Establishing a speed sampling space: Calculate the speed sampling space of the dynamic window based on the current speed and acceleration limit of the agent; the speed sampling space consists of speed limit constraints, maximum acceleration and deceleration constraints, and safety constraints.
[0122] Speed limit constraint: There are many speed combinations in the agent’s speed space , in order to meet the actual operation, the sampling space needs to be kept within a certain range, that is,
[0123]
[0124] Maximum acceleration and deceleration constraint: The motor device that drives the intelligent agent has a limited output torque, so the linear velocity and angular velocity of the intelligent agent are limited. The speed set subject to the maximum acceleration and deceleration constraint is:
[0125] V ' = { ( v , oh )| v ∈ [ v c - v b ¯ D t , v c + v a ¯ D t ], oh ∈ [ oh c - oh b ¯ D t , oh c + oh a ¯ D t ] }
[0126] in, and are the current linear and angular velocities, and are the maximum acceleration and maximum deceleration of the linear velocity, and are the maximum acceleration and maximum deceleration of angular velocity respectively.
[0127] Safety constraints: The speed sampling space must be within the constraints of the braking distance, that is:
[0128]
[0129] in, Speed combination The closest distance to the obstacle on the corresponding simulation trajectory.
[0130] For the above three By taking the intersection of the sets, we can get the speed sampling set that conforms to the actual operation situation. Let rV be the speed set that conforms to the actual situation, then the speed sampling space can be expressed as:
[0131]
[0132] (3) Establish evaluation function:
[0133] In the dynamic window, for each pair of speeds Generate a trajectory within a fixed time, calculate the following comprehensive cost function, and select the best speed pair according to the comprehensive cost function :
[0134]
[0135] in, is the normalization function, is the weight coefficient of the evaluation function, is the azimuth evaluation function, whose value is the angle difference between the trajectory end point and the target point; is the obstacle distance evaluation function, which represents the distance between the agent and the nearest obstacle; is the speed evaluation function, which indicates the magnitude of speed; It is the global layer path distance evaluation function, which is used to ensure that the agent can basically run according to the global path while avoiding obstacles smoothly.
[0136]
[0137] in, The coordinates of the end point of the global layer path planning, The coordinates of the target point of the current layer.
[0138] (4) Execution: Select the speed pair that minimizes the comprehensive cost function from the dynamic window. , and update the agent state, repeat the above steps, and adjust the path in real time.
[0139] Step 6: Determine whether the current target point has been reached. If it has been reached, the agent moves along the global path. If it has not been reached, continue to iterate using the improved dynamic window method until the end of the global path is reached.
[0140] The method of the present invention uses the improved A* algorithm, vector method, TEB method and dynamic window method that integrate environmental information and JPS strategy for fusion design, which effectively solves the problems of the current planning algorithm being time-consuming, having many turning points, uneven paths, and the inability of global path planning to plan dynamic obstacles. It ensures that the intelligent body can perform dynamic obstacle avoidance while moving on the global optimal path.
[0141] This embodiment also provides a system for implementing the agent hierarchical path planning method, wherein the input includes environmental information, path planning starting point, path planning end point, state transition parameters, relevant weight coefficients, and agent motion model related parameters: maximum linear velocity, maximum angular velocity, and azimuth; the output is the agent path planning result; the system specifically includes:
[0142] An environment map model building unit, used to build an environment map model for path planning;
[0143] The optimal path planning unit of the global layer is based on the environmental map model, integrates environmental information and JPS strategy to improve the A* algorithm, and plans the optimal path of the global layer;
[0144] The key point extraction unit uses the vector method to extract key points according to the optimal path of the global layer;
[0145] The key path point optimization unit uses the TEB method to optimize the extracted key path points;
[0146] The local path planning unit moves according to the established local planning layer, performs obstacle detection during the movement, and plans the local path using the dynamic window method.
[0147] In summary, this solution can realize path planning under complex environments, taking into account static obstacles and dynamic obstacles. This solution comprehensively considers factors such as the randomness of obstacles, the sensor load of the intelligent agent, global path planning and dynamic obstacle avoidance, and can perform dynamic obstacle avoidance while ensuring that the intelligent agent moves on the global optimal path. The present invention effectively solves the problems of the current planning algorithm being time-consuming, having many turning points, an uneven path, and the inability of global path planning to plan dynamic obstacles.
Claims
1. An agent hierarchical path planning method considering dynamic obstacles in a complex environment, characterized in that: include: According to the operating environment information of the intelligent agent, an environmental map model for path planning is constructed; Based on the environment map model, the A* algorithm is improved by integrating environmental information and JPS strategy to plan the optimal path at the global level; According to the optimal path of the global layer, the key points are extracted using the vector method; According to the extracted key path points, the TEB method is used for optimization; Move according to the established local planning layer, perform obstacle detection during the movement, and use the dynamic window method to plan the local path when encountering obstacles; The above steps are iterated until the end of the global path is reached.
2. The agent hierarchical path planning method considering dynamic obstacles in a complex environment according to claim 1, characterized in that: The environmental map model is an occupied grid map model, which assigns a binary random variable to a grid unit to indicate whether the grid unit is occupied. If the variable is 1, it means that the grid is occupied by an obstacle, and if the variable is 0, it means that the grid is an idle grid. Dilate the obstacle boundaries in the map. is the obstacle structure element, is the matrix to be processed, right The process of performing expansion is: ; in, For structural elements Fields using structural elements Pair Matrix Dilation is equivalent to the matrix The elements in its structural elements to achieve the maximum value in the field.
3. The agent hierarchical path planning method considering dynamic obstacles in a complex environment according to claim 1, characterized in that: The A* algorithm is improved by integrating environmental information and JPS strategy to plan the optimal path at the global level, including: Step 2-1, add a preprocessing process before the execution of the A* algorithm, find the inherited jump point of the current node through the iterative jump point search function, prune the useless nodes in the middle through the pruning strategy, and connect the jump points to achieve long-distance jumps between two points; Step 2-2: A* algorithm uses heuristic cost function to introduce obstacle coverage when planning the path Abstractly represent the environmental information and construct a sigmoid-like function to dynamically adjust the weight of the heuristic function.
4. The agent hierarchical path planning method considering dynamic obstacles in a complex environment according to claim 3, characterized in that: The step 2-1 specifically includes: (1) When there are no obstacles around the node, the pruning strategy is as follows when moving in a straight line or diagonally: ; in is the current node, for The parent node of When the A* algorithm is extended to the current node After that, the neighbor nodes that do not need to be evaluated are deleted according to the pruning strategy. at this time The remaining neighboring nodes are called natural neighboring nodes, that is, the jumping points when there are no obstacles; (2) When there are obstacles around the node, if it is expanded to After the node, there are obstacles around it, and the pruning strategy is as follows: ; n is a neighbor node and not a natural neighbor node; the nodes that meet the above pruning strategy are mandatory neighbor nodes, that is, jumping points when there are obstacles around. In the improved A* algorithm, these unnecessary nodes are deleted according to the pruning strategy, leaving only representative jumping points, and then the path planning operation of the A* algorithm is executed to obtain the optimal path.
5. The agent hierarchical path planning method considering dynamic obstacles in a complex environment according to claim 3, characterized in that: The heuristic cost function and obstacle coverage in step 2-2 are: ; ; ; ; in, Indicates passing through the node from the starting point The total cost to reach the destination; Represents the actual cost from the starting point to the node; Represents a slave node Heuristic estimate of cost to the target point; , For Node and target point The coordinates of and represents obstacle space and free space, Representing coordinates The value function of is the obstacle coverage rate.
6. The agent hierarchical path planning method considering dynamic obstacles in a complex environment according to claim 1, characterized in that: The key point extraction using the vector method specifically includes: Step 3-1, define the collection Represents all path nodes in the global layer, where and Represent the starting point and the target point respectively, and define the set , represents the extracted path node, the initial value is the starting point ; Step 3-2, Definition For Node and nodes If the expansion direction between and If they are the same, then the decision node is a redundant node, otherwise, the node is a turning point; Step 3-3, from the starting point Start, Connect The first turning point after , skip redundant nodes on the same line segment , add it to the collection middle; Repeat steps 3-3 until the target point appears in the collection In the process, the key points of the path are extracted.
7. The agent hierarchical path planning method considering dynamic obstacles in a complex environment according to claim 1, characterized in that: According to the extracted key path points, the optimization using TEB method includes: Step 4-1, based on the extracted key path point set , assigning a timestamp to each waypoint ,The initial timestamp is determined based on the path length between the two points and the agent’s expected movement speed; Step 4-2, combining dynamic restriction cost, smoothness cost, time consistency cost and local path planning cost, constructing the g2o graph optimization framework to optimize the time elastic band; Step 4-3, during the operation of the intelligent agent, it perceives environmental changes in real time and dynamically updates the path; using sensor data, the G2O framework is used to adjust the time elastic band to keep it feasible in the new environment.
8. The agent hierarchical path planning method considering dynamic obstacles in a complex environment according to claim 1, characterized in that: Use the dynamic window method to plan the local path, including: Step 5-1, let The linear velocity of the agent at time , the angular velocity is , approximating it as uniform linear motion, the increments of position and heading angle at two adjacent moments are: ; in, , is the position coordinate increment, is the increment of heading angle, is the time difference between two adjacent moments, for The heading angle at time The position at the moment is: ; Step 5-2, set up the speed sampling space: calculate the speed sampling space of the dynamic window according to the current speed and acceleration limit of the agent; Step 5-3, establish a comprehensive cost function: within the dynamic window, for each pair of speed To evaluate, generate trajectories within a fixed time, and calculate the comprehensive cost function: ; in, is the normalization function, is the weight coefficient of the evaluation function, is the azimuth evaluation function, whose value is the angle difference between the trajectory end point and the target point; is the obstacle distance evaluation function, which represents the distance between the agent and the nearest obstacle; is the speed evaluation function, which indicates the magnitude of speed; is the global layer path distance evaluation function, which is: ; in, The coordinates of the end point of the global layer path planning, is the coordinate of the target point of the current layer; Step 5-4, select the speed pair that minimizes the comprehensive cost function from the dynamic window , and update the intelligent body posture, repeat the above steps, and adjust the local path in real time.
9. The agent hierarchical path planning method considering dynamic obstacles in a complex environment according to claim 8, characterized in that: The speed sampling space is the intersection of the speed limit constraint, the maximum acceleration / deceleration constraint and the safety constraint; The speed limit constraints are: ; in, are the minimum and maximum values of the linear velocity, are the minimum and maximum values of the angular velocity; The maximum acceleration and deceleration constraints are: ; in, and are the current linear and angular velocities, and are the maximum acceleration and maximum deceleration of the linear velocity, and are the maximum acceleration and maximum deceleration of angular velocity respectively; The security constraints are: ; in, Speed combination The closest distance to the obstacle on the corresponding simulation trajectory; Then the speed sampling space is: 。 10. A system for implementing the agent hierarchical path planning method according to any one of claims 1 to 9, characterized in that: include: An environment map model building unit, used to build an environment map model for path planning; The optimal path planning unit of the global layer is based on the environmental map model, integrates environmental information and JPS strategy to improve the A* algorithm, and plans the optimal path of the global layer; The key point extraction unit uses the vector method to extract key points according to the optimal path of the global layer; The key path point optimization unit uses the TEB method to optimize the extracted key path points; The local path planning unit moves according to the established local planning layer, performs obstacle detection during the movement, and plans the local path using the dynamic window method.
Citation Information
Patent Citations
Unmanned vehicle mixed trajectory planning method based on trajectory smoothing optimization
CN117249842A
Cited By
Multi-intelligent carrying AGV conflict coordination and dynamic obstacle avoidance cooperation path planning method
CN119124205A
Path planning method and system based on ant colony algorithm and dynamic window
CN119204379A
Self-adaptive planning unmanned navigation path planning system and method
CN119356369A
Path planning method of underwater vehicle in complex environment based on foresight sonar
CN119356376A
Robot path planning method and system based on improved DWA algorithm
CN119806160A
