基于改进遗传算法的机器人路径规划
2021-11-28丁家会冒宇露顾立博戴彦楚吴雪倩
丁家会 冒宇露 顾立博 戴彦楚 吴雪倩



摘 要:针对传统路径规划算法存在路径不可达、寻优计算规模大等缺陷导致算法的计算量大、收敛精度低等问题,本文提出采用改进遗传算法优化中间节点,结合Dijkstra算法求最短路径算法补齐节点间的路径形成一条完整路径的方式,保证遗传操作中的路径全部为可行路径。与传统遗传算法作对比,试验结果表明改进后的算法在收敛精度和寻优能力上都取得了明显的效果。
关键词:遗传算法;路径规划;中间节点
中图分类号:TP301.6 文献标识码:A 文章编号:1003-5168(2021)27-0006-03
Abstract: In view of the problems of traditional path planning algorithms such as unreachable paths and large-scale optimization calculations, which lead to large calculations and low convergence accuracy, this paper proposes an improved genetic algorithm to optimize intermediate nodes, combined with Dijkstra's shortest path algorithm to fill in the path between nodes to form a complete path, to ensure that all paths in the genetic operation are feasible paths. Compared with the traditional genetic algorithm, the experimental results show that the improved algorithm has achieved obvious results in convergence accuracy and optimization ability.
Keywords: genetic algorithm; path planning; intermediate node
路徑规划研究已经进行了很多年,研究者们提出多种方法来解决此问题,不同的方法适用范围也各不相同,没有一种路径规划方法适用于所有环境信息。其中,人工势场法[1]、网格法[2]、粒子群算法[3]等是路径规划中的典型方法。但一些传统的优化算法在非线性、离散的路径规划问题中受局限较大,优化效果并不太好。因此,遗传算法凭借其较强的全局寻优能力而被广泛地应用于路径规划问题,本文提出一种基于Dijkstra算法的改进遗传算法用于求解机器人路径规划问题。
1 算法介绍
1.1 遗传算法
遗传算法实时性能良好,应用于移动机器人路径规划的基本思想是:将路径个体表示为路径中的一系列中间点,然后通过编码将其转化为数学问题。具体而言,它包括初始化路径种群,然后执行一系列遗传运算,如选择、交叉、变异等,在满足终止条件后停止进化,并输出当前的最优个体[4]。……
