Hand-Eye Re-Calibration

The hand-eye calibration establishes the transformation relationship between the camera and robot reference frames (that is camera extrinsic parameters). With this relationship, the object pose determined by the vision system can be transformed into that in the robot reference frame, which guides the robot in performing its tasks.

Camera extrinsic parameters

Extrinsic parameters describe the pose transformation between the robot reference frame and the camera reference frame. The calibration of extrinsic parameters is also called the hand-eye calibration, where the camera is considered as the eye, and the robot the hand. As the spatial relationship between the robot and the camera changes from application to application, the hand-eye calibration needs to be conducted on-site to guarantee its accuracy.

Camera intrinsic parameters

Intrinsic parameters are internal to a camera, including the focal length, the lens distortion, etc. These parameters are usually calibrated and stored in the camera before the camera leaves the factory.

When Is Hand-Eye Re-Calibration Needed?

During application deployment, hand-eye calibration has been completed, and the extrinsic parameters have been verified to meet the project’s accuracy requirements. However, hand-eye re-calibration is needed in the following scenarios:

  • When replacing equipment in the Vision System (such as a camera): The existing hand-eye relationship of the robot is no longer applicable, so hand-eye calibration needs to be redone.

  • When the robot’s working environment or layout changes: If changes in the environment affect the relative position between the camera and the robot, hand-eye calibration needs to be redone.

  • When the requirement for picking accuracy increases: If the original calibration results do not meet the on-site requirements, higher accuracy is needed.

  • When a collision or movement causes changes in the position of the robot or camera: Any physical changes that could affect the relative position between the camera and the robot require a re-calibration of the extrinsic parameters.

  • When issues with inaccurate picking arise and the extrinsic parameter errors increase: Degradation in extrinsic parameters may be caused by a decline in the accuracy of the camera’s intrinsic parameters or the robot’s accuracy. For information on how to assess extrinsic parameter errors, please refer to Methods for Analyzing Extrinsic Parameter Error.

  • For long-term application, to ensure system stability, it is necessary to periodically redo hand-eye calibration.

Methods for Analyzing Extrinsic Parameter Error

Analyze Extrinsic Parameter Error in ETH Setup

If the project has low requirements for picking accuracy (in the centimeter range), you can quickly determine if the extrinsic parameter errors are too large by “checking the overlap between the robot’s point cloud and the robot model in Scene Viewer”.

If the project requires high accuracy (within a few millimeters), you can evaluate the extrinsic parameters using the method “Analyze Extrinsic Parameter Error in ETH Setup”.

Roughly Check Coincidence Degree between the Point Cloud of the Robot and the Robot Model in Scene Viewer

You can check calibration results roughly by inspecting the coincidence degree between the point cloud of the robot and the robot model in Scene Viewer. The specific steps are as follows:

  1. Select a project in the project list, and then click the Camera Calibration (Standard) button in the menu bar. The Configuration before Calibration window will be prompted.

  2. In the Select how to calibrate window, select the Load calibration parameters radio button, select the parameters that were calibrated for the project, and then click the Next button.

  3. In the Select parameter usage window, select Continue working on the calibrated camera radio button, and then click the Next button.

    Camera status should be displayed as connected.
  4. In the Select calibration task window, select the Re-calculate extrinsic parameters radio button, keep the Load the calibration data checkbox selected, and then click the Calibrate button. The Calibration window will be prompted.

  5. After calibration, move the robot arms into the field of view of the camera.

  6. In the Calculate extrinsic parameters step, click the Calculate extrinsic parameters button. This operation will trigger the camera to capture images and generate the point clouds of the robot.

  7. Click Scene viewer to check the coincidence degree between the point cloud of the robot and the robot model.

    calibration reference coincidence degree

If there is a significant deviation between the robot’s point cloud and the robot model, it indicates that the extrinsic parameter errors are substantial and re-calibration is needed.

Use the “Analyze Extrinsic Parameter Error in Eth Setup” Tool to Evaluate Extrinsic Parameters

Before evaluating the extrinsic parameters, please make sure that the calibration board is securely mounted on the last joint of the robot. After mounting the calibration board, select the Toolbox  Error Analysis Tool in the menu bar, and then select Extrinsic parameter  Analyze extrinsic parameter error in ETH setup in the Error Analysis window.

The procedure for evaluating extrinsic parameters using the “Analyze extrinsic parameter error in ETH setup” tool is as follows:

  1. Build a new project for obtaining the calibration board poses. The project to be built is shown below:

    accuracy error analysis tool extrinsic parameters eth show project
  2. Synchronize the pose of the real robot and obtain the scene point cloud containing the calibration board point cloud.

    1. Select the “Path Planning” Step in the project, and click the Open the editor button on the Step Parameters panel to open the 3D simulation area.

    2. Synchronize the pose of the real robot with that of the simulated robot in the “Path Planning” Step, so that the poses of the simulated robot in the 3D simulation area and the real robot will be the same.

    3. Click the Simulate button to visualize the scene point cloud containing the calibration board. (Please ignore the error message after clicking Simulate.)

  3. Create virtual TCP on the calibration board.

    1. Add an end tool to the resources in the path planning tool.

    2. Check the visualization of the end tool in the 3D simulation area, and adjust the parameters to make the TCP coincide with a circle center on the calibration board (the pose axis should coincide with the cross in the circle and the XOY plane should be closely aligned with the calibration plane).

    3. Enter a name and click OK to finish creating the virtual TCP.

  4. Check extrinsic parameters at other positions in the workspace.

    1. Move the real robot using the teach pendant to other positions in the workspace.

    2. Synchronize the pose of the real robot with that of the simulated robot in the “Path Planning” Step, so that the poses of the simulated robot in the 3D simulation area and the real robot will be the same.

    3. Click the Simulate button to obtain the new scene point cloud containing the calibration board.

    4. Check if the virtual TCP added in the previous step coincides with the circle center on the calibration board.

If the deviation between the virtual TCP and the circle center of the calibration board is large, the extrinsic parameter error is large, and you need to re-calibrate the extrinsic parameters.

Analyze Extrinsic Parameter Error in EIH Setup

You can use the method “Analyze Extrinsic Parameter Error in EIH Setup” in the calibration tool to evaluate extrinsic parameter errors.

The detailed instructions are as follows:

  1. Select a project in the project list, and then click the Camera Calibration (Standard) button in the menu bar.

  2. In the Configuration before Calibration window, select the Load calibration parameters radio button, select the parameters that were calibrated for the project, and then click the Next button.

  3. In the Select parameter usage window, select Continue working on the calibrated camera radio button, and then click the Next button.

    Camera status should be displayed as connected.
  4. In the Select calibration task window, select the Re-calculate extrinsic parameters radio button, keep the Load the calibration data checkbox selected, and then click the Calibrate button. The Calibration window will be prompted.

  5. In the Calculate extrinsic parameters step, click Extrinsic parameter accuracy in the Supplementary tools area, and then select Analyze extrinsic parameter error in EIH setup in the pop-up Error Analysis window.

  6. Learn the instructions on evaluating the extrinsic parameter error in EIH setup, and then click the Next button.

  7. Click + to add multiple sets of calibration board poses.

    analyze eih extri errors
  8. Click the Analyze error button to view the result.

If the error value is large (greater than the project’s picking accuracy requirements), then re-calibration of the extrinsic parameters is needed.

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.