Research on Path Planning for Intelligent Mobile Robots Based on Improved A* Algorithm
<p>9 × 9 square grid map.</p> "> Figure 2
<p>Grid map after building linear indexes.</p> "> Figure 3
<p>Grid maps with irregular obstacle shape.</p> "> Figure 4
<p>Regularized and expanded grid map.</p> "> Figure 5
<p>Planning paths through square grid vertices. (<b>a</b>) Scenario 1. (<b>b</b>) Scenario 2.</p> "> Figure 6
<p>Three common distance algorithms.</p> "> Figure 7
<p>Simulation results for three distance equations. (<b>a</b>) Manhattan distance. (<b>b</b>) Euclidean distance. (<b>c</b>) Diagonal distance.</p> "> Figure 8
<p>Search neighbor. (<b>a</b>) 4-Neighbor 4-Direction. (<b>b</b>) 8-Neighbor 8-Direction. (<b>c</b>) 16-Neighbor 16-Direction.</p> "> Figure 9
<p>16-Neighbor 8-Direction schematic.</p> "> Figure 10
<p>Bi-directional A* algorithm flowchart.</p> "> Figure 11
<p>Path optimization result.</p> "> Figure 12
<p>Neighbor optimization simulation results. (<b>a</b>) Traditional A* algorithm. (<b>b</b>) Neighbor optimized A* algorithm.</p> "> Figure 13
<p>Heap optimization simulation results. (<b>a</b>) Traditional A* algorithm. (<b>b</b>) Heap optimized A* algorithm.</p> "> Figure 13 Cont.
<p>Heap optimization simulation results. (<b>a</b>) Traditional A* algorithm. (<b>b</b>) Heap optimized A* algorithm.</p> "> Figure 14
<p>Bidirectional search simulation results. (<b>a</b>) Traditional A* algorithm. (<b>b</b>) Bidirectional A* algorithm.</p> "> Figure 14 Cont.
<p>Bidirectional search simulation results. (<b>a</b>) Traditional A* algorithm. (<b>b</b>) Bidirectional A* algorithm.</p> "> Figure 15
<p>Evaluation function optimization simulation results. (<b>a</b>) Traditional A* algorithm. (<b>b</b>) Evaluation function optimized A* algorithm.</p> "> Figure 16
<p>Improved A* Algorithm simulation results. (<b>a</b>) Traditional A* algorithm. (<b>b</b>) Improved A* algorithm. (<b>c</b>) The improved A* algorithm proposed in the literature [<a href="#B23-symmetry-16-01311" class="html-bibr">23</a>].</p> ">
Abstract
:1. Introduction
- (1)
- A bidirectional search mechanism is introduced. And the node storage structure is optimized by using a minimum heap to reduce search time.
- (2)
- An adaptive weight function and a turn penalty function are implemented. And the search neighbor is optimized through novel expansion and rejection rules to enhance search efficiency.
- (3)
- A path node rejection mechanism and the cubic Bezier curve are utilized to ensure the safe operation of the robots.
- (4)
- Simulation experiments demonstrate that the proposed algorithm significantly enhances path planning efficiency and reduces computational demands, which validating the reasonableness and effectiveness of the improved A* algorithm presented in this study.
2. Environment Modeling
3. Traditional A* Algorithm
4. Improved A* Algorithm
4.1. Search Field Optimization
4.2. Heap Optimization
4.3. Evaluation Function Optimization
4.4. Search Strategy Optimization
4.5. Path Optimization
5. Simulation Experiments and Analyses
5.1. Search Field Optimization Experiment
5.2. Heap Optimization Experiment
5.3. Bi-Directional Search Experiment
5.4. Evaluation Function Optimization Experiment
5.5. Integrated Experiment
6. Conclusions
- The proposed optimization refines the A* algorithm by upgrading the search neighbor model from an 8-neighbor, 8-direction framework to a 16-neighbor, 8-direction framework. This enhancement leverages the positional relationship between the current node and the target node during the search process, thereby improving both the directionality and efficiency of the A* algorithm’s search.
- The optimization of the storage structure of traversed nodes using a minimum heap significantly decreases the time complexity associated with node traversal, thereby reducing the overall search time.
- An adaptive weight function is designed based on the complexity of the grid map, the obstacle density, and the positional relationship between the current node and the line connecting the start and target nodes. This function optimizes the evaluation process by balancing search efficiency and path optimality, thereby enhancing the overall performance of the A* algorithm. It allows the algorithm to adapt to a broader range of scenarios while maximizing both search efficiency and accuracy.
- The A* algorithm is optimized by transitioning from a unidirectional to a bidirectional search strategy, wherein paths are explored simultaneously from both the start and target nodes. This approach substantially enhances search efficiency, although it may result in a longer final path.
- Inflection points in the planned path are minimized by implementing a turn penalty function, while co-linear redundant nodes are eliminated through a path redundancy rejection mechanism. Additionally, the planned path is smoothed using the cubic Bezier curve, resulting in a trajectory that better meets the robot’s practical requirements.
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Qin, H.; Shao, S.; Wang, T.; Yu, X.; Jiang, Y.; Cao, Z. Review of autonomous path planning algorithms for mobile robots. Drones 2023, 7, 211–248. [Google Scholar] [CrossRef]
- Zheng, L.; Yu, W.; Li, G.; Qin, G.; Luo, Y. Particle swarm algorithm path-planning method for mobile robots based on artificial potential fields. Sensors 2023, 23, 6082–6097. [Google Scholar] [CrossRef] [PubMed]
- Kobayashi, M.; Zushi, H.; Nakamura, T. Local path planning: Dynamic window approach with Q-learning considering congestion environments for mobile robot. IEEE Access 2023, 11, 96733–96742. [Google Scholar] [CrossRef]
- Zhu, Z.; Yin, Y.; Lyu, H. Automatic collision avoidance algorithm based on route-plan-guided artificial potential field method. Ocean. Eng. 2023, 271, 113737. [Google Scholar] [CrossRef]
- 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. [Google Scholar] [CrossRef]
- Kozhubaev, Y.; Yang, R. Simulation of Dynamic Path Planning of Symmetrical Trajectory of Mobile Robots Based on Improved A* and Artificial Potential Field Fusion for Natural Resource Exploration. Symmetry 2024, 16, 801. [Google Scholar] [CrossRef]
- Chen, Z.; Xiao, J.; Wang, G. An effective path planning of intelligent mobile robot using improved genetic algorithm. Wirel. Commun. Mob. Comput. 2022, 2022, 9590367–9590375. [Google Scholar] [CrossRef]
- Xu, Y.; Li, Q.; Xu, X.; Yang, J.; Chen, Y. Research progress of nature-inspired metaheuristic algorithms in mobile robot path planning. Electronics 2023, 12, 3263–3285. [Google Scholar] [CrossRef]
- Liu, L.; Wang, B.; Xu, H. Research on path-planning algorithm integrating optimization A-star algorithm and artificial potential field method. Electronics 2022, 11, 3660–3681. [Google Scholar] [CrossRef]
- Guo, B.; Kuang, Z.; Guan, J.; Hu, M.; Rao, L.; Sun, X. An improved a-star algorithm for complete coverage path planning of unmanned ships. Inter. J. Pattern Recogn. Art. Intell. 2022, 36, 2259009. [Google Scholar] [CrossRef]
- 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]
- Liu, C.; Mao, Q.; Chu, X.; Xie, S. An improved A-star algorithm considering water current, traffic separation and berthing for vessel path planning. Appl. Sci. 2019, 9, 1057. [Google Scholar] [CrossRef]
- Gasparetto, A.; Boscariol, P.; Lanzutti, A.; Vidoni, R. Path planning and trajectory planning algorithms: A general overview. In Motion and Operation Planning of Robotic Systems: Background and Practical Approaches; Springer: New York, NY, USA, 2015; pp. 3–27. [Google Scholar]
- Liu, L.; Wang, X.; Yang, X.; Liu, H.; Li, J.; Wang, P. Path planning techniques for mobile robots: Review and prospect. Expert Syst. Appl. 2023, 227, 120254. [Google Scholar] [CrossRef]
- Liu, Y.; Wang, C.; Wu, H.; Wei, Y. Mobile Robot Path Planning Based on Kinematically Constrained A-Star Algorithm and DWA Fusion Algorithm. Mathematics 2023, 11, 4552. [Google Scholar] [CrossRef]
- Chen, G.; Chen, S.; Li, X.; Zhou, P.; Zhou, Z. Optimal seamline detection for orthoimage mosaicking based on DSM and improved JPS algorithm. Remote Sens. 2018, 10, 821. [Google Scholar] [CrossRef]
- Fan, B.; Guo, L. An Improved JPS Algorithm for Global Path Planning of the Seabed Mining Vehicle. Arabian J. Sci. Eng. 2024, 49, 3963–3977. [Google Scholar] [CrossRef]
- Zhang, B.; Zhu, D. A new method on motion planning for mobile robots using jump point search and Bezier curves. Int. J. Adv. Robot. Syst. 2021, 18, 17298814211019220. [Google Scholar] [CrossRef]
- Hu, S.; Tian, S.; Zhao, J.; Shen, R. Path planning of an unmanned surface vessel based on the improved A-Star and dynamic window method. J. Mar. Sci. Eng. 2023, 11, 1060. [Google Scholar] [CrossRef]
- Lu, J.; Zeng, B.; Tang, J.; Lam, T.L.; Wen, J. Tmstc*: A path planning algorithm for minimizing turns in multi-robot coverage. IEEE Robot. Autom. Let. 2023, 8, 5275–5282. [Google Scholar] [CrossRef]
- Zhang, C.; Yang, X.; Zhou, R.; Guo, Z. A Path Planning Method Based on Improved A* and Fuzzy Control DWA of Underground Mine Vehicles. Appl. Sci. 2024, 14, 3103. [Google Scholar] [CrossRef]
- Lai, W.K.; Shieh, C.S.; Yang, C.P. A D2D Group Communication Scheme Using Bidirectional and InCremental A-Star Search to Configure Paths. Mathematics 2022, 10, 3321. [Google Scholar] [CrossRef]
- 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]
Distance Function | Time Cost (MS) | Traversal Nodes |
---|---|---|
Manhattan Distance | 2701 | 40 |
Euclidean Distance | 8607 | 223 |
Diagonal Distance | 7685 | 183 |
Grid Map | Time Cost | Path Cost | Traversal Nodes | Path Nodes | Inflection Nodes | |
---|---|---|---|---|---|---|
20 × 20 | Traditional A* | 1707 | 27.31 | 46 | 25 | 10 |
Neighbor Optimization | 942 | 26.07 | 23 | 18 | 11 | |
50 × 50 | Traditional A* | 17,158 | 79.01 | 93 | 68 | 20 |
Neighbor Optimization | 10,470 | 79.55 | 95 | 55 | 24 | |
80 × 80 | Traditional A* | 44,311 | 126.61 | 118 | 104 | 49 |
Neighbor Optimization | 35,905 | 128.77 | 124 | 84 | 52 |
Grid Map | Time Cost | Path Cost | Traversal Nodes | Path Nodes | Inflection Nodes | |
---|---|---|---|---|---|---|
20 × 20 | Traditional A* | 1707.36 | 27.31 | 46 | 25 | 10 |
Heap Optimization | 1358.22 | 26.14 | 56 | 23 | 9 | |
50 × 50 | Traditional A* | 17,158.24 | 79.01 | 93 | 68 | 20 |
Heap Optimization | 10,667.57 | 78.43 | 73 | 67 | 21 | |
80 × 80 | Traditional A* | 44,311.58 | 126.61 | 118 | 104 | 49 |
Heap Optimization | 36,792.22 | 123.68 | 119 | 99 | 51 |
Grid Map | Time Cost | Path Cost | Traversal Nodes | Path Nodes | Inflection Nodes | |
---|---|---|---|---|---|---|
20 × 20 | Traditional A* | 1707 | 27.31 | 46 | 25 | 10 |
Bidirectional Search | 464 | 26.14 | 41 | 22 | 8 | |
50 × 50 | Traditional A* | 17,158 | 79.01 | 93 | 68 | 20 |
Bidirectional Search | 1568 | 86.63 | 74 | 65 | 27 | |
80 × 80 | Traditional A* | 44,311 | 126.61 | 118 | 104 | 49 |
Bidirectional Search | 9998 | 154.14 | 251 | 113 | 52 |
Grid Map | Time Cost | Path Cost | Traversal Nodes | Path Nodes | Inflection Nodes | |
---|---|---|---|---|---|---|
20 × 20 | Traditional A* | 1707 | 27.31 | 46 | 25 | 10 |
Evaluation Function Optimization | 699 | 26.38 | 22 | 22 | 11 | |
50 × 50 | Traditional A* | 17,158 | 79.01 | 93 | 68 | 20 |
Evaluation Function Optimization | 9573 | 81.84 | 76 | 70 | 31 | |
80 × 80 | Traditional A* | 44,311 | 126.61 | 118 | 104 | 49 |
Evaluation Function Optimization | 36,822 | 136.27 | 142 | 112 | 59 |
Grid Map | Time Cost | Path Cost | Traversal Nodes | Path Nodes | Inflection Nodes | |
---|---|---|---|---|---|---|
20 × 20 | Traditional A* | 1707 | 27.31 | 46 | 25 | 10 |
Improved A* | 14 | 34.51 | 17 | 17 | 12 | |
Literature [21] | 433 | 28.14 | 43 | 25 | 9 | |
50 × 50 | Traditional A* | 17,158 | 79.01 | 93 | 68 | 20 |
Improved A* | 2192 | 122.63 | 67 | 58 | 31 | |
Literature [21] | 2510 | 81.25 | 104 | 69 | 25 | |
80 × 80 | Traditional A* | 44,311 | 126.61 | 118 | 104 | 49 |
Improved A* | 6849 | 219.75 | 135 | 85 | 60 | |
Literature [21] | 7549 | 127.43 | 127 | 104 | 49 |
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. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Wang, D.; Liu, Q.; Yang, J.; Huang, D. Research on Path Planning for Intelligent Mobile Robots Based on Improved A* Algorithm. Symmetry 2024, 16, 1311. https://doi.org/10.3390/sym16101311
Wang D, Liu Q, Yang J, Huang D. Research on Path Planning for Intelligent Mobile Robots Based on Improved A* Algorithm. Symmetry. 2024; 16(10):1311. https://doi.org/10.3390/sym16101311
Chicago/Turabian StyleWang, Dexian, Qilong Liu, Jinghui Yang, and Delin Huang. 2024. "Research on Path Planning for Intelligent Mobile Robots Based on Improved A* Algorithm" Symmetry 16, no. 10: 1311. https://doi.org/10.3390/sym16101311