Path Planning for Underwater Inspection Robots Based on Improved Ant Colony Algorithm
摘要
针对传统蚁群算法应用于水下巡检机器人路径规划时,存在收敛速度慢、易陷入局部最优、对水下环境适应性差的问题,提出一种改进蚁群算法.首先构建兼顾路径长度、安全性、平滑性与水流适配性的综合评价函数,通过路径适应度高低动态调整信息素释放系数,并根据迭代进度动态调整信息素挥发系数,加快算法迭代后期收敛速度;其次在启发函数中引入水流因子与障碍物距离因子,引导算法选择质量更好的路径;随后融合模拟退火机制避免算法陷入局部最优;最后结合 B 样条曲线对路径做平滑性处理,减少水下机器人的能耗.分别在 20×20、30×30 两种栅格仿真环境下开展对比试验,结果表明:相较于传统蚁群算法和参考文献算法,文中所提改进蚁群算法能够获得更短的规划路径,有效减少拐点数量,收敛速度更快,可满足水下巡检机器人无碰撞、低能耗的路径规划实际需求.
When the traditional ant colony algorithm is applied in path planning of underwater inspection robots,issues occur,including slow convergence speed,susceptibility to local optima,and poor adaptability to the underwater environment.In response to these issues,an improved ant colony algorithm was proposed.Firstly,a comprehensive evaluation function considering path length,safety,smoothness,and water flow adaptability was constructed.The pheromone release coefficient was dynamically adjusted by the path fitness.The pheromone volatilization coefficient was also dynamically adjusted according to the iterative process,thus expediting the convergence speed in the later stage of the algorithm iteration.Secondly,the water flow factor and obstacle distance factor were introduced into the heuristic function to guide the algorithm to choose the superior path.Then,the simulated annealing mechanism was integrated to avoid the algorithm falling into a local optimum.Finally,the B-spline curve was applied to smooth the path to reduce the energy consumption of the underwater robots.A comparison experiment was carried out under the grid simulation environments of 20×20 and 30×30,respectively.The results show that compared to the traditional ant colony algorithm and reference algorithm,the proposed improved ant colony algorithm achieves a shorter planning path,fewer turning points,and faster convergence speed,which effectively meets the actual requirements of collisionless and low-energy-consumption planning path for underwater inspection robots