[go: up one dir, main page]

CN110842928B - Visual guiding and positioning method for compound robot - Google Patents

Visual guiding and positioning method for compound robot Download PDF

Info

Publication number
CN110842928B
CN110842928B CN201911225526.9A CN201911225526A CN110842928B CN 110842928 B CN110842928 B CN 110842928B CN 201911225526 A CN201911225526 A CN 201911225526A CN 110842928 B CN110842928 B CN 110842928B
Authority
CN
China
Prior art keywords
calibration
robot
robotic arm
vision
manipulator
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.)
Active
Application number
CN201911225526.9A
Other languages
Chinese (zh)
Other versions
CN110842928A (en
Inventor
杨跞
朱小生
贺琪欲
李兵
刘一帆
李法设
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Siasun Co Ltd
Original Assignee
Siasun Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Siasun Co Ltd filed Critical Siasun Co Ltd
Priority to CN201911225526.9A priority Critical patent/CN110842928B/en
Publication of CN110842928A publication Critical patent/CN110842928A/en
Application granted granted Critical
Publication of CN110842928B publication Critical patent/CN110842928B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1694Programme 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/1697Vision controlled systems
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J19/00Accessories fitted to manipulators, e.g. for monitoring, for viewing; Safety devices combined with or specially adapted for use in connection with manipulators
    • B25J19/0095Means or methods for testing manipulators

Landscapes

  • Engineering & Computer Science (AREA)
  • Robotics (AREA)
  • Mechanical Engineering (AREA)
  • Manipulator (AREA)

Abstract

本发明提供一种复合机器人视觉引导定位方法,通过在标定时详细记录复合机器人的相对位置和姿态信息,包括与工作台的距离、位置和角度等,进而在作业应用时复现这一相对位姿,覆盖复合机器人由于小车导航定位误差、地面不平等因素引起的视觉和动作偏差,从而提高机器人在实际环境下的作业精度。本发明通过基于多种传感器信息的精确相对定位,保证了复合机器人作业精度不受实际各种误差因素的影响。

Figure 201911225526

The invention provides a visual guidance positioning method for a compound robot. By recording the relative position and attitude information of the compound robot in detail during calibration, including the distance, position and angle from the workbench, the relative position can be reproduced during operation and application. It can cover the visual and action deviation of the composite robot due to the navigation and positioning error of the trolley and the unequal ground, so as to improve the operation accuracy of the robot in the actual environment. The present invention ensures that the operation accuracy of the compound robot is not affected by various actual error factors through accurate relative positioning based on various sensor information.

Figure 201911225526

Description

一种复合机器人视觉引导定位方法A Vision-Guided Localization Method for Composite Robots

技术领域technical field

本公开属于工业机器人领域,尤其是机器人引导定位技术,具体涉及一种复合机器人视觉引导定位方法。The present disclosure belongs to the field of industrial robots, in particular to a robot guidance and positioning technology, and in particular relates to a compound robot vision guidance and positioning method.

背景技术Background technique

复合机器人是AGV(自动移动小车)与机械臂组成的移动机械手,属于一种新型机器人,可快速布局于3C行业、自动化工厂、仓储分拣、自动化货物超市,实现物料自动搬运、物品上下料、物料分拣等。The composite robot is a mobile manipulator composed of an AGV (automatic mobile vehicle) and a mechanical arm. It belongs to a new type of robot and can be quickly deployed in the 3C industry, automated factories, warehouse sorting, and automated goods supermarkets to realize automatic material handling, item loading and unloading, Material sorting, etc.

目前,复合机器人的视觉引导定位跟固定底座机器人一样,也主要采用眼在手上的方式,即机械臂末端带动着相机运动,但复合机器人比底座固定机器人工作环境条件更加复杂,导致这种机器人的视觉引导物体抓放难度也增加。At present, the vision-guided positioning of the composite robot is the same as that of the fixed-base robot, and the eye-on-hand method is mainly adopted, that is, the end of the mechanical arm drives the camera to move. However, the working environment of the composite robot is more complicated than that of the fixed-base robot, which leads to this kind of robot. The difficulty of grasping and placing objects for visual guidance also increases.

底座固定机器人面对的工作区域固定,通常都是通过事先的标定,建立各采集点的手眼位置对应关系,解算出标定参数,后续只需根据物体在视场内的像素坐标和标定参数,计算出机械臂的位移量,按照该位移量控制机械臂移动,即可准确对准工件摆放位置,进而实现准确抓放。可见,在机械臂抓放工件前,只需在二维平面内计算和调整即可实现与工件位置的对准。The working area facing the base-fixed robot is fixed. Usually, the corresponding relationship between the hand and eye positions of each collection point is established through prior calibration, and the calibration parameters are calculated. Subsequently, only the pixel coordinates and calibration parameters of the object in the field of view need to be calculated. The displacement of the manipulator can be obtained, and the movement of the manipulator can be controlled according to the displacement, so that the workpiece placement can be accurately aligned, thereby achieving accurate pick and place. It can be seen that before the robotic arm picks up and places the workpiece, the alignment with the workpiece position can be achieved only by calculation and adjustment in the two-dimensional plane.

而底座移动的复合机器人,需要先将AGV小车自动导航运动到停车点,再用机械臂对工作台上的目标位置进行物体抓放,在这一过程中,由于AGV小车的停车点位置会存在误差,以及AGV小车停车点地面的不平,都会导致小车到达停车点后机械臂末端相对工作台的位置和姿态与标定时不同,由于机械臂是一种高精度设备,这时如果仍然简单地按照底座固定机器人的处理方法,即仅仅根据标定参数和目标位置在相机视场内的像素坐标计算机械臂的偏移量,会导致机械臂末端位置距离实际目标位置出现偏差,机械臂动作精度大大降低。The composite robot with moving base needs to automatically navigate the AGV car to the parking spot, and then use the robotic arm to pick and place objects at the target position on the workbench. During this process, the parking spot of the AGV car will exist. Errors, as well as the unevenness of the ground at the parking spot of the AGV car, will cause the position and posture of the end of the robotic arm relative to the worktable to be different after the car reaches the parking spot. Since the robotic arm is a high-precision device, if you simply follow The processing method of the base-fixed robot, that is, only calculating the offset of the robot arm based on the calibration parameters and the pixel coordinates of the target position in the camera's field of view, will cause the end position of the robot arm to deviate from the actual target position, and the movement accuracy of the robot arm will be greatly reduced. .

发明内容SUMMARY OF THE INVENTION

本发明的目的在于提供一种复合机器人视觉引导定位装置及方法,以解决上述复合机器人在实际工作环境中视觉引导精度下降的问题。The purpose of the present invention is to provide a visual guidance and positioning device and method for a compound robot, so as to solve the problem that the precision of the visual guidance of the compound robot decreases in the actual working environment.

本发明一方面提供了一种复合机器人视觉引导定位装置,包括:One aspect of the present invention provides a compound robot vision guidance and positioning device, comprising:

测量模块,固定于机械臂末端,用于测量机械臂末端相对于工作台面的距离、机械臂末端的倾角、以及获取工作台上作为引导基准的标识区的图像;The measurement module is fixed on the end of the manipulator, and is used to measure the distance of the end of the manipulator relative to the worktable, the inclination of the end of the manipulator, and obtain the image of the identification area on the worktable as a guide reference;

视觉引导处理模块,用于根据所述测量模块采集到的信息,通过机器人运动控制器,控制机械臂运动,使机器人在标定时和作业应用时机械臂末端相对于工作台的距离、位置和角度值达到同样的状态;控制标定数据的自动化采集和标定参数解算;控制机械臂末端从标定位置沿TCP偏移至工件摆放位置,完成工件抓放。The vision guidance processing module is used to control the motion of the manipulator through the robot motion controller according to the information collected by the measurement module, so that the robot can make the distance, position and angle of the end of the manipulator relative to the worktable during calibration and work application. The value reaches the same state; control the automatic collection of calibration data and the calculation of calibration parameters; control the end of the manipulator to shift from the calibration position along the TCP to the workpiece placement position to complete the workpiece pick and place.

进一步地,所述测量模块包括测距传感器、倾角传感器和工业相机。Further, the measurement module includes a ranging sensor, an inclination sensor and an industrial camera.

进一步地,所述视觉引导处理模块包括:Further, the visual guidance processing module includes:

测量模块通信单元:与所述测量模块通信,实时获取和记录所述测量模块采集的距离和倾角信息;Measurement module communication unit: communicates with the measurement module, acquires and records the distance and inclination information collected by the measurement module in real time;

机器人通信单元:向机器人运动控制器发指令,指挥其控制机器人运动,同时实时获取机器人的坐标信息;Robot communication unit: send commands to the robot motion controller, instruct it to control the robot motion, and obtain the coordinate information of the robot in real time;

图像识别定位单元:控制所述测量模块采集图像,对接收到的图像进行识别定位,获取并记录其中基准点的像素坐标和图像的Rz角度值;Image recognition and positioning unit: control the measurement module to collect images, identify and position the received images, acquire and record the pixel coordinates of the reference points and the Rz angle values of the images;

标定参数计算单元:根据在各采集点处获取的基准点像素坐标和机械臂的偏移量,计算标定参数保存;Calibration parameter calculation unit: Calculate and save the calibration parameters according to the pixel coordinates of the reference point obtained at each collection point and the offset of the robotic arm;

人机交互单元:为用户提供指令、数据、图像等信息的输入输出接口。Human-computer interaction unit: provides the user with the input and output interface of instructions, data, images and other information.

进一步地,还包括固定于工作台上所述标识区的二维码标签或字符标签。Further, it also includes a two-dimensional code label or a character label fixed to the identification area on the workbench.

本发明同时提供了一种适用于上述装置的复合机器人视觉引导定位方法,包括视觉引导标定的步骤和视觉引导作业应用的步骤,其中所述视觉引导标定的步骤具体包括:The present invention also provides a vision-guided positioning method for a compound robot suitable for the above-mentioned device, including a step of vision-guided calibration and a step of vision-guided job application, wherein the step of vision-guided calibration specifically includes:

相对位姿采集:当小车到达适当停车点后,调整机械臂末端至适当的标定原点,获取并记录此时机械臂位姿,机械臂末端的倾角,以及相对于工作台面的距离、位置和Rz角度值;Relative pose acquisition: When the car reaches the appropriate parking point, adjust the end of the manipulator to the appropriate calibration origin, acquire and record the pose of the manipulator, the inclination of the end of the manipulator, and the distance, position and Rz relative to the work surface angle value;

标定参数解算:标定数据采集,根据采集到的数据计算标定参数;Calibration parameter calculation: calibration data acquisition, calculation of calibration parameters according to the collected data;

测量机械臂由所述标定原点至工件摆放位置的TCP偏移量;Measure the TCP offset of the robot arm from the calibration origin to the workpiece placement position;

所述视觉引导作业应用的步骤具体包括:The steps of the vision-guided job application specifically include:

相对位姿复现:当小车停于标定时的位置和角度后,控制机械臂运动至标定时记录的姿态,然后控制机械臂末端调整至标定时所记录的相对位姿;Recurrence of relative pose: When the car stops at the position and angle at the time of calibration, control the robotic arm to move to the pose recorded during calibration, and then control the end of the robotic arm to adjust to the relative pose recorded during calibration;

按照由所述标定原点至工件摆放位置的TCP偏移量,控制机械臂运动,完成抓放作业任务。According to the TCP offset from the calibration origin to the workpiece placement position, the movement of the robotic arm is controlled to complete the pick-and-place task.

进一步地,所述相对位姿采集的步骤具体包括:Further, the step of collecting the relative pose specifically includes:

调整机械臂末端姿态,使其工作平面与工作台面平行,采集并记录机械臂末端倾角Rx和Ry的数值;Adjust the posture of the end of the manipulator so that the working plane is parallel to the work surface, and collect and record the values of the inclination angles Rx and Ry of the end of the manipulator;

调整机械臂末端与工作台的距离,使所述测量模块的成像视野清晰,记录当前点为标定原点;Adjust the distance between the end of the robotic arm and the workbench to make the imaging field of view of the measurement module clear, and record the current point as the calibration origin;

采集并记录此时机械臂末端到工作台面的距离;Collect and record the distance from the end of the robotic arm to the work surface at this time;

采集工作台上所述标识区的图像,对图像进行识别定位,提取并记录其中基准点的像素坐标和标识区的Rz角度值;Collect the image of the identification area on the workbench, identify and locate the image, extract and record the pixel coordinates of the reference point and the Rz angle value of the identification area;

采集并记录此时机械臂的位姿。Collect and record the pose of the robotic arm at this time.

进一步地,所述对图像进行识别定位的方法为:使用形状匹配方式进行识别定位,如果所述标识区设有二维码标签,则使用二维码识别定位方式进行识别定位。Further, the method for identifying and positioning the image is as follows: using a shape matching method for identification and positioning, and if the identification area is provided with a two-dimensional code label, then using a two-dimensional code identification and positioning method for identification and positioning.

进一步地,所述标定数据采集的方法包括:Further, the method for the calibration data collection includes:

设置各采集点相对于所述标定原点的TCP偏移量;Set the TCP offset of each collection point relative to the calibration origin;

控制机械臂沿TCP坐标系分别按预设偏移量运动到各采集点;Control the robotic arm to move to each collection point according to the preset offset along the TCP coordinate system;

在各采集点处采集工作台上所述标识区的图像,对图像进行识别定位,提取并记录其中基准点的像素坐标。The image of the identification area on the workbench is collected at each collection point, the image is identified and positioned, and the pixel coordinates of the reference point therein are extracted and recorded.

进一步地,所述标定参数计算的方法为:Further, the method for calculating the calibration parameters is:

假设机械臂末端在标定原点处,得到所述标识区中基准点的像素坐标为(u0,v0);机械臂末端沿着TCP坐标系移动Δx,此时基准点像素坐标为(u1,v1);机械臂末端返回到标定原点后再沿着TCP坐标系移动Δy,此时基准点像素坐标为(u2,v2);Assuming that the end of the robot arm is at the calibration origin, the pixel coordinates of the reference point in the identification area are (u 0 , v 0 ); the end of the robot arm moves along the TCP coordinate system by Δx, and the pixel coordinates of the reference point are (u 1 , v 1 ); the end of the robotic arm returns to the calibration origin and then moves Δy along the TCP coordinate system, and the pixel coordinates of the reference point are (u 2 , v 2 );

那么在作业应用时,如果得到基准点的像素坐标为(u,v),则这时机械臂相对于标定原点的TCP偏移量(Δx',Δy')应为:Then in the job application, if the pixel coordinates of the reference point are (u, v), then the TCP offset (Δx', Δy') of the robot arm relative to the calibration origin should be:

Figure GDA0003341940100000041
Figure GDA0003341940100000041

其中,in,

Δu1=u1-u0,Δv1=v1-v0,Δu2=u2-u0,Δv2=v2-v0,Δu=u-u0,Δv=v-v0Δu 1 =u 1 -u 0 , Δv 1 =v 1 -v 0 , Δu 2 =u 2 -u 0 , Δv 2 =v 2 -v 0 , Δu=uu 0 , Δv=vv 0 .

进一步地,所述相对位姿复现的步骤具体包括:Further, the step of reproducing the relative pose specifically includes:

控制机械臂运动至标定时记录的姿态;Control the movement of the robotic arm to the posture recorded when it is calibrated;

测量机械臂末端倾角Rx和Ry值,调整机械臂末端姿态,使该倾角与标定时记录的倾角数值相同;Measure the values of the inclination angle Rx and Ry of the end of the manipulator, and adjust the posture of the end of the manipulator so that the inclination angle is the same as the value of the inclination angle recorded during calibration;

测量机械臂末端到工作台面之间的距离值,调整机械臂姿态,使该距离等于标定时记录的距离数值;Measure the distance between the end of the robotic arm and the work surface, and adjust the posture of the robotic arm so that the distance is equal to the distance value recorded during calibration;

获取工作台上所述标识区的图像,提取标识区的Rz角度值,与标定时记录的图像Rz值对比,调整机械臂末端姿态Rz,使两者一致;Obtain the image of the marking area on the workbench, extract the Rz angle value of the marking area, compare it with the image Rz value recorded during calibration, and adjust the attitude Rz of the end of the robotic arm to make the two consistent;

再次获取所述标识区的图像,得到其中基准点的像素坐标,根据记录的标定参数,计算机械臂的TCP偏移量,按该偏移量控制机械臂运动,即可到达标定时记录的相对于工作台面的位姿。Obtain the image of the identification area again, obtain the pixel coordinates of the reference point in it, calculate the TCP offset of the robotic arm according to the recorded calibration parameters, and control the movement of the robotic arm according to the offset, so as to reach the relative value recorded during calibration. position on the work surface.

可见,本发明提供的复合机器人视觉引导定位装置和方法,通过在标定时详细记录复合机器人的相对位置和姿态信息,包括与工作台的距离、位置和角度等,进而在作业应用时复现这一相对位姿,覆盖复合机器人由于小车导航定位误差、地面不平等因素引起的视觉和动作偏差,从而提高机器人在实际环境下的作业精度。与现有技术相比,其有益效果主要包括:(1)保证了复合机器人在各种不利工作环境下的抓放物体准确度;(2)能够与机器人运动控制器通信,直接控制机器人运动,而不需要使用机械臂示教器,方便快捷,数据精准,无人为输入错误;(3)自动识别并获取视觉引导基准的像素坐标和图像角度,减少标定过程的操作复杂度,提高了标定效率。It can be seen that the visual guidance and positioning device and method of the compound robot provided by the present invention can reproduce the relative position and attitude information of the compound robot during calibration, including the distance, position and angle from the workbench, etc. A relative pose, covering the visual and action deviations of the compound robot due to the navigation and positioning error of the trolley and the unequal ground, thereby improving the operation accuracy of the robot in the actual environment. Compared with the prior art, its beneficial effects mainly include: (1) ensuring the accuracy of picking and placing objects of the compound robot in various unfavorable working environments; (2) being able to communicate with the robot motion controller to directly control the robot motion, There is no need to use the robotic arm teach pendant, which is convenient and fast, the data is accurate, and there is no human input error; (3) automatically identify and obtain the pixel coordinates and image angles of the vision guidance benchmark, reduce the operational complexity of the calibration process, and improve the calibration efficiency. .

应了解的是,上述一般描述及以下具体实施方式仅为示例性及阐释性的,其并不能限制本申请所欲主张的范围。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not intended to limit the scope of what is claimed in this application.

附图说明Description of drawings

下面的附图是本发明说明书的一部分,其示出了本发明的实施例,所附附图与说明书的描述一起用来说明本发明的原理。The accompanying drawings, which are part of the present specification, illustrate embodiments of the invention, and together with the description, serve to explain the principles of the invention.

图1为复合机器人视觉引导定位装置示例性实施例组成示意图;1 is a schematic diagram of the composition of an exemplary embodiment of a compound robot vision-guided positioning device;

图2为复合机器人视觉引导定位方法示例性实施例总体流程图;2 is an overall flow chart of an exemplary embodiment of a compound robot vision-guided positioning method;

图3为复合机器人视觉引导定位方法示例性实施例的标定步骤流程图;3 is a flow chart of calibration steps of an exemplary embodiment of a compound robot vision-guided positioning method;

图4为复合机器人视觉引导定位方法示例性实施例的作业应用步骤流程图。FIG. 4 is a flow chart of operation application steps of an exemplary embodiment of a compound robot vision-guided positioning method.

具体实施方式Detailed ways

下面将参照附图更详细地描述本公开的优选实施例。虽然附图中显示了本公开的优选实施例,然而应该理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了使本公开更加透彻和完整,并且能够将本公开的范围完整地传达给本领域的技术人员。Preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While preferred embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

附图1中给出了本公开所述复合机器人视觉引导定位装置示例性实施例的组成示意图。FIG. 1 is a schematic composition diagram of an exemplary embodiment of the vision-guided positioning device for a compound robot according to the present disclosure.

本公开提供的复合机器人视觉引导定位装置包括:The vision-guided positioning device for a compound robot provided by the present disclosure includes:

测量模块,用于测量机械臂末端相对于工作台面的距离、机械臂末端的倾角、以及获取工作台上作为引导基准的标识区的图像;The measurement module is used to measure the distance of the end of the manipulator relative to the work table, the inclination of the end of the manipulator, and obtain the image of the identification area on the workbench as a guide reference;

视觉引导处理模块,用于根据所述测量模块采集到的信息,通过机器人运动控制器,控制机械臂运动,使机器人在标定时和作业应用时机械臂末端相对于工作台的距离、位置和角度值达到同样的状态;控制标定数据的自动化采集和标定参数解算;控制机械臂末端从标定位置沿TCP偏移至工件摆放位置,完成工件抓放。The vision guidance processing module is used to control the motion of the manipulator through the robot motion controller according to the information collected by the measurement module, so that the robot can make the distance, position and angle of the end of the manipulator relative to the worktable during calibration and work application. The value reaches the same state; control the automatic collection of calibration data and the calculation of calibration parameters; control the end of the manipulator to shift from the calibration position along the TCP to the workpiece placement position to complete the workpiece pick and place.

其中,工作台面上作为引导基准的标识区应具有与周围环境明显不同、易于被识别区分的特征。从中选择有特征的一点作为基准点,以该点在图像中的像素坐标定位实现机械臂末端相对于工作台的定位。Among them, the identification area on the work surface as a guide reference should have features that are obviously different from the surrounding environment and are easy to be identified and distinguished. A characteristic point is selected as the reference point, and the positioning of the end of the robot arm relative to the worktable is realized by the pixel coordinate positioning of this point in the image.

标识区的位置可以灵活选择:如果待抓放工件放在工作台上的工件定位工装中,且工件相对于定位工装位置和姿态不变,那么可以直接选择在工件定位工装上,这时待抓放工件、工件定位工装、标识区三者之间的相对定位关系保持不变;如果待抓取目标工件在工作台上的位置是活动变化的,即没有工件定位工装限位,那么也可以直接选择在待抓取目标工件上。同时都需要选取方便机械臂末端拍照装置识别的位置。The position of the identification area can be selected flexibly: if the workpiece to be picked and placed is placed in the workpiece positioning tool on the worktable, and the position and posture of the workpiece relative to the positioning tool remain unchanged, then it can be directly selected on the workpiece positioning tool. The relative positioning relationship between the workpiece placement, workpiece positioning tooling, and identification area remains unchanged; if the position of the target workpiece to be grasped on the worktable is active, that is, there is no workpiece positioning tooling limit, then it can also be directly Select on the target workpiece to be grabbed. At the same time, it is necessary to select a position that is convenient for the camera device at the end of the robotic arm to identify.

标识区可以通过印刷或粘贴标签等手段设置其内部特征,优选的方案为贴附二维码标签或字符标签。The internal features of the identification area can be set by printing or sticking labels, and the preferred solution is to stick a two-dimensional code label or a character label.

测量模块为测量机器人相对工作台的位姿提供了更多的信息,后续以此为基础进行位姿调整,能够有效校正复合机器人由于小车导航定位误差、地面不平等因素引起的视觉偏差,提供视觉引导作业精度。The measurement module provides more information for measuring the position and attitude of the robot relative to the worktable, and then adjusts the position and attitude based on this, which can effectively correct the visual deviation of the compound robot due to the navigation and positioning error of the car and the unequal ground, and provide vision Guide job accuracy.

测量模块可采用现有一切适用于测量机械臂末端相对于工作台的距离、机械臂末端倾角、以及获取工作台上作为引导基准的标识区图像的探测装置。The measurement module can adopt all existing detection devices suitable for measuring the distance of the end of the manipulator relative to the worktable, the inclination of the end of the manipulator, and acquiring the image of the identification area on the worktable as a guide reference.

优选方案为测距传感器、倾角传感器和工业相机,如图1所示。The preferred solution is a ranging sensor, an inclination sensor and an industrial camera, as shown in Figure 1.

视觉引导处理模块通常包括机器人的视觉控制计算机和运行于其中的视觉引导处理软件。视觉控制计算机也通称视觉控制器,为工业控制计算机,与机器人运动控制器、测量模块之间均有通信接口:一般通过网线与机器人运动控制器相连,通过TCP/IP协议通信;通过高速网线与相机相连;通过串口与测角或测距传感器相连。视觉引导处理软件则完成所述视觉引导处理模块的各项功能。The vision guidance processing module usually includes the robot's vision control computer and the vision guidance processing software running in it. The vision control computer, also known as the vision controller, is an industrial control computer. It has a communication interface with the robot motion controller and measurement module: it is generally connected to the robot motion controller through a network cable, and communicates through the TCP/IP protocol; The camera is connected; it is connected to the angle measuring or ranging sensor through the serial port. The visual guidance processing software completes various functions of the visual guidance processing module.

作为优选方案,视觉引导处理模块包括:As a preferred solution, the visual guidance processing module includes:

测量模块通信单元:与所述测量模块通信,实时获取和记录所述测量模块采集的距离和倾角信息;Measurement module communication unit: communicates with the measurement module, acquires and records the distance and inclination information collected by the measurement module in real time;

机器人通信单元:向机器人运动控制器发指令,指挥其控制机器人运动,同时实时获取机器人的坐标信息;Robot communication unit: send commands to the robot motion controller, instruct it to control the robot motion, and obtain the coordinate information of the robot in real time;

图像识别定位单元:控制所述测量模块采集图像,对接收到的图像进行识别定位,获取并记录其中基准点的像素坐标和图像的Rz角度值;Image recognition and positioning unit: control the measurement module to collect images, identify and position the received images, acquire and record the pixel coordinates of the reference points and the Rz angle values of the images;

标定参数计算单元:根据在各采集点处获取的基准点像素坐标和机械臂的偏移量,计算标定参数保存;Calibration parameter calculation unit: Calculate and save the calibration parameters according to the pixel coordinates of the reference point obtained at each collection point and the offset of the robotic arm;

人机交互单元:为用户提供指令、数据、图像等信息的输入输出接口。Human-computer interaction unit: provides the user with the input and output interface of instructions, data, images and other information.

附图2中给出了适用于上述复合机器人视觉引导装置的视觉引导定位方法示例性实施例的总体流程图。如图2所示,根据示例性实施例的视觉引导方法,主要包括视觉引导标定的步骤和视觉引导作业应用的步骤,其中,视觉引导标定步骤包括:FIG. 2 is a general flow chart of an exemplary embodiment of a vision-guided positioning method applicable to the above-mentioned compound robot vision-guided device. As shown in FIG. 2 , the vision guidance method according to the exemplary embodiment mainly includes the step of vision guidance calibration and the step of vision guidance job application, wherein the vision guidance calibration step includes:

相对位姿采集:小车到达适当停车点后,调整机械臂末端至适当的标定原点,获取并记录此时机械臂位姿,机械臂末端倾角,以及相对于工作台面的距离、位置和Rz角度值。其中,机械臂末端相对工作台的位置和Rz角度值可以通过工作台上作为引导基准的标识区中基准点的像素坐标和标识区的Rz角度值来定位。Relative pose acquisition: After the car reaches the appropriate parking point, adjust the end of the manipulator to the appropriate calibration origin, acquire and record the pose of the manipulator, the inclination of the end of the manipulator, as well as the distance, position and Rz angle values relative to the work surface . Wherein, the position of the end of the robot arm relative to the worktable and the Rz angle value can be located by the pixel coordinates of the reference point in the identification area on the worktable as the guide reference and the Rz angle value of the identification area.

标定参数解算:包括标定数据采集,根据采集到的数据计算标定参数。Calibration parameter calculation: including calibration data acquisition, and calculation of calibration parameters according to the collected data.

测量机械臂由所述标定原点至工件摆放位置的TCP偏移量。Measure the TCP offset of the robot arm from the calibration origin to the workpiece placement position.

视觉引导作业应用步骤包括:Vision-guided job application steps include:

相对位姿复现:小车运动至标定时记录的停车点后,控制机械臂运动至标定时记录的姿态,根据测量模块采集的信息,控制机械臂末端调整至标定时相对于工作台的位姿。Relative pose reproduction: After the trolley moves to the parking point recorded during calibration, control the robotic arm to move to the pose recorded during calibration, and control the end of the robotic arm to adjust to the pose relative to the workbench during calibration according to the information collected by the measurement module .

按照标定时获取的所述标定原点至工件摆放位置的TCP偏移量,控制机械臂按TCP偏移,完成抓放作业任务。According to the TCP offset from the calibration origin to the workpiece placement position obtained during calibration, the robotic arm is controlled to press the TCP offset to complete the pick-and-place task.

该方法中,相对位姿采集过程中,通过对测量模块所获参数的采集,详细记录了标定时机械臂的姿态、机械臂末端相对于工作台的位姿,包括距离、位置和角度,其中位置用标识区图像中基准点的像素坐标表征,角度用倾角传感器记录的RX和Ry方向角度值以及标识区图像的Rz角度值表征。而标识区图像中基准点的像素坐标和标识区图像的Rz角度值都通过对测量模块获取的标识区图像进行识别定位处理得到。In this method, in the process of relative pose acquisition, through the acquisition of parameters obtained by the measurement module, the posture of the manipulator during calibration and the pose of the end of the manipulator relative to the worktable, including distance, position and angle, are recorded in detail, among which The position is characterized by the pixel coordinates of the reference point in the image of the identification area, and the angle is characterized by the angle values of the RX and Ry directions recorded by the tilt sensor and the Rz angle value of the image of the identification area. The pixel coordinates of the reference point in the identification area image and the Rz angle value of the identification area image are obtained by identifying and positioning the identification area image obtained by the measurement module.

之后,在作业应用时,通过上述相对位姿的复现,使复合机器人相对于工作台的位姿与标定时相同,从而屏蔽了机器人由于小车导航定位误差、地面不平等因素引起的视觉和动作偏差,保证了机器人在实际作业环境下的作业精度。After that, in the operation application, through the repetition of the above-mentioned relative pose, the pose of the composite robot relative to the worktable is the same as the calibration time, thereby shielding the robot's vision and actions caused by the navigation and positioning error of the car and the unequal ground. The deviation ensures the working accuracy of the robot in the actual working environment.

作为优选方案,相对位姿采集的步骤,具体包括:As a preferred solution, the steps of relative pose acquisition specifically include:

调整机械臂末端姿态,使其工作平面与工作台面平行,采集并记录机械臂末端倾角Rx和Ry的数值;Adjust the posture of the end of the manipulator so that the working plane is parallel to the work surface, and collect and record the values of the inclination angles Rx and Ry of the end of the manipulator;

调整机械臂末端与工作台的距离,使所述测量模块的成像视野清晰,记录当前点为标定原点;Adjust the distance between the end of the robotic arm and the workbench to make the imaging field of view of the measurement module clear, and record the current point as the calibration origin;

采集并记录此时机械臂末端到工作台面的距离;Collect and record the distance from the end of the robotic arm to the work surface at this time;

采集工作台上所述标识区的图像,对图像进行识别定位,提取并记录其中基准点的像素坐标和标识区的Rz角度值;Collect the image of the identification area on the workbench, identify and locate the image, extract and record the pixel coordinates of the reference point and the Rz angle value of the identification area;

采集并记录此时机械臂的位姿。Collect and record the pose of the robotic arm at this time.

作为优选方案,相对位姿复现的步骤,具体包括:As a preferred solution, the steps of reproducing the relative pose specifically include:

控制机械臂运动至标定时记录的姿态;Control the movement of the robotic arm to the posture recorded when it is calibrated;

测量机械臂末端倾角Rx和Ry值,调整机械臂末端姿态,使该倾角与标定时记录的倾角数值相同;Measure the values of the inclination angle Rx and Ry of the end of the manipulator, and adjust the posture of the end of the manipulator so that the inclination angle is the same as the value of the inclination angle recorded during calibration;

测量机械臂末端到工作台面之间的距离值,调整机械臂姿态,使该距离等于标定时记录的距离数值;Measure the distance between the end of the robotic arm and the work surface, and adjust the posture of the robotic arm so that the distance is equal to the distance value recorded during calibration;

获取工作台上所述标识区的图像,提取标识区的Rz角度值,与标定时记录的图像Rz值对比,调整机械臂末端姿态Rz,使两者一致;Obtain the image of the marking area on the workbench, extract the Rz angle value of the marking area, compare it with the image Rz value recorded during calibration, and adjust the attitude Rz of the end of the robotic arm to make the two consistent;

再次获取所述标识区的图像,得到其中基准点的像素坐标,根据记录的标定参数,计算机械臂的TCP偏移量,按该偏移量控制机械臂运动,即可到达标定时记录的相对于工作台面的位姿。Obtain the image of the identification area again, obtain the pixel coordinates of the reference point in it, calculate the TCP offset of the robotic arm according to the recorded calibration parameters, and control the movement of the robotic arm according to the offset, so as to reach the relative value recorded during calibration. position on the work surface.

其中,对图像识别定位的方法属于成熟技术,通常采用形状匹配的方法,但如果标识区中设的是二维码标签,则可以采用二维码识别定位的方法。Among them, the method of image recognition and positioning is a mature technology, and the method of shape matching is usually used, but if a two-dimensional code label is set in the identification area, the method of two-dimensional code recognition and positioning can be used.

复合机器人的标定参数解算可以采用现有技术中一切适用的方法。优选方案为基于增量补偿的标定数据采集和标定参数计算:按照预设的Rx和Ry方向的TCP偏移量,控制机械臂分别到达标定原点周围的各预设点,采集该点处工作台上基准点的像素坐标,然后根据采集到的这些数据计算标定参数,建立起基准点的像素坐标与机械臂相对于标定原点的TCP偏移量之间的对应关系。All applicable methods in the prior art can be used for the calculation of the calibration parameters of the compound robot. The preferred solution is calibration data acquisition and calibration parameter calculation based on incremental compensation: according to the preset TCP offsets in the Rx and Ry directions, control the manipulator to reach each preset point around the calibration origin, and collect the workbench at this point. The pixel coordinates of the upper reference point are calculated, and the calibration parameters are calculated according to the collected data, and the corresponding relationship between the pixel coordinates of the reference point and the TCP offset of the robot arm relative to the calibration origin is established.

另外,在标定步骤中测量机械臂由所述标定原点至工件摆放位置的TCP偏移量,可以通过牵引示教等方式完成。In addition, in the calibration step, the measurement of the TCP offset of the robot arm from the calibration origin to the workpiece placement position can be accomplished by means of traction teaching or the like.

本发明所述复合机器人视觉引导定位方法,通过标定时详细的相对位姿测量以及在后面作业应用环节的复现,屏蔽了机器人小车自身的各种误差因素的影响,保证了工件抓放精度,便捷精准。The vision-guided positioning method of the compound robot of the present invention shields the influence of various error factors of the robot car itself through detailed relative pose measurement during calibration and repetition in the subsequent operation and application links, and ensures the workpiece picking and placing accuracy. Convenient and precise.

应用示例:Application example:

如图1所示为示例性的复合机器人视觉引导定位装置。图中,复合机器人由移动小车(1)和机械臂(2)组成,工作台面(10)为水平状态。小车标定或工作时,选择适合的停车点(11),工作台的工件位置都处于机械臂末端的工作范围(9)内。Figure 1 shows an exemplary compound robot vision-guided positioning device. In the figure, the compound robot is composed of a mobile cart (1) and a mechanical arm (2), and the work surface (10) is in a horizontal state. When the trolley is calibrated or working, a suitable parking point (11) is selected, and the workpiece positions of the workbench are all within the working range (9) of the end of the mechanical arm.

该机器人视觉引导定位装置包括:The robot vision-guided positioning device includes:

水平安装在复合机器人机械臂末端的倾角传感器(3),安装在机械臂末端的测距传感器(4)、及工业相机(5),分别用于测量机械臂末端倾角、机械臂末端到工作台的距离,以及获取作为视觉引导基准的标识区(7)的图像;The inclination sensor (3) installed horizontally at the end of the mechanical arm of the compound robot, the distance measuring sensor (4) installed at the end of the mechanical arm, and the industrial camera (5) are respectively used to measure the inclination of the end of the mechanical arm and the end of the mechanical arm to the workbench distance, and obtain the image of the identification area (7) as a visual guide reference;

视觉引导处理模块,与机器人运动控制器、倾角传感器(3)、测距传感器(4)、工业相机(5)之间均有通信接口,获取测量模块所采集的距离、倾角、图像等数据,并对图像进行识别定位,得到其中基准点的像素坐标和标识区的Rz角度值;给机器人运动控制器发指令,控制机器人运动,同时实时获取机器人的坐标信息。The vision guidance processing module has communication interfaces with the robot motion controller, the inclination sensor (3), the ranging sensor (4), and the industrial camera (5), so as to obtain the distance, inclination, image and other data collected by the measurement module, Identify and locate the image, and obtain the pixel coordinates of the reference point and the Rz angle value of the identification area; send instructions to the robot motion controller to control the robot's motion, and at the same time obtain the coordinate information of the robot in real time.

该视觉引导处理模块主要用于:根据预设的偏移量,控制机械臂偏移,采集基准点像素坐标,计算标定参数;标定时获取并记录机械臂末端相对于工作台面的距离、位置和角度值,作业应用时控制机械臂末端到达同样的相对位姿;控制机械臂末端从标定位置沿TCP偏移至工件摆放位置,完成工件抓放。The vision guidance processing module is mainly used to: control the offset of the manipulator according to the preset offset, collect the pixel coordinates of the reference point, and calculate the calibration parameters; acquire and record the distance, position and The angle value, control the end of the manipulator to reach the same relative pose when the job is applied; control the end of the manipulator to shift from the calibration position along the TCP to the workpiece placement position to complete the workpiece pick and place.

视觉引导处理模块包括机器人视觉控制器和运行于其中的视觉引导处理软件,视觉控制器为工控机,通过网线分别与复合机器人运动控制器和相机相连,通过串口与倾角传感器及测距传感器相连;视觉引导处理软件则完成各项具体功能。The vision guidance processing module includes the robot vision controller and the vision guidance processing software running in it. The vision controller is an industrial computer, which is respectively connected with the composite robot motion controller and the camera through the network cable, and is connected with the inclination sensor and the distance sensor through the serial port; Vision-guided processing software completes various specific functions.

另外,该视觉引导定位装置还包括了设置于标识区(7)的二维码标签或字符标签,以标签的中心点作为基准点进行像素坐标定位。In addition, the visual guidance positioning device also includes a two-dimensional code label or a character label arranged in the identification area (7), and uses the center point of the label as a reference point to perform pixel coordinate positioning.

适用于上述装置的复合机器人视觉引导定位方法包括视觉引导定位标定步骤和作业步骤,其中:The vision-guided positioning method for a compound robot suitable for the above-mentioned device includes a vision-guided positioning calibration step and an operation step, wherein:

S1,标定步骤,如附图3所示,包括:S1, the calibration step, as shown in Figure 3, includes:

S11,复合机器人AGV小车到达合适的工作停车点后(小车的运动导航由小车的控制装置负责),调整复合机器人机械臂末端姿态,使机械臂末端与工作台平行,视觉引导处理模块记录下此刻倾角传感器Rx和Ry的角度数值。S11, after the composite robot AGV trolley arrives at the appropriate working parking point (the motion navigation of the trolley is responsible for the control device of the trolley), adjust the posture of the end of the composite robot manipulator so that the end of the manipulator is parallel to the worktable, and the visual guidance processing module records the moment. The angle values of the tilt sensors Rx and Ry.

S12,调整复合机器人机械臂与工作台的距离,调节工业相机的焦距和光圈,使相机成像视野清晰,视觉引导处理模块记录下此刻测距传感器的距离数值。取该点为标定原点。S12, adjust the distance between the mechanical arm of the compound robot and the worktable, adjust the focal length and aperture of the industrial camera, so that the imaging field of view of the camera is clear, and the vision guidance processing module records the distance value of the ranging sensor at this moment. Take this point as the calibration origin.

S13,视觉引导处理模块与机器人通信,记录此刻机械臂的位姿,打开相机采图,定位标签的像素坐标和角度值并记录。S13, the vision guidance processing module communicates with the robot, records the pose of the robot arm at the moment, turns on the camera to capture images, locates the pixel coordinates and angle values of the label and records them.

S14,设置复合机器人机械臂沿TCP坐标系(工具坐标系)X方向和Y方向的偏移量,分别控制机械臂运动到偏移点,打开相机采图,对标签进行像素坐标定位;然后机械臂返回到标定原点,再控制机器人沿TCP偏移至另一点,打开相机采图,对图像中的标签进行像素定位,机械臂返回到标定原点。S14, set the offset of the composite robot manipulator along the X direction and the Y direction of the TCP coordinate system (tool coordinate system), respectively control the manipulator to move to the offset point, turn on the camera to capture images, and perform pixel coordinate positioning on the label; The arm returns to the calibration origin, and then controls the robot to offset to another point along the TCP, turns on the camera to capture images, and performs pixel positioning on the labels in the image, and the robotic arm returns to the calibration origin.

S15,视觉引导处理模块根据所获像素坐标及机械臂偏移量,计算标定参数,并保存标定结果到本地。S15, the vision guidance processing module calculates the calibration parameters according to the obtained pixel coordinates and the offset of the manipulator, and saves the calibration results locally.

S16,通过牵引示教方式,将机械臂从此刻的标定原点位置沿TCP运动到待抓放目标工件位置,记录下机械臂的TCP偏移量(ΔTx',ΔTy',ΔTz')。S16 , move the robotic arm from the current calibration origin position along the TCP to the target workpiece position to be picked and place by means of traction teaching, and record the TCP offset (ΔTx', ΔTy', ΔTz') of the robotic arm.

S2,作业步骤,如附图4所示,包括:S2, the operation steps, as shown in Figure 4, include:

S21,复合机器人AGV小车从初始点导航运动到标定时的停车点后,将机械臂运动到标定原点姿态;S21, after the composite robot AGV car navigates from the initial point to the parking point during the calibration, moves the robotic arm to the calibration origin attitude;

S22,根据标定时记录的倾角传感器Rx和Ry值,调节机械臂末端姿态,保证与标定时记录的倾角传感器数值相同;S22, adjust the posture of the end of the manipulator according to the values of the inclination sensors Rx and Ry recorded during the calibration to ensure that the values of the inclination sensors are the same as those recorded during the calibration;

S23,根据标定时记录的测距传感器距离,调节机械臂末端到工作台的距离;S23, adjust the distance from the end of the mechanical arm to the workbench according to the distance of the distance measuring sensor recorded during calibration;

S24,打开工业相机拍照,识别标签角度,与标定时记录的Rz进行对比,将角度偏差发送给复合机器人机械臂;S24, turn on the industrial camera to take a picture, identify the angle of the label, compare it with the Rz recorded during calibration, and send the angle deviation to the mechanical arm of the compound robot;

S25,复合机器人机械臂根据角度偏差,调节末端姿态Rz,使其与标定时的姿态一致;S25, the composite robot manipulator adjusts the end posture Rz according to the angle deviation to make it consistent with the posture during calibration;

S26,再次打开相机拍照,识别定位标签像素坐标,根据标定参数,计算机械臂的TCP偏移量,指挥控制机械臂进行TCP偏移。此刻复合机器人机械臂工具坐标系相对于标签的位置和角度已经与标定时一致。S26, turn on the camera again to take a picture, identify the pixel coordinates of the positioning label, calculate the TCP offset of the robotic arm according to the calibration parameters, and command and control the robotic arm to perform the TCP offset. At this moment, the position and angle of the tool coordinate system of the composite robot manipulator arm relative to the label have been consistent with the calibration time.

S27,根据标定时记录的机械臂从标定原点到待抓取工件位置之间的TCP偏移量,指挥控制机械臂按照TCP运动。此刻,机械臂便能够准确地运行到待抓放工件位置,完成抓放作业任务。S27, command and control the robotic arm to move according to the TCP according to the TCP offset of the robotic arm from the calibration origin to the position of the workpiece to be grasped recorded during the calibration. At this moment, the robotic arm can accurately run to the position of the workpiece to be picked and placed to complete the task of picking and placing.

可见,本实施例中的复合机器人视觉引导定位装置及方法,通过实时获取测角、测距传感器数据以及相机图像,详细记录标定时机械臂相对于工作台的距离、位置和角度,在后续实际工作过程中精确调整机械臂,使其达到这一相对位姿,从而屏蔽了因小车停车定位误差、角度误差、以及地面不平等因素对机械臂抓放操作带来的影响,使复合机器人视觉引导定位作业精度能够相对现有技术获得明显改善。It can be seen that the visual guidance and positioning device and method of the compound robot in this embodiment record the distance, position and angle of the robot arm relative to the worktable in detail by acquiring the angle measurement, distance measurement sensor data and camera images in real time, and in the subsequent actual During the work process, the robotic arm is precisely adjusted to achieve this relative pose, thereby shielding the impact of the positioning error, angle error, and ground inequality on the grasping and placing operation of the robotic arm due to the parking position error of the trolley, enabling the compound robot to visually guide the robot. The positioning accuracy can be significantly improved compared to the prior art.

以上所述仅为本申请示意性的具体实施方式,在不脱离本申请的构思和原则的前提下,任何本领域的技术人员所做出的等同变化与修改,均应属于本申请保护的范围。The above are only illustrative specific embodiments of the present application. Without departing from the concept and principles of the present application, any equivalent changes and modifications made by those skilled in the art shall fall within the protection scope of the present application. .

Claims (6)

1.一种复合机器人视觉引导定位方法,包括视觉引导标定的步骤和视觉引导作业应用的步骤,其中,复合机器人机械臂末端固定有测量模块,用于测量机械臂末端相对于工作台面的距离、机械臂末端的倾角、以及获取工作台上作为引导基准的标识区的图像;1. A vision-guided positioning method for a composite robot, comprising a step of vision-guided calibration and a step of vision-guided job application, wherein a measurement module is fixed at the end of the robotic arm of the composite robot for measuring the distance, The inclination of the end of the robot arm, and the image of the identification area on the workbench as a guide reference; 所述视觉引导标定的步骤具体包括:The steps of the vision-guided calibration specifically include: 相对位姿采集:小车到达适当停车点后,调整机械臂末端至适当的标定原点,获取并记录此时机械臂位姿,机械臂末端的倾角、相对于工作台面的距离,位置和标识区的Rz角度值;Relative pose acquisition: After the car reaches the appropriate parking point, adjust the end of the manipulator to the appropriate calibration origin, acquire and record the pose of the manipulator, the inclination of the end of the manipulator, the distance relative to the work surface, the position and the marking area. Rz angle value; 标定参数解算:标定数据采集,根据采集到的数据计算标定参数;Calibration parameter calculation: calibration data acquisition, calculation of calibration parameters according to the collected data; 测量机械臂由所述标定原点至工件摆放位置的TCP偏移量;Measure the TCP offset of the robotic arm from the calibration origin to the workpiece placement position; 所述视觉引导作业应用的步骤具体包括:The steps of the vision-guided job application specifically include: 相对位姿复现:当小车停于标定时的位置和角度后,控制机械臂运动至标定时记录的姿态,然后控制机械臂末端调整至标定时所记录的相对位姿;Recurrence of relative pose: When the car stops at the position and angle at the time of calibration, control the robotic arm to move to the pose recorded during calibration, and then control the end of the robotic arm to adjust to the relative pose recorded during calibration; 按照由所述标定原点至工件摆放位置的TCP偏移量,控制机械臂运动,完成抓放作业任务。According to the TCP offset from the calibration origin to the workpiece placement position, the movement of the robotic arm is controlled to complete the pick-and-place task. 2.根据权利要求1所述的复合机器人视觉引导定位方法,其特征在于,所述相对位姿采集的步骤具体包括:2. The compound robot vision-guided positioning method according to claim 1, wherein the step of collecting the relative pose specifically comprises: 调整机械臂末端姿态,使其工作平面与工作台面平行,采集并记录机械臂末端倾角Rx和Ry的数值;Adjust the posture of the end of the manipulator so that the working plane is parallel to the work surface, and collect and record the values of the inclination angles Rx and Ry of the end of the manipulator; 调整机械臂末端与工作台的距离,使所述测量模块的成像视野清晰,记录当前点为标定原点;Adjust the distance between the end of the robotic arm and the workbench to make the imaging field of view of the measurement module clear, and record the current point as the calibration origin; 采集并记录此时机械臂末端到工作台面的距离;Collect and record the distance from the end of the robotic arm to the work surface at this time; 采集工作台上所述标识区的图像,对图像进行识别定位,提取并记录其中基准点的像素坐标和标识区的Rz角度值;Collect the image of the identification area on the workbench, identify and locate the image, extract and record the pixel coordinates of the reference point and the Rz angle value of the identification area; 采集并记录此时机械臂的位姿。Collect and record the pose of the robotic arm at this time. 3.根据权利要求2所述的复合机器人视觉引导定位方法,其特征在于,所述对图像进行识别定位的方法为:使用形状匹配方式进行识别定位,如果所述标识区设有二维码标签,则使用二维码识别定位方式进行识别定位。3. The compound robot vision-guided positioning method according to claim 2, wherein the method for identifying and positioning the image is: using a shape matching method to identify and position, and if the identification area is provided with a two-dimensional code label , the two-dimensional code identification and positioning method is used for identification and positioning. 4.根据权利要求1所述的复合机器人视觉引导定位方法,其特征在于,所述标定数据采集的方法包括:4. The compound robot vision-guided positioning method according to claim 1, wherein the method for collecting the calibration data comprises: 设置各采集点相对于所述标定原点的TCP偏移量;Set the TCP offset of each collection point relative to the calibration origin; 控制机械臂沿TCP坐标系分别按预设偏移量运动到各采集点;Control the manipulator to move to each collection point according to the preset offset along the TCP coordinate system; 在各采集点处采集工作台上所述标识区的图像,对图像进行识别定位,提取并记录其中基准点的像素坐标。The image of the identification area on the workbench is collected at each collection point, the image is identified and positioned, and the pixel coordinates of the reference point therein are extracted and recorded. 5.根据权利要求4所述的复合机器人视觉引导定位方法,其特征在于,所述标定参数计算的方法为:5. The compound robot vision-guided positioning method according to claim 4, wherein the method for calculating the calibration parameters is: 假设机械臂末端在标定原点处,得到所述标识区中基准点的像素坐标为(u0,v0);机械臂末端沿着TCP坐标系移动Δx,此时基准点像素坐标为(u1,v1);机械臂末端返回到标定原点后再沿着TCP坐标系移动Δy,此时基准点像素坐标为(u2,v2);Assuming that the end of the robot arm is at the calibration origin, the pixel coordinates of the reference point in the identification area are (u 0 , v 0 ); the end of the robot arm moves along the TCP coordinate system by Δx, and the pixel coordinates of the reference point are (u 1 , v 1 ); the end of the robotic arm returns to the calibration origin and then moves Δy along the TCP coordinate system, and the pixel coordinates of the reference point are (u 2 , v 2 ); 那么在作业应用时,如果得到基准点的像素坐标为(u,v),则这时机械臂相对于标定原点的TCP偏移量(Δx',Δy')应为:Then in the job application, if the pixel coordinates of the reference point are (u, v), then the TCP offset (Δx', Δy') of the robot arm relative to the calibration origin should be:
Figure FDA0003341940090000021
Figure FDA0003341940090000021
其中,in, Δu1=u1-u0,Δv1=v1-v0,Δu2=u2-u0,Δv2=v2-v0,Δu=u-u0,Δv=v-v0Δu 1 =u 1 -u 0 , Δv 1 =v 1 -v 0 , Δu 2 =u 2 -u 0 , Δv 2 =v 2 -v 0 , Δu=uu 0 , Δv=vv 0 .
6.根据权利要求1所述的复合机器人视觉引导定位方法,其特征在于,所述相对位姿复现的步骤具体包括:6. The compound robot vision-guided positioning method according to claim 1, wherein the step of reproducing the relative pose specifically comprises: 控制机械臂运动至标定时记录的姿态;Control the movement of the robotic arm to the posture recorded when it is calibrated; 测量机械臂末端倾角Rx和Ry值,调整机械臂末端姿态,使该倾角与标定时记录的倾角数值相同;Measure the values of the inclination angle Rx and Ry of the end of the manipulator, and adjust the posture of the end of the manipulator so that the inclination angle is the same as the value of the inclination angle recorded during calibration; 测量机械臂末端到工作台面之间的距离值,调整机械臂姿态,使该距离等于标定时记录的距离数值;Measure the distance between the end of the robotic arm and the work surface, and adjust the posture of the robotic arm so that the distance is equal to the distance value recorded during calibration; 获取工作台上所述标识区的图像,提取标识区的Rz角度值,与标定时记录的图像Rz值对比,调整机械臂末端姿态Rz,使两者一致;Obtain the image of the marking area on the workbench, extract the Rz angle value of the marking area, compare it with the Rz value of the image recorded during calibration, and adjust the attitude Rz of the end of the robotic arm to make the two consistent; 再次获取所述标识区的图像,得到其中基准点的像素坐标,根据记录的标定参数,计算机械臂的TCP偏移量,按该偏移量控制机械臂运动,即可到达标定时记录的相对于工作台面的位姿。Obtain the image of the identification area again, obtain the pixel coordinates of the reference point in it, calculate the TCP offset of the robotic arm according to the recorded calibration parameters, and control the movement of the robotic arm according to the offset, so as to reach the relative value recorded during calibration. position on the work surface.
CN201911225526.9A 2019-12-04 2019-12-04 Visual guiding and positioning method for compound robot Active CN110842928B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911225526.9A CN110842928B (en) 2019-12-04 2019-12-04 Visual guiding and positioning method for compound robot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911225526.9A CN110842928B (en) 2019-12-04 2019-12-04 Visual guiding and positioning method for compound robot

Publications (2)

Publication Number Publication Date
CN110842928A CN110842928A (en) 2020-02-28
CN110842928B true CN110842928B (en) 2022-02-22

Family

ID=69607796

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911225526.9A Active CN110842928B (en) 2019-12-04 2019-12-04 Visual guiding and positioning method for compound robot

Country Status (1)

Country Link
CN (1) CN110842928B (en)

Families Citing this family (50)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111452038B (en) * 2020-03-03 2021-08-24 重庆大学 High-precision workpiece assembly and assembly method of high-precision workpiece assembly
CN113370203A (en) * 2020-03-10 2021-09-10 固高科技(深圳)有限公司 Robot control method, robot control device, computer device, and storage medium
CN111250406B (en) * 2020-03-16 2023-11-14 科为升视觉技术(苏州)有限公司 Automatic placement method and system for PCB detection assembly line based on visual positioning
CN111531580B (en) * 2020-04-27 2023-02-07 武汉工程大学 Vision-based multi-task robot fault detection method and system
CN112098137A (en) * 2020-08-05 2020-12-18 湖南华菱涟源钢铁有限公司 Automatic steel plate sampling method and automatic steel plate sampling system
CN112208113B (en) * 2020-08-13 2022-09-06 苏州赛米维尔智能装备有限公司 Automatic heat-conducting cotton attaching device based on visual guidance and attaching method thereof
CN112025102A (en) * 2020-08-25 2020-12-04 新兴河北工程技术有限公司 A kind of automatic equipment for engraving on sand core of casting pipe and using method thereof
CN112102289A (en) * 2020-09-15 2020-12-18 齐鲁工业大学 Cell sample centrifugal processing system and method based on machine vision
CN112357707B (en) * 2020-10-21 2022-06-21 日立楼宇技术(广州)有限公司 An elevator detection method, device, robot and storage medium
CN112454354B (en) * 2020-11-10 2022-05-03 中国电子工程设计院有限公司 Working method and device of industrial robot and storage medium
CN114538027B (en) * 2020-11-26 2024-08-02 合肥欣奕华智能机器股份有限公司 Full-automatic vision positioning transfer equipment and control method thereof
CN114643599B (en) * 2020-12-18 2023-07-21 沈阳新松机器人自动化股份有限公司 Three-dimensional machine vision system and method based on point laser and area array camera
CN112720474A (en) * 2020-12-21 2021-04-30 深圳市越疆科技有限公司 Pose correction method and device for robot, terminal device and storage medium
CN112936265B (en) * 2021-01-29 2022-09-20 山东莱钢永锋钢铁有限公司 System for remotely regulating ABB mechanical arm
CN113084808B (en) * 2021-04-02 2023-09-22 上海智能制造功能平台有限公司 Monocular vision-based 2D plane grabbing method for mobile mechanical arm
CN113211431B (en) * 2021-04-16 2022-07-01 中铁第一勘察设计院集团有限公司 Pose estimation method based on two-dimensional code correction robot system
CN113524259A (en) * 2021-05-18 2021-10-22 北京奔驰汽车有限公司 Robot running precision measuring system
CN115450447B (en) * 2021-06-08 2024-05-31 广东博智林机器人有限公司 Interactive system, brickwork device, brickwork manipulator and brickwork positioning method
JP7054036B1 (en) * 2021-07-09 2022-04-13 株式会社不二越 Robot vision system
CN113526125B (en) * 2021-07-28 2022-11-22 齐鲁工业大学 A cell specimen sample handling system and method based on multi-label positioning
CN115892802A (en) * 2021-08-26 2023-04-04 深圳市海柔创新科技有限公司 Compensation parameter generation method and device for sensor device
CN113777336B (en) * 2021-09-08 2023-08-04 广州赛特智能科技有限公司 Automatic detection system and method for biological specimen
CN113989472B (en) * 2021-09-30 2024-06-18 深圳先进技术研究院 Method, system and equipment for accurately grabbing target object
CN113843798B (en) * 2021-10-11 2023-04-28 深圳先进技术研究院 Correction method and system for mobile robot grabbing and positioning errors and robot
CN113799140A (en) * 2021-10-14 2021-12-17 友上智能科技(苏州)有限公司 Flight vision positioning material taking method applied to composite robot
CN113858206B (en) * 2021-10-25 2023-05-23 联想(北京)有限公司 Robot job control method, robot, and computer-readable storage medium
CN114035409B (en) * 2021-11-22 2025-09-12 广东省大湾区集成电路与系统应用研究院 Development oscillation device, development device, development method, manufacturing method and equipment
CN114089767B (en) * 2021-11-23 2024-03-26 成都瑞特数字科技有限责任公司 Positioning and grabbing method for bottle-shaped objects in application of mobile compound robot
CN114227674B (en) * 2021-12-08 2024-11-08 广东天凛高新科技有限公司 A robotic arm navigation method based on visual recognition and positioning
CN114055454B (en) * 2021-12-15 2023-07-14 重庆远创光电科技有限公司 Engine end cover and wire box robot vision guiding and positioning device
CN114252013B (en) * 2021-12-22 2024-03-22 深圳市天昕朗科技有限公司 AGV visual identification accurate positioning system based on wired communication mode
CN114310881B (en) * 2021-12-23 2024-09-13 中国科学院自动化研究所 A calibration method, system and electronic equipment for a quick-change device of a robotic arm
CN114755139B (en) * 2022-03-01 2025-01-24 南京旗硕物联科技有限公司 An automatic code system with moisture content measurement function for blocks
CN114581520A (en) * 2022-03-01 2022-06-03 东南大学成贤学院 An autonomous recognition system and method for robot uncertain pose
CN114571494B (en) * 2022-03-18 2023-06-02 贵州航天天马机电科技有限公司 Multi-degree-of-freedom general heavy-duty lifting manipulator structure based on visual guidance
CN114842089B (en) * 2022-03-29 2024-03-15 国营芜湖机械厂 Automatic modulation method for fly-by-wire computer potentiometer
CN114920000A (en) * 2022-04-22 2022-08-19 歌尔科技有限公司 Conveying device, mechanical equipment and control method of conveying device
CN114847824B (en) * 2022-05-18 2024-08-20 杭州景吾智能科技有限公司 Intelligent table top size detection method and system based on vision
CN114833872B (en) * 2022-07-04 2022-09-27 苏州亿迈视光电科技有限公司 Mechanical arm based on image recognition as guide information
CN115122331B (en) * 2022-07-04 2024-07-23 中冶赛迪工程技术股份有限公司 Workpiece grasping method and device
CN115319737B (en) * 2022-07-12 2023-06-27 广州里工实业有限公司 Automatic feeding and discharging control method, system, device and storage medium
CN115592666B (en) * 2022-10-28 2025-02-18 阳光新能源开发股份有限公司 Component positioning method, component positioning device, component positioning system and robot
CN115729240A (en) * 2022-11-14 2023-03-03 上海飒智智能科技有限公司 Visual Servo Control Method for Mobile Manipulation Robot
CN116810219A (en) * 2022-11-30 2023-09-29 慧之安信息技术股份有限公司 Welder work management method based on OPC UA
CN115847492B (en) * 2023-02-16 2024-04-26 三维信技测量技术(苏州)有限公司 Industrial robot vision sensor measuring device
CN116135492B (en) * 2023-04-20 2023-09-05 成都盛锴科技有限公司 Automatic dismounting device and method for railway vehicle door
CN116587283B (en) * 2023-06-16 2024-07-30 南方电网电力科技股份有限公司 A mechanical arm control zero point calibration method and related device
CN117549338B (en) * 2024-01-09 2024-03-29 北京李尔现代坦迪斯汽车系统有限公司 Grabbing robot for automobile cushion production workshop
CN119734303B (en) * 2025-03-04 2025-09-16 山西鑫晟坤机械制造有限公司 Multidirectional self-adaptive dismounting device, control system and calibration method of mine heading machine
CN120070598B (en) * 2025-04-27 2025-08-26 北京小米移动软件有限公司 Visual calibration method, device, electronic device, storage medium and program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3398729A1 (en) * 2017-05-05 2018-11-07 Robert Bosch GmbH Facility, device and method for operating autonomous transport vehicles which can be loaded with small goods holders
CN109131630A (en) * 2018-08-28 2019-01-04 中科新松有限公司 A kind of control method of composite machine people and composite machine people
CN109129445A (en) * 2018-09-29 2019-01-04 先临三维科技股份有限公司 Hand and eye calibrating method, scaling board, device, equipment and the storage medium of mechanical arm
CN109848994A (en) * 2019-02-22 2019-06-07 浙江启成智能科技有限公司 A kind of robot vision guidance location algorithm

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9785911B2 (en) * 2013-07-25 2017-10-10 I AM Robotics, LLC System and method for piece-picking or put-away with a mobile manipulation robot

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3398729A1 (en) * 2017-05-05 2018-11-07 Robert Bosch GmbH Facility, device and method for operating autonomous transport vehicles which can be loaded with small goods holders
CN109131630A (en) * 2018-08-28 2019-01-04 中科新松有限公司 A kind of control method of composite machine people and composite machine people
CN109129445A (en) * 2018-09-29 2019-01-04 先临三维科技股份有限公司 Hand and eye calibrating method, scaling board, device, equipment and the storage medium of mechanical arm
CN109848994A (en) * 2019-02-22 2019-06-07 浙江启成智能科技有限公司 A kind of robot vision guidance location algorithm

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于视觉引导的机械臂抓取系统研究;卢海军;《中国优秀硕士学位论文全文库信息科技辑2019年第8期》;20190815;摘要、正文第7、8、13、21、22、26、37、38页 *

Also Published As

Publication number Publication date
CN110842928A (en) 2020-02-28

Similar Documents

Publication Publication Date Title
CN110842928B (en) Visual guiding and positioning method for compound robot
CN106272424B (en) A kind of industrial robot grasping means based on monocular camera and three-dimensional force sensor
JP6855492B2 (en) Robot system, robot system control device, and robot system control method
US8244402B2 (en) Visual perception system and method for a humanoid robot
US9782896B2 (en) Robot system and control method for robot system
WO2023056670A1 (en) Mechanical arm autonomous mobile grabbing method under complex illumination conditions based on visual-tactile fusion
CN111496770A (en) Intelligent handling robotic arm system and using method based on 3D vision and deep learning
US12337474B2 (en) Robot teaching system
JP2019093481A (en) Robot system and robot system control method
EP0260984B1 (en) Mobile robot on-board vision system
WO2009123956A1 (en) Robot parts assembly on a workpiece moving on an assembly line
JP2011115877A (en) Double arm robot
CN105965519A (en) Vision-guided discharging positioning method of clutch
CN110666805A (en) A sorting method for industrial robots based on active vision
US20170203434A1 (en) Robot and robot system
JP2023059837A (en) Robot program generation method from human demonstration
CN111390910A (en) Manipulator target grabbing and positioning method, computer readable storage medium and manipulator
WO2023102647A1 (en) Method for automated 3d part localization and adjustment of robot end-effectors
CN117381781A (en) Real-time adjustment method and system for grabbing pose of mechanical arm
JP7477633B2 (en) Robot System
KR102726140B1 (en) Calibration system and method using the same
JP2022530589A (en) Robot-mounted mobile devices, systems and machine tools
JP7660686B2 (en) ROBOT CONTROL DEVICE, ROBOT CONTROL SYSTEM, AND ROBOT CONTROL METHOD
JPH06218682A (en) Assembly robot
JPH0679671A (en) Method and device for guiding gripping means of robot

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
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A Vision-Guided Localization Method for Composite Robots

Effective date of registration: 20220826

Granted publication date: 20220222

Pledgee: Industrial and Commercial Bank of China Limited Shanghai pilot Free Trade Zone New Area Branch

Pledgor: SIASUN Co.,Ltd.

Registration number: Y2022310000204

PE01 Entry into force of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20221227

Granted publication date: 20220222

Pledgee: Industrial and Commercial Bank of China Limited Shanghai pilot Free Trade Zone New Area Branch

Pledgor: SIASUN Co.,Ltd.

Registration number: Y2022310000204

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230316

Address after: 201306 No. 299, Xueyang Road, Lingang New District, pilot Free Trade Zone, Pudong New Area, Shanghai

Patentee after: SHANGHAI XINSONG ROBOT CO.,LTD.

Address before: Room 101, 201, West, building 11, No. 351 jinzang Road, Pudong New Area, Shanghai

Patentee before: SIASUN Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20231023

Address after: 201206 rooms 101 and 201, west of building 11, 351 jinzang Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai

Patentee after: SIASUN Co.,Ltd.

Address before: 201306 No. 299, Xueyang Road, Lingang New District, pilot Free Trade Zone, Pudong New Area, Shanghai

Patentee before: SHANGHAI XINSONG ROBOT CO.,LTD.