Hybrid A-Star Path Planning Method Based on Hierarchical Clustering and Trichotomy
Abstract
:1. Introduction
2. Single Linkage Hierarchical Clustering Algorithm
2.1. Scene Map Preprocessing
2.2. Single Linkage Hierarchical Clustering Algorithm
3. Hybrid A-Star Algorithm and Trichotomy Search
3.1. Hybrid A-Star Algorithm
- Traverse the open list to find the node with the minimum value, which becomes the node to be processed. Remove it from the open list to prevent node reuse;
- Add the node to be processed to the closed list;
- For the nodes adjacent to the current node, the following procedures are applied: If a node is unreachable or already on the closed list, it is ignored. If a node is not on the open list, it is added to the open list. The current node is then set as its parent node, and the , , and values of the current node are recorded. If a node is already on the open list, the algorithm checks if the path (i.e., from the current node to the adjacent node) is better using the value as a reference. A smaller value indicates a better path. If the new path is better, the parent node is set as the current node, and the value and value are recalculated. If the open list is sorted based on values, reordering is necessary after the change;
- When the destination point has been added to the open list, indicating that either the path has been found or the search for the endpoint has failed, and the open list is empty, indicating that there is no path, the loop ends and the search stops;
- The Hybrid A-star algorithm and the A-star algorithm both belong to graph-based search algorithms, with the Hybrid A-star algorithm being an improvement on the A-star algorithm. While the Hybrid A-star algorithm and the A-star algorithm share a similar process, the Hybrid A-star algorithm does not limit expansion to the center of the grid. Instead, a set of step sizes, a turning radius, and a discrete number of front wheel steering angles form the basis for expanding nodes. This allows child nodes to be located at any position within the grid rather than just at the grid center. Since the Hybrid A-star algorithm considers vehicle kinematic constraints during state node expansion, the resulting path is executable by the vehicle. However, the Hybrid A-star algorithm sacrifices completeness and optimality [29]. The node expansion methods of the Hybrid A-star algorithm and the A-star algorithm are illustrated in Figure 3.
3.2. Design of the Evaluation Function
3.3. Trichotomy Node Expansion Method
Algorithm 1. Hybrid A-star algorithm improved by trichotomy expansion. | |
1: | , Iterations. |
2: | Initialize: Nstart, f(n). |
3: | Ngoal |
4: | Delete minf(n) in open list as Nparent. |
5: | for i = 0: 3 |
6: | if no collision |
7: | Create Ntemporary, calculate g(n) with Equation (13), update f(n), Mark as 1. |
8: | end |
9: | end |
10: | if [1,1,1] & Nmiddle is minf(n) |
11: | Expansion areas are Aleft and Aright. |
12: | if Aleft and Aright are no collision |
13: | Minf(n) side to update Nnew. |
14: | elseif Aright is no collision, then: Right side to update Nnew. |
15: | elseif Aleft is no collision, then: Left side to update Nnew. |
16: | end |
17: | elseif [1,1,1] & Nleft is minf(n) or [1,1,0], then: Expansion area is Aleft. |
18: | elseif [1,1,1] & Nright is minf(n) or [0,1,1], then: Expansion area is Aright. |
19: | end |
20: | Find a path, add Nnew to open list. |
21: | Get information from minf(n). |
22: | if Nnew − Ngoal ≤ 2 × Dsafe, then: End loop. |
23: | end |
24: | Backtracking the expanded nodes. |
25: | Cubic B-spline interpolation fitting path. |
4. Simulation Results and Discussion
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Xiong, L.; Yang, X.; Zhuo, G.R.; Leng, B.; Zhang, R.Y. A review of the development status of motion control for unmanned vehicles. J. Mech. Eng. 2020, 56, 127–143. [Google Scholar] [CrossRef]
- Abdulsaheb, J.A.; Kadhim, D.J. Classical and heuristic approaches for mobile robot path planning: A survey. Robotics 2023, 12, 93. [Google Scholar] [CrossRef]
- Li, K.Q.; Gu, Y.S.; Wang, Y.S.; Qi, Y.L.; Bu, D.X.; Luo, G.Y. Diagonal parking path planning method based on predefined geometry sets. China J. Highw. Transp. 2021, 34, 1–11. [Google Scholar] [CrossRef]
- Liu, Y.; Huang, H.; Fan, Q.; Zhu, Y.; Chen, X.; Han, Z. Mobile robot path planning based on improved A*-DWA algorithm. Comput. Integr. Manuf. Syst. 2024, 30, 158–171. [Google Scholar] [CrossRef]
- Liao, T.; Chen, F.; Wu, Y. Research on Path Planning with the Integration of Adaptive A-Star Algorithm and Improved Dynamic Window Approach. Electronics 2024, 13, 455. [Google Scholar] [CrossRef]
- Jiang, L.; Jun, L.; Ma, X.C.; Nie, W.K.; Zhu, J.Y.; Lei, B. Voronoi path planning with improved skeleton extraction. J. Mech. Eng. 2020, 56, 139–146. [Google Scholar] [CrossRef]
- Xin, P.; Wang, X.; Liu, X. Improved bidirectional RRT* algorithm for robot path planning. Sensors 2023, 23, 1041. [Google Scholar] [CrossRef]
- Fu, J.Y.; Sun, G.H.; Yao, W.R.; Wu, L.G. On trajectory homotopy to explore and penetrate dynamically of multi-UAV. IEEE Trans. Intell. Transp. Syst. 2022, 23, 24008–24019. [Google Scholar] [CrossRef]
- Zeng, D.Q.; Yu, Z.P.; Xiong, L. Driving-behavior-oriented trajectory planning for autonomous vehicle driving on urban structural road. Proc. Inst. Mech. Eng. Part D J. Automob. Eng. 2021, 235, 975–995. [Google Scholar] [CrossRef]
- Shi, K.; Wu, Z.; Jiang, B. Dynamic path planning of mobile robot based on improved simulated annealing algorithm. J. Frankl. Inst. 2023, 360, 4378–4398. [Google Scholar] [CrossRef]
- Lin, S.; Liu, A.; Wang, J. An intelligence-based hybrid PSO-SA for mobile robot path planning in warehouse. J. Comput. Sci. 2023, 67, 101938–101955. [Google Scholar] [CrossRef]
- Cui, Y.; Hu, W.; Rahmani, A. Multi-robot path planning using learning-based artificial bee colony algorithm. Eng. Appl. Artif. Intell. 2024, 129, 107579–107598. [Google Scholar] [CrossRef]
- Ren, B.T.; Wang, X.X.; Deng, W.W.; Nan, J.F.; Zong, R.X.; Ding, J. Based on hybrid A* and variable radius RS curves Automatic parking path optimization method. China J. Highw. Transp. 2022, 35, 317–327. [Google Scholar] [CrossRef]
- Xu, B. Precise path planning and trajectory tracking based on improved A-star algorithm. Meas. Control 2024, 1–13. [Google Scholar] [CrossRef]
- Zhao, J.T.; Li, L.; Xue, Z.J. Hierarchical Motion Planning Method Based on Hybrid A-star for Cruising in Parking Area. J. Mech. Eng. 2023, 59, 290–298. [Google Scholar] [CrossRef]
- Sheng, W.T.; Bai, L.; Xiang, Z. Autonomous Parking Trajectory Planning with Tiny Passages: A Combination of Multistage Hybrid A-Star Algorithm and Numerical Optimal Control. IEEE Access 2021, 9, 102801–102810. [Google Scholar] [CrossRef]
- Dang, C.V.; Ahn, H.J.; Lee, D.S.; Lee, S.C. Improved analytic expansions in hybrid a-star path planning for non-holonomic robots. Appl. Sci. 2022, 12, 5999. [Google Scholar] [CrossRef]
- Jiao, S.M.; Chen, Y.X.; Bai, J.P. Improved path planning algorithm of Hybrid A* towed mobile robot. Electron. Meas. Technol. 2022, 45, 80–86. [Google Scholar] [CrossRef]
- Deng, M.K.; Liu, Y.; Huang, J.D.; Luo, Y. Research on route optimization of unmanned mining trucks based on hybrid A* algorithm. Control Inf. Technol. 2022, 479, 60–67. [Google Scholar] [CrossRef]
- Cui, G.J.; Lu, B.L.; He, H.C.; Li, S.S. Automatic parking path planning based on Reverse Hybrid A*. J. Changchun Univ. Technol. 2022, 43, 627–633. [Google Scholar]
- Meng, T.C.; Yang, T.H.; Huang, J.; Yang, T.H.; Jin, W.R.; Zhang, W. Improved hybrid A-star algorithm for path planning in autonomous parking system based on multi-stage dynamic optimization. Int. J. Automot. Technol. 2023, 24, 459–468. [Google Scholar] [CrossRef]
- Zhong, P.S.; Cao, H.Q.; Liu, M.; Wang, X.; Liang, Z.Y.; Wang, M.K. Path planning of Ackerman mobile robot based on improved Hybrid A* algorithm. Modul. Mach. Tool Autom. Manuf. Tech. 2023, 8, 122–126. [Google Scholar] [CrossRef]
- Liu, Z.Y.; Cui, L.K.; Geng, X.J.; Feng, X.Y.; Han, J. Research on improved hybrid A* optimal routing algorithm for automatic parking. J. Shanxi Univ. Technol. 2023, 39, 1–7, 43. [Google Scholar] [CrossRef]
- Zhou, S.; Wang, Y.N.; Zhang, Y.F.; Zhang, G. Trajectory generation of autonomous vehicle based on hybrid A* algorithm. Automot. Dig. 2023, 2, 44–54. [Google Scholar] [CrossRef]
- Zeng, J.H.; Huang, S.J. Comparison and analysis of typical image edge detection operators. J. Hebei Norm. Univ. 2020, 44, 295–301. [Google Scholar] [CrossRef]
- Yao, Z.C.; Chu, X.L.; Fan, J.Y.; Wang, F. Research on effective wave height inversion of X-band radar based on Prewitt operator. Syst. Eng. Electron. 2022, 44, 1182–1187. [Google Scholar] [CrossRef]
- Zhu, K.X.; Xun, Y.L. Hierarchical clustering analysis algorithm of classified data based on similarity mean. Comput. Technol. Dev. 2022, 32, 154–163. [Google Scholar] [CrossRef]
- Shao, J.; Jin, B.S. Image segmentation algorithm based on hierarchical clustering. J. Comput. Appl. 2022, 42, 211–216. [Google Scholar] [CrossRef]
- Wang, L.; Wu, Z.; Li, J. Real-time safe stop trajectory planning via multidimensional hybrid A* algorithm. In Proceedings of the IEEE 23rd International Conference on Intelligent Transportation Systems (ITSC), Rhodes, Greece, 20–23 September 2020. [Google Scholar]
- Xin, Z.L.; Wang, W.W.; Liang, S. Path Following and Lateral-Yaw-Roll Stability Integrated Control Method for Autonomous Distributed Drive Electric Buses. Int. J. Automot. Technol. 2023, 24, 1117–1128. [Google Scholar] [CrossRef]
Indexes | Setups | Hybrid A-Star | HC-Hybrid A-Star | Improvement |
---|---|---|---|---|
Computational time (s) | Setup 1 | 18.738 | 13.973 | 25.43% |
Setup 2 | 322.768 | 15.194 | 95.29% | |
Expanded node count | Setup 1 | 130 | 49 | 62.31% |
Setup 2 | 2686 | 49 | 98.18% | |
Planned path length (m) | Setup 1 | 189.739 | 190.313 | −0.30% |
Setup 2 | 197.554 | 198.256 | −0.36% |
Indexes | Maps | HC-Hybrid A-Star | Dic-HC-Hybrid A-Star | Tri-HC-Hybrid A-Star |
---|---|---|---|---|
Planned path length (m) | Map 1:Setup 1 | 190.313 | 195.583 | 185.114 |
Map 1:Setup 2 | 198.256 | 203.883 | 196.475 | |
Map 2 | 151.388 | 150.452 | 148.295 | |
Map 3 | 275.262 | 260.032 | 250.029 |
Indexes | Setups | RRT | Tri-HC-Hybrid A-Star | Improvement |
---|---|---|---|---|
Sum of heading angle changes (rad) | Setup 1 | 6.914 | 3.208 | 53.60% |
Setup 2 | 4.126 | 8.036 | −94.76% | |
Expanded node count | Setup 1 | 757 | 65 | 91.41% |
Setup 2 | 860 | 72 | 91.63% | |
Planned path length (m) | Setup 1 | 243.792 | 185.114 | 24.07% |
Setup 2 | 267.416 | 196.475 | 26.53% |
Indexes | Test Maps | HC-Hybrid A-Star | Dic-HC-Hybrid A-Star | Tri-HC-Hybrid A-Star |
---|---|---|---|---|
Sum of heading angle changes (rad) | Test map 1 | 11.756 | 12.231 | 4.775 |
Test map 2 | 7.215 | 6.215 | 4.265 | |
Test map 3 | 11.258 | 11.263 | 8.381 | |
Test map 4 | 5.434 | 6.141 | 3.840 | |
Expanded node count | Test map 1 | 57 | 94 | 76 |
Test map 2 | 64 | 87 | 87 | |
Test map 3 | 69 | 91 | 87 | |
Test map 4 | 59 | 74 | 74 | |
Planned path length (m) | Test map 1 | 227.429 | 226.361 | 217.189 |
Test map 2 | 228.090 | 225.976 | 225.080 | |
Test map 3 | 262.570 | 260.749 | 254.267 | |
Test map 4 | 207.299 | 205.664 | 205.138 |
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
Chang, T.; Tian, G. Hybrid A-Star Path Planning Method Based on Hierarchical Clustering and Trichotomy. Appl. Sci. 2024, 14, 5582. https://doi.org/10.3390/app14135582
Chang T, Tian G. Hybrid A-Star Path Planning Method Based on Hierarchical Clustering and Trichotomy. Applied Sciences. 2024; 14(13):5582. https://doi.org/10.3390/app14135582
Chicago/Turabian StyleChang, Tiangen, and Guofu Tian. 2024. "Hybrid A-Star Path Planning Method Based on Hierarchical Clustering and Trichotomy" Applied Sciences 14, no. 13: 5582. https://doi.org/10.3390/app14135582
APA StyleChang, T., & Tian, G. (2024). Hybrid A-Star Path Planning Method Based on Hierarchical Clustering and Trichotomy. Applied Sciences, 14(13), 5582. https://doi.org/10.3390/app14135582