Next Article in Journal
A Sub-Picoampere Measurement Algorithm for Use in Dosimetry of Time-Varying Radiation Fields
Next Article in Special Issue
Research on Tire Surface Damage Detection Method Based on Image Processing
Previous Article in Journal
Determining Cognitive Workload Using Physiological Measurements: Pupillometry and Heart-Rate Variability
Previous Article in Special Issue
Predictive Path-Tracking Control of an Autonomous Electric Vehicle with Various Multi-Actuation Topologies
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Global Dynamic Path Planning of AGV Based on Fusion of Improved A* Algorithm and Dynamic Window Method

1
School of Automotive Engineering, Shandong Jiaotong University, Jinan 250357, China
2
Research and Development Department, Shandong Huali Electromechanical Co., Ltd., Jining 250101, China
3
School of Aeronautics, Shandong Jiaotong University, Jinan 250357, China
*
Authors to whom correspondence should be addressed.
Sensors 2024, 24(6), 2011; https://doi.org/10.3390/s24062011
Submission received: 8 February 2024 / Revised: 3 March 2024 / Accepted: 20 March 2024 / Published: 21 March 2024

Abstract

:
Designed to meet the demands of AGV global optimal path planning and dynamic obstacle avoidance, this paper proposes a combination of an improved A* algorithm and dynamic window method fusion algorithm. Firstly, the heuristic function is dynamically weighted to reduce the search scope and improve the planning efficiency; secondly, a path-optimization method is introduced to eliminate redundant nodes and redundant turning points in the path; thirdly, combined with the improved A* algorithm and dynamic window method, the local dynamic obstacle avoidance in the global optimal path is realized. Finally, the effectiveness of the proposed method is verified by simulation experiments. According to the results of simulation analysis, the path-planning time of the improved A* algorithm is 26.3% shorter than the traditional A* algorithm, the search scope is 57.9% less, the path length is 7.2% shorter, the number of path nodes is 85.7% less, and the number of turning points is 71.4% less. The fusion algorithm can evade moving obstacles and unknown static obstacles in different map environments in real time along the global optimal path.

1. Introduction

With the wide use of automatic guided vehicles (AGVs) in logistics, warehousing and industrial production, its path-planning technology has been widely studied by scholars. The path planning of AGV refers to the generation of a safe, collision-free path based on the shortest time or the shortest path in a map environment. The effect of path planning will determine the efficiency, safety and stability of AGV operation. From the degree of mastery of the operating environment, the path planning of AGVs includes global path planning and local path planning [1]. The global path planning of AGV is to generate the global optimal path by using the search algorithm to avoid static obstacles in the known work scene. The commonly used global path-planning algorithms include graph-based search algorithms (such as Dijkstra algorithm [2], A* algorithm [3,4,5,6,7,8]), sampling-based algorithms (such as rapidly exploring random tree algorithm [9]) and intelligent algorithms (such as genetic algorithm [10], ant colony algorithm [11,12]). Local path planning means that AGVs use sensors to collect local environment information for real-time dynamic obstacle avoidance during operation. The dynamic window method [13] and artificial potential field method [14] are often used as local path-planning algorithms.
The A* algorithm, since it has the advantages of a simple structure and a small amount of calculation, is widely applied to grid map global path planning. However, there are many drawbacks in the traditional A* algorithm, such as low search efficiency in a complex environment, a lot of redundant nodes and turning points in the path and an unsmooth path. Wang et al. [3] reduced the number of turns by introducing the length of the planned completed path and the time cost required for the planned completed path into the cost function of the A* algorithm, and then removed the nodes passing through the vertices of the obstacle and adopted the arc turning strategy to generate a safe and smooth AGV path. Lai et al. [4] reduced the expansion nodes and shorten the search time by improving the neighborhood search strategy and heuristic function, deleted redundant nodes by introducing a method of preserving key nodes, and combined with a piecewise second-order Bezier curve to generate the smooth path for mobile robot driving. Zhang et al. [5] introduced a deviation factor in the heuristic function to reduce the total number of expansion nodes, which is the vertical distance between the current node and the connection of starting and target point, used the bi-directional A* search strategy to speed up path search, and combined with B-spline curve. The path meeting the needs of surface unmanned vehicle is then generated. Zheng et al. [6] added the hop search strategy on the traditional A* algorithm to speed up the search speed of the path node of the A* algorithm, and used the angle evaluation to reduce the quantity of turning points so as to enhance the running efficiency of AGVs. Fang et al. [7] introduced a logarithmic attenuation factor into heuristic function, proposed the strategy of solving key nodes, reduced the search nodes and path turning points, and integrated the A* algorithm with dynamic window method which solved the problems that the path of the A* algorithm cannot meet the driving demand of AGVs and the dynamic window method cannot reach the target point. Although the above literature has made different improvements to the A* algorithm, it still does not solve the problem of dynamic obstacle avoidance. Kim et al. [13] proposed an algorithm that combines the dynamic window method and deep reinforcement learning to achieve local dynamic obstacle avoidance, but this algorithm is not suitable for global optimal path planning. Yang et al. [15] proposed a global dynamic path-planning method which combines an ant colony algorithm and the dynamic window method, but the efficiency of this algorithm needs to be improved.
Although the A* algorithm has strong global path-planning ability, its planned path is not smooth and cannot achieve dynamic obstacle avoidance. The dynamic window method has a good ability for local path planning, which can achieve dynamic obstacle avoidance, but it is not suitable for global path planning. In this paper, a path-planning fusion algorithm is proposed to achieve the global optimal path planning of AGVs, improve the efficiency of path planning, and achieve real-time dynamic obstacle avoidance. Firstly, by improving the cost function of the traditional A* algorithm, the path search is more directional, the expansion of nodes is lower and the search time is shorter. Secondly, by using path optimization strategy to eliminate redundant nodes and redundant turning points in the global path, the path length is shortened and the path smoothness is improved. Finally, the fusion of the global planning capability of the A* algorithm and the local planning capability of the dynamic window method enables the AGV to realize dynamic obstacle avoidance in global path planning, effectively avoiding dynamic obstacles and unknown static obstacles that may appear in the driving path.

2. Global Path Planning Based on Improved A* Algorithm

2.1. Traditional A* Algorithm

The traditional A* algorithm is a heuristic search algorithm developed on the basis of the Dijkstra algorithm. Compared with the blind search of the Dijkstra algorithm, traditional A* algorithms incorporate heuristic functions in the neighborhood search process to provide search directions for path planning [8]. After the heuristic function is included, the cost function is used to evaluate the neighborhood nodes around the starting point, select the least costly node as the next node in the surrounding neighborhood, then evaluate around the neighborhood nodes of the current node, and so on until the target point is searched. The traditional A* algorithm calculates the cost value as follows:
f ( n ) = g ( n ) + h ( n )
In the formula, f ( n ) is the estimated value from the starting point to the target point, g ( n ) is the actual value from the starting point to the node n , h ( n ) is the estimated value from node n to the target point.
In the paper, we use the Euclidean distance for the actual cost value g ( n ) and the Chebyshev distance for the estimated cost value h ( n ) . The calculation formulas are as follows:
g ( n ) = ( x n x s ) 2 + ( y n y s ) 2
h ( n ) = max x t x n , y t y n
In the formula, ( x s ,   y s ) represents the co-ordinates of the start point, ( x n ,   y n ) represents the co-ordinates of the current node n, and ( x t ,   y t ) represents the co-ordinates of the target point.

2.2. Improved A* Algorithm

2.2.1. Improved Heuristic Function

According to the principle of the A* algorithm, the search performance mainly depends on the heuristic function h ( n ) . The A* algorithm has different planning effects when using different heuristic functions. The assumption that r ( n ) is the real cost value from the current node to the target point. When h ( n ) = 0 , the A* algorithm degenerates to the Dijkstra algorithm. When searching the path, the algorithm traverses all the nodes, which ensures that the optimal path is found, but wastes most of the time searching for invalid nodes, making the search inefficient. When h ( n ) < r ( n ) , the search range will be expanded to produce too many extended nodes during the path search, so the path search time is long and less efficient. When h ( n ) > r ( n ) , the search scope of the algorithm is small, the extended node moves rapidly towards the target point. In this case, although the algorithm’s path search is very fast, it is difficult to plan the optimal path. When h n = r ( n ) , this is the ideal state, and the algorithm will find an optimal path with high search efficiency. To sum up, if we want the A* algorithm to plan an optimal path with high efficiency, we need to pick a suitable heuristic function.
In order to make the heuristic function h ( n ) closer to r ( n ) , the distance weight factor and logarithmic attenuation factor are introduced to dynamically weight the heuristic function.
The improved heuristic function h ( n ) is:
h ( n ) = ( 1 + d D ) lg ( h ( n ) + 1 ) h ( n )
In the formula, d is the Euclidean distance from the current node n to the target point, and D is the Euclidean distance from the starting point to the target point.
Near the starting point, the distance weight factor 1 + d D approaches to 2. With the progress of the pathfinding process, the distance weight factor decreases gradually. When near the end point, the distance weight factor 1 + d D approaches to 1. According to the characteristics of the logarithmic function, the value of h ( n ) near the starting point is larger, and the logarithmic attenuation factor lg ( h n + 1 ) is also larger. With the progress of the pathfinding process, h ( n ) decreases gradually, and the logarithmic attenuation factor lg ( h n + 1 ) decreases gradually. Through the dynamic weight of the distance weight factor and logarithmic attenuation factor to the heuristic function, the heuristic function h ( n ) accounts for a large proportion in the early stage of path planning, so it can reduce the number of search nodes and make the path move towards the target point faster. When the path is close to the target point, the weight of the heuristic function h ( n ) is small, so it can expand the search range of nodes and ensure the optimality of the path.
The improved cost function is:
f ( n ) = g ( n ) + h ( n )

2.2.2. Path Optimization Strategy

The A* algorithm produces many redundant nodes and turning points during path planning. AGVs will slow down when turning, so the path with more turning points will reduce the efficiency of AGVs. To address this problem, we propose a path optimization strategy in this paper.
The process of the path optimization strategy is shown in Figure 1. To remove redundant nodes and turning points, we need to find redundant nodes and turning points in the path first. The redundant nodes are found by judging whether the child node and the parent node of the current node are collinear. The redundant turning points are found by judging whether the lines of the turning points pass through the obstacle. The specific steps are as follows:
Step 1: Remove redundant nodes. Let the set of path nodes planned by the improved A* algorithm be { Q i | i = 1,2 , , n } . Q 1 and Q n represent the starting point and target point respectively. Starting from the second node Q 2 of the path, it is determined whether Q 2 is collinear with its parent node Q 1 and its child node Q 3 . If they are collinear, then node Q 2 is redundant, delete node Q 2 and change the parent of node Q 3 to Q 1 , updating the OPEN list. If they are not collinear, node Q 2 is preserved. Then, check the nodes Q 3 , Q 4 , …, Q n 1 in the same way. Finally, we obtain a new set of path nodes.
Step 2: Remove redundant turning points. After the path is optimized by step 1, the redundant nodes are removed, and then the new path is optimized in the next step to remove redundant turning points. Let the new path nodes set be { N i | i = 1,2 , , n } . First, connect node N 1 to N 3 , N 4 , …, N n in turn to determine whether the straight line crosses the obstacle or not. If the straight line N 1 N k ( k = 3,4 , 5 , , n ) is the line that crosses the obstacle for the first time, then N k 1 is the critical turning point, and the nodes between node N 1 and node N k 1 are the redundant turning points, then the redundant turning points are removed and the set of path nodes is updated. Then, connect the node N k to the following nodes in turn, and repeat the above determination step until it is connected to the target point N n .
By removing redundant nodes and turning points, the turning angle and path length of the global path can be reduced, which makes the fusion algorithm more stable in tracking the global path and improves the efficiency of path planning of the fusion algorithm.

3. Local Path Planning Based on Dynamic Window Method

The dynamic window method is commonly utilized for local path planning [13]. This algorithm can help AGVs to avoid moving obstacles and unknown static obstacles in the working environment. The implementation process of the dynamic window method is: firstly, multiple groups of velocities are sampled in the velocity space of a moving AGV. Secondly, multiple groups of motion trajectories of an AGV in the next interval is simulated according to multiple groups of sampled velocities. Thirdly, the optimal trajectory of the AGV is selected by evaluating the multiple groups of trajectories obtained from the evaluation function. Finally, the velocity corresponding to the optimal trajectory is taken as the velocity instruction of the AGV [16].

3.1. The Kinematics Model of AGV

The dynamic window method simulates the trajectories of the next moment based on the sampled velocities, so it is essential to model the kinematics of the AGV. The movement trajectory of the AGV is composed of arc trajectories generated in each sampling interval Δ t , because Δ t is very short, so each arc trajectory can be regarded as a straight line trajectory. It is assumed that the AGV moves at a constant speed in Δ t , the kinematic model of the AGV can be represented as:
x t + 1 = x t + v x Δ t cos θ t v y Δ t sin θ t y t + 1 = y t + v y Δ t sin θ t + v x Δ t cos θ t θ t + 1 = θ t + Δ t ω
In the formula, ( x t , y t ) and ( x t + 1 , y t + 1 ) are the position co-ordinates of AGV at time t and time t + 1 , respectively. θ t and θ t + 1 are the heading angles of AGV a at time t and time t + 1 , respectively. v x and v y are projections of the running speed of AGV on the x-axis and y-axis, respectively.

3.2. Velocity Sampling

According to the established AGV kinematic model, the trajectories of the AGVs at the next moment can be obtained from the sampled linear and angular velocities. Since there are many sets of velocities to choose from in the velocities space, the sampling velocities need to be constrained according to the conditions of the AGV and the limitations of the environment.
(1) The linear velocity and angular velocity constraints of AGV:
V m = ( v , ω ) | v [ v min , v max ] , ω [ ω min , ω max ]
In the formula, v m i n and v m a x are the minimum and maximum linear velocity of AGV respectively. ω m i n and ω m a x are the minimum and maximum angular velocity of AGV respectively.
(2) During the time interval Δ t , due to the limitations of motor performance and braking performance, the operating velocity of the AGV is constrained to a specified scope, and the constraint is denoted as:
V d = ( v , ω ) | v [ v c v ˙ a Δ t , v c + v ˙ b Δ t ] , ω [ ω c ω ˙ a Δ t , ω c + ω ˙ b Δ t ]
In the formula, v c and ω c are the linear velocity and angular velocity of AGV at the current moment. v ˙ a and ω ˙ a are the maximum linear deceleration and angular deceleration of AGV. v ˙ b and ω ˙ b are the maximum linear acceleration and angular acceleration of AGV.
(3) For the safe operation of AGVs, it is necessary to ensure that the AGV reduces its velocity to zero before it collides with an obstacle, and the velocity constraints of AGVs is as follows:
V a = ( v , ω ) | v 2 d i s t ( v , ω ) v ˙ b , ω 2 d i s t ( v , ω ) ω ˙ b
In the formula, d i s t ( v , ω ) denotes the nearest safe distance to an obstacle on the AGV trajectory projected at velocity ( v , ω ) .

3.3. Evaluation Function

From the implementation process of dynamic window method introduced earlier, it is known that a suitable evaluation function needs to be designed to evaluate the trajectories simulated by many sets of sampling velocities in the velocities space, then select an optimal trajectory as the next trajectory of AGV. In this paper, we aim to design the evaluation function to ensure that the AGV reaches the target point at a faster speed while maintaining a safe distance from obstacles during operation. The evaluation function is given below:
G ( v , ω ) = σ ( α h e a d ( v , ω ) + β d i s t ( v , ω ) + γ v e l o c i t y ( v , ω ) )
In the formula, h e a d ( v , ω ) is used to guide the direction of AGV movement and prevent it from deviating from the target point. d i s t ( v , ω ) makes AGV keep a safe distance from the obstacles and prevent collision. v e l o c i t y ( v , ω ) makes AGV move to the target point quickly. α , β , γ are the weighting coefficients. σ is the smoothing factor.

4. Fusion of Improved A* Algorithm and Dynamic Window Method

The improved A* algorithm can plan a globally optimal path for the AGV, but it cannot cope with dynamic obstacles and unknown static obstacles that may occur in the working environment. Although the dynamic window method is not applicable to global path planning, it has good local obstacle avoidance performance. Therefore, this paper integrates two algorithms to achieve global path planning and dynamic obstacle avoidance. The specific integration steps are as follows:
(1)
Planning global paths by improving the A* algorithm.
(2)
Optimizing global path using the path optimization strategy.
(3)
The critical turning points in the globally optimal path are made as temporary target points for the dynamic window method.
(4)
Local path planning between critical turning points using the dynamic window method.
(5)
Generate a global optimal path.
The fusion algorithm flow is shown in Figure 2.

5. Simulation Experiment and Analysis

In order to validate the feasibility of the improved A* algorithm and the fusion algorithm, simulation experiments are conducted using MATLAB2020a. The processor of the test host is Intel(R) Core(TM) i5-10400F, the main frequency is 2.90 GHz, and the memory is 16 GB. The working environment of the AGV is simulated using a 20   m × 20   m grid map. The grid map is shown in Figure 3, where each grid is 1  m long, the black areas represent the obstacles area and the white areas represent the space where the AGV can move freely. The start point of the AGV is ( 1.5   m , 1.5   m ) and the target point is ( 19.5   m , 19.5   m ) .
The parameters of the dynamic window method are as follows: the maximum linear velocity of the AGV is 1.5 m / s , the maximum linear acceleration is 1 m / s 2 , the maximum angular velocity is 40 r a d / s , the maximum angular acceleration is 50 r a d / s 2 , the linear velocity resolution is 0.05 m / s , and the angular velocity resolution is 1 r a d / s . The parameters of the evaluation function are set as follows: σ = 1 , α = 0.05 , β = 0.2 , γ = 0.3 , and the prediction time is 2 s .

5.1. Simulation Analysis of Heuristic Function

The traditional A* algorithm has a large search scope and a long search time, resulting in inefficient path planning. After the improvement of the heuristic function, the advantages of the improved A* algorithm in this paper are reflected through comparative analysis of simulation experiments. The simulation results are shown in Figure 4, where the black grids represent the obstacles, the green grid and the red grid represent the starting point and the target point, respectively, the blue grids represent the planning path, and the yellow grids are the search areas of the algorithm. To prevent experimental errors attributed to fluctuations in host performance, the experimental data results are the average values obtained from 20 consecutive simulation experiments.
Figure 4a shows the path-planning results of the traditional A* algorithm. According to the results of simulation experiments, the path planning of the traditional A* algorithm takes 0.076 s , the planned path has a length of 30.73 m , and the search scope occupies 228  m 2 .
Figure 4b shows the path-planning results of the the improved A* algorithm in reference [7]. For ease of representation, the algorithm will be given the name modified A* algorithm. According to the results of simulation experiments, the path planning of the modified A* algorithm takes 0.076 s, the planned path has a length of 30.73 m , and the search scope occupies 228  m 2 .
Figure 4c shows the path planning results of the traditional A* algorithm. According to the results of simulation experiments, the path planning of the improved A* algorithm takes 0.057 s, the planned path has a length of 30.73  m , and the search scope occupies 96  m 2 .
Table 1 summarizes the experimental data for the three A* algorithms. From the above experimental data, it can be seen that all three algorithms have the same planning path lengths. However, the path-planning time of the improved A* algorithm is 26.3% less than the traditional A* algorithm and 4% less than the modified A* algorithm. The improved A* algorithm has 57.9% less search scope than the traditional A* algorithm and 6.6% less search scope than the modified A* algorithm. Therefore, the improved A* algorithm provides some improvement in both search time and search scope.

5.2. Global Path Planning in Static Environment

In a static environment, this paper conducts global path-planning simulation experiments for four algorithms. The simulation images are shown in Figure 5.
The planned path of the traditional A* algorithm is shown in Figure 5a, where the blue circles are the path nodes and the blue line is the path. The time spent on path planning is 0.076 s . The path length is 30.73 m . There are 28 path nodes and seven turning points in the path.
The planned path of the improved A* algorithm is shown in Figure 5b, where the blue circles are the path nodes and the blue line is the path. The time spent on path planning is 0.057 s . The path length is 28.53 m . There are four path nodes and two turning points in the path.
The planned path of the fusion of traditional A* algorithm and dynamic window method is shown in Figure 5c. The blue dashed line and the red solid line are the paths planned by the traditional A* algorithm and the fusion algorithm, respectively. According to the experimental results, the time spent on path planning is 70.56 s and the path length is 30.15 m.
The planned path of the fusion of the improved A* algorithm and dynamic window method is shown in Figure 5d. The blue dashed line and the red solid line are the paths planned by the improved A* algorithm and the fusion algorithm, respectively. According to the experimental results, the time spent on path planning is 57.67 s, and the path length is 28.57 m.
The experimental data of static global path planning for the four algorithms are shown in Table 2.
According to the results of simulation experiments, the path of the improved A* algorithm is 7.2% shorter than the traditional A* algorithm, with 85.7% fewer path nodes and 71.4% fewer turning points.
The improved A* fusion algorithm reduces the path planning time by 18.3% and the path length by 5.2% compared to the traditional A* fusion algorithm. In addition, Figure 6 and Figure 7 show the linear and angular velocity variations of the AGV during path planning for the two fusion algorithms, respectively. It can be seen from the figures that when the AGV uses the improved A* fusion algorithm to plan the path, the change rate of linear and angular velocity is smaller. It can be seen that the reduction of the number of path nodes and turning points of the improved A* algorithm can help to reduce the path planning time and path length of the fusion algorithm, and can also improve the driving stability of the AGV.
Although the length of the path planned by the fusion algorithm has a slight increase compared to the globally optimal path, the path planned by the fusion algorithm is smoother, which is helpful to improve the motion stability of the AGV.

5.3. Global Path Planning in Dynamic Environment

In order to verify the obstacle-avoidance performance of the fusion algorithm and its sensitivity to environmental changes, we have performed dynamic obstacle-avoidance simulation experiments in different map environments. The path planning effect of the fusion algorithm in map 1, map 2 and map 3 is shown in Figure 8, Figure 9 and Figure 10, respectively, The parameters of three different map environments are shown in Table 3. In addition to the known obstacles in the map, we add dynamic obstacles and unknown static obstacles to the possible path of the AGV to investigate the dynamic obstacle-avoidance ability of the fusion algorithm. In the figures, black squares represent known static obstacles, yellow squares represent dynamic obstacles, gray squares represent unknown static obstacles, the blue dotted line is the global optimal path planned by the improved A* algorithm, and the red solid line is the path planned by the fusion algorithm.
The path-planning effect of the fusion algorithm in map 1 is shown in Figure 8. Figure 8a shows that the fusion algorithm starts path planning along the global optimal path. Figure 8b shows that the AGV detects moving obstacle and starts local path planning to successfully avoid moving obstacles and then continues to follow the global optimal path. Figure 8c shows that the AGV detects an unknown static obstacle and starts local path planning to successfully avoid it and then continues to follow the global optimal path. Figure 8d shows that the AGV successfully reached the target point. It can be seen from the figure that the fusion algorithm can successfully avoid dynamic obstacles and unknown static obstacles in the process of following the global optimal path. The simulation results show that the path-planning time of the fusion algorithm in map 1 is 58.76 s and the path length is 29.30 m .
The path-planning effect of the fusion algorithm in map 2 is shown in Figure 9. The simulation results show that the path-planning time of the fusion algorithm in map 2 is 59.20 s and the path length is 28.46 m . As can be seen in the figure, the fusion algorithm can also achieve dynamic obstacle avoidance and reach the target point in the more complex map.
The path-planning effect of the fusion algorithm in map 3 is shown in Figure 10. The simulation results show that the path-planning time of the fusion algorithm in map 3 is 260.82 s and the path length is 57.14 m . From the simulation results, it can be seen that although the path-planning efficiency of the fusion algorithm is reduced in the larger map, it can still satisfy the requirements of a global optimal path and dynamic obstacle avoidance.
From the path-planning results of the fusion algorithm in three different map environments, we can see that the fusion algorithm proposed in this paper can be applied to the global optimal path planning and real-time dynamic obstacle avoidance in different map environments.

6. Conclusions

In order to improve the operational efficiency of the AGV in logistics, warehousing and industrial production environments and ensure the safety of AGVs, this paper proposes a global dynamic path-planning fusion algorithm, which combines the improved A* algorithm and dynamic window method. The fusion algorithm has the advantages of high planning efficiency, smooth path and dynamic obstacle avoidance.
(1)
In order to make the heuristic function closer to the real cost value r ( n ) , the distance weight factor and logarithmic attenuation factor are used to weight the heuristic function dynamically. This method can provide effective help to reduce the search scope and shorten the path-planning time.
(2)
The path-optimization strategy is adopted to remove the redundant nodes and redundant turning points of the planned path, and improve the smoothness of the path. This strategy is beneficial to the stability of AGV driving.
(3)
The improved A* algorithm is fused with the dynamic window method to solve the problems of unsmooth paths and inability to realize dynamic obstacle avoidance.
(4)
The method proposed in this paper is verified by simulation experiments. The path-planning time of the improved A* algorithm is 26.3% shorter than the traditional A* algorithm, the search scope is 57.9% less, the path length is 7.2% shorter, the number of path nodes is 85.7% less, and the number of turning points is 71.4% less. The fusion of improved A* algorithm and dynamic window method can realize global optimal path planning and local dynamic obstacle avoidance in different map environments.
The deficiency and prospect of this study:
(1)
The fusion algorithm in this paper has only carried out simulation experiments and has not been applied to the actual AGV. The next step is to apply the fusion algorithm to AGVs and carry out path planning in the actual environment.
(2)
The fusion algorithm in this paper is not combined with environment awareness technology, so we can only carry out path planning in the established map environment. The next step is to integrate environment awareness technology to realize path planning in an unfamiliar environment.

Author Contributions

Methodology and writing—original draft preparation, T.W.; formal analysis and investigation, A.L.; resources, D.G.; data curation, G.D.; validation, W.H. All authors have read and agreed to the published version of the manuscript.

Funding

This project is supported by Shandong Province Science and Technology oriented Small and Medium Enterprises Enhancement Project (Grant No. 2023 TSGC0288). Jinan 2023 talent development special fund research leader studio project (Grant No. 202333067). Foreign expert project (Grant No. G2023023002L). Shandong Provincial Higher Educational Youth Innovation Science and Technology Program (Grant No. 2019KJB019), Major science and technology innovation project in Shandong Province (Grant No. 2022CXGC020706), Science and Technology Project of Shandong Department of Transportation, China (Grant No. 2021B113). Ministry of industry and information technology manufacturing high quality development project, China (Grant No. 2023ZY02002). China Postdoctoral Science Foundation (Grant No. 2021M701405).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data are contained within the article.

Acknowledgments

Thanks to all the authors’ contribution to this article writing. Special thanks to Vladimir Zyrianov and Liapin Aleksandr for their efforts. The authors are indebted to the reviewers for the valuable comments and suggestions.

Conflicts of Interest

Author Guangkai Du was employed by the company Shandong Huali Electromechanical Co., Ltd. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

References

  1. Wang, C.; Mao, J. Summary of AGV Path Planning. In Proceedings of the 2019 3rd International Conference on Electronic Information Technology and Computer Engineering (EITCE), Xiamen, China, 18–20 October 2019; IEEE: New York, NY, USA, 2019; pp. 332–335. [Google Scholar]
  2. Alshammrei, S.; Boubaker, S.; Kolsi, L. Improved Dijkstra Algorithm for Mobile Robot Path Planning and Obstacle Avoidance. Comput. Mater. Contin. 2022, 72, 5939–5954. [Google Scholar] [CrossRef]
  3. Wang, M.X.; Yan, L.; Li, Y.F. Path Planning of AGV in Workshop Based on Improved A* Algorithm. Autom. Instrum. 2023, 38, 45–49+59. [Google Scholar]
  4. Lai, R.; Wu, Z.; Liu, X.; Zeng, N. Fusion Algorithm of the Improved A* Algorithm and Segmented Bezier Curves for the Path Planning of Mobile Robots. Sustainability 2023, 15, 2483. [Google Scholar] [CrossRef]
  5. Zhang, H.; Tao, Y.; Zhu, W. Global Path Planning of Unmanned Surface Vehicle Based on Improved A-Star Algorithm. Sensors 2023, 23, 6647. [Google Scholar] [CrossRef] [PubMed]
  6. Zheng, T.; Xu, Y.; Zheng, D. AGV Path Planning based on Improved A-star Algorithm. In Proceedings of the 2019 IEEE 3rd Advanced Information Management, Communicates, Electronic and Automation Control Conference (IMCEC), Chongqing, China, 11–13 October 2019; pp. 1534–1538. [Google Scholar]
  7. Fang, D.J.; Wang, S.J.; Jiang, H.Y.; Lu, Q.Q.; Schmidt, R. AGV Path Planning Integrating Improved A* Algorithm and Dynamic Window Method. Logist. Technol. 2023, 42, 47–52. [Google Scholar]
  8. Li, Y.; Jin, R.; Xu, X.; Qian, Y.; Wang, H.; Xu, S.; Wang, Z. A Mobile Robot Path Planning Algorithm Based on Improved A* Algorithm and Dynamic Window Approach. IEEE Access 2022, 10, 57736–57747. [Google Scholar] [CrossRef]
  9. Song, Y.J.; Meng, X.Y.; Zai, S.C.; Feng, Y.F. Global Path Planning for AGV Based on Improved Bi-RRT Algorithm. Mach. Des. Manuf. 2022, 8, 287–291+296. [Google Scholar]
  10. Suresh, K.S.; Venkatesan, R.; Venugopal, S. Mobile robot path planning using multi-objective genetic algorithm in industrial automation. Soft Comput. 2022, 26, 7387–7400. [Google Scholar] [CrossRef]
  11. Zang, Z.J.; Dong, X.P.; Gan, M. Research on path planning for AGV based on improved ant colony algorithm. J. Hefei Univ. Technol. (Nat. Sci.) 2022, 45, 914–919+924. [Google Scholar]
  12. Li, E.; Qi, K. Ant Colony Algorithm for Path Planning Based on Grid Feature Point Extraction. J. Shanghai Jiaotong Univ. (Sci.) 2023, 28, 86–99. [Google Scholar] [CrossRef]
  13. Kim, J.; Yang, G.H. Improvement of Dynamic Window Approach Using Reinforcement Learning in Dynamic Environments. Int. J. Control. Autom. Syst. 2022, 20, 2983–2992. [Google Scholar] [CrossRef]
  14. Niu, Q.Y.; Li, M.F.; Zhao, Y. Research on Improved Artificial Potential Field Method for AGV Path Planning. Mach. Tool Hydraul. 2022, 50, 19–24. [Google Scholar]
  15. Yang, L.; Fu, L.; Li, P.; Mao, J.; Guo, N. An Effective Dynamic Path Planning Approach for Mobile Robots Based on Ant Colony Fusion Dynamic Windows. Machines 2022, 10, 50. [Google Scholar] [CrossRef]
  16. Wang, W.; Ru, L.; Lu, B.; Hu, S. Path Planning of UAV Crossing Dense Obstacle Area Based on Improved Dynamic Window Approach. In Proceedings of the 2023 5th International Conference on Electronic Engineering and Informatics (EEI), Wuhan, China, 30 June–2 July 2023; IEEE: New York, NY, USA, 2023; pp. 468–473. [Google Scholar]
Figure 1. The process of the path optimization strategy.
Figure 1. The process of the path optimization strategy.
Sensors 24 02011 g001
Figure 2. Flow chart of the fusion algorithm.
Figure 2. Flow chart of the fusion algorithm.
Sensors 24 02011 g002
Figure 3. Grid map.
Figure 3. Grid map.
Sensors 24 02011 g003
Figure 4. Path planning results of three A* algorithms: (a) Traditional A* algorithm. (b) Modified A* algorithm. (c) Improved A* algorithm.
Figure 4. Path planning results of three A* algorithms: (a) Traditional A* algorithm. (b) Modified A* algorithm. (c) Improved A* algorithm.
Sensors 24 02011 g004
Figure 5. Static global path-planning results of four algorithms: (a) Traditional A* algorithm. (b) Improved A* algorithm. (c) Fusion of traditional A* algorithm and dynamic window method. (d) Fusion of improved A* algorithm and dynamic window method.
Figure 5. Static global path-planning results of four algorithms: (a) Traditional A* algorithm. (b) Improved A* algorithm. (c) Fusion of traditional A* algorithm and dynamic window method. (d) Fusion of improved A* algorithm and dynamic window method.
Sensors 24 02011 g005aSensors 24 02011 g005b
Figure 6. Comparison of linear velocity of two fusion algorithms: (a) Fusion of traditional A* algorithm and dynamic window method. (b) Fusion of improved A* algorithm and dynamic window method.
Figure 6. Comparison of linear velocity of two fusion algorithms: (a) Fusion of traditional A* algorithm and dynamic window method. (b) Fusion of improved A* algorithm and dynamic window method.
Sensors 24 02011 g006
Figure 7. Comparison of angular velocity of two fusion algorithms: (a) Fusion of traditional A* algorithm and dynamic window method. (b) Fusion of improved A* algorithm and dynamic window method.
Figure 7. Comparison of angular velocity of two fusion algorithms: (a) Fusion of traditional A* algorithm and dynamic window method. (b) Fusion of improved A* algorithm and dynamic window method.
Sensors 24 02011 g007
Figure 8. Dynamic path planning of fusion algorithm in map 1: (a) Starting path planning. (b) Avoiding dynamic obstacle. (c) Avoiding unknown static obstacle. (d) Reaching the target point.
Figure 8. Dynamic path planning of fusion algorithm in map 1: (a) Starting path planning. (b) Avoiding dynamic obstacle. (c) Avoiding unknown static obstacle. (d) Reaching the target point.
Sensors 24 02011 g008
Figure 9. Dynamic path planning of fusion algorithm in map 2: (a) Starting path planning. (b) Avoiding dynamic obstacle. (c) Avoiding unknown static obstacle. (d) Reaching the target point.
Figure 9. Dynamic path planning of fusion algorithm in map 2: (a) Starting path planning. (b) Avoiding dynamic obstacle. (c) Avoiding unknown static obstacle. (d) Reaching the target point.
Sensors 24 02011 g009aSensors 24 02011 g009b
Figure 10. Dynamic path planning of fusion algorithm in map 3: (a) Starting path planning. (b) Avoiding dynamic obstacle. (c) Avoiding unknown static obstacle. (d) Reaching the target point.
Figure 10. Dynamic path planning of fusion algorithm in map 3: (a) Starting path planning. (b) Avoiding dynamic obstacle. (c) Avoiding unknown static obstacle. (d) Reaching the target point.
Sensors 24 02011 g010
Table 1. Experimental data of three A* algorithms.
Table 1. Experimental data of three A* algorithms.
Algorithm Path   Length / m Planning   Time / s Search   Scope / m 2
Traditional A* Algorithm30.730.076228
Modified A* Algorithm.30.730.061100
Improved A* Algorithm30.730.05796
Table 2. Experimental data of four algorithms.
Table 2. Experimental data of four algorithms.
Algorithm Planning   Time / s Number of Path NodesNumber of Turning Points Path   Length / m
Traditional A* algorithm0.07628730.73
Improved A* algorithm0.0574228.53
Fusion of traditional A* algorithm and dynamic window method70.56//30.15
Fusion of Improved A* algorithm and dynamic window method57.67//28.57
Table 3. The parameters of three different map environments.
Table 3. The parameters of three different map environments.
Name Size / m Start-Target Point CoordinatesNumber of Known Obstacles
Map 1 20 × 20 (1.5, 1.5) (19.5, 19.5)5
Map 2 20 × 20 (1.5, 1.5) (19.5, 19.5)19
Map 3 40 × 40 (1.5, 1.5) (39.5, 39.5)74
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Wang, T.; Li, A.; Guo, D.; Du, G.; He, W. Global Dynamic Path Planning of AGV Based on Fusion of Improved A* Algorithm and Dynamic Window Method. Sensors 2024, 24, 2011. https://doi.org/10.3390/s24062011

AMA Style

Wang T, Li A, Guo D, Du G, He W. Global Dynamic Path Planning of AGV Based on Fusion of Improved A* Algorithm and Dynamic Window Method. Sensors. 2024; 24(6):2011. https://doi.org/10.3390/s24062011

Chicago/Turabian Style

Wang, Te, Aijuan Li, Dongjin Guo, Guangkai Du, and Weikai He. 2024. "Global Dynamic Path Planning of AGV Based on Fusion of Improved A* Algorithm and Dynamic Window Method" Sensors 24, no. 6: 2011. https://doi.org/10.3390/s24062011

APA Style

Wang, T., Li, A., Guo, D., Du, G., & He, W. (2024). Global Dynamic Path Planning of AGV Based on Fusion of Improved A* Algorithm and Dynamic Window Method. Sensors, 24(6), 2011. https://doi.org/10.3390/s24062011

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop