Mobile Robot Path Planning Algorithm Based on NSGA-II
Abstract
:1. Introduction
- This paper presents a mobile robot path planning algorithm based on NSGA-II. The initialization of the population is improved by limiting the generation positions of path nodes using a search window, thereby enhancing the quality of the initial path population. Practical selection operators are proposed, and optimization is performed on two objective functions: path length and path smoothness. This optimization enhances the algorithm’s ability to escape local optima.
- This study systematically investigated the conditions that smooth paths need to satisfy. It employed Bezier curves to smooth the planned paths, and the experimental results indicated that this approach could enhance the smoothness of the paths.
- Experimental comparisons were conducted between the proposed algorithm and different algorithms. The results of the comparisons demonstrated that the paths obtained by the proposed algorithm were shorter and smoother.
2. Global Path Planning
2.1. Population Initialization
- Generate a search window from the robot’s position towards the target point, using the robot’s position and the target point as reference points, as shown in Figure 1.
- Generate a random path node within the feasible area in the search window where there is no robot present.
- Determine whether the robot can move directly to the position of this path node. Since the mobile robot can move directly to the grid in eight directions adjacent to its position, the judgment condition expression is as follows:If takes the value 1, i.e., , this means the generated path node is located within the eight grids that the mobile robot can directly move to, so the node’s position is updated directly to the robot’s position. Otherwise, , which indicates that the generated node position is not within the eight grids the mobile robot can directly move to, so intermediate nodes need to be supplemented. In this text, we use the method of interpolation to supplement the path nodes. The expression for selecting intermediate path nodes is as follows:
- Check if the robot’s coordinates are the same as the target point’s coordinates. If they are, save the entire obstacle-free continuous path as a population individual. If not, repeat Step 2.
- Calculate the number of individuals in the population. If the total number of individuals in the population equals the maximum value, end the iteration. If not, repeat Step 1 to continue the iteration.
2.2. Designing the Fitness Function
2.3. Selection Operators
2.4. Algorithm Workflow
Algorithm 1 Global Path Planning Algorithm |
|
3. Smooth Path Planning
3.1. Bézier Curve
3.2. Path Smoothing Algorithm
- The fitted path must not collide with obstacles, i.e.,
- The fitted path must satisfy the smoothness requirement. To ensure the continuous smoothness of the path, it is necessary to ensure that the curvature is continuous at the junction of two Bézier curves. Due to the properties of Bézier curves, the tangent direction at the starting and ending points of the Bézier curve and the first and last edges of the characteristic polygon, respectively, are tangential. Therefore, it is only necessary to ensure that the first and last edges of the characteristic polygons of two Bézier curves lie on the same straight line.
- The fitted path should be shorter, i.e., the fitted path should be as close as possible to the source path, i.e.,
Algorithm 2 Path Smoothing Algorithm |
|
4. Experimental Simulation and Analysis
4.1. Environment Setup
4.2. Parameter Settings
4.3. Global Path Planning Experiment and Analysis
4.4. Path Smoothing Experiments and Analysis
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Bai, X.L.; Zhou, W.Q.; Zhang, Z.P.; Yuan, Z. Smooth path planning of wheeled robot based on heuristic particle swarm spotimization algorithm. Modul. Mach. Tool Autom. Manuf. Tech. 2022, 8, 44–47+52. [Google Scholar] [CrossRef]
- Wang, Z.Q.; Hu, X.G.; Li, X.X.; Du, Z.Q. Overview of global path planning algorithms for mobile robots. Comput. Sci. 2021, 48, 19–29. [Google Scholar] [CrossRef]
- Lai, X.; Wu, D.; Wu, D.; Jia, H.L.; Hang, Y. Enhanced DWA algorithm for local path planning of mobile robot. Ind. Robot 2023, 50, 186–194. [Google Scholar] [CrossRef]
- Xiong, X.Y.; Min, H.T.; Yu, Y.B.; Wang, P.Y. Application improvement of A* algorithm in intelligent vehicle trajectory planning. Math. Biosci. Eng. MBE 2020, 18, 21. [Google Scholar] [CrossRef] [PubMed]
- Shi, W.B.; Wang, K.; Zhao, C.; Tian, M.Q. Obstacle Avoidance Path Planning for the Dual-Arm Robot Based on an Improved RRT Algorithm. Appl. Sci. 2022, 12, 4087. [Google Scholar] [CrossRef]
- Zhang, K.F.; Huang, Y.Z.; Li, L.M.; Qin, J.; Liu, C. Planning method of freight ropeway path based on Dijkstra algorithm. J. Shandong Univ. (Eng. Sci.) 2022, 52, 176–182. [Google Scholar] [CrossRef]
- Shi, Z.G.; Mei, S.; Shao, Y.F.; Wan, R.; Song, Z.Y.; Xie, M.L.; Li, Y. Research status and prospect of path planning for mobile robot based on artificial potential field method. J. Chin. Agric. Mech. 2021, 42, 182–188. [Google Scholar] [CrossRef]
- Wu, M.Y.; Zhang, Y.L.; Liu, N.; Dai, L. 3D PathPlanning of RobotFishBased on ImprovedAntColonyAlgorithm. J. Phys. Conf. Ser. 2022, 2400, 012052. [Google Scholar] [CrossRef]
- Li, W.; Tan, M.; Wang, L.; Wang, Q.Z.; He, B.; Wang, S.; Liu, Y.J.; Zhang, L.J.; Hu, R.Q.; Yi, W.M.; et al. A cubic spline method combing improved particle swarm optimization for robot path planning in dynamic uncertain environment. Int. J. Adv. Robot. Syst. 2020, 17, 1729881419891661. [Google Scholar] [CrossRef]
- Li, S.B.; Song, Q.S.; Li, Z.A.; Zhang, X.X.; Zhe, L.X. Review of genetic algorithm in robot path planning. Sci. Technol. Eng. 2020, 20, 423–431. [Google Scholar] [CrossRef]
- You, D.Z.; Ma, L.; Zhang, Y.P.; Cai, S. Path planning of mobile robot based on hybrid annealing grey wolf algorithm. Electron. Meas. Tech. 2020, 46, 54–60. [Google Scholar] [CrossRef]
- Hao, K.; Deng, C.S.; Zhao, L.; Liu, Y.L. Robot path planning based on region search particle swarm optimization. J. Electron. Meas. Instrum. 2022, 36, 126–135. [Google Scholar] [CrossRef]
- Chang, J.; Ren, Y. Robot path planning based on improved genetic algorithm. Modul. Mach. Tool Autom. Manuf. Tech. 2023, 2, 23–27. [Google Scholar] [CrossRef]
- Davoodi, M.; Panahi, F.; Mohades, A.; Hashemi, S.N. Multi-objective path planning in discrete space. Appl. Soft Comput. 2013, 13, 709–720. [Google Scholar] [CrossRef]
- Huang, Z.F.; Liu, Y.H. Solving path planning problem based on the fourth-order Bezier curve and improved lion swarm optimization algorithm. Inf. Control 2023, 52, 176–189. [Google Scholar] [CrossRef]
- Li, F.F.; Du, Y.; Jia, K.J. Path planning and smoothing of mobile robot based on improved artificial fish swarm algorithm. Sci. Rep. 2022, 12, 659. [Google Scholar] [CrossRef]
- Xue, Y. Mobile Robot Path Planning with a Non-Dominated Sorting Genetic Algorithm. Appl. Sci. 2018, 8, 2253. [Google Scholar] [CrossRef]
- Jia, L.; Zeng, S.; Feng, L.; Lv, B.; Yu, Z.; Huang, Y. Global Time-Varying Path Planning Method Based on Tunable Bezier Curves. Appl. Sci. 2023, 13, 13334. [Google Scholar] [CrossRef]
- Hao, J.; Yang, X.; Wang, C.; Tu, R.; Zhang, T. An Improved NSGA-II Algorithm Based on Adaptive Weighting and Searching Strategy. Appl. Sci. 2022, 12, 11573. [Google Scholar] [CrossRef]
- Song, B.Y.; Wang, Z.D.; Zou, L. An improved PSO algorithm for smooth path planning of mobile robots using continuous high-degree Bezier curve. Appl. Soft Comput. J. 2021, 100, 106960. [Google Scholar] [CrossRef]
- Elhosenyl, M.; Tharwa, A.; Hassanien, E.A. Bezier Curve Based Path Planning in a Dynamic Field using Modified Genetic Algorithm. J. Comput. Sci. 2018, 25, 350–399. [Google Scholar] [CrossRef]
- Șomîtcă, I.A.; Brad, S.; Florian, V.; Deaconu, Ș. Improving path accuracy of mobile robots in uncertain environments by adapted bézier curves. Electronics 2022, 11, 3568. [Google Scholar] [CrossRef]
Parameter | Value |
---|---|
Population size M | 200 |
Maximum iterations | 50 |
Crossover rate | 0.9 |
Mutation rate | 0.1 |
Calculation Parameters | 0.8 |
Number | Algorithm | NSGA-II | GA | The Algorithm Proposed in This Paper |
---|---|---|---|---|
1 | Length | 32.3848 | 32.1421 | 30.3848 |
Smoothness | 8.3767 | 7.4767 | 4.1104 | |
2 | Length | 31.7990 | 31.2132 | 30.3848 |
Smoothness | 5.4805 | 4.6584 | 3.5623 | |
3 | Length | 32.3848 | 31.7990 | 30.3848 |
Smoothness | 8.3767 | 5.7545 | 3.5623 | |
4 | Length | 31.2132 | 32.1421 | 31.2132 |
Smoothness | 4.3844 | 6.5766 | 3.8364 | |
5 | Length | 32.1421 | 32.3848 | 30.3848 |
Smoothness | 6.5766 | 8.3767 | 3.5623 | |
6 | Length | 31.2132 | 31.2132 | 30.3848 |
Smoothness | 4.3844 | 4.6584 | 3.5623 | |
7 | Length | 31.7990 | 31.7990 | 30.3848 |
Smoothness | 5.7545 | 5.4805 | 4.1104 | |
Mean | Length | 31.84801 | 31.81334 | 30.50314 |
Smoothness | 6.19054 | 6.14026 | 3.75806 | |
Variance | Length | 0.25 | 0.21 | 0.09 |
Smoothness | 2.82 | 1.99 | 0.07 |
Algorithm | Shortest Path | Number of Iterations | Number of Turning Points |
---|---|---|---|
NSGA-II | 28.6274 | 15 | 10 |
GA | 29.4558 | 8 | 10 |
The algorithm proposed in this paper | 28.6274 | 5 | 5 |
Algorithm | Shortest Path | Number of Iterations | Number of Turning Points |
---|---|---|---|
NSGA-II | 31.2132 | 27 | 12 |
GA | 31.2132 | 23 | 13 |
The algorithm proposed in this paper | 30.3848 | 11 | 4 |
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
Liu, S.; Tian, Q.; Tang, C. Mobile Robot Path Planning Algorithm Based on NSGA-II. Appl. Sci. 2024, 14, 4305. https://doi.org/10.3390/app14104305
Liu S, Tian Q, Tang C. Mobile Robot Path Planning Algorithm Based on NSGA-II. Applied Sciences. 2024; 14(10):4305. https://doi.org/10.3390/app14104305
Chicago/Turabian StyleLiu, Sitong, Qichuan Tian, and Chaolin Tang. 2024. "Mobile Robot Path Planning Algorithm Based on NSGA-II" Applied Sciences 14, no. 10: 4305. https://doi.org/10.3390/app14104305
APA StyleLiu, S., Tian, Q., & Tang, C. (2024). Mobile Robot Path Planning Algorithm Based on NSGA-II. Applied Sciences, 14(10), 4305. https://doi.org/10.3390/app14104305