ELITE Calibration Program

This topic introduces the process of automatic hand-eye calibration when an ELITE robot communicates with Mech-Mind Vision System through Standard Interface.

Before proceeding, please make sure that:

  • The Standard Interface communication has been set up according to Set up Standard Interface Communication with Elite.

  • The Lua script is running in the background. Otherwise, the communication between the robot and the Software Suite cannot be established.

Preparation before Calibration

Make preparation before calibration according to the camera mounting method.

Pre-calibration Configuration

  1. Open Mech-Vision, and click the Camera Calibration button in the toolbar. The Configuration before Calibration window will be prompted.

  2. Confirm that the checks are performed, click I’ve finished all checks, and then click Next.

  3. In the Select how to calibrate window, select the New calibration radio button, and then click the Next button.

  4. In the Select calibration task window, select Hand-eye calibration for listed robot from the drop-down list box, click the Select robot model button to select the robot model used by the project, and then click the Next button.

  5. In the Select camera setup window, select the camera mounting method in this project, and then click the Next button.

  6. In the Calibration method and robot control window, select Automatic and Standard Interface, and then click the Calibrate button to go to the Calibration window.

Calibration Procedure

Conduct calibration according to the camera mounting method.

Precautions

  • When you proceed to the third calibration step (connecting the robot) and you click Start interface service button in the Connect the robot window, the button will change to Waiting for the robot to connect.... If the interface service is already started, you do not need to perform this operation.

  • When the button displays Waiting for the robot to connect..., perform the following steps on the robot side. Then, continue the calibration in the software.

1. Open Needed Variables

The tool center point (TCP) of the calibration point is stored in the variable V099, and the corresponding joint positions are stored in P099. Open variables V099 and P099 according to the steps below before calibration.

  1. On the teach pendant, press Monitor  Global variables  Var_V to check if the variable V099 is open. If the dot in the Status column is red, the variable is not opened.

    elite calib1

    Select a closed variable, and press Open in the lower left to open it.

    elite calib2
  2. Similarly, press Monitor  Global variables  Var_P and open variable P099. Press Quit to return to the home page.

    elite calib3

2. Teach Calibration Start Point

  1. On the home page, select the mm_calibration program, and press Open.

    elite calib4
  2. Move the robot to the start point for calibration.

  3. On the teach pendant, press Monitor  Global variables  Var_P, and select the variable to store the calibration start point (P004 is used in the following figure).

    elite calib5
    • If the variable is closed, press Open to store the calibration start point.

    • If the variable is opened, press Close first and then Open to store the calibration start point.

    elite calib6
  4. Select the second line in the mm_calibration program, and press Instructions  Move commands  MOVJ Joint interpolation.

    elite calib7
  5. Select the P variable that stores the calibration start point, and press Done. Press the yellow SERVO ON switch at the back of the teach pendant, and press OK in the lower left to confirm inserting the move instruction.

    elite calib8
    elite calib9
  6. If the MOVJ instruction is successfully inserted, you can see the following command in line 3 of the program.

    elite calib10

Select the type of move instructions (MOVJ or MOVL) according to the actual situation. If using MOVJ instruction, store the calibration start point in a P variable in the form of JPs; If using MOVL instruction, store the calibration start point in a* V variable* in the form of TCP.

3. Run Calibration Program

  1. Move the cursor to the first line of the program, and turn the key to PLAY.

  2. Press the yellow button in the lower right of the teach pendant to start the servo motors, and then press the green button to run the program automatically.

    elite calib11
  3. When, in the Configuration window in Mech-Vision, the current status changes to connected and the button Waiting for the robot to connect changes to Disconnect robot, click Next. Next, proceed to the fourth step of the calibration process (i.e. setting the movement path).

    start calilbration1
If the robot does not reach the next calibration point within 60 seconds, Mech-Vision will report a timeout error and stop the calibration process. In such cases, please select and run the calibration program on the teach pendant again, and restart the calibration process in Mech-Vision.

Change the Extrinsic Parameter File

If the camera’s extrinsic parameter file has been used by a Mech-Vision project, you need to change the extrinsic parameter file used by the Mech-Vision project to a new one after you finish the hand-eye calibration.

  1. Select the Capture Images from Camera Step.

    change calibration parameter group
  2. In the Step Parameters panel, click change calibration parameter group icon of the Calibration Parameter Group parameter, and select the newly calibrated extrinsic parameter file.

Calibration-Related Status Codes

During automatic calibration via Standard Interface communication, the vision system returns data together with the status code to the robot. Status codes, which are categorized into error codes and normal status codes, indicate the command execution status. Calibration related status codes are listed in the tables below.

Error codes

Error code Description

Calibration: Parameter error

Calibration: No calibration flange pose provided from Mech-Vision

Calibration: No calibration joint angles provided from Mech-Vision

Calibration: Robot failed to reach calibration point

Normal status codes

Normal status code Description

7100

Calibration: Robot moved to the calibration point successfully

7101

Calibration: Pose received from Mech-Vision successfully

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.