Mobile robot motion planning method based on improved A star algorithm

Through the improved A-star algorithm, combined with two-way search, adaptive heuristic function and DWA algorithm, the problems of long calculation time and uneven path of mobile robot path planning in the existing technology are solved, and efficient obstacle avoidance and smoothness in dynamic environments are achieved. Path planning.

CN118778650APending Publication Date: 2024-10-15GUIZHOU UNIV
View PDF 0 Cites 7 Cited by

Patent Information

Application Number
CN202410829699.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

The existing A-star algorithm has problems such as long calculation time, unsmooth paths and large turning angles in mobile robot motion planning. It is especially difficult to achieve efficient obstacle avoidance in large maps and dynamic environments.

Method used

Using the improved A-star algorithm, combined with global and local path planning, the path is optimized to reduce calculation time and path length, and achieve real-time obstacle avoidance in dynamic environments.

Benefits of technology

It significantly shortens the path calculation time, reduces the path length and turning angle, and plans a smoother and more efficient path, which can effectively avoid obstacles in a dynamic environment and meet the needs of robot motion control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118778650A_ABST
    Figure CN118778650A_ABST
Patent Text Reader

Abstract

The invention discloses a mobile robot motion planning method based on an improved A star algorithm. The method comprises the following steps: initializing an environment map; performing global path planning based on path search of an improved A star algorithm to obtain a global path; carrying out global path node optimization screening by adopting a jump point optimization strategy; carrying out smoothing processing on the optimized global path by adopting a cubic B-spline curve; and local path trajectory optimization: adopting a dynamic window algorithm, selecting the minimum evaluation function of the path trajectory as the optimal trajectory according to the evaluation function, and controlling the robot to move along the optimal trajectory. The method combines global and local path planning, and has the characteristics that the path calculation time is shortened, the path length is reduced, the path is smoother, and real-time obstacle avoidance can be carried out in time when a moving obstacle is encountered.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the fields of robots, computer vision and artificial intelligence technology, and in particular to a mobile robot motion planning method based on an improved A-star algorithm. Background Art

[0002] Mobile robot motion planning involves designing algorithms and strategies to enable the robot to move autonomously from one location to another in a static or dynamic environment while ensuring that the path is efficient, safe, and follows given constraints. This process involves identifying the environment, planning the path, making decisions, and optimizing the path. This field combines computer science, artificial intelligence, control theory, and robotics, and is essential for achieving highly autonomous mobile robots. It will play an important role in many fields in the future, such as autonomous vehicles, drones, and home service robots.

[0003] Specifically, the path planning of a mobile robot refers to planning a collision-free path to the target point that meets certain conditions in a static environment or a dynamic environment, including global path planning and local path planning. Global path planning is a static offline path planning. Usually, given a mobile robot and a known environmental model, it is necessary to find the best path between the starting position and the final position without colliding with obstacles. Local path planning relies on maps with unknown obstacles. The main algorithms used in global path planning include Dijkstra algorithm, RRT algorithm and A-star algorithm. In the prior art, the A-star algorithm has been widely studied and applied due to its simple principle, easy implementation, high search efficiency and ability to find the optimal solution. However, the disadvantages of the A-star algorithm include long calculation time for large maps, large turning angles and uneven paths. Summary of the invention

[0004] The purpose of the present invention is to overcome the above-mentioned shortcomings and propose a mobile robot motion planning method of the improved A-star algorithm which combines global and local path planning, shortens the path calculation time, reduces the path length and makes it smoother, and can also perform real-time obstacle avoidance in time when encountering moving obstacles.

[0005] The mobile robot motion planning method of the improved A-star algorithm of the present invention comprises the following steps:

[0006] Step 1: Determine and construct the environment and obstacle model; initialize the parameter information in the map, including the coordinates of the starting point and the target point, and the obstacle position information; divide the constructed map and the robot into grids for representing the robot's moving position, and divide the obstacles into grids in the environment model for calculating the position;

[0007] Step 2: Based on the path search of the improved A-star algorithm, perform global path planning and obtain the global path; the specific steps include:

[0008] Step 2.1: Bidirectional path search: Create two empty lists OPEN for the start node and the target node, namely the start node list OPEN and the target node list OPEN, respectively, to store the nodes to be explored, and add the start point and the end point to the start node list OPEN and the target node list OPEN respectively; at the same time, create two empty lists CLOSED for the start node and the target node, namely the start node list CLOSED and the target node list CLOSED, respectively, to store the nodes that have been explored; adopt a bidirectional node search mode, start forward and reverse searches from the start point and the target point, and use the adaptive heuristic function of the A-star algorithm for forward and reverse searches, respectively, to search for paths according to heuristic rules;

[0009] Step 2.2: Adaptive heuristic function: Calculate the minimum distance d between the current node and the obstacle in real time i , and set the distance size of the buffer area to l, by calculating d i The ratio of g(n) to h(n) in the heuristic function is determined by the ratio of l. The heuristic function is:

[0010] f(n)=l*g(n)+di*h(n) (1)

[0011] Where f(n) is the cost of node n, l is the buffer area distance, and d i is the minimum distance between the robot and the obstacle, g(n) is the cost of node n from the starting point, and h(n) is the cost of node n from the target point;

[0012] Step 2.3: Path acquisition: The forward and reverse searches respectively use the starting point and the target point as parent nodes to perform node expansion, and determine whether the expanded node is an obstacle. If it is an obstacle, it is an infeasible node. If not, the expanded node is added to the corresponding OPEN list; the cost of the expanded node is calculated according to the heuristic function, and the expanded node with the minimum cost value is selected from the OPEN list and added to the corresponding CLOSED list, and the neighboring nodes are traversed again with the expanded node as the parent node, and this process is executed repeatedly until the starting point and the target point exist in the target node list CLOSED and the starting node list CLOSED respectively, that is, the path is found, and the search process ends. The parent node of the backtracking node is the obtained global path node;

[0013] Step 3: Use the jump point optimization strategy to optimize and screen the global path nodes. The specific steps are as follows:

[0014] Step 3.1: Jump point optimization strategy: For the global path node obtained, starting from the starting point, connect the subsequent non-adjacent nodes in sequence. If the connection does not collide with obstacles, then this node is regarded as a jump point, and connect it with the next node of this node until the connection intersects with an obstacle. Then the previous node of this node is a must-pass node on the path and is put into a new jump point optimization set. Then update the calculation node of the jump point optimization, and use the node put into the jump point optimization set as the new starting node to continue to connect to the subsequent nodes until the connection to the target point does not intersect with obstacles. Then put the starting point and the target point into the set to obtain the path node after jump point optimization.

[0015] Step 3.2: Strengthen jump point optimization: In the set of path nodes after jump point optimization, select the coordinate point of the obstacle closest to the path node, extend the horizontal and vertical coordinates of the obstacle node, and use the intersection of the extension line and the path after jump point optimization as the new path must-pass node. Use the path point closest to this node as the jump point, remove the node, update the path node and output the path. The output path is the optimized global path.

[0016] Step 4: After optimization, the global path is smoothed to obtain the path trajectory;

[0017] Step 5: Local path optimization: Initialize the dynamic window algorithm DWA parameters; according to the nodes that the global path must pass through after optimization, input each segment of the path separately as the starting point and target point coordinates of the DWA algorithm, and calculate the angle based on the position relationship between the starting point and the target point as the heading angle of the robot;

[0018] Step 5.1: Establish robot motion model: The robot follows a straight path and maintains a constant speed during a small time window. The simplified motion model is described as:

[0019]

[0020] Where: x t ,x t+1 They represent the x-axis coordinates of the mobile robot at time t and t+1, respectively, in meters; y t ,y t+1 They represent the y-axis coordinates of the mobile robot at time t and t+1, respectively, in meters; v x ,v y They represent the velocity components of the mobile robot in the x and y directions at time t, in m / s; θ t ,θ t+1 Respectively represent the heading angle of the mobile robot at time t and t+1, in rad; △t represents the time window between t and t+1, that is, the adoption period; ω represents the angular velocity of the mobile robot, in rad / s;

[0021] Step 5.2: Robot velocity sampling: Determine the maximum and minimum linear and angular velocities of the robot and establish the velocity constraint space V m :

[0022] V m ={(v,ω)|v∈[V min ,V max ],ω∈[ω min ,ω max ]} (3)

[0023] Where: V min ,V max Respectively represent the minimum and maximum linear speeds of the mobile robot; ω min ,ω max Respectively represent the minimum and maximum angular velocities of the mobile robot;

[0024] The speed V during the sampling period d The increment or decrement of is subject to the following restrictions:

[0025] V d ={(v,ω)|v∈[v c -v b Δt,v c +v a Δt]∧ω∈[ω c -ω b Δt,ω c +ω a Δt]} (4)

[0026] Where: v c ,ω c Respectively represent the current linear velocity and angular velocity of the mobile robot; v a ,ω a Respectively represent the maximum linear acceleration and angular acceleration; v b ,ω b Indicates the maximum linear deceleration and angular deceleration;

[0027] Step 5.3: Design evaluation function: The total cost evaluation function represents the weighted sum of the individual cost functions, and the evaluation function Cost(v,ω) for evaluating the overall performance of the trajectory is:

[0028] Cost(v,ω)=αHead(v,ω)+βObs(v,ω)+γVel(v,ω) (5)

[0029] Where: Head(v,ω) represents the angle between the line connecting the mobile robot and the target position and the current position heading, Obs(v,ω) represents the shortest distance between the mobile robot and the obstacle, Vel(v,ω) represents the speed cost of the current simulation, and α, β, γ are weighting coefficients;

[0030] According to the evaluation function, the optimal trajectory is selected with the minimum evaluation function, and the robot is controlled to move along the trajectory.

[0031] The above-mentioned improved A-star algorithm mobile robot motion planning method, wherein: in step 1, the constructed map and the robot are divided into grids, where the robot is regarded as a unit with a particle size of 1, and the environment and obstacle map are also evenly divided into grids with a unit size of 1.

[0032] The above-mentioned improved A-star algorithm mobile robot motion planning method, wherein: in step 1, the obstacle, for the sake of the actual safety of the robot, ensures that the robot will not collide with the obstacle, and adds a buffer area around the obstacle, and sets this area as an area that the robot cannot pass through.

[0033] The above-mentioned improved A-star algorithm mobile robot motion planning method, wherein: in step 2.3, the forward and reverse searches respectively use the starting point and the target point as parent nodes to perform node expansion of neighboring nodes in eight directions.

[0034] The above-mentioned improved A-star algorithm mobile robot motion planning method, wherein: in step 4, the optimized global path is smoothed: the cubic B-spline curve is determined by a series of control points to determine the direction and limit range of the spline curve, and the optimized global path nodes are used as control points of the spline curve to smooth the path, and the curve P(u) is defined:

[0035]

[0036] Where: B i,k (u) is the i-th k-order B-spline basis function, and the control point P i Correspondingly, k>1; u is the independent variable.

[0037] The above-mentioned improved A-star algorithm mobile robot motion planning method, wherein: in step 5, the initialization dynamic window algorithm DWA parameters include the maximum and minimum linear velocity, maximum angular velocity, maximum linear and angular acceleration, resolution of linear velocity and angular velocity, sampling period, and forward estimation time of the mobile robot.

[0038] Compared with the prior art, the present invention has obvious beneficial effects. It can be seen from the above scheme that in the global path planning, a two-way search strategy is introduced in the A-star algorithm; at the same time, searches are performed from the starting point and the end point in opposite directions until the paths meet, thereby improving the search efficiency of the algorithm. Then, by dynamically adjusting the heuristic function, the redundant search nodes of the algorithm are reduced. The enhanced jump point optimization function is introduced to eliminate redundant nodes in the path, thereby greatly shortening the path length and reducing the turning angle. In addition, in the local path planning, the path is smoothed by a cubic b-spline curve to meet the actual control requirements of the robot. Combined with the DWA algorithm, real-time obstacle avoidance is achieved in an environment with moving obstacles, and a smooth path is planned. Different situations of different maps are simulated. In terms of calculation time and path length, the present invention can more effectively solve the robot motion planning problem.

[0039] The beneficial effects of the present invention are further illustrated below through specific implementation modes. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 It is a flow chart of the present invention;

[0041] Figure 2 This is a schematic diagram of jump point optimization of the present invention;

[0042] Figure 3 This is a schematic diagram of the enhanced jump point optimization of the present invention;

[0043] Figure 4 It is a simulation schematic diagram of an embodiment of the present invention. DETAILED DESCRIPTION

[0044] In conjunction with the accompanying drawings and preferred embodiments, the specific implementation manner, features and efficacy of a mobile robot motion planning method based on an improved A-star algorithm proposed in the present invention are described in detail as follows.

[0045] See also Figure 1 The mobile robot motion planning method of the improved A-star algorithm of the present invention comprises the following steps:

[0046] Step 1: Determine and construct the environment and obstacle model; initialize the parameter information in the map, including the coordinates of the starting point and the target point, and the obstacle position information; divide the constructed map and the robot into grids, where the robot is regarded as a unit with a particle value of 1, and the environment and obstacle map are also evenly divided into grids with a unit value of 1, which are used to represent the robot's moving position. In the environment model, the obstacles are divided into grids for calculating the position. For the actual safety of the robot, to ensure that the robot will not collide with the obstacles, a buffer area is added around the divided obstacles, and this area is set as an area that the robot cannot pass through; the node search mode is extended to change the traditional four-direction node search mode to an eight-direction node search mode.

[0047] Step 2: Based on the path search of the improved A-star algorithm, perform global path planning and obtain the global path; the specific steps include:

[0048] Step 2.1: Bidirectional path search: Create two empty lists OPEN for the start node and the target node, namely the start node list OPEN and the target node list OPEN, respectively, to store the nodes to be explored, and add the start point and the end point to the start node list OPEN and the target node list OPEN respectively; at the same time, create two empty lists CLOSED for the start node and the target node, namely the start node list CLOSED and the target node list CLOSED, respectively, to store the nodes that have been explored; adopt a bidirectional node search mode, start forward and reverse searches from the start point and the target point, and use the adaptive heuristic function of the A-star algorithm for forward and reverse searches, respectively, to search for paths according to heuristic rules;

[0049] Step 2.2: Adaptive heuristic function: Calculate the minimum distance d between the current node and the obstacle in real time i , and set the distance size of the buffer area to l, by calculating d i The ratio of g(n) to h(n) in the heuristic function is determined by the ratio of l. The heuristic function is:

[0050] f(n)=l*g(n)+di*h(n) (1)

[0051] Where f(n) is the cost of node n, l is the buffer area distance, and d i is the minimum distance between the robot and the obstacle, g(n) is the cost of node n from the starting point, and h(n) is the cost of node n from the target point;

[0052] Step 2.3: Path acquisition: The forward and reverse searches respectively use the starting point and the target point as parent nodes to perform node expansion of neighboring nodes in eight directions, and determine whether the expanded node is an obstacle. If it is an obstacle, it is an infeasible node. If not, the expanded node is added to the corresponding OPEN list; the cost of the expanded node is calculated according to the heuristic function, and the expanded node with the minimum cost value is selected from the OPEN list and added to the corresponding CLOSED list, and the neighboring nodes are traversed again with the expanded node as the parent node, and this process is executed repeatedly until the starting point and the target point exist in the target node list CLOSED and the starting node list CLOSED respectively, that is, the path is found, and the search process ends. The parent node of the backtracking node is the acquired global path node;

[0053] Step 3: Use the jump point optimization strategy to optimize and screen the global path nodes. The specific steps are as follows:

[0054] Step 3.1: Jump point optimization strategy: For the global path node obtained, starting from the starting point, connect the subsequent non-adjacent nodes in turn. If the connection does not collide with obstacles, then this node is regarded as a jump point and connects with the next node of this node until the connection intersects with the obstacle. Then the previous node of this node is the node that must be passed through the path and is put into the new jump point optimization set. Then update the calculation node of the jump point optimization, and use the node put into the jump point optimization set as the new starting node to continue to connect to the subsequent nodes until the connection to the target point does not intersect with the obstacle. Put the starting point and the target point into the set to obtain the path node after jump point optimization (such as Figure 2 );

[0055] Step 3.2: Strengthen jump point optimization: In the set of path nodes after jump point optimization, select the coordinate point of the obstacle closest to the path node, extend the horizontal and vertical coordinates of the obstacle node, and use the intersection of the extension line and the path after jump point optimization as the new path must-go node. Use the path point closest to this node as the jump point, remove the node, update the path node and output the path. The output path is the optimized global path (such as Figure 3 );

[0056] Step 4: Smoothing the global path after optimization: The cubic B-spline curve is determined by a series of control points to determine the direction and limit range of the spline curve. The optimized global path nodes are used as the control points of the spline curve to smooth the path and define the curve P(u):

[0057]

[0058] Where: B i,k (u) is the i-th k-order B-spline basis function, and the control point P iCorrespondingly, k>1; u is the independent variable;

[0059] Step 5: Local path optimization: Initialize the dynamic window algorithm (DWA) parameters, including the maximum and minimum linear speed, maximum angular speed, maximum linear and angular acceleration, resolution of linear speed and angular speed, sampling period, and forward estimation time of the mobile robot; according to the nodes that must be passed through the global path after optimization, input each section of the path separately as the starting point and target point coordinates of the DWA algorithm, and calculate the angle based on the position relationship between the starting point and the target point as the heading angle of the robot;

[0060] Step 5.1: Establish robot motion model: The robot follows a straight path and maintains a constant speed during a small time window. The simplified motion model is described as:

[0061]

[0062] Where: x t ,x t+1 They represent the x-axis coordinates of the mobile robot at time t and t+1, respectively, in meters; y t ,y t+1 They represent the y-axis coordinates of the mobile robot at time t and t+1, respectively, in meters; v x ,v y They represent the velocity components of the mobile robot in the x and y directions at time t, in m / s; θ t ,θ t+1 Respectively represent the heading angle of the mobile robot at time t and t+1, in rad; △t represents the time window between t and t+1, that is, the adoption period; ω represents the angular velocity of the mobile robot, in rad / s;

[0063] Step 5.2: Robot speed sampling: Determine the maximum and minimum linear and angular speeds of the robot and establish the speed constraint space:

[0064] V m ={(v,ω)|v∈[V min ,V max ],ω∈[ω min ,ω max ]} (3)

[0065] Where: V min ,V max Respectively represent the minimum and maximum linear speeds of the mobile robot; ω min ,ω max Respectively represent the minimum and maximum angular velocities of the mobile robot;

[0066] The speed V during the sampling period dThe increment or decrement of is subject to the following restrictions:

[0067] V d ={(v,ω)|v∈[v c -v b Δt,v c +v a Δt]∧ω∈[ω c -ω b Δt,ω c +ω a Δt]} (4)

[0068] Where: v c ,ω c Respectively represent the current linear velocity and angular velocity of the mobile robot; v a ,ω a Respectively represent the maximum linear acceleration and angular acceleration; v b ,ω b Indicates the maximum linear deceleration and angular deceleration;

[0069] Generates a trajectory for a path subject to a velocity constraint.

[0070] Step 5.3: Design evaluation function: The total cost evaluation function represents the weighted sum of the individual cost functions, and the evaluation function Cost(v,ω) for evaluating the overall performance of the trajectory is:

[0071] Cost(v,ω)=αHead(v,ω)+βObs(v,ω)+γVel(v,ω) (5)

[0072] Where: Head(v,ω) represents the angle between the line connecting the mobile robot and the target position and the current position heading, Obs(v,ω) represents the shortest distance between the mobile robot and the obstacle, Vel(v,ω) represents the speed cost of the current simulation, and α, β, γ are weighting coefficients;

[0073] According to the evaluation function, the optimal trajectory is selected with the minimum evaluation function, and the robot is controlled to move along the trajectory.

[0074] Performance Analysis:

[0075] The program runs on a 64-bit Windows 11 operating system with 16GB of memory, and uses the Anaconda3 integrated development environment as the experimental platform. In order to ensure the credibility of the experimental comparison, the maximum and minimum linear speeds, maximum angular speeds, maximum linear and angular accelerations, resolutions of linear speeds and angular speeds, sampling periods, and forward estimation time of the mobile robot are uniformly set, and are set to: 1.0m / s, -0.5m / s, 40° / s, 0.2m / s2, 40° / s2, 0.01m / s, 0.1° / s, 0.1s, 3s. The starting point and target point of the path planning are consistent, and the coordinates of the starting point and target point are (0,20) and (20,0) respectively.

[0076] Set up an experimental scene. The experimental scene is based on a small environment with few obstacles and adds three moving obstacles to form a complex environment containing moving obstacles to verify the feasibility of the hybrid algorithm. The three obstacles are set as an obstacle moving uniformly to the left, with the domain values ​​of x and y being [0,20], the starting point being (5.0,5.0), and the target point being (20.0,5.0); an obstacle moving uniformly upward, with the domain values ​​of x and y being [0,20], the starting point being (5.0,5.0), and the target point being (5.0,20.0); an obstacle moving uniformly downward, with the domain values ​​of x and y being [0,20], the starting point being (10.0,10.0), and the target point being (10.0,0.0).

[0077] like Figure 4 As shown in the figure, it can be observed that the improved fusion algorithm can not only effectively avoid obstacles, but also find the best path. This hybrid path planning algorithm combines two different strategies, which can not only select the shortest global path in a dynamic obstacle environment, but also bypass obstacles in time and plan an ideal optimal path that is smooth and conforms to the kinematic laws of the robot.

[0078] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any form. Any simple modification, equivalent change and modification made to the above embodiment according to the technical essence of the present invention without departing from the technical solution of the present invention still falls within the scope of the technical solution of the present invention.

Claims

1. A mobile robot motion planning method based on an improved A-star algorithm, characterized in that: The method comprises the following steps: Step 1: Initialize the environment map, divide the map into grids, determine the position coordinates of the robot's starting node and target node, and the obstacle location information; add a buffer area around the obstacle and set this area as an area that the robot cannot pass through Step 2: Based on the path search of the improved A-star algorithm, perform global path planning and obtain the global path; The specific steps include: Step 2.1: Bidirectional path search: Create two empty lists OPEN for the start node and the target node, namely the start node list OPEN and the target node list OPEN, respectively, to store the nodes to be explored, and add the start node and the target node to the start node list OPEN and the target node list OPEN respectively; at the same time, create two empty lists CLOSED for the start node and the target node, namely the start node list CLOSED and the target node list CLOSED, respectively, to store the nodes that have been explored; adopt a bidirectional node search mode, start forward and reverse searches from the start node and the target node, and use the adaptive heuristic function of the A-star algorithm for forward and reverse searches, respectively, to search for paths according to heuristic rules; Step 2.2: Adaptive heuristic function: Calculate the minimum distance d between the extended node and the obstacle i , and set the distance size of the buffer area to l, by calculating d i The ratio of g(n) to h(n) in the heuristic function is determined by the ratio of l. The heuristic function is: f(n)=l*g(n)+di*h(n) (1) Where f(n) is the cost of node n, l is the buffer area distance, and d i is the minimum distance between the i-th extended node and the obstacle position, g(n) is the cost of node n from the starting node, and h(n) is the cost of node n from the target node; Step 2.3: Path acquisition: The forward and reverse searches respectively use the start node and the target node as parent nodes to perform node expansion, and determine whether the expanded node is an obstacle. If it is an obstacle, it is an infeasible node. If not, the expanded node is added to the corresponding OPEN list; The cost of the extended node is calculated according to the heuristic function, and the extended node with the minimum cost is selected from the OPEN list and added to the corresponding CLOSED list. The neighboring nodes are traversed again with the extended node as the parent node. This process is repeated until the starting node and the target node exist in the target node list CLOSED and the starting node list CLOSED respectively. In this case, the path is found and the search process ends. The parent node of the backtracking node is the obtained global path node. Step 3: Use the jump point optimization strategy to optimize and screen the global path nodes. The specific steps are as follows: Step 3.1: Jump point optimization strategy: For the global path nodes obtained, starting from the starting node, connect the subsequent non-adjacent nodes in sequence. If the connection does not intersect with the obstacle, then this node is regarded as a jump point and skipped, and a connection is made with the next node of this node until the connection intersects with the obstacle. The previous node of the node that intersects is the node that must be passed through the path and is put into the new jump point optimization set. Then the calculation node of the jump point optimization is updated, and the node put into the jump point optimization set is the new starting node to continue to connect to the subsequent nodes until the connection to the target point does not intersect with the obstacle. The starting node and the target node are put into the set to obtain the path node after jump point optimization; Step 3.2: Strengthen jump point optimization: In the set of path nodes after jump point optimization, select the coordinate point of the obstacle closest to the path node, extend the horizontal and vertical coordinates of the obstacle node, and use the intersection of the extension line and the path after jump point optimization as the new path must-pass node. Use the path point closest to this node as the jump point, remove the node, update the path node and output the path. The output path is the optimized global path. Step 4: The optimized global path is smoothed; a cubic B-spline curve is used, and the path nodes after the enhanced jump point optimization are used as the control points of the spline curve to determine the direction and limited range of the spline curve, so as to smooth the path and obtain the path trajectory; Step 5: Local path trajectory optimization: Initialize the dynamic window algorithm DWA parameters; according to the nodes that the global path must pass through after optimization, the path between two adjacent nodes is separately input as the starting point and target point coordinates of the DWA algorithm, and the angle is calculated according to the position relationship between the starting point and the target point of each path as the heading angle of the robot; Step 5.1: Establish robot motion model: The robot follows a straight path and maintains a constant speed during a small time window. The simplified motion model is described as: Where: x t ,x t+1 They represent the x-axis coordinates of the mobile robot at time t and t+1, respectively, in meters; y t ,y t+1 They represent the y-axis coordinates of the mobile robot at time t and t+1, respectively, in meters; v x ,v y They represent the velocity components of the mobile robot in the x and y directions at time t, in m / s; θ t ,θ t+1 Respectively represent the heading angle of the mobile robot at time t and t+1, in rad; △t represents the time window between t and t+1, that is, the adoption period; ω represents the angular velocity of the mobile robot, in rad / s; Step 5.2: Robot velocity sampling: Determine the maximum and minimum linear and angular velocities of the robot and establish the velocity constraint space V m : V m ={(v,ω)|v∈[V min ,V max ],ω∈[ω min ,ω max ]} (3) Where: V min ,V max Respectively represent the minimum and maximum linear speeds of the mobile robot; ω min ,ω max Respectively represent the minimum and maximum angular velocities of the mobile robot; The speed V during the sampling period d The increment or decrement of is subject to the following restrictions: V d ={(v,ω)|v∈[v c -v b Δt,v c +v a Δt]∧ω∈[ω c -oh b Δt,ω c +oh a Δt]} (4) Where: v c ,ω c Respectively represent the current linear velocity and angular velocity of the mobile robot; v a ,ω a Respectively represent the maximum linear acceleration and angular acceleration; v b ,ω b Indicates the maximum linear deceleration and angular deceleration; Step 5.3: Design evaluation function: The total cost evaluation function represents the weighted sum of the individual cost functions, and the evaluation function Cost(v,ω) that evaluates the overall performance of the path trajectory is: Cost(v,ω)=αHead(v,ω)+βObs(v,ω)+γVel(v,ω) (5) Where: Head(v,ω) represents the angle between the line connecting the mobile robot and the target position and the current position heading, Obs(v,ω) represents the shortest distance between the mobile robot and the obstacle, Vel(v,ω) represents the speed cost of the current simulation, and α, β, γ are weighting coefficients; According to the evaluation function, the path trajectory with the smallest evaluation function is selected as the optimal trajectory, and the robot is controlled to move along the optimal trajectory.

2. The mobile robot motion planning method of the improved A-star algorithm as claimed in claim 1, characterized in that: In step 1, the map is evenly divided into grids with a unit of 1, and the mobile robot is regarded as a unit with a particle of 1.

3. The mobile robot motion planning method of the improved A-star algorithm as claimed in claim 1, characterized in that: In step 2.3, the forward and reverse searches respectively use the start node and the target node as parent nodes to perform node expansion of neighboring nodes in eight directions.

4. The mobile robot motion planning method of the improved A-star algorithm as claimed in claim 1, characterized in that: In step 4, the cubic B-spline curve is determined by a series of control points to determine the direction and limit the range of the spline curve, and the optimized global path nodes are used as the control points of the spline curve to smooth the path, and the spline curve P(u) is defined as: Where: B i,k (u) is the i-th k-order B-spline basis function, and the control point P i Correspondingly, k is greater than 1; u is the independent variable.

5. The mobile robot motion planning method based on the improved A-star algorithm according to any one of claims 1 to 4, characterized in that: In step 5, the dynamic window algorithm DWA parameters are initialized, including the maximum and minimum linear velocity, maximum angular velocity, maximum linear and angular acceleration, resolution of linear velocity and angular velocity, sampling period, and forward estimation time of the mobile robot.

Citation Information

Cited By

  • Deformation wheel type mobile robot path planning method

    CN119828697A

  • Plant protection robot path planning method and system based on unmanned aerial vehicle high-definition map

    CN120027783A

  • Path planning method and system for plant protection robots based on UAV high-definition maps

    CN120027783B

  • Robot path planning method and system, medium, product and computer equipment

    CN120029302A

  • Robot path navigation method based on improved DWA algorithm

    CN120063293A