CN115284292A - Mechanical arm hand-eye calibration method and device based on laser camera - Google Patents
Mechanical arm hand-eye calibration method and device based on laser camera Download PDFInfo
- Publication number
- CN115284292A CN115284292A CN202210999219.1A CN202210999219A CN115284292A CN 115284292 A CN115284292 A CN 115284292A CN 202210999219 A CN202210999219 A CN 202210999219A CN 115284292 A CN115284292 A CN 115284292A
- Authority
- CN
- China
- Prior art keywords
- calibration
- point cloud
- laser camera
- pose
- mechanical arm
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 230000009466 transformation Effects 0.000 claims abstract description 15
- 230000008859 change Effects 0.000 claims abstract description 10
- 238000006073 displacement reaction Methods 0.000 claims description 16
- 238000006243 chemical reaction Methods 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 6
- 238000004364 calculation method Methods 0.000 claims description 3
- 230000008569 process Effects 0.000 abstract description 14
- 239000000243 solution Substances 0.000 description 8
- 239000011159 matrix material Substances 0.000 description 7
- 238000013461 design Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 239000012482 calibration solution Substances 0.000 description 2
- 239000012636 effector Substances 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 238000013519 translation Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J9/00—Programme-controlled manipulators
- B25J9/16—Programme controls
- B25J9/1694—Programme controls characterised by use of sensors other than normal servo-feedback from position, speed or acceleration sensors, perception control, multi-sensor controlled systems, sensor fusion
- B25J9/1697—Vision controlled systems
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J19/00—Accessories fitted to manipulators, e.g. for monitoring, for viewing; Safety devices combined with or specially adapted for use in connection with manipulators
- B25J19/02—Sensing devices
- B25J19/021—Optical sensing devices
- B25J19/022—Optical sensing devices using lasers
Landscapes
- Engineering & Computer Science (AREA)
- Robotics (AREA)
- Mechanical Engineering (AREA)
- Physics & Mathematics (AREA)
- Optics & Photonics (AREA)
- Manipulator (AREA)
Abstract
基于激光相机的机械臂手眼标定方法及装置,在机械臂的末端臂上连接一标定工装,在机械臂基座上设置一激光相机,所述标定工装上设有可变换位姿的标定板,激光相机用于采集标定板的强度图和点云数据,保持机械臂不动,调节标定板位姿,由标定板不同位姿下的相机坐标系点云位置信息和世界坐标系点云位置信息联立求解得到激光相机和机械臂末端的位姿转换关系,完成手眼标定。本发明减少现有标定过程中的多个中间过程,无需RGB图像以及机械臂位姿信息,减少机械臂以及点云数据的引入误差,提高了标定精度,尤其适用于带电作业机器人,在作业现场即可快速完成手眼标定,安全快速可靠。
A method and device for hand-eye calibration of a robotic arm based on a laser camera, a calibration tool is connected to the end arm of the robotic arm, a laser camera is set on the base of the robotic arm, and the calibration tool is provided with a calibration plate that can change the posture, The laser camera is used to collect the intensity map and point cloud data of the calibration board, keep the robotic arm still, adjust the pose of the calibration board, and obtain the position information of the camera coordinate system point cloud and the point cloud position information of the world coordinate system under different poses of the calibration board. Simultaneously solve the pose transformation relationship between the laser camera and the end of the robotic arm, and complete the hand-eye calibration. The invention reduces multiple intermediate processes in the existing calibration process, does not require RGB images and the position and attitude information of the mechanical arm, reduces the introduction error of the mechanical arm and point cloud data, and improves the calibration accuracy, and is especially suitable for live working robots. The hand-eye calibration can be quickly completed, which is safe, fast and reliable.
Description
技术领域technical field
本发明属于机器人技术领域,涉及机器人的手眼标定,为一种基于激光相机的机械臂手眼标定方法及装置。The invention belongs to the technical field of robots, relates to hand-eye calibration of robots, and relates to a method and device for hand-eye calibration of a mechanical arm based on a laser camera.
背景技术Background technique
机器人具有多关节多自由度机械臂,通过控制机械臂末端的位置进行相关作业。现有技术中,一般通过机器视觉来判断机器人的空间位置,为了使得相机(即机器人的眼)与机械臂末端(即机器人的手)坐标系之间建立关系,就需要对机器人机械臂与相机坐标系进行标定,该标定过程也就叫做手眼标定。The robot has a multi-joint multi-degree-of-freedom mechanical arm, and performs related operations by controlling the position of the end of the mechanical arm. In the prior art, the spatial position of the robot is generally judged by machine vision. In order to establish a relationship between the camera (ie, the eye of the robot) and the coordinate system at the end of the robot arm (ie, the hand of the robot), it is necessary to determine the position of the robot arm and the camera. The coordinate system is calibrated, and this calibration process is also called hand-eye calibration.
通常机器人的手眼关系分为eye-in-hand以及eye-to-hand两种,其中eye-in-hand是眼在手上,机器人的视觉系统随着机械臂末端运动;而eye-to-hand是眼在手旁,机器人的视觉系统与机器人基座位置相对固定,不会在世界坐标系内运动。eye-in-hand这种关系下,相机设置在机械臂末端,标定板设置在机器人旁固定位置,机器人底座和标定板的位置关系始终不变,求解的量为相机和机械臂末端坐标系的位姿关系。eye-to-hand这种关系下,标定板设置在机械臂末端,相机设置在机器人旁固定位置,机械臂末端和标定板的位姿关系始终不变,求解的量为相机和机器人底座坐标系之间的位姿关系。而不论是哪种标定方式,在求解位姿关系时,都需要让机械臂运动,从而改变相机或标定板的位置,进而构建不同坐标系位姿的求解矩阵,这就需要较大的场地来方便机械臂的运动。同时,由于上述两种标定方式都依赖机械臂的运动来改变相机和标定板之间的位置关系从而构建位姿求解矩阵,在机械臂移动过程中,通过获取机械臂末端执行器的位姿数据来作为位姿求解矩阵的参数,则会因为机械臂自身装配误差、标定板自身的装配误差等因素,将机械臂的自身误差引入标定求解,影响标定的精度。Usually, the hand-eye relationship of a robot is divided into two types: eye-in-hand and eye-to-hand, among which eye-in-hand means that the eye is on the hand, and the visual system of the robot moves with the end of the mechanical arm; and eye-to-hand The eye is next to the hand, the position of the robot's vision system and the robot base is relatively fixed, and it will not move in the world coordinate system. In the eye-in-hand relationship, the camera is set at the end of the robot arm, and the calibration plate is set at a fixed position next to the robot. The positional relationship between the robot base and the calibration plate remains unchanged, and the amount to be solved is the coordinate system of the camera and the end of the robot arm. pose relationship. Under the eye-to-hand relationship, the calibration board is set at the end of the robot arm, and the camera is set at a fixed position next to the robot. The pose relationship between the end of the robot arm and the calibration board is always the same, and the amount to be solved is the coordinate system of the camera and the robot base pose relationship between them. Regardless of the calibration method, when solving the pose relationship, it is necessary to let the robotic arm move, thereby changing the position of the camera or the calibration board, and then constructing the solution matrix of different coordinate system poses, which requires a larger venue. Facilitate the movement of the mechanical arm. At the same time, since the above two calibration methods rely on the movement of the manipulator to change the positional relationship between the camera and the calibration board to construct the pose solution matrix, during the movement of the manipulator, by obtaining the pose data of the end effector of the manipulator As the parameters of the pose solution matrix, the error of the robot arm will be introduced into the calibration solution due to factors such as the assembly error of the robot arm itself and the assembly error of the calibration board itself, which will affect the accuracy of the calibration.
现有技术常见的机械臂手眼标定,是通过相机检测棋盘格的方式来完成的,需要利用RGB图像,这会涉及到相机内参,引入相机内参误差。也有方案利用点云相机来进行手眼标定,在没有RGB图像的情况下,利用ICP算法完成3D点云相机的手眼标定。但ICP方法需要在较大空间、利用尽可能多的规律物体进行匹配。同时,机械臂也是必然需要运动的,同样会在标定中引入机械臂的自身误差。The common hand-eye calibration of the robotic arm in the prior art is accomplished by detecting the checkerboard pattern with a camera, which requires the use of RGB images, which involves camera internal parameters and introduces camera internal reference errors. There are also plans to use point cloud cameras for hand-eye calibration. In the absence of RGB images, ICP algorithms are used to complete the hand-eye calibration of 3D point cloud cameras. However, the ICP method needs to use as many regular objects as possible for matching in a large space. At the same time, the mechanical arm also needs to move, and the error of the mechanical arm will also be introduced in the calibration.
带电作业机器人是针对配网线路作业的特种机器人,主要在高空中代替人工完成高压线缆搭接和拆卸等一系列高危作业,工作环境为户外且经常变动,现有的机械臂手眼标定方法大多要求机械臂在一个相对稳定的环境中通过变换位姿完成标定,而带电作业机器人需要频繁移动,一方面使用时间长了容易产生机械臂运动误差,另一方面不同的工作环境可能需要更新手眼标定,带电作业机器人的工作环境不适于现有标定方法进行现场标定,如果在现场标定,可能因机械臂的位姿变换影响到周围的线缆。The live working robot is a special robot for distribution network line operations. It mainly replaces manual high-voltage cable lapping and dismantling at high altitude to complete a series of high-risk operations. The working environment is outdoors and changes frequently. Most of the existing robotic arm hand-eye calibration methods The robot arm is required to complete the calibration by changing the pose in a relatively stable environment, and the live working robot needs to move frequently. On the one hand, it is easy to cause the movement error of the robot arm after a long time of use. On the other hand, different working environments may require updating the hand-eye calibration , the working environment of the live working robot is not suitable for on-site calibration by the existing calibration method. If it is calibrated on site, the surrounding cables may be affected by the pose change of the manipulator.
发明内容Contents of the invention
本发明要解决的问题是:现有技术进行机械臂手眼标定时需要较大场地完成标定工作,同时由于标定方法的基础原理,会将相机内参或机械臂的自身误差引入标定求解,影响标定精度。尤其是对于带电作业机器人,现有的标定方法要求条件多,不利于带电作业机器人的快速手眼标定。The problem to be solved by the present invention is: in the prior art, a large space is required to complete the calibration work when performing the hand-eye calibration of the mechanical arm. At the same time, due to the basic principle of the calibration method, the camera’s internal reference or the error of the mechanical arm itself will be introduced into the calibration solution, which will affect the calibration accuracy. . Especially for live working robots, the existing calibration methods require many conditions, which is not conducive to the rapid hand-eye calibration of live working robots.
本发明的技术方案为:基于激光相机的机械臂手眼标定方法,在机械臂的末端臂上连接一标定工装,在机械臂基座上设置一激光相机,所述标定工装上设有可变换位姿的标定板,激光相机用于采集标定板的强度图和点云数据,包括以下步骤:The technical solution of the present invention is: a laser camera-based mechanical arm hand-eye calibration method, a calibration tool is connected to the end arm of the mechanical arm, a laser camera is set on the base of the mechanical arm, and a convertible position is provided on the calibration tool. The calibration plate of the posture, the laser camera is used to collect the intensity map and point cloud data of the calibration plate, including the following steps:
1)通过激光相机面向标定板采集点云数据和强度图,由采集的点云数据得到相机坐标系下的点云位置信息P和世界坐标系下的真实点云位置信息Q;1) The point cloud data and intensity map are collected by the laser camera facing the calibration plate, and the point cloud position information P in the camera coordinate system and the real point cloud position information Q in the world coordinate system are obtained from the collected point cloud data;
2)对所得的强度图,提取标定板的特征点,选择不共线的三点作为目标点,同时获取对应目标点的点云位置信息P;2) For the obtained intensity map, extract the feature points of the calibration plate, select three points that are not collinear as the target point, and obtain the point cloud position information P of the corresponding target point;
3)保持机械臂不动,调节标定板位姿,所述不同位姿包括水平、竖直及深度方向上的位移或旋转,所述调节至少包括一次深度方向上的位移,重复步骤1)2)采集不同位姿下标定板的强度图和点云数据,由获得的目标点的点云位置信息P以及对应位姿下的真实点云位置信息Q进行联立,求解得到激光相机和机械臂末端的位姿转换关系,完成手眼标定。3) Keep the mechanical arm still and adjust the pose of the calibration plate. The different poses include displacement or rotation in the horizontal, vertical, and depth directions. The adjustment includes at least one displacement in the depth direction, and repeat steps 1) and 2. ) to collect the intensity map and point cloud data of the calibration plate in different poses, and combine the obtained point cloud position information P of the target point with the real point cloud position information Q under the corresponding pose, and solve the problem to obtain the laser camera and the manipulator The pose conversion relationship at the end completes the hand-eye calibration.
进一步的,求解激光相机和机械臂末端的位姿转换关系具体为:Further, solve the pose transformation relationship between the laser camera and the end of the robotic arm as follows:
其中,下标m1、m2表示标定板的不同位姿,M表示在激光相机与机械臂末端的位姿转换关系,表示在位置m1采集得到真实世界下的点云位置信息,是真实世界下的点云深度数据,表示在位置m1的真实世界下的点云强度数据;Among them, the subscripts m 1 and m 2 represent different poses of the calibration board, and M represents the pose transformation relationship between the laser camera and the end of the robotic arm, Indicates that the point cloud position information in the real world is collected at position m 1 , is the point cloud depth data in the real world, Represents the point cloud intensity data under the real world at position m 1 ;
由具有不同深度的两个位姿下的标定板点云数据联立求解,得到位姿转换关系M。The pose conversion relationship M is obtained by simultaneously solving the point cloud data of the calibration board under two poses with different depths.
进一步的,在进行步骤1)2)时,采集N次标定板在同一位姿m的点云数据,并计算得到平均点云信息:Further, when performing steps 1) and 2), collect the point cloud data of the calibration board at the same pose m for N times, and calculate the average point cloud information:
其中,Pm,n表示在位姿m的第n次采集得到的点云数据,Pm表示在位姿m的平均点云信息,以平均点云信息作为目标点的相机坐标系点云位置信息参与位姿转换关系的求解。Among them, P m, n represents the point cloud data collected at the nth time of pose m, P m represents the average point cloud information at pose m, and the average point cloud information is used as the point cloud position of the camera coordinate system of the target point The information participates in the solution of the pose transformation relationship.
进一步的,所述标定工作包括支架和标定板,支架包括连接件、xyz三向位移平台、旋转平台和标定板夹持件,连接件用于将标定工装连接在机械臂上,标定板夹持件用于固定标定板,xyz三向位移平台及旋转平台用于在水平、竖直及深度方向上对标定板进行位移调节或旋转调节。Further, the calibration work includes a bracket and a calibration plate, the bracket includes a connecting piece, an xyz three-way displacement platform, a rotating platform and a calibration plate clamping piece, the connecting piece is used to connect the calibration tooling to the mechanical arm, and the calibration plate clamps The parts are used to fix the calibration plate, and the xyz three-way displacement platform and the rotating platform are used to adjust the displacement or rotation of the calibration plate in the horizontal, vertical and depth directions.
进一步的,所述机械臂为带电作业机器人的机械臂。Further, the mechanical arm is a mechanical arm of a live working robot.
本发明还提供一种基于激光相机的机械臂手眼标定装置,包括激光相机、标定工装和标定模块,标定工装配置在机械臂的末端臂上,激光相机配置在机械臂基座上,所述标定工装上设有可变换位姿的标定板,标定模块与激光相机数据连接,所述标定模块包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现上述方法的标定计算步骤,标定模块接收激光相机采集的数据,输出用于手眼标定的位姿转换关系信息。The present invention also provides a hand-eye calibration device for a mechanical arm based on a laser camera, including a laser camera, a calibration tool and a calibration module. The calibration tool is arranged on the end arm of the robot, and the laser camera is arranged on the base of the robot. The calibration The tooling is provided with a calibration plate that can change the pose, and the calibration module is connected to the laser camera data. The calibration module includes a memory and a processor, and the memory stores a computer program. When the processor executes the computer program, the above-mentioned In the calibration calculation step of the method, the calibration module receives the data collected by the laser camera, and outputs pose conversion relationship information for hand-eye calibration.
本发明方法全程无需机械臂移动,通过可变换位姿的手眼标定工装,基于激光点云数据,采集少量不同位置下标定板的目标位置信息,即可求解标定关系。本发明直接利用点云数据,而无需借助彩色相机进行标定,减少了对标定环境、标定板的样式、机械臂位姿信息、现实物理世界中固定标定位置的数量、以及机械臂和激光相机误差信息的需求和依赖。本发明将所有需要用到的位置、旋转信息都放在标定工装的设计上,这样避免了机械臂误差信息的引入。The method of the present invention does not require the movement of the mechanical arm in the whole process, and the calibration relationship can be solved by collecting a small amount of target position information of the calibration plate at different positions through the hand-eye calibration tooling that can change the pose and based on the laser point cloud data. The present invention directly utilizes point cloud data without using a color camera for calibration, which reduces the need for calibration environment, the style of the calibration board, the pose information of the manipulator, the number of fixed calibration positions in the real physical world, and the errors of the manipulator and laser camera. Information needs and reliance. The present invention places all required position and rotation information on the design of the calibration tool, thus avoiding the introduction of error information of the mechanical arm.
同时针对激光相机采集到同一帧数据当中不同位置的点云会存在误差的问题,本发明也提出了相应解决办法。通过多帧中同一个点的三维信息,在每一维上计算平均值。At the same time, the present invention also proposes a corresponding solution to the problem that point clouds at different positions in the same frame of data collected by the laser camera may have errors. Through the three-dimensional information of the same point in multiple frames, the average value is calculated in each dimension.
本发明减少现有标定过程中的多个中间过程,无需RGB图像以及机械臂位姿信息,减少机械臂以及点云数据的引入误差,提高了标定精度。本发明尤其适用于带电作业机器人,无需机械臂进行任何动作,且不用考虑机械臂自身误差,在作业现场即可快速完成手眼标定,安全快速可靠。The present invention reduces multiple intermediate processes in the existing calibration process, does not require RGB images and mechanical arm pose information, reduces the introduction error of the mechanical arm and point cloud data, and improves the calibration accuracy. The invention is especially suitable for live working robots, without any action of the mechanical arm, and without considering the error of the mechanical arm itself, the hand-eye calibration can be quickly completed at the work site, which is safe, fast and reliable.
附图说明Description of drawings
图1为本发明方法的流程示意图。Fig. 1 is a schematic flow chart of the method of the present invention.
图2为本发明方法中,激光相机和标定工装在机械臂上的配置示意图。Fig. 2 is a schematic diagram of the configuration of the laser camera and the calibration tool on the mechanical arm in the method of the present invention.
图3为图2的侧面视图。FIG. 3 is a side view of FIG. 2 .
图4为本发明方法中标定工装的结构示意图。Fig. 4 is a structural schematic diagram of the calibration tool in the method of the present invention.
图5为本发明方法中标定板的两种实施例示意图。Fig. 5 is a schematic diagram of two embodiments of the calibration plate in the method of the present invention.
具体实施方式Detailed ways
本发明提出一种基于机械臂和激光相机的手眼标定方法,目的在于尽可能不引入机械臂的误差,标定环境不受限制;同时将现实物理世界的准确信息也能够导入进点云数据当中来。The present invention proposes a hand-eye calibration method based on a manipulator and a laser camera. The purpose is to avoid introducing errors of the manipulator as much as possible, and the calibration environment is not limited; at the same time, the accurate information of the real physical world can also be imported into the point cloud data. .
如图1和图2、3所示,本发明在机械臂的末端臂连接一标定工装,在机械臂基座上设置一激光相机,所述标定工装上设有可变换位姿的标定板,激光相机用于采集标定板的强度图和点云数据,包括以下步骤:As shown in Figure 1 and Figures 2 and 3, the present invention connects a calibration tool to the end arm of the mechanical arm, a laser camera is arranged on the base of the mechanical arm, and the calibration tool is provided with a calibration plate that can change the pose, The laser camera is used to collect the intensity map and point cloud data of the calibration plate, including the following steps:
1)通过激光相机面向标定板采集点云数据和强度图。本发明采用的激光相机的激光传感器要能够输出激光强度图,激光强度图可以被转换为简单的灰度图,不需要借助彩色相机,减少了标定过程中会引入误差的环节,即相机畸变对标定过程的影响。由采集的点云数据得到相机坐标系下的点云位置信息P和世界坐标系下的真实点云位置信息Q。P和真实点云位置信息Q所处的坐标系不同,点云位置信息P的坐标系原点在传感器光心位置;真实点云位置信息Q的坐标点是在工装标尺的零点,以及标定板平面的左上角。另外,点云位置信息P和真实点云位置信息Q的准确度不同,激光打在平面上反射回来的点云数据是凹凸不平的;真实世界的点云数据本身就是个平面。1) Collect point cloud data and intensity maps by facing the calibration plate with a laser camera. The laser sensor of the laser camera used in the present invention should be able to output a laser intensity map, and the laser intensity map can be converted into a simple grayscale image without the need for a color camera, which reduces the link that will introduce errors in the calibration process, that is, the impact of camera distortion on The impact of the calibration process. From the collected point cloud data, the point cloud position information P in the camera coordinate system and the real point cloud position information Q in the world coordinate system are obtained. The coordinate system of P and the real point cloud position information Q are different. The origin of the coordinate system of the point cloud position information P is at the optical center of the sensor; the coordinate point of the real point cloud position information Q is at the zero point of the tooling scale and the plane of the calibration plate the upper left corner of the . In addition, the accuracy of the point cloud position information P is different from that of the real point cloud position information Q. The point cloud data reflected by the laser on the plane is uneven; the point cloud data in the real world itself is a plane.
2)对所得的强度图,提取标定板的特征点,选择不共线的三点作为目标点,同时获取对应目标点的点云位置信息P。特征点的选取一般为标定板的圆心,或者角点。这些点由于颜色特征、尺寸信息极为明显等原因,因此容易作为后续处理的目标点。2) From the obtained intensity map, extract the feature points of the calibration plate, select three points that are not collinear as the target points, and obtain the point cloud position information P of the corresponding target points. The selection of the feature point is generally the center of the calibration plate, or the corner point. These points are easy to be the target points for subsequent processing due to the obvious color characteristics and size information.
3)保持机械臂不动,调节标定板位姿,所述不同位姿包括水平、竖直及深度方向上的位移或旋转,这里的水平竖直和深度,是指以相机所面向的平面为水平竖直平面,与这个平面垂直的为深度。所述调节至少包括一次深度方向上的位移,重复步骤1)2)采集不同位姿下标定板的强度图和点云数据,由获得的目标点的点云位置信息P以及对应位姿下的真实点云位置信息Q进行联立,以不同位姿下采集的点云信息做减法,求解得到激光相机和机械臂末端的位姿转换关系,完成手眼标定。本发明方法中,机械臂仅仅是为了作为一个连接件进行使用,标定过程中是绝对不能动的,避免了机械臂工装误差以及机械臂控制误差的在标定过程中的引入。3) Keep the mechanical arm still and adjust the pose of the calibration board. The different poses include displacement or rotation in the horizontal, vertical and depth directions. The horizontal, vertical and depth here refer to the plane facing the camera as Horizontal and vertical planes, and the plane perpendicular to this plane is the depth. The adjustment includes at least one displacement in the depth direction, repeat steps 1) and 2) to collect the intensity map and point cloud data of the calibration plate under different poses, and obtain the point cloud position information P of the target point and the corresponding pose. The real point cloud position information Q is combined, and the point cloud information collected in different poses is subtracted to solve the pose transformation relationship between the laser camera and the end of the robotic arm, and complete the hand-eye calibration. In the method of the present invention, the mechanical arm is only used as a connecting piece, and must not move during the calibration process, thereby avoiding the introduction of the mechanical arm tooling error and the mechanical arm control error in the calibration process.
为了进一步减少点云数据存在误差的影响,本发明在不同两帧之间做减法,同时将深度上的数据、点云强度图上的数据作为准确的信息,最终得到转换矩阵求解的方法。利用点云信息求解激光相机和机械臂末端的位姿转换关系具体为:In order to further reduce the influence of errors in the point cloud data, the present invention performs subtraction between two different frames, and at the same time uses the data on the depth and the data on the point cloud intensity map as accurate information, and finally obtains a method for solving the transformation matrix. Using the point cloud information to solve the pose transformation relationship between the laser camera and the end of the robotic arm is as follows:
其中,下标m1、m2表示标定板的不同位姿,M表示在激光相机与机械臂末端的位姿转换关系,表示在位置m1采集得到真实世界下的点云位置信息,是真实世界下的点云深度数据,表示在位置m1的真实世界下的点云强度数据;由具有不同深度的两个位姿下的标定板点云数据联立求解,得到位姿转换关系M。Among them, the subscripts m 1 and m 2 represent different poses of the calibration board, and M represents the pose transformation relationship between the laser camera and the end of the robotic arm, Indicates that the point cloud position information in the real world is collected at position m 1 , is the point cloud depth data in the real world, Represents the point cloud intensity data in the real world at position m 1 ; the pose transformation relationship M is obtained by simultaneously solving the point cloud data of the calibration board under two poses with different depths.
根据上式,由点云强度图和点云深度数据求解得到M。According to the above formula, M is obtained by solving the point cloud intensity map and point cloud depth data.
R指的是旋转矩阵,由三个坐标轴的旋转矩阵相乘得到。t指的是平移向量,分别指在三个方向上平移距离。R refers to the rotation matrix, which is obtained by multiplying the rotation matrices of the three coordinate axes. t refers to the translation vector, which respectively refers to the translation distance in three directions.
相比现有技术,本发明不需要获取机械臂末端执行器的位姿数据,将所有需要用到的位置、旋转信息都放在标定工装的设计上,这样可以不将机械臂的误差信息引入。现有技术需要调整机械臂的六自由度位姿,本发明仅需要至少在“深度”上平移一次即可。现有eye-to-hand标定需要采集同一个点在不同位姿下的数据作为标定数据,本发明选取每一帧中不共线的三个点即可,即标定过程中的目标点。Compared with the prior art, the present invention does not need to obtain the pose data of the end effector of the manipulator, and puts all the position and rotation information that needs to be used in the design of the calibration tool, so that the error information of the manipulator can not be introduced . The prior art needs to adjust the six-degree-of-freedom pose of the robotic arm, but the present invention only needs to translate at least once in the "depth". The existing eye-to-hand calibration needs to collect the data of the same point in different poses as the calibration data. The present invention only needs to select three points that are not collinear in each frame, that is, the target point in the calibration process.
进一步的,在进行步骤1)2)时,采集N次标定板在同一位置m的点云数据,并计算得到平均点云信息:Further, when performing steps 1) and 2), collect the point cloud data of the calibration board at the same position m for N times, and calculate the average point cloud information:
其中,Pm,n表示在位姿m的第n次采集得到的点云数据,Pm表示在位姿m的平均点云信息,以平均点云信息作为目标点的点云位置信息参与位姿转换关系的求解。本发明利用激光点云数据进行手眼标定,相比现有借助彩色相机采集RGB图像的标定方法,无需获取相机内参,实现了标定流程的简化。但是这样也可能会引入点云数据的误差,所以本发明采用计算平均值的做法减少点云数据的误差影响,点云当中每个点的信息是三维的,因此是将激光相机采集的多帧中对应同一个点的三维信息,在每一维上计算平均值。Among them, P m, n represents the point cloud data obtained at the nth acquisition of pose m, P m represents the average point cloud information at pose m, and the average point cloud information is used as the point cloud position information of the target point to participate in the position The solution of attitude transformation relationship. The present invention uses laser point cloud data to perform hand-eye calibration. Compared with the existing calibration method of collecting RGB images by means of a color camera, it does not need to acquire internal parameters of the camera, and simplifies the calibration process. But this may also introduce errors in the point cloud data, so the present invention uses the method of calculating the average value to reduce the error impact of the point cloud data. The information of each point in the point cloud is three-dimensional, so the multi-frames collected by the laser camera In the three-dimensional information corresponding to the same point, the average value is calculated on each dimension.
如图4所示的一个实施例,本发明的标定工作包括支架和标定板,支架包括连接件、xyz三向位移平台、旋转平台和标定板夹持件,连接件用于将标定工装连接在机械臂上,标定板夹持件用于固定标定板,xyz三向位移平台及旋转平台用于在水平、竖直及深度方向上对标定板进行位移调节或旋转调节。在这一结构下,标定工装的工艺要求为标定板的夹持件数量尽可能少,整体稳定性高,以及位移和旋转调节的误差小。An embodiment as shown in Figure 4, the calibration work of the present invention comprises a support and a calibration plate, and the support includes a connector, an xyz three-way displacement platform, a rotating platform and a calibration plate clamp, and the connector is used to connect the calibration tooling to the On the mechanical arm, the calibration plate holder is used to fix the calibration plate, and the xyz three-way displacement platform and the rotating platform are used to adjust the displacement or rotation of the calibration plate in the horizontal, vertical and depth directions. Under this structure, the technical requirements of the calibration tooling are that the number of clamping parts of the calibration plate is as small as possible, the overall stability is high, and the error of displacement and rotation adjustment is small.
如图5所示,本发明对标定板的形式也无特别要求,常用的棋盘格或圆孔标定板皆可。As shown in FIG. 5 , the present invention has no special requirements on the form of the calibration plate, and a commonly used checkerboard or round hole calibration plate can be used.
本发明还提供一种基于激光相机的机械臂手眼标定装置,包括激光相机、标定工装和标定模块,标定工装配置在机械臂的末端臂上,激光相机配置在机械臂基座上,所述标定工装上设有可变换位姿的标定板,标定模块与激光相机数据连接,所述标定模块包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现上述方法的标定计算步骤,标定模块接收激光相机采集的数据,输出用于手眼标定的位姿转换关系信息。The present invention also provides a hand-eye calibration device for a mechanical arm based on a laser camera, including a laser camera, a calibration tool and a calibration module. The calibration tool is arranged on the end arm of the robot, and the laser camera is arranged on the base of the robot. The calibration The tooling is provided with a calibration plate that can change the pose, and the calibration module is connected to the laser camera data. The calibration module includes a memory and a processor, and the memory stores a computer program. When the processor executes the computer program, the above-mentioned In the calibration calculation step of the method, the calibration module receives the data collected by the laser camera, and outputs pose conversion relationship information for hand-eye calibration.
本发明整个标定过程不需要机械臂误差信息、传感器误差信息,不需要机械臂位姿信息或相机内参,这是本发明区别与现有技术的关键,本发明将误差控制在设计的标定工装中,仅利用深度方向上精度要求高的工装即可完成标定工作,对标定环境场地没有特别要求,对于深度方向上的位移或旋转精度,视手眼标定的精度以及工装能够设计出的精度而定。例如,目前的机器人应用上,如果工装精度在深度上的精度达到0.1mm,那我们手眼标定出来的精度就能够达到毫米级别。本发明偏向于eye-to-hand这种标定方式,都是相机不动,但现有eye-to-hand标定技术通过机械臂自身读取位姿信息,来带出标定板信息,这自然会引入手臂误差,现有技术大多忽略了这一误差,本发明方法隔绝了机械臂自身装配误差、工装自身的装配误差的影响,工装自身的装配误差指的是市面上现有的、用于手眼标定的工装或者标定板、传感器畸变等引起的误差,例如标定板具为0.1mm精度,最终标定结果依然产生3mm的误差,这就是点云数据本身的精度问题引起的。同时本发明不需要调节机械臂运动、变换不同位姿,避免了机械臂控制误差对手眼标定的影响,尤其是对于带电作业机器人这种特种机器人,无需机械臂运动的标定方式尤其适用于其在户外高中作业现场进行标定。与此同时,由于机械臂不动,本发明又会引入另一个问题,现实世界的准确位置信息从哪里来,对此本发明通过设计的三方向+旋转的标定工装,利用点云数据,以两帧点云数据相减来实现点云数据以及真实世界下的位置信息联立。同时,本发明设计的工装不能三个维度都关注,对于标定工装的要求过高,会失去工业价值,对此,本发明选择以点云的深度维度信息,配合激光强度图进行标定,减少另外两维的数据引入。The whole calibration process of the present invention does not require the error information of the manipulator, the error information of the sensor, the pose information of the manipulator or the internal reference of the camera. This is the key to the difference between the present invention and the prior art. The present invention controls the error in the designed calibration tooling , the calibration work can be completed only by using tooling with high precision requirements in the depth direction. There is no special requirement for the calibration environment and site. For the displacement or rotation accuracy in the depth direction, it depends on the accuracy of hand-eye calibration and the accuracy that the tooling can design. For example, in the current robot application, if the accuracy of the tooling accuracy in depth reaches 0.1mm, then the accuracy of our hand-eye calibration can reach the millimeter level. The present invention is biased towards the eye-to-hand calibration method, and the camera does not move, but the existing eye-to-hand calibration technology reads the pose information of the robotic arm itself to bring out the calibration board information, which will naturally Introduce arm error, which is mostly ignored in the prior art. The method of the present invention isolates the influence of the assembly error of the mechanical arm itself and the assembly error of the tooling itself. Errors caused by calibrated tooling or calibration plate, sensor distortion, etc. For example, the calibration plate has an accuracy of 0.1mm, and the final calibration result still produces an error of 3mm, which is caused by the accuracy of the point cloud data itself. At the same time, the present invention does not need to adjust the movement of the manipulator and change different poses, and avoids the influence of the control error of the manipulator on the hand-eye calibration. Especially for special robots such as live working robots, the calibration method that does not require the movement of the manipulator is especially suitable for it. Calibration is carried out at the outdoor high school operation site. At the same time, since the mechanical arm does not move, the present invention will introduce another problem, where does the accurate position information in the real world come from? For this, the present invention adopts the designed three-direction + rotation calibration tool and uses point cloud data to Two frames of point cloud data are subtracted to realize simultaneous point cloud data and real-world location information. At the same time, the tooling designed by the present invention cannot pay attention to all three dimensions, and the requirements for the calibration tooling are too high, and the industrial value will be lost. For this, the present invention chooses the depth dimension information of the point cloud and cooperates with the laser intensity map to calibrate, reducing additional Two-dimensional data import.
下面两个表显示了本发明的标定实施例,操作流程如下:The following two tables have shown the calibration embodiment of the present invention, and the operation process is as follows:
1.将标定工装固定于机械臂末端。1. Fix the calibration tooling at the end of the robot arm.
2.设定标定板任意的位置,并调节高度使得相机能够拍摄到标定板;选取任意三个目标点记录下来其对应的点云位置信息。2. Set any position of the calibration board, and adjust the height so that the camera can capture the calibration board; select any three target points and record their corresponding point cloud position information.
3.在工装上调节标定板的位姿,至少包括深度上的变动;选取步骤2中对应的三个目标点,并记录对应的点云位置信息。3. Adjust the pose of the calibration board on the tooling, including at least the change in depth; select the three corresponding target points in step 2, and record the corresponding point cloud position information.
4.根据位姿转换关系求解公式,计算转换矩阵。4. Calculate the transformation matrix according to the solution formula of the pose transformation relationship.
5.将标定工装拆卸下来。5. Remove the calibration tooling.
6.在机械臂末端安装执行末端,如针形工具,并将工具的形状参数输入进转换矩阵当中。6. Install the execution end at the end of the robot arm, such as a needle-shaped tool, and input the shape parameters of the tool into the transformation matrix.
7.用相机拍摄任意目标,并手动选定位置点。7. Use the camera to shoot any target, and manually select the location point.
8.操控机械臂用针形工具的末端触摸步骤7中选定的位置点。8. Manipulate the robotic arm to touch the point selected in step 7 with the end of the needle tool.
9.测量触摸点与位置点的距离,输出验证偏差。9. Measure the distance between the touch point and the position point, and output the verification deviation.
表1和表2即为上述实施例输出的方向结果,表1为相机对触摸点在不同俯仰角下,机械臂触摸固定物体精度测量结果,表2为相机与触摸点不同距离下,机械臂触摸固定物体精度测量结果,可见本发明的标定方法在机械臂不动的情况下,能够取得良好的标定精度。Table 1 and Table 2 are the direction results output by the above embodiments. Table 1 shows the measurement results of the accuracy of the robot arm touching a fixed object under different pitch angles of the camera to the touch point. Touching the accuracy measurement results of a fixed object, it can be seen that the calibration method of the present invention can achieve good calibration accuracy when the mechanical arm does not move.
表1(单位:mm)Table 1 (unit: mm)
表2(单位:mm)Table 2 (unit: mm)
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210999219.1A CN115284292A (en) | 2022-08-19 | 2022-08-19 | Mechanical arm hand-eye calibration method and device based on laser camera |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210999219.1A CN115284292A (en) | 2022-08-19 | 2022-08-19 | Mechanical arm hand-eye calibration method and device based on laser camera |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115284292A true CN115284292A (en) | 2022-11-04 |
Family
ID=83829137
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210999219.1A Pending CN115284292A (en) | 2022-08-19 | 2022-08-19 | Mechanical arm hand-eye calibration method and device based on laser camera |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115284292A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112767479A (en) * | 2021-01-13 | 2021-05-07 | 深圳瀚维智能医疗科技有限公司 | Position information detection method, device and system and computer readable storage medium |
CN115890687A (en) * | 2022-12-29 | 2023-04-04 | 华中科技大学 | Hand-eye calibration data acquisition method |
CN116091620A (en) * | 2022-12-27 | 2023-05-09 | 北京纳通医用机器人科技有限公司 | Calibration method, device, equipment and medium |
CN116091619A (en) * | 2022-12-27 | 2023-05-09 | 北京纳通医用机器人科技有限公司 | Calibration method, device, equipment and medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109877840A (en) * | 2019-04-02 | 2019-06-14 | 哈尔滨工程大学 | A dual manipulator calibration method based on camera optical axis constraints |
CN112045682A (en) * | 2020-09-02 | 2020-12-08 | 亿嘉和科技股份有限公司 | Calibration method for solid-state area array laser installation |
CN113808201A (en) * | 2021-08-06 | 2021-12-17 | 亿嘉和科技股份有限公司 | Target object detection method and guided grabbing method |
JP2022039906A (en) * | 2020-08-28 | 2022-03-10 | 中国計量大学 | Composite calibration device and method using multiple sensors |
CN114283204A (en) * | 2021-12-18 | 2022-04-05 | 成都乐创自动化技术股份有限公司 | Error calibration method of five-axis dispensing machine based on industrial camera |
-
2022
- 2022-08-19 CN CN202210999219.1A patent/CN115284292A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109877840A (en) * | 2019-04-02 | 2019-06-14 | 哈尔滨工程大学 | A dual manipulator calibration method based on camera optical axis constraints |
JP2022039906A (en) * | 2020-08-28 | 2022-03-10 | 中国計量大学 | Composite calibration device and method using multiple sensors |
CN112045682A (en) * | 2020-09-02 | 2020-12-08 | 亿嘉和科技股份有限公司 | Calibration method for solid-state area array laser installation |
CN113808201A (en) * | 2021-08-06 | 2021-12-17 | 亿嘉和科技股份有限公司 | Target object detection method and guided grabbing method |
CN114283204A (en) * | 2021-12-18 | 2022-04-05 | 成都乐创自动化技术股份有限公司 | Error calibration method of five-axis dispensing machine based on industrial camera |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112767479A (en) * | 2021-01-13 | 2021-05-07 | 深圳瀚维智能医疗科技有限公司 | Position information detection method, device and system and computer readable storage medium |
CN116091620A (en) * | 2022-12-27 | 2023-05-09 | 北京纳通医用机器人科技有限公司 | Calibration method, device, equipment and medium |
CN116091619A (en) * | 2022-12-27 | 2023-05-09 | 北京纳通医用机器人科技有限公司 | Calibration method, device, equipment and medium |
CN115890687A (en) * | 2022-12-29 | 2023-04-04 | 华中科技大学 | Hand-eye calibration data acquisition method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109859275B (en) | Monocular vision hand-eye calibration method of rehabilitation mechanical arm based on S-R-S structure | |
CN109373898B (en) | A system and method for pose estimation of complex parts based on 3D measurement point cloud | |
CN115284292A (en) | Mechanical arm hand-eye calibration method and device based on laser camera | |
CN111089569B (en) | Large box body measuring method based on monocular vision | |
CN110555889B (en) | A depth camera hand-eye calibration method based on CALTag and point cloud information | |
JP4021413B2 (en) | Measuring device | |
JP2020116734A (en) | System and method for automatic hand-eye calibration of vision system for robot motion | |
CN110298888B (en) | Camera calibration method based on single-axis high-precision displacement platform | |
CN113379849A (en) | Robot autonomous recognition intelligent grabbing method and system based on depth camera | |
CN113532277B (en) | Method and system for detecting plate-shaped irregular curved surface workpiece | |
CN109272555B (en) | A method of obtaining and calibrating external parameters of RGB-D camera | |
CN110722558B (en) | Origin correction method and device for robot, controller and storage medium | |
CN111982012A (en) | Three-dimensional measurement method, device and system for component surface | |
CN114643578B (en) | Calibration device and method for improving robot vision guiding precision | |
CN106323286B (en) | A kind of robot coordinate system and the transform method of three-dimensional measurement coordinate system | |
CN108180834A (en) | A kind of industrial robot is the same as three-dimensional imaging instrument position orientation relation scene real-time calibration method | |
CN103029131A (en) | Mechanical arm motion control system and mechanical arm motion control method | |
CN116026252A (en) | Point cloud measurement method and system | |
CN109342008B (en) | Wind tunnel test model attack angle single-camera video measuring method based on homography matrix | |
CN113409395A (en) | High-precision detection and positioning method for pipe end of catheter | |
CN111028298B (en) | A converging binocular system for space transformation calibration of rigid body coordinate system | |
CN118999495A (en) | Robot high-precision pose estimation method in composite material automatic laying and forming process | |
CN114140541B (en) | Parameter calibration method of multi-line structured light weld tracking sensor | |
CN108680101B (en) | Mechanical arm tail end space repetitive positioning accuracy measuring device and method | |
CN117718958A (en) | Robot kinematics parameter calibration method and system based on monocular vision sensor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |