Abstract
In order to solve the problems of the basic genetic algorithm in robot path planning, such as the path is not smooth enough, the number of turns is too many, and it is easy to fall into the local optimal solution, an improved genetic algorithm is proposed. The method introduces the turning angle and turning times as the evaluation objectives, improving the practicability of the fitness function; The elitist retention strategy is added to improve the convergence speed of the algorithm; The adaptive change strategy of crossover probability and mutation probability is optimized, so that the algorithm can adapt to various scenarios and improve the optimization ability and convergence speed of the algorithm. The simulation results show that the improved genetic algorithm is more suitable for robot movement than the basic genetic algorithm.
Introduction
Mobile robot path planning is a critical challenge in robotics, requiring the identification of an optimal route from a starting point to a destination. While standard Genetic Algorithms (GA) are robust optimization tools, they often struggle with generating jagged paths with excessive turns, slow convergence rates, and a tendency to get trapped in local optima. These "staircase" paths are inefficient, leading to increased battery consumption and mechanical wear. This research proposes an improved GA framework designed to produce smoother, more efficient paths with faster convergence.
Methodology
The proposed improved genetic algorithm introduces several key enhancements to the standard GA framework to optimize path quality and computational efficiency:
- Multi-Objective Fitness Function: Beyond path length, the fitness function incorporates a "smoothness factor" that penalizes sharp turning angles and a high frequency of turns. This ensures that the evolved paths are not only short but also executable for physical robots.
- Elite Retention Strategy: To prevent the loss of high-quality solutions due to the stochastic nature of roulette wheel selection, an elitist strategy is employed. The best-performing individuals are directly passed to the next generation.
- Adaptive Parameter Control: The algorithm dynamically adjusts crossover and mutation probabilities based on the population's evolution state. This prevents premature convergence by increasing exploration when the population stagnates and fine-tuning solutions when evolution is rapid.
Experimental Setup
The algorithm was evaluated using a custom 20x20 grid map simulation in MATLAB. In this environment, white cells represent navigable space, while black cells denote obstacles. The simulation aimed to find the shortest feasible path while minimizing turns, with a theoretical optimal length of 29.8 units for the test scenario.
Results and Discussion
Comparative simulations between the basic GA and the improved version revealed significant performance gains. While both algorithms eventually identified the optimal path length of 29.8, the basic GA produced paths with an average of 12.5 turns. In contrast, the improved GA reduced this to just 5 turns—a 60% improvement in path smoothness.
Furthermore, the improved GA demonstrated superior efficiency, reaching the optimal solution in an average of 11.25 iterations, compared to 18.5 iterations for the basic version. This represents a 39% increase in convergence speed.
As shown in the convergence analysis, the improved algorithm (blue line) drops to a low-cost solution much earlier and more consistently than the erratic path of the basic GA (red line). This stability is attributed to the adaptive parameter control and elite retention strategies.
Conclusion
The improved genetic algorithm successfully addresses the limitations of standard GA in robot path planning. By integrating turning penalties into the fitness function and utilizing adaptive parameter control, the method produces smoother paths and converges significantly faster. Future work will focus on extending this algorithm to dynamic environments with moving obstacles and increasing its scalability for larger, more complex industrial maps.
Summary updated