CN113160326A - Hand-eye calibration method and device based on reconstructed coordinate system - Google Patents

Hand-eye calibration method and device based on reconstructed coordinate system Download PDF

Info

Publication number
CN113160326A
CN113160326A CN202110378420.3A CN202110378420A CN113160326A CN 113160326 A CN113160326 A CN 113160326A CN 202110378420 A CN202110378420 A CN 202110378420A CN 113160326 A CN113160326 A CN 113160326A
Authority
CN
China
Prior art keywords
coordinate system
mechanical arm
tool coordinate
workpiece
angle
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.)
Granted
Application number
CN202110378420.3A
Other languages
Chinese (zh)
Other versions
CN113160326B (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.)
Fujian Quanzhou HIT Research Institute of Engineering and Technology
Original Assignee
Fujian Quanzhou HIT Research Institute of Engineering and Technology
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 Fujian Quanzhou HIT Research Institute of Engineering and Technology filed Critical Fujian Quanzhou HIT Research Institute of Engineering and Technology
Priority to CN202110378420.3A priority Critical patent/CN113160326B/en
Publication of CN113160326A publication Critical patent/CN113160326A/en
Application granted granted Critical
Publication of CN113160326B publication Critical patent/CN113160326B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • G06T7/73Determining position or orientation of objects or cameras using feature-based methods
    • 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/02Sensing devices
    • B25J19/021Optical sensing devices
    • B25J19/023Optical sensing devices including video camera means
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1679Programme controls characterised by the tasks executed
    • B25J9/1692Calibration of manipulator
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • G06T7/66Analysis of geometric attributes of image moments or centre of gravity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/80Analysis of captured images to determine intrinsic or extrinsic camera parameters, i.e. camera calibration

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Robotics (AREA)
  • Mechanical Engineering (AREA)
  • Multimedia (AREA)
  • Geometry (AREA)
  • Quality & Reliability (AREA)
  • Numerical Control (AREA)
  • Manipulator (AREA)

Abstract

The invention provides a hand-eye calibration method and a hand-eye calibration device based on a reconstructed coordinate system, wherein the method comprises the following steps: determining clear characteristic points; establishing a transition tool coordinate system and a workpiece coordinate system; calculating the transformation relation between the image coordinate system and the workpiece coordinate system; calculating a feature point coordinate A on the first rotating image, a feature point coordinate B on the second rotating image and a midpoint C between the coordinate A and the coordinate B; calculating the coordinate of the midpoint C in the workpiece coordinate system and the deviation amount between the point C and the origin of the transition tool coordinate system; reconstructing a new tool coordinate system, wherein the origin of the new tool coordinate system is the origin of the transition tool coordinate system plus the deviation amount, and guiding the positioning of the mechanical arm according to the new tool coordinate system; and when the next guiding positioning is carried out, taking the new tool coordinate system as a transition tool coordinate system, and reestablishing the new tool coordinate system. The invention eliminates the error between the origin of the tool coordinate system and the rotation center of the workpiece and effectively improves the calibration precision of the hand and the eye.

Description

Hand-eye calibration method and device based on reconstructed coordinate system
Technical Field
The invention relates to a hand-eye calibration method and device based on a reconstructed coordinate system.
Background
In high-precision and rapid operation, an industrial robot is often required to be assisted to perform accurate positioning through a visual guide technology. Visual guidance is the work of capturing an image of an objective object using an industrial camera instead of a human eyeball, processing the image by a correlation algorithm to obtain useful information, and finally controlling a robot. In the vision guide robot system, the transformation relation between a camera coordinate system and a robot basic coordinate system can be finally established through hand-eye calibration, and the transformation relation is a necessary condition for enabling a robot paw to accurately grab an object.
The existing hand-eye calibration method comprises a traditional nine-point hand-eye calibration method, wherein a mechanical arm TCP is used for touching a marker printed with nine characteristic points to record the pose of the mechanical arm, then the image coordinates of the nine points are shot and calculated, and the conversion relation between the mechanical arm and an image coordinate system is established through a calibration algorithm. However, the nine-point hand-eye calibration method needs to stick markers printed with nine feature points and needs to perform tip touch to perform coordinate unification, the operation is complicated, the result accuracy depends on the level of an operator to a greater extent, and more importantly, the origin of a tool coordinate system established by the method always has a certain error with the rotation center of a workpiece, and the error cannot be completely overlapped, so that displacement errors are introduced to influence the hand-eye calibration accuracy, and the error can be ignored when the operation is performed, and further the smooth operation is seriously influenced.
Disclosure of Invention
The invention aims to provide a hand-eye calibration method and device based on a reconstructed coordinate system, which aim to overcome the defects of the prior art, eliminate the error between the origin of a tool coordinate system and the rotation center of a workpiece, ensure that the result precision does not depend on the level of an operator any more, effectively improve the hand-eye calibration precision, and have simpler operation and improved operation efficiency.
The invention is realized by the following technical scheme:
a hand-eye calibration method based on a reconstructed coordinate system comprises the following steps:
A. determining a clear characteristic point on the surface of the shot workpiece;
B. establishing a transition tool coordinate system by a TCP calibration method of the mechanical arm, enabling the origin of the transition tool coordinate system to be basically superposed with the characteristic point, and establishing a workpiece coordinate system according to the transition tool coordinate system, wherein the direction of the workpiece coordinate system is consistent with the direction of a Base coordinate system of the mechanical arm;
C. controlling the mechanical arm to move nine positions on a plane with a workpiece coordinate system z being 0 by using a transition tool coordinate system, controlling a camera arranged on the mechanical arm to collect images containing characteristic points at the nine positions respectively, extracting the coordinates of the characteristic points on each image respectively, and calculating the conversion relation between the image coordinate system and the workpiece coordinate system through the coordinates of each position and the coordinates of each marker characteristic point;
D. controlling the mechanical arm to rotate around a first angle and a second angle with a difference value of 180 degrees respectively around (0,0) of a plane of a workpiece coordinate system z, controlling the camera to shoot a first rotation image and a second rotation image at the first angle and the second angle respectively, calculating a feature point coordinate A on the first rotation image and a feature point coordinate B on the second rotation image respectively, and calculating a coordinate of a midpoint C between the coordinate A and the coordinate B;
E. according to the conversion relation, calculating the coordinate (D) of the midpoint C in the workpiece coordinate systemx,Dy) Rotating the coordinate system of the workpiece to be consistent with the coordinate system of the transition tool in direction, and calculating the C point and the origin of the coordinate system of the transition toolAmount of deviation therebetween
Figure BDA0003011779230000021
Figure BDA0003011779230000022
Wherein, thetaxFor the Base coordinate x-axis Euler angle of the mechanical arm thetayIs the Base coordinate y-axis Euler angle of the mechanical arm thetazA Z-axis Euler angle is taken as a Base coordinate of the mechanical arm;
F. d, reconstructing a new tool coordinate system, wherein the origin of the new tool coordinate system is the origin of the transition tool coordinate system plus the deviation calculated in the step E, the new tool coordinate system is consistent with the direction of the flange tool coordinate system of the mechanical arm, and the mechanical arm is guided to be positioned according to the new tool coordinate system;
G. and D, when the next guiding positioning is carried out, taking the new tool coordinate system in the step F as a transition tool coordinate system, and entering the step C.
Further, in step C, the x and y coordinates of the nine positions are respectively: (-a, -a), (-a, 0), (-a, a), (0, -a), (0,0), (0, a), (a, -a), (a, 0), (a, a), wherein the value of a is related to the marker size and the camera field of view.
Further, in the step a, the feature point is a circle center or a cross line intersection.
Further, in the step a, a marker is pasted on the surface of the shot workpiece, a circular pattern or a cross line is printed on the marker, and the characteristic point is a center of the circular pattern or an intersection of the cross lines.
Further, in step D, the first angle is 90 ° clockwise, and the second angle is 270 ° clockwise.
Further, in the step C, the conversion relation [ R M ] is calculated by the following formula:
Figure BDA0003011779230000031
wherein, (x, y) is xy coordinates of each position on a workpiece coordinate system, (u, v) is row-column coordinates of an image coordinate system of each marker feature point, R is a rotation matrix, and M is a translation matrix.
Further, in the step B, a transition tool coordinate system is established by a TCP calibration four-point method of the mechanical arm.
Further, the camera field of view is 80mm, the marker size is 20mm, and the value of a is 20 mm.
The invention is also realized by the following technical scheme:
a hand-eye calibration device based on a reconstructed coordinate system, comprising:
a feature point determination module: the method comprises the steps of determining a clear characteristic point on the surface of a shot workpiece;
a transition tool coordinate system determination module: the method is used for establishing a transition tool coordinate system through a TCP calibration method of the mechanical arm, enabling the origin of the transition tool coordinate system to coincide with the characteristic point as much as possible, and establishing a workpiece coordinate system according to the transition tool coordinate system, wherein the direction of the workpiece coordinate system is consistent with the direction of a Base coordinate system of the mechanical arm;
a conversion relation determination module: the system comprises a control system, a transition tool coordinate system, a camera, a coordinate system and a coordinate system of a marker, wherein the control system is used for controlling the mechanical arm to move nine positions on a plane of a workpiece coordinate system z which is equal to 0 by using the transition tool coordinate system, controlling the camera arranged on the mechanical arm to respectively collect images containing characteristic points at the nine positions, respectively extracting the coordinates of the characteristic points on each image, and calculating the conversion relation between the image coordinate system and the workpiece coordinate system through the coordinates of each position and the coordinates of each marker characteristic point;
a deviation amount determination module: the system comprises a camera, a first angle and a second angle, a first rotating image and a second rotating image are respectively shot by the camera at the first angle and the second angle, a characteristic point coordinate A on the first rotating image and a characteristic point coordinate B on the second rotating image are respectively calculated, and the coordinate of a midpoint C between the coordinate A and the coordinate B is calculated, wherein the first angle and the second angle are respectively used for controlling the mechanical arm to rotate around a plane (0,0) with the workpiece coordinate system z being 0 and have the difference value of 180 degrees; according to the conversion relation, the coordinates of the midpoint C on the workpiece are calculatedCoordinates under the system (D)x,Dy) Rotating the workpiece coordinate system to be consistent with the direction of the transition tool coordinate system, and calculating the deviation between the C point and the origin of the transition tool coordinate system
Figure BDA0003011779230000041
Figure BDA0003011779230000042
Wherein, thetaxFor the Base coordinate x-axis Euler angle of the mechanical arm thetayIs the Base coordinate y-axis Euler angle of the mechanical arm thetazA Z-axis Euler angle is taken as a Base coordinate of the mechanical arm;
new tool coordinate system determination module: the tool coordinate system is used for reconstructing a new tool coordinate system, the original point of the new tool coordinate system is the original point of the transition tool coordinate system plus the deviation amount calculated in the step E, the new tool coordinate system is enabled to be consistent with the direction of the flange tool coordinate system of the mechanical arm, and the mechanical arm is guided to be positioned according to the new tool coordinate system;
a positioning update module: and the system is used for taking the new tool coordinate system used at the next guiding and positioning as a transition tool coordinate system, reestablishing a new tool coordinate system through the conversion relation determining module, the deviation amount determining module and the new tool coordinate system determining module, and guiding the positioning of the mechanical arm by using the new tool coordinate system.
The invention has the following beneficial effects:
1. before determining a tool coordinate system for the first time, determining a clear characteristic point on the surface of a shot workpiece, establishing a transition tool coordinate system with an origin basically coincident with the characteristic point, controlling a mechanical arm to collect images containing the characteristic point at nine specific positions, calculating the conversion relation between the image coordinate system and the workpiece coordinate system according to the images, controlling the mechanical arm to rotate to obtain a first rotating image and a second rotating image, obtaining the coordinates of the midpoint of the characteristic point coordinates on the first rotating image and the second rotating image, obtaining the deviation between the midpoint and the origin of the transition tool coordinate system by using the midpoint coordinates and the conversion relation, determining a new tool coordinate system by adding the deviation to the origin of the transition tool coordinate system, guiding the positioning of the mechanical arm according to the tool coordinate system, and when the next guiding positioning is needed, the tool coordinate system which is currently used is used as a transition tool coordinate system, the conversion relation and the deviation amount are calculated again to determine a new tool coordinate system again, so that the tool coordinate system and the workpiece rotation center can be kept consistent all the time in the operation process of the mechanical arm, the error between the original point of the tool coordinate system and the workpiece rotation center is eliminated, the result precision does not depend on the level of an operator any more, the hand-eye calibration precision is effectively improved, the operation is simpler, and the operation efficiency is improved.
Drawings
The present invention will be described in further detail with reference to the accompanying drawings.
FIG. 1 is a schematic diagram of coordinate systems according to the present invention.
FIG. 2 is a flow chart of the present invention.
Wherein, 1, a mechanical arm; 2. a tool coordinate system; 3. a workpiece coordinate system; 4. a camera coordinate system; 5. robot Base coordinate system.
Detailed Description
As shown in fig. 1 and fig. 2, the hand-eye calibration method based on the reconstructed coordinate system includes the following steps:
A. determining a clear characteristic point on the surface of the shot workpiece, wherein in the embodiment, a marker is stuck on the surface of the shot workpiece, a circular pattern is printed on the marker, and the characteristic point is the circle center of the circular pattern; in other embodiments, feature points, such as intersection points of crisscrossing lines, may also be determined directly on the surface of the tool being photographed;
B. establishing a transition tool coordinate system by a TCP four-point calibration method of the mechanical arm, enabling the origin of the transition tool coordinate system to be basically superposed with the characteristic point, and establishing a workpiece coordinate system according to the transition tool coordinate system, wherein the direction of the workpiece coordinate system is consistent with the direction of a Base coordinate system of the mechanical arm; the TCP four-point calibration method is the prior art, but the TCP four-point calibration method cannot completely coincide the origin of the coordinate system of the transition tool with the characteristic point, so the origin of the coordinate system of the transition tool can only coincide the characteristic point as much as possible, and moreover, the origin of the coordinate system of the transition tool does not need to coincide with the characteristic point, so that the origin can be achieved by a new tool coordinate system processed by subsequent steps, and the coordinate system of the transition tool is taken as a basis; the orientation of the Base coordinate system of the robot arm is known;
C. controlling the mechanical arm to move nine positions on a plane with a workpiece coordinate system z being 0 by using a transition tool coordinate system, controlling a camera arranged on the mechanical arm to collect images containing characteristic points at the nine positions respectively, extracting the coordinates of the characteristic points on each image respectively, and calculating the conversion relation between the image coordinate system and the workpiece coordinate system through the coordinates of each position and the coordinates of each marker characteristic point; wherein, the x, y coordinates of nine positions are respectively: (-a, -a), (-a, 0), (-a, a), (0, -a), (0,0), (0, a), (a, -a), (a, 0), (a, a), wherein a is related to the marker size and the camera field of view, in this example, the camera field of view is 80mm x 80mm, the marker size is 20mm x 20mm, and a is 20 mm; extracting the coordinates of the feature points of the image is the prior art, in this embodiment, extracting the coordinates of the circle center includes the steps of extracting the boundary, fitting the circle and obtaining the circle center, the image coordinate system is the image pixel coordinate system, and the coordinates of the feature points are the pixel coordinates of the feature points on the image;
calculating a transformation relationship [ R M]The concrete formula of (1) is as follows:
Figure BDA0003011779230000071
wherein, (x, y) is xy coordinates of each position on a workpiece coordinate system, (u, v) is row-column coordinates of an image coordinate system of each marker feature point, R is a rotation matrix, and M is a translation matrix;
D. controlling the mechanical arm to rotate around a first angle and a second angle with a difference value of 180 degrees respectively around (0,0) of a plane of a workpiece coordinate system z, controlling the camera to shoot a first rotation image and a second rotation image at the first angle and the second angle respectively, calculating a feature point coordinate A on the first rotation image and a feature point coordinate B on the second rotation image respectively, and calculating a coordinate of a midpoint C between the coordinate A and the coordinate B; in this embodiment, the first angle is 90 ° clockwise rotation, and the second angle is 270 ° clockwise rotation;
E. according to the conversion relation, calculating the coordinate (D) of the midpoint C in the workpiece coordinate systemx,Dy) Rotating the workpiece coordinate system to be consistent with the direction of the transition tool coordinate system, and calculating the deviation between the C point and the origin of the transition tool coordinate system
Figure BDA0003011779230000072
Figure BDA0003011779230000073
Wherein, TxFor the deviation in x-direction of the new tool coordinate system from the transition tool coordinate system, TyThe deviation in the y-direction of the new tool coordinate system from the transition tool coordinate system, TzTheta is the amount of deviation in the z-direction of the new tool coordinate system from the transition tool coordinate systemxFor the Base coordinate x-axis Euler angle of the mechanical arm thetayIs the Base coordinate y-axis Euler angle of the mechanical arm thetazA Z-axis Euler angle is taken as a Base coordinate of the mechanical arm;
in theory, the feature point coordinate a and the feature point coordinate B should be the same point, but because the origin of the transition tool coordinate system is not coincident with the workpiece rotation center, the feature point coordinate a and the feature point coordinate B both have a certain difference from (0,0), and because the difference between the first angle and the second angle is 180 °, the midpoint C of the coordinate a and the coordinate B is the actual workpiece rotation center and is also the origin of the new tool coordinate system;
F. d, reconstructing a new tool coordinate system, wherein the origin of the new tool coordinate system is the origin of the transition tool coordinate system plus the deviation calculated in the step E, the new tool coordinate system is consistent with the direction of the flange tool coordinate system of the mechanical arm, and the mechanical arm is guided to be positioned according to the new tool coordinate system; wherein the orientation of the robotic flange tool coordinate system is known;
G. and D, when the next guiding positioning is carried out, taking the new tool coordinate system in the step F as a transition tool coordinate system, and entering the step C.
Hand-eye calibration device based on reconstructed coordinate system includes:
a feature point determination module: the method comprises the steps of determining a clear characteristic point on the surface of a shot workpiece;
a transition tool coordinate system determination module: the method is used for establishing a transition tool coordinate system through a TCP calibration method of the mechanical arm, enabling the origin of the transition tool coordinate system to coincide with the characteristic point as much as possible, and establishing a workpiece coordinate system according to the transition tool coordinate system, wherein the direction of the workpiece coordinate system is consistent with the direction of a Base coordinate system of the mechanical arm;
a conversion relation determination module: the system comprises a control system, a transition tool coordinate system, a camera, a coordinate system and a coordinate system of a marker, wherein the control system is used for controlling the mechanical arm to move nine positions on a plane of a workpiece coordinate system z which is equal to 0 by using the transition tool coordinate system, controlling the camera arranged on the mechanical arm to respectively collect images containing characteristic points at the nine positions, respectively extracting the coordinates of the characteristic points on each image, and calculating the conversion relation between the image coordinate system and the workpiece coordinate system through the coordinates of each position and the coordinates of each marker characteristic point;
a deviation amount determination module: the system comprises a camera, a first angle and a second angle, a first rotating image and a second rotating image are respectively shot by the camera at the first angle and the second angle, a characteristic point coordinate A on the first rotating image and a characteristic point coordinate B on the second rotating image are respectively calculated, and the coordinate of a midpoint C between the coordinate A and the coordinate B is calculated, wherein the first angle and the second angle are respectively used for controlling the mechanical arm to rotate around a plane (0,0) with the workpiece coordinate system z being 0 and have the difference value of 180 degrees; according to the conversion relation, calculating the coordinate (D) of the midpoint C in the workpiece coordinate systemx,Dy) Rotating the workpiece coordinate system to be consistent with the direction of the transition tool coordinate system, and calculating the deviation between the C point and the origin of the transition tool coordinate system
Figure BDA0003011779230000091
Figure BDA0003011779230000092
Wherein, thetaxFor the Base coordinate x-axis Euler angle of the mechanical arm thetayIs the Base coordinate y-axis Euler angle of the mechanical arm thetazA Z-axis Euler angle is taken as a Base coordinate of the mechanical arm;
new tool coordinate system determination module: the tool coordinate system is used for reconstructing a new tool coordinate system, the original point of the new tool coordinate system is the original point of the transition tool coordinate system plus the deviation amount calculated in the step E, the new tool coordinate system is enabled to be consistent with the direction of the flange tool coordinate system of the mechanical arm, and the mechanical arm is guided to be positioned according to the new tool coordinate system;
a positioning update module: and the system is used for taking the new tool coordinate system used at the next guiding and positioning as a transition tool coordinate system, reestablishing a new tool coordinate system through the conversion relation determining module, the deviation amount determining module and the new tool coordinate system determining module, and guiding the positioning of the mechanical arm by using the new tool coordinate system.
The above description is only a preferred embodiment of the present invention, and therefore should not be taken as limiting the scope of the invention, which is defined by the appended claims and their equivalents and modifications within the scope of the description.

Claims (9)

1. A hand-eye calibration method based on a reconstructed coordinate system is characterized by comprising the following steps: the method comprises the following steps:
A. determining a clear characteristic point on the surface of the shot workpiece;
B. establishing a transition tool coordinate system by a TCP calibration method of the mechanical arm, enabling the origin of the transition tool coordinate system to be basically superposed with the characteristic point, and establishing a workpiece coordinate system according to the transition tool coordinate system, wherein the direction of the workpiece coordinate system is consistent with the direction of a Base coordinate system of the mechanical arm;
C. controlling the mechanical arm to move nine positions on a plane with a workpiece coordinate system z being 0 by using a transition tool coordinate system, controlling a camera arranged on the mechanical arm to collect images containing characteristic points at the nine positions respectively, extracting the coordinates of the characteristic points on each image respectively, and calculating the conversion relation between the image coordinate system and the workpiece coordinate system through the coordinates of each position and the coordinates of each marker characteristic point;
D. controlling the mechanical arm to rotate around a first angle and a second angle with a difference value of 180 degrees respectively around (0,0) of a plane of a workpiece coordinate system z, controlling the camera to shoot a first rotation image and a second rotation image at the first angle and the second angle respectively, calculating a feature point coordinate A on the first rotation image and a feature point coordinate B on the second rotation image respectively, and calculating a coordinate of a midpoint C between the coordinate A and the coordinate B;
E. according to the conversion relation, calculating the coordinate (D) of the midpoint C in the workpiece coordinate systemx,Dy) Rotating the workpiece coordinate system to be consistent with the direction of the transition tool coordinate system, and calculating the deviation between the C point and the origin of the transition tool coordinate system
Figure FDA0003011779220000011
Figure FDA0003011779220000012
Wherein, thetaxFor the Base coordinate x-axis Euler angle of the mechanical arm thetayIs the Base coordinate y-axis Euler angle of the mechanical arm thetazA Z-axis Euler angle is taken as a Base coordinate of the mechanical arm;
F. d, reconstructing a new tool coordinate system, wherein the origin of the new tool coordinate system is the origin of the transition tool coordinate system plus the deviation calculated in the step E, the new tool coordinate system is consistent with the direction of the flange tool coordinate system of the mechanical arm, and the mechanical arm is guided to be positioned according to the new tool coordinate system;
G. and D, when the next guiding positioning is carried out, taking the new tool coordinate system in the step F as a transition tool coordinate system, and entering the step C.
2. The hand-eye calibration method based on the reconstructed coordinate system as claimed in claim 1, wherein: in the step C, the x and y coordinates of the nine positions are respectively: (-a, -a), (-a, 0), (-a, a), (0, -a), (0,0), (0, a), (a, -a), (a, 0), (a, a), wherein the value of a is related to the marker size and the camera field of view.
3. The hand-eye calibration method based on the reconstructed coordinate system as claimed in claim 1, wherein: in the step A, the characteristic points are circle centers or cross intersection points.
4. The hand-eye calibration method based on the reconstructed coordinate system as claimed in claim 1, wherein: in the step A, a marker is pasted on the surface of the shot workpiece, a circular pattern or a cross line is printed on the marker, and the characteristic point is the center of the circle of the circular pattern or the intersection point of the cross line.
5. A hand-eye calibration method based on a reconstructed coordinate system according to claim 1, 2, 3 or 4, wherein: in the step D, the first angle is clockwise rotation of 90 degrees, and the second angle is clockwise rotation of 270 degrees.
6. A hand-eye calibration method based on a reconstructed coordinate system according to claim 1, 2, 3 or 4, wherein: in the step C, the conversion relation [ R M ] is calculated by the following formula:
Figure FDA0003011779220000021
wherein, (x, y) is xy coordinates of each position on a workpiece coordinate system, (u, v) is row-column coordinates of an image coordinate system of each marker feature point, R is a rotation matrix, and M is a translation matrix.
7. A hand-eye calibration method based on a reconstructed coordinate system according to claim 1, 2, 3 or 4, wherein: and in the step B, a transition tool coordinate system is established by a TCP calibration four-point method of the mechanical arm.
8. The hand-eye calibration method based on the reconstructed coordinate system as claimed in claim 2, wherein: the camera field of view is 80mm, the marker size is 20mm, and the value of a is 20 mm.
9. A hand-eye calibration device based on a reconstructed coordinate system is characterized in that: the method comprises the following steps:
a feature point determination module: the method comprises the steps of determining a clear characteristic point on the surface of a shot workpiece;
a transition tool coordinate system determination module: the method is used for establishing a transition tool coordinate system through a TCP calibration method of the mechanical arm, enabling the origin of the transition tool coordinate system to coincide with the characteristic point as much as possible, and establishing a workpiece coordinate system according to the transition tool coordinate system, wherein the direction of the workpiece coordinate system is consistent with the direction of a Base coordinate system of the mechanical arm;
a conversion relation determination module: the system comprises a control system, a transition tool coordinate system, a camera, a coordinate system and a coordinate system of a marker, wherein the control system is used for controlling the mechanical arm to move nine positions on a plane of a workpiece coordinate system z which is equal to 0 by using the transition tool coordinate system, controlling the camera arranged on the mechanical arm to respectively collect images containing characteristic points at the nine positions, respectively extracting the coordinates of the characteristic points on each image, and calculating the conversion relation between the image coordinate system and the workpiece coordinate system through the coordinates of each position and the coordinates of each marker characteristic point;
a deviation amount determination module: the system comprises a camera, a first angle and a second angle, a first rotating image and a second rotating image are respectively shot by the camera at the first angle and the second angle, a characteristic point coordinate A on the first rotating image and a characteristic point coordinate B on the second rotating image are respectively calculated, and the coordinate of a midpoint C between the coordinate A and the coordinate B is calculated, wherein the first angle and the second angle are respectively used for controlling the mechanical arm to rotate around a plane (0,0) with the workpiece coordinate system z being 0 and have the difference value of 180 degrees; according to the conversion relation, calculating the coordinate (D) of the midpoint C in the workpiece coordinate systemx,Dy) Rotating the workpiece coordinate system to be consistent with the direction of the transition tool coordinate system, and calculating the deviation between the C point and the origin of the transition tool coordinate system
Figure FDA0003011779220000041
Figure FDA0003011779220000042
Wherein, thetaxFor the Base coordinate x-axis Euler angle of the mechanical arm thetayIs the Base coordinate y-axis Euler angle of the mechanical arm thetazA Z-axis Euler angle is taken as a Base coordinate of the mechanical arm;
new tool coordinate system determination module: the tool coordinate system is used for reconstructing a new tool coordinate system, the original point of the new tool coordinate system is the original point of the transition tool coordinate system plus the deviation amount calculated in the step E, the new tool coordinate system is enabled to be consistent with the direction of the flange tool coordinate system of the mechanical arm, and the mechanical arm is guided to be positioned according to the new tool coordinate system;
a positioning update module: and the system is used for taking the new tool coordinate system used at the next guiding and positioning as a transition tool coordinate system, reestablishing a new tool coordinate system through the conversion relation determining module, the deviation amount determining module and the new tool coordinate system determining module, and guiding the positioning of the mechanical arm by using the new tool coordinate system.
CN202110378420.3A 2021-04-08 2021-04-08 Hand-eye calibration method and device based on reconstruction coordinate system Active CN113160326B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110378420.3A CN113160326B (en) 2021-04-08 2021-04-08 Hand-eye calibration method and device based on reconstruction coordinate system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110378420.3A CN113160326B (en) 2021-04-08 2021-04-08 Hand-eye calibration method and device based on reconstruction coordinate system

Publications (2)

Publication Number Publication Date
CN113160326A true CN113160326A (en) 2021-07-23
CN113160326B CN113160326B (en) 2024-07-09

Family

ID=76889127

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110378420.3A Active CN113160326B (en) 2021-04-08 2021-04-08 Hand-eye calibration method and device based on reconstruction coordinate system

Country Status (1)

Country Link
CN (1) CN113160326B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114012731A (en) * 2021-11-23 2022-02-08 深圳市如本科技有限公司 Hand-eye calibration method and device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106426172A (en) * 2016-10-27 2017-02-22 深圳元启智能技术有限公司 Calibration method and system for industrial robot tool coordinate system
CN109129445A (en) * 2018-09-29 2019-01-04 先临三维科技股份有限公司 Hand and eye calibrating method, scaling board, device, equipment and the storage medium of mechanical arm
US20190204084A1 (en) * 2017-09-29 2019-07-04 Goertek Inc. Binocular vision localization method, device and system
US20200198145A1 (en) * 2018-12-19 2020-06-25 Industrial Technology Research Institute Method and apparatus of non-contact tool center point calibration for a mechanical arm, and a mechanical arm system with said calibration function
CN112223285A (en) * 2020-09-30 2021-01-15 南京航空航天大学 Robot hand-eye calibration method based on combined measurement

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106426172A (en) * 2016-10-27 2017-02-22 深圳元启智能技术有限公司 Calibration method and system for industrial robot tool coordinate system
US20190204084A1 (en) * 2017-09-29 2019-07-04 Goertek Inc. Binocular vision localization method, device and system
CN109129445A (en) * 2018-09-29 2019-01-04 先临三维科技股份有限公司 Hand and eye calibrating method, scaling board, device, equipment and the storage medium of mechanical arm
US20200198145A1 (en) * 2018-12-19 2020-06-25 Industrial Technology Research Institute Method and apparatus of non-contact tool center point calibration for a mechanical arm, and a mechanical arm system with said calibration function
CN112223285A (en) * 2020-09-30 2021-01-15 南京航空航天大学 Robot hand-eye calibration method based on combined measurement

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李瑞峰等: "基于双目视觉的双臂作业型服务机器人的研制", 《机械设计与制造》, 8 April 2010 (2010-04-08) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114012731A (en) * 2021-11-23 2022-02-08 深圳市如本科技有限公司 Hand-eye calibration method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN113160326B (en) 2024-07-09

Similar Documents

Publication Publication Date Title
CN111331592B (en) Mechanical arm tool center point correcting device and method and mechanical arm system
JP4191080B2 (en) Measuring device
EP3221095B1 (en) Robot and robot system
JP4021413B2 (en) Measuring device
CN110148187B (en) High-precision Hand-Eye calibration method and system for SCARA manipulator Eye-in-Hand
CN109781164B (en) Static calibration method of line laser sensor
CN107560538A (en) The scaling method of six-DOF robot tool coordinates system based on laser tracker
CN113379849A (en) Robot autonomous recognition intelligent grabbing method and system based on depth camera
CN112958960B (en) Robot hand-eye calibration device based on optical target
US7957834B2 (en) Method for calculating rotation center point and axis of rotation, method for generating program, method for moving manipulator and positioning device, and robotic system
EP3602214B1 (en) Method and apparatus for estimating system error of commissioning tool of industrial robot
CN117381788A (en) High-precision positioning and intelligent operation guiding method for composite robot
CN113160326A (en) Hand-eye calibration method and device based on reconstructed coordinate system
CN115179323A (en) Machine end pose measuring device based on telecentric vision constraint and precision improving method
CN113781558B (en) Robot vision locating method with decoupling gesture and position
CN112762822B (en) Mechanical arm calibration method and system based on laser tracker
CN111275662B (en) Workpiece positioning method, device, equipment and storage medium based on two-dimension code
CN110861076A (en) Hand eye calibration device of mechanical arm
CN111768383A (en) Three-dimensional target and method for recovering working function of visual sensor by using same
CN111571596A (en) Method and system for correcting errors of metallurgical plug-in assembly operation robot by using vision
JP2678002B2 (en) Coordinate system calibration method for a robot with vision
CN111006706A (en) Rotating shaft calibration method based on line laser vision sensor
JP2021024053A (en) Correction method of visual guidance robot arm
CN114227539A (en) Calibration tool and calibration method for robot of automobile hub deburring workstation
JP6507792B2 (en) Robot and robot system

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
CB02 Change of applicant information
CB02 Change of applicant information

Country or region after: China

Address after: 362000 Building 9, software park, Fengze District, Quanzhou City, Fujian Province

Applicant after: Fujian (Quanzhou) Advanced Manufacturing Technology Research Institute

Address before: 362000 Building 9, software park, Fengze District, Quanzhou City, Fujian Province

Applicant before: FUJIAN (QUANZHOU) HIT Research Institute OF ENGINEERING AND TECHNOLOGY

Country or region before: China

GR01 Patent grant