English

中国农机化学报

中国农机化学报 ›› 2023, Vol. 44 ›› Issue (2): 142-147.DOI: 10.13733/j.jcam.issn.2095-5553.2023.02.020

• 农业智能化研究 • 上一篇    下一篇

基于改进A*算法和DFS算法的割草机器人遍历路径规划

王新彦,盛冠杰,张凯,易政洋   

  1. 江苏科技大学机械工程学院,江苏镇江,212100
  • 出版日期:2023-02-15 发布日期:2023-02-28
  • 基金资助:

    国家自然科学基金面上项目(51275223)


Traversal path planning of lawn mower robot based on improved A* algorithm and DFS algorithm

Wang Xinyan, Sheng Guanjie, Zhang Kai, Yi Zhengyang.   

  • Online:2023-02-15 Published:2023-02-28

摘要: 针对割草机器人大面积作业时遍历路径规划覆盖率低、重复率高、普适性弱的问题,提出一种改进A*算法与DFS算法相结合的遍历路径规划算法。首先,根据已知环境全局信息,通过牛耕式分解法将目标区域划分成多个不含障碍物的子区域;然后,根据子区域的邻接关系构建无向图,使用DFS算法规划子区域的遍历顺序;最后,采用改进A*算法进行跨区域路径转移并且往复式遍历各子区域的内部。仿真试验结果表明:该遍历算法的覆盖率达到100%,遍历重复率为0,改进A*算法所规划的跨区域转移路径长度和转向次数比A*算法分别减少3.26%和62.5%。所提出的遍历算法具有覆盖率高、重复率低、普适性强的特点,改进A*算法通过路径平滑性优化和添加防碰撞安全间距对A*算法进行改进,使之规划的路径更平滑、更安全,路径长度更短。该研究结果旨在为割草机器人遍历路径规划提供理论参考。

关键词: 割草机器人, 遍历路径规划, 路径转移, 改进A*算法, DFS算法

Abstract: Aiming at the problems of low coverage rate, high repetition rate and weak universality of traversal path planning when lawn mower robots operate in large areas, an improved traversal path planning algorithm combining A* algorithm and DFS algorithm is proposed. First, according to the known global information of the environment, the target area is divided into multiple subareas without obstacles by the cattle farming decomposition method. Then, an undirected graph is constructed according to the adjacency relationship of the subregions, and the traversal order of the subregions is planned using the DFS algorithm. Finally, the improved A* algorithm is used to transfer the path across regions and traverse the interior of each subregion in a reciprocating manner. The simulation experiment results show that the coverage rate of the traversal algorithm reaches 100%, and the traversal repetition rate is 0. The length of the crossregional transfer path and the number of turns planned by the improved A* algorithm are reduced by 3.26% and 62.5% respectively compared with the A* algorithm. The traversal algorithm proposed in this paper has the characteristics of high coverage, low repetition rate, and strong universality. Improved A* algorithm improves the A* algorithm by optimizing path smoothness and increasing the anticollision safety distance to make the planned path smoother, safer and shorter path length. The research results are designed to provide theoretical reference for ergodic path planning of lawn mower robot.

Key words: lawn mower robot, traverse path planning, path transfer, improved A* algorithm, DFS algorithm

中图分类号: