欢迎您访问《智慧农业(中英文)》官方网站! English

Smart Agriculture ›› 2023, Vol. 5 ›› Issue (4): 127-136.doi: 10.12133/j.smartag.SA202308001

• 专题--面向智慧农业的人工智能和机器人技术 • 上一篇    下一篇

融合改进A*算法与模糊PID的病死畜禽运输机器人路径规划与运动控制方法

徐济双1,2(), 焦俊1, 李淼2, 李华龙2(), 杨选将2, 刘先旺2, 郭盼盼2, 麻之润2   

  1. 1. 安徽农业大学 信息与计算机学院,安徽 合肥 230036,中国
    2. 中国科学院 合肥物质科学研究院智能机械研究所,安徽 合肥 230031,中国
  • 收稿日期:2023-07-27 出版日期:2023-12-30
  • 基金资助:
    国家重点研发计划(2022YFD2002104); 国家自然科学基金项目(31902205)
  • 作者简介:
    徐济双,硕士研究生,研究方向为机器人导航。E-mail:
  • 通信作者:
    李华龙,博士,副研究员,研究方向为农牧废弃物资源化利用技术与智能装备。E-mail:

Path Planning and Motion Control Method for Sick and Dead Animal Transport Robots Integrating Improved A * Algorithm and Fuzzy PID

XU Jishuang1,2(), JIAO Jun1, LI Miao2, LI Hualong2(), YANG Xuanjiang2, LIU Xianwang2, GUO Panpan2, MA Zhirun2   

  1. 1. School of Information and Computer Science, Anhui Agricultural University, Hefei 230036, China
    2. Hefei Institute of Materials Chinese Academy of Sciences, Institute of Mechanical Intelligence, Hefei 230031, China
  • Received:2023-07-27 Online:2023-12-30
  • corresponding author:
    LI Hualong, E-mail:
  • About author:

    XU Jishuang, E-mail:

  • Supported by:
    National Key Research and Development Program of China(2022YFD2002104); National Natural Science Foundation of China(31902205)

摘要:

[目的/意义] 为了实现病死畜禽无害化处理中心将病死畜禽从存储冷库运输并上料至无害化处理设备的智能化装备过程无人化,对运输机器人的路径规划与自主行走的关键技术难题进行研究。 [方法] 目前室内环境路径规划算法主要采用的是A*算法,但该算法拐点大、平滑性差、算法计算时间长、遍历节点多,为此提出基于改进的A*算法的病死畜禽无害化处理运输机器人路径规划方法和基于模糊比例积分微分(Proportional Integral Derivative,PID)的运动控制方法,利用曼哈顿距离算法并增设附加值和权值改进启发函数,引入贝塞尔曲线函数优化路径;在规划路径后结合模糊PID算法控制运输机器人底盘的线速度与角速度实现追踪行走。 [结果和讨论] 开展传统A*算法与改进A*算法的对比实验以及PID追踪实验。结果显示,改进后的A*算法节平均遍历节点由3 067个降至1 968个,算法平均时间由20.34 s减少到7.26 s,开展现场试验验证了该算法的有效性和可靠性。 [结论] 本研究提出的方法有效的缩短了病死畜禽运输机器人的路径规划时间且减少了遍历节点,提高了路径规划效率和路径平滑性,结合模糊PID算法可以实现运输机器人的稳定寻迹控制,有效解决传统的A*算法在运输机器人路径规划过程中存在的路径规划拐点大、平滑性差、算法计算时间长、遍历节点多等问题,满足病死畜禽无人上料技术需求。

关键词: A*算法, 运输机器人, 贝塞尔曲线, 路径规划, 模糊PID, 病死畜禽

Abstract:

[Objective] A key challenge for the harmless treatment center of sick and dead animal is to prevent secondary environmental pollution, especially during the process of transporting the animals from cold storage to intelligent treatment facilities. In order to solve this problem and achieve the intelligent equipment process of transporting sick and dead animal from storage cold storage to harmless treatment equipment in the harmless treatment center, it is necessary to conduct in-depth research on the key technical problems of path planning and autonomous walking of transport robots. [Methods] A * algorithm is mainly adopted for the robot path planning algorithm for indoor environments, but traditional A * algorithms have some problems, such as having many inflection points, poor smoothness, long calculation time, and many traversal nodes. In order to solve these problems, a path planning method for the harmless treatment of diseased and dead animal using transport robots based on the improved A algorithm was constructed, as well as a motion control method based on fuzzy proportional integral differential (PID). The Manhattan distance method was used to replace the heuristic function of the traditional A * algorithm, improving the efficiency of calculating the distance between the starting and ending points in the path planning process. Referring to the actual location of the harmless treatment site for sick and dead animal, vector cross product calculation was performed based on the vector from the starting point to the target point and the vector from the current position to the endpoint target. Additional values were added and dynamic adjustments were implemented, thereby changing the value of the heuristic function. In order to further improve the efficiency of path planning and reduce the search for nodes in the planning process, a method of adding function weights to the heuristic function was studied based on the actual situation on site, to change the weights according to different paths. When the current location node was relatively open, the search efficiency was improved by increasing the weight. When encountering situations such as corners, the weight was reduced to improve the credibility of the path. By improving the heuristic function, a driving path from the starting point to the endpoint was quickly obtained, but the resulting path was not smooth enough. Meanwhile, during the tracking process, the robot needs to accelerate and decelerate frequently to adapt to the path, resulting in energy loss. Therefore, according to the different inflection points and control points of the path, different orders of Bessel functions were introduced to smooth the planning process for the path, in order to achieve practical application results. By analyzing the kinematics of robot, the differential motion method of the track type was clarified. On this basis, a walking control algorithm for the robot based on fuzzy PID control was studied and proposed. Based on the actual operation status of the robot, the fuzzy rule conditions were recorded into a fuzzy control rule table, achieving online identification of the characteristic parameters of the robot and adjusting the angular velocity deviation of robot. When the robot controller received a fuzzy PID control signal, the angular velocity output from the control signal was converted into a motor rotation signal, which changed the motor speed on both sides of the robot to achieve differential control and adjust the steering of the robot. [Results and Discussions] Simulation experiments were conducted using the constructed environmental map obtained, verifying the effectiveness of the path planning method for the harmless treatment of sick and dead animal using the improved A algorithm. The comparative experiments between traditional A * algorithm and improved algorithm were conducted. The experimental results showed that the average traversal nodes of the improved A * algorithm decreased from 3 067 to 1 968, and the average time of the algorithm decreased from 20.34 s to 7.26 s. Through on-site experiments, the effectiveness and reliability of the algorithm were further verified. Different colors were used to identify the planned paths, and optimization comparison experiments were conducted on large angle inflection points, U-shaped inflection points, and continuous inflection points in the paths, verifying the optimization effect of the Bessel function on path smoothness. The experimental results showed that the path optimized by the Bessel function was smoother and more suitable for the walking of robot in practical scenarios. Fuzzy PID path tracking experiment results showed that the loading truck can stay close to the original route during both straight and turning driving, demonstrating the good effect of fuzzy PID on path tracking. Further experiments were conducted on the harmless treatment center to verify the effectiveness and practical application of the improved algorithm. Based on the path planning algorithm, the driving path of robot was quickly planned, and the fuzzy PID control algorithm was combined to accurately output the angular velocity, driving the robot to move. The transport robots quickly realized the planning of the transportation path, and during the driving process, could always be close to the established path, and the deviation error was maintained within a controllable range. [Conclusions] A path planning method for the harmless treatment of sick and dead animal using an transport robots based on an improved A * algorithm combined with a fuzzy PID motion control was proposed in this study. This method could effectively shorten the path planning time, reduce traversal nodes, and improve the efficiency and smoothness of path planning.

Key words: A* algorithm, transport robots, Bezier curve, path planning, fuzzy PID, sick and dead animal

中图分类号: