English

中国农机化学报

中国农机化学报 ›› 2022, Vol. 43 ›› Issue (4): 138-145.DOI: 10.13733/j.jcam.issn.20955553.2022.04.020

• • 上一篇    下一篇

基于AprilTag的畜牧自主移动机器人建图与定位

吕恩利1,苏秋双1,王飞仁2,罗毅智1 ,曾伯阳1,曾志雄1   

  1. 1. 华南农业大学工程学院,广州市,510642; 2. 广东机电职业技术学院,广州市,510550
  • 出版日期:2022-04-15 发布日期:2022-04-24
  • 基金资助:
    广东省畜禽疫病防治研究重点实验室开放基金(YDWS1904);广州迦恩科技有限公司技术开发合作项目(HXKJHT2020058)

Mapping and localization of animal husbandry autonomous mobile robot based on AprilTag

Lü Enli, Su Qiushuang, Wang Feiren, Luo Yizhi, Zeng Boyang, Zeng Zhixiong.   

  • Online:2022-04-15 Published:2022-04-24

摘要: 为获取畜牧自主移动机器人在规模化养殖场中的位置信息,提出一种基于二维码(AprilTag)的建图与定位算法。利用在机器人上的单目相机对布置在环境中AprilTag进行观测,并融合轮式里程计对机器人运动的测量,基于扩展卡尔曼滤波(EKF)估计出机器人的状态,在此基础上推算每张AprilTag在全局坐标系中的位姿。在回环前,为抑制建图过程中累计误差的增长,将EKF估计的结果作为初值构建有关于投影关系的最小二乘问题,并使用列文伯格—马尔夸特(LM)方法求解该最小二乘问题,在检测到回环后采用全局优化消除累计误差。试验表明:本算法能在较大的范围内建立AprilTag地图,且使用该地图为机器人定位的平均误差为0.075 86 m,最大误差为0.303 93 m。


关键词: 畜牧机器人, AprilTag, 建图与定位, 单目

Abstract: In order to obtain the location information of animal husbandry autonomous mobile robots in largescale breeding farms, a map building and location algorithm based on TWODIMENSIONAL code (AprilTag) was proposed. A monocular camera on the robot was used to observe the AprilTag in the environment. The state of the robot was estimated based on extended Kalman Filter (EKF) by integrating the measurement of the robot motion with the wheel odometer. On this basis, the pose of each AprilTag in the global coordinate system was calculated. In order to restrain the increase of cumulative errors in the process of building the graph, the estimated results were taken as the initial values before the loop, and the leastsquares problem with the projection relation was constructed, and the LevenbergMarquardt (LM) method was used to solve the leastsquares problem. The global optimization was used to eliminate the cumulative error when the loop was detected. Experimental results showed that the proposed algorithm can build the AprilTag map in a large range, and the average error and maximum error of robot localization using the map were 0.075 86 m and 0.303 93 m, respectively.


Key words: animal husbandry robot, AprilTag, mapping and positioning, monocular

中图分类号: