# US 2024/0009849 A1 · Hand-eye calibration method and hand-eye calibration device for robot arm

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0009849 A1
- Document ID: US20240009849A1
- Status: Published application
- Kind: A1
- Application number: 18/315,315
- Filed: 2023-05-10
- Published: 2024-01-11
- Earliest claimed: 2022-07-07
- Assignees: Pegatron Corporation
- Applicants: Pegatron Corporation
- Inventors: Ke-Jung Huang; Chao-Chien Lee; Jen-Hui Wang; Chun-Hsi Wu
- Web page: https://patentgrep.com/patent/US20240009849A1

## CPC

- B25J 9/1692: {Calibration of manipulator}
- B25J 9/1697: {Vision controlled systems}
- B25J 13/02: Hand grip control means {(handles or pedals for crane control B66C13/56; for measuring the force applied to control members G01L5/22; hand-held casings for switching devices, e.g. joy-sticks H01H9/0214)}
- G06T 7/70: Determining position or orientation of objects or cameras (camera calibration G06T7/80)
- G05B 2219/39011: Fixed camera detects deviation end effector from reference on workpiece, object
- B25J: MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES ({manipulators specially adapted for use in surgery A61B34/70; manipulators used in cleaning hollow articles B08B9/04}; manipulators associated with rolling mills B21B39/20; manipulators associated with forging machines B21J13/10; {manipulators associated with picking-up and placing mechanisms B23P19/007}; means for holding wheels or parts thereof B60B30/00; {vehicles with ground-engaging propulsion means, e.g. walking members B62D57/02, B62D57/032; devices for picking-up and depositing articles or materials between conveyors B65G47/90, B65G47/91; manipulators with gripping or holding means for transferring packages B65H67/065}; cranes B66C; {manipulators used in the protection or supervision of pipe-line installations F17D5/00; walking equipment adapted for nuclear steam-generators F22B37/006}; manipulators specially adapted for, or associated with, nuclear reactors G21C; {apparatus used for handling wafers during manufacture or treatment of semiconductor H10P72/50})
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)

## Abstract

A hand-eye calibration method and a hand-eye calibration device for a robot arm are provided. The method includes following steps. A first mapping relationship between a base of the robot arm and a terminal of the robot arm and a second mapping relationship between a camera and a target object are obtained. Based on a scale, a third mapping relationship between the terminal of the robot arm and a tool set mounted on the terminal and a fourth mapping relationship between the camera and the base in each dimension are updated to minimize an error between a position of the target object in an image captured by the camera and a position of the tool set. In response to the error being convergent and the scale being less than or equal to a scale threshold, the third mapping relationship and the fourth mapping relationship calibrated by the scale are output.

## Claims

### Claim 1

A hand-eye calibration method, adapted to a robot arm, comprising:
obtaining a first mapping relationship between a base of the robot arm and a terminal of the robot arm and a second mapping relationship between a camera and a target object;
sequentially updating a third mapping relationship between the terminal of the robot arm and a tool set mounted on the terminal and a fourth mapping relationship between the camera and the base in each dimension based on a scale, to minimize an error between a position of the target object in an image captured by the camera and a position of the tool set; and
in response to the error being convergent and the scale less than or equal to a scale threshold, outputting the third mapping relationship and the fourth mapping relationship calibrated by the scale.

### Claim 2 (depends on 1)

The hand-eye calibration method according to claim 1, further comprising:
in response to the error being convergent and the scale greater than the scale threshold, reducing the scale to update the third mapping relationship and the fourth mapping relationship.

### Claim 3 (depends on 1)

The hand-eye calibration method according to claim 1, wherein the step of sequentially updating the third mapping relationship and the fourth mapping relationship in each dimension based on the scale comprises:
obtaining a coordinate value corresponding to the third mapping relationship, and generating a plurality of offset coordinate values according to the scale and the coordinate value;
selecting a selected offset coordinate value corresponding to the error having a minimum value from the plurality of offset coordinate values according to the first mapping relationship and the second mapping relationship; and
updating the third mapping relationship according to the selected offset coordinate value.

### Claim 4 (depends on 1)

The hand-eye calibration method according to claim 1, wherein in response to the error being convergent and the scale less than or equal to the scale threshold, the step of outputting the third mapping relationship and the fourth mapping relationship calibrated by the scale comprises:
increasing the scale, and determining whether the error is increased by updating the third mapping relationship and the fourth mapping relationship according to the increased scale;
if yes, outputting the third mapping relationship and the fourth mapping relationship calibrated by the scale; and
if not, updating the third mapping relationship and the fourth mapping relationship according to the increased scaled, to minimize the error.

### Claim 5 (depends on 1)

The hand-eye calibration method according to claim 1, further comprising:
updating the third mapping relationship based on the scale to generate a first transformation matrix and updating the fourth mapping relationship based on the scale to generate a second transformation matrix;
calculating a first error between the third and fourth mapping relationships and the first and second transformation matrices;
updating the first transformation matrix based on the scale to generate a third transformation matrix and updating the second transformation matrix based on the scale to generate a fourth transformation matrix;
calculating a second error between the first and second transformation matrices and the third and fourth transformation matrices; and
in response to an absolute difference which is between the first error and the second error and less than or equal to a difference threshold, determining the error as being convergent.

### Claim 6 (depends on 1)

The hand-eye calibration method according to claim 1, wherein each dimension comprises an x-axis, a y-axis, a z-axis, an angle of torsion along the x-axis, an angle of torsion along the y-axis, and an angle of torsion along the z-axis.

### Claim 7 (depends on 1)

The hand-eye calibration method according to claim 1, wherein the first mapping relationship comprises a coordinate transformation relationship between the base and the terminal, the second mapping relationship comprises a coordinate transformation relationship between the camera and the target object, the third mapping relationship comprises a coordinate transformation relationship between the terminal and the tool set, and the fourth mapping relationship comprises a coordinate transformation relationship between the camera and the base.

### Claim 8

A hand-eye calibration device, adapted to a robot arm and comprising:
a transceiver; and
a processor, coupled to the transceiver and configured to:
obtain a first mapping relationship between a base of the robot arm and a terminal of the robot arm and a second mapping relationship between a camera and a target object through the transceiver;
sequentially update a third mapping relationship between the terminal of the robot arm and a tool set mounted on the terminal and a fourth mapping relationship between the camera and the base in each dimension based on a scale, to minimize an error between a position of the target object in an image captured by the camera and a position of the tool set; and
in response to the error being convergent and the scale less than or equal to a scale threshold, output the third mapping relationship and the fourth mapping relationship calibrated by the scale through the transceiver.

### Claim 9 (depends on 8)

The hand-eye calibration device according to claim 8, wherein the processor is further configured to:
in response to the error being convergent and the scale greater than the scale threshold, reduce the scale to update the third mapping relationship and the fourth mapping relationship.

### Claim 10 (depends on 8)

The hand-eye calibration device according to claim 8, wherein the processor is further configured to:
obtain a coordinate value corresponding to the third mapping relationship, and generating a plurality of offset coordinate values according to the scale and the coordinate value;
select a selected offset coordinate value corresponding to the error having a minimum value from the plurality of offset coordinate values according to the first mapping relationship and the second mapping relationship; and
update the third mapping relationship according to the selected offset coordinate value.

### Claim 11 (depends on 8)

The hand-eye calibration device according to claim 8, wherein the processor is further configured to:
increase the scale, and determining whether the error is increased by updating the third mapping relationship and the fourth mapping relationship according to the increased scale;
if yes, output the third mapping relationship and the fourth mapping relationship calibrated by the scale; and
if not, update the third mapping relationship and the fourth mapping relationship according to the increased scaled, so as to minimize the error.

### Claim 12 (depends on 8)

The hand-eye calibration device according to claim 8, wherein the processor is further configured to:
update the third mapping relationship based on the scale to generate a first transformation matrix and update the fourth mapping relationship based on the scale to generate a second transformation matrix;
calculate a first error between the third and fourth mapping relationships and the first and second transformation matrices;
update the first transformation matrix based on the scale to generate a third transformation matrix and update the second transformation matrix based on the scale to generate a fourth transformation matrix;
calculate a second error between the first and second transformation matrices and the third and fourth transformation matrices; and
in response to an absolute difference which is between the first error and the second error and less than or equal to a difference threshold, determine the error as being convergent.

### Claim 13 (depends on 8)

The hand-eye calibration device according to claim 8, wherein each dimension comprises an x-axis, a y-axis, a z-axis, an angle of torsion along the x-axis, an angle of torsion along the y-axis, and an angle of torsion along the z-axis.

### Claim 14 (depends on 8)

The hand-eye calibration device according to claim 8, wherein the first mapping relationship comprises a coordinate transformation relationship between the base and the terminal, the second mapping relationship comprises a coordinate transformation relationship between the camera and the target object, the third mapping relationship comprises a coordinate transformation relationship between the terminal and the tool set, and the fourth mapping relationship comprises a coordinate transformation relationship between the camera and the base.
