Path Planning of Inspection Robot Based on Improved Ant Colony Algorithm
<p>The principle of triangle pruning method.</p> "> Figure 2
<p>A 20 × 20 algorithm simulation comparison. (<b>a</b>) Path planning of the traditional ant colony algorithm. (<b>b</b>) Convergence curve of the traditional ant colony algorithm. (<b>c</b>) Literature [<a href="#B12-applsci-14-09511" class="html-bibr">12</a>] improved the ant colony algorithm for path planning. (<b>d</b>) Literature [<a href="#B12-applsci-14-09511" class="html-bibr">12</a>] improved the convergence curve of the ant colony algorithm. (<b>e</b>) This paper improves the path planning of the ant colony algorithm. (<b>f</b>) This paper improves the convergence curve of the ant colony algorithm.</p> "> Figure 3
<p>A 30 × 30 algorithm simulation comparison. (<b>a</b>) Path planning of the traditional ant colony algorithm. (<b>b</b>) Convergence curve of the traditional ant colony algorithm. (<b>c</b>) Literature [<a href="#B12-applsci-14-09511" class="html-bibr">12</a>] improved the ant colony algorithm for path planning. (<b>d</b>) Literature [<a href="#B12-applsci-14-09511" class="html-bibr">12</a>] improved the convergence curve of the ant colony algorithm. (<b>e</b>) This paper improves the path planning of the ant colony algorithm. (<b>f</b>) This paper improves the convergence curve of the ant colony algorithm.</p> "> Figure 4
<p>A 50 × 50 algorithm simulation comparison. (<b>a</b>) Path planning of the traditional ant colony algorithm. (<b>b</b>) Convergence curve of the traditional ant colony algorithm. (<b>c</b>) Literature [<a href="#B12-applsci-14-09511" class="html-bibr">12</a>] improved the ant colony algorithm for path planning. (<b>d</b>) Literature [<a href="#B12-applsci-14-09511" class="html-bibr">12</a>] improved the convergence curve of the ant colony algorithm. (<b>e</b>) This paper improves the path planning of the ant colony algorithm. (<b>f</b>) This paper improves the convergence curve of the ant colony algorithm.</p> "> Figure 4 Cont.
<p>A 50 × 50 algorithm simulation comparison. (<b>a</b>) Path planning of the traditional ant colony algorithm. (<b>b</b>) Convergence curve of the traditional ant colony algorithm. (<b>c</b>) Literature [<a href="#B12-applsci-14-09511" class="html-bibr">12</a>] improved the ant colony algorithm for path planning. (<b>d</b>) Literature [<a href="#B12-applsci-14-09511" class="html-bibr">12</a>] improved the convergence curve of the ant colony algorithm. (<b>e</b>) This paper improves the path planning of the ant colony algorithm. (<b>f</b>) This paper improves the convergence curve of the ant colony algorithm.</p> "> Figure 5
<p>The ant colony algorithm planning path. (<b>a</b>) The traditional ant colony algorithm planning path. (<b>b</b>) The improved ant colony algorithm planning path.</p> "> Figure 6
<p>The physical verification of inspection robots.</p> ">
Abstract
:1. Introduction
2. Problem Description
2.1. Establishment of Environmental Model
2.2. Traditional Ant Colony Algorithm
3. Improved Ant Colony Algorithm
3.1. Improved Heuristic Information Function
3.2. Improved Pheromone Update Rules
Algorithm 1. Improved ant colony path planning algorithm |
initialize environment and parameters for each node i in the environment: calculate distance between node i and the target node E calculate potential attraction fa = sigma * (distance squared) if node i is not the target node: Eta(i) = (0.5 ^ fa)/sqrt(distance squared) else: Eta(i) = a very large number for each ant k in K ants: for each iteration m: if ant k completes a path in iteration m: calculate path length PL_km update pheromone matrix Delta_Tau considering path length PL_km, best path length minkl, and worst path length maxkl for each step s in the path: x, y = current step, next step Delta_Tau(m, n) += Q / PL_km + b * Q / minkl-w * Q / maxkl Tau = (1-Rho) * Tau + Delta_Tau |
3.3. Path Optimization and Update
Algorithm 2. Triangle pruning algorithm |
function isPathFeasible(G, i, j): if not isOK(G, i, j): return False return True function is OK(G, i, j): ix, iy = convertToCoordinates(i) jx, jy = convertToCoordinates(j) for each point (m, n) along the line from i to j: if istouch(i, j, x, y): if isobstacles(G, x, y): return False return True function istouch(i, j, x, y): return intersects(i, j, x, y) function isobstacles(G, x, y): if G[x, y] == 1: return True return False function convertToCoordinates(point): x = calculateXCoordinate(point) y = calculateYCoordinate(point) return x, y function intersects(i, j, x, y): intersects cell at (x, y) |
3.4. Improved Pheromone Update Rule and Mathematical Analysis of Convergence
3.4.1. The Pheromone Update Formula in the Original Ant Colony Optimization Algorithm
3.4.2. The Improved Pheromone Update Formula
3.4.3. Convergence Analysis of the Improved Algorithm
3.4.4. Theoretical Proof of Convergence
3.4.5. Conclusions of Mathematical Analysis
3.5. Algorithm Flow
4. Experimental Simulation and Analysis
4.1. 20 × 20 Simulation Results and Analysis
4.2. 30 × 30 Simulation Results and Analysis
4.3. 50 × 50 Simulation Results and Analysis
5. Experimental Verification
6. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Qin, H.; Shao, S.; Wang, T. Review of autonomous path planning algorithms for mobile robot. Drones 2023, 7, 211. [Google Scholar] [CrossRef]
- Liu, L.; Wang, X.; Yang, X. Path planning techniques for mobile robots: Review and prospect. Expert Syst. Appl. 2023, 227, 120254. [Google Scholar] [CrossRef]
- Luo, M.; Hou, X.; Yang, J. Surface optimal path planning using an extended Dijkstra algorithm. IEEE Access 2020, 8, 147827–147838. [Google Scholar] [CrossRef]
- Guo, T.; Wang, J.; Wang, Z. Research on path planning of mobile robot with a novel improved artificial potential field algorithm. Math. Probl. Eng. 2022, 2022, 5692350. [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. [Google Scholar] [CrossRef]
- Kim, M.; Kang, T.; Ryoo, K. Real-Time Path Planning for Unmanned Aerial Vehicles Based on Compensated Voronoi Diagram. Int. J. Aeronaut. Space Sci. 2024. [Google Scholar] [CrossRef]
- Xiao, J.; Yu, X.; Sun, K. Multiobjective path optimization of an indoor AGV based on an improved ACO-DWA. Math. Biosci. Eng. 2022, 19, 12532–12557. [Google Scholar] [CrossRef]
- Yuan, Q.; Sun, R.; Du, X. Path planning of mobile robots based on an improved particle swarm optimization algorithm. Processes 2022, 11, 26. [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. [Google Scholar] [CrossRef]
- Du, G.; Ma, H.; Bai, Y. Process Planning for Large Container Ship Propeller Shaft Machining Based on an Improved Ant Colony Algorithm. J. Mar. Sci. Eng. 2024, 12, 841. [Google Scholar] [CrossRef]
- Wu, P.; Wang, Y.; Wang, B. An ant colony algorithm for drone path planning. In Proceedings of the 2020 5th International Conference on Mechanical, Control and Computer Engineering (ICMCCE), Harbin, China, 25–27 December 2020; pp. 1559–1562. [Google Scholar] [CrossRef]
- Liu, Z.; Jin, S.; Wang, Q. 2D path planning of mobile robots based on improved ant colony algorithm. Transducer Microsyst. Technol. 2020, 39, 149–152. [Google Scholar]
- Luo, Q.; Wang, H.; Zheng, Y. Research on path planning of mobile robot based on improved ant colony algorithm. Neural Comput. Appl. 2020, 32, 1555–1566. [Google Scholar] [CrossRef]
- Jin, Q.; Tang, C.; Cai, W. Research on dynamic path planning based on the fusion algorithm of improved ant colony optimization and rolling window method. IEEE Access 2021, 10, 28322–28332. [Google Scholar] [CrossRef]
- Tang, Z.; Ma, H. Path guidance method for unmanned vehicle based on improved potential field ant colony algorithm. Int. J. Veh. Des. 2022, 89, 84–97. [Google Scholar] [CrossRef]
- Huo, F.; Zhu, S.; Dong, H. A new approach to smooth path planning of Ackerman mobile robot based on improved ACO algorithm and B-spline curve. Robot. Auton. Syst. 2024, 175, 104655. [Google Scholar] [CrossRef]
- Bai, X.; Liu, D.; Xu, X. A Review of Improved Methods for Ant Colony Optimization in Path Planning. J. Ship Res. 2024, 22, 77–92. [Google Scholar] [CrossRef]
- Han, B.; Qu, T.; Tong, X. Grid-optimized UAV indoor path planning algorithms in a complex environment. Int. J. Appl. Earth Obs. Geoinf. 2022, 111, 102857. [Google Scholar] [CrossRef]
- Zhang, Y.; Chen, J.; Chen, M. Integrated the Artificial Potential Field with the Leader–Follower Approach for Unmanned Aerial Vehicles Cooperative Obstacle Avoidance. Mathematics 2024, 12, 954. [Google Scholar] [CrossRef]
- Shan, D.; Zhang, S.; Wang, X. Path-Planning Strategy: Adaptive Ant Colony Optimization Combined with an Enhanced Dynamic Window Approach. Electronics 2024, 13, 825. [Google Scholar] [CrossRef]
- Cai, Z.; Liu, J.; Xu, L. Cooperative path planning study of distributed multi-mobile robots based on optimised ACO algorithm. Robot. Auton. Syst. 2024, 179, 104748. [Google Scholar] [CrossRef]
- Majumder, S.; Singh, A. An evolution strategy with tailor-made mutation operator for colored balanced traveling salesman problem. Appl. Intell. 2024, 1, 13. [Google Scholar] [CrossRef]
- Xue, T.; Li, L.; Shuang, L. Path planning of mobile robot based on improved ant colony algorithm for logistics. Math. Biosci. Eng. 2021, 18, 3034–3045. [Google Scholar] [CrossRef] [PubMed]
Parameter | |
---|---|
Maximum iteration count K | Node i j |
Number of ants M | |
Number of ants on the worst path in this iteration | |
Pheromone intensity Q | Number of elite ants b |
Parameter | Value |
---|---|
120 | |
60 | |
1 | |
2 | |
0.8 | |
10 | |
10 |
Algorithm | Optimal Path Length/m | Running Time/s | The Number of First Convergence Iterations | Turning Point | Compared with the Traditional Algorithm, the Path Length Reduction Rate | Compared with the Traditional Algorithm, the Reduction Rate of Iteration Times | Compared with the Traditional Algorithm, the Reduction Rate of the Number of Inflection Points |
---|---|---|---|---|---|---|---|
Traditional ant colony algorithm | 31.17 | 11.69 | 23 | 22 | —— | —— | —— |
Literature [12] algorithm | 29.79 | 6.25 | 12 | 19 | 4.42 | 47.8 | 13.63 |
Improved ant colony algorithm | 28.96 | 5.12 | 5 | 16 | 7.09 | 78.2 | 27.27 |
Algorithm | Optimal Path Length/m | Running Time/s | The Number of First Convergence Iterations | Turning Point | Compared with the Traditional Algorithm, the Path Length Reduction Rate | Compared with the Traditional Algorithm, the Reduction Rate of Iteration Times | Compared with the Traditional Algorithm, the Reduction Rate of the Number of Inflection Points |
---|---|---|---|---|---|---|---|
Traditional ant colony algorithm | 66.18 | 31.25 | 33 | 34 | —— | —— | —— |
Literature [12] algorithm | 44.52 | 20.64 | 21 | 18 | 32.72 | 36.36 | 47.06 |
Improved ant colony algorithm | 43.46 | 15.66 | 15 | 13 | 34.33 | 79.16 | 54.55 |
Algorithm | Optimal Path Length/m | Running Time/s | The Number of First Convergence Iterations | Turning Point | Compared with the Traditional Algorithm, the Path Length Reduction Rate | Compared with the Traditional Algorithm, the Reduction Rate of Iteration Times | Compared with the Traditional Algorithm, the Reduction Rate of the Number of Inflection Points |
---|---|---|---|---|---|---|---|
Traditional ant colony algorithm | 120.25 | 170.11 | 34 | 54 | —— | —— | —— |
Literature [12] algorithm | 65.74 | 120.45 | 30 | 28 | 45.33 | 11.76 | 48.15 |
Improved ant colony algorithm | 60.79 | 114.62 | 25 | 20 | 49.45 | 26.47 | 62.96 |
Algorithm | Optimal Path Length/cm | Running Time/s | Turning Point |
---|---|---|---|
Traditional ant colony algorithm | 65 | 302 | 6 |
Improved ant colony algorithm | 41 | 149 | 3 |
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, H.; Wang, S.; Yu, T. Path Planning of Inspection Robot Based on Improved Ant Colony Algorithm. Appl. Sci. 2024, 14, 9511. https://doi.org/10.3390/app14209511
Wang H, Wang S, Yu T. Path Planning of Inspection Robot Based on Improved Ant Colony Algorithm. Applied Sciences. 2024; 14(20):9511. https://doi.org/10.3390/app14209511
Chicago/Turabian StyleWang, Haixia, Shihao Wang, and Tao Yu. 2024. "Path Planning of Inspection Robot Based on Improved Ant Colony Algorithm" Applied Sciences 14, no. 20: 9511. https://doi.org/10.3390/app14209511
APA StyleWang, H., Wang, S., & Yu, T. (2024). Path Planning of Inspection Robot Based on Improved Ant Colony Algorithm. Applied Sciences, 14(20), 9511. https://doi.org/10.3390/app14209511