DENSO Automatic Calibration

You are viewing an old version of the documentation. You can switch to the documentation of the latest version by clicking the top-right corner of the page.

This topic introduces the process of automatic calibration via Standard Interface communication between the DENSO robot and Mech-Mind Vision System.

Preparation before Calibration

Make preparation before calibration according to the camera mounting method. You may refer to the links below.

Pre-calibration Configuration

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

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

  3. 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.

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

  5. In the Calibration method and robot control window, select Automatic and Standard Interface, and then click the Next button.

  6. In the Communication mode window, keep the default value of Protocol. Click the Start interface service button in the Connect the robot area, and the message on this button will change to Waiting for the robot to connect....

    • The port number for the Host IP address parameter is 50000 by default. If the port number determined in the communication solution is not 50000, please change it as required.

    • After finishing the previous steps, do not close the Configuration before Calibration window.

    wait for robot connection

Select the Calibration Program

  1. Turn the key of the teach pendant to MAN (the manual mode).

    manual mode
  2. In the main interface of the teach pendant, select Program in the lower-left corner.

    program
  3. In the pop-up interface, select the MM_Auto_Calib.pcs program and then select Display.

    auto calib

Teach the Calibration Starting Point

  1. Select the line in which the P[99] position register is located. The line in which the P[99] position register is located is shown in the figure below. After selecting the line, the blinking cursor appears somewhere in the line (the cursor may blink at different locations in the line depending on the position where the selecting operation takes place). This indicates that the line is selected.

    get position 0
    • The P[99] position register stores the pose of the starting point.

    • The line that includes the word Calibration displayed in the figure below indicates a calibration command where the last parameter value represents the ID of the register that holds the pose data of the calibration starting point. You can change the value of the last parameter based on actual needs. The last parameter value in this calibration command is 98, which indicates that the pose data of the calibration starting point is stored in a register with an ID of 98. For details of other parameters in the calibration command, see the calibration command description.

    get position 1
  2. Manually move the robot to the calibrated starting position.

  3. Select Get Position.

    get position 2
  4. In the pop-up dialog box, Check to confirm that the value of the P[99] position register is to be modified, and then select OK.

    p99

Run the Calibration Program

  1. Turn the key of the teach pendant to AUTO (the automatic mode). Press the MOTOR key. The signal light of the MOTOR key will turn green, which indicates that the robot servo is powered on.

    motor
  2. In the program interface, select Start.

    start
  3. Select Single-cycle in the pop-up dialog box and click OK.

    start program
  4. When, in the Configuration before Calibration window in Mech-Vision, the current status changes to Connected and the button Waiting for the robot to connect…​ changes to Disconnect robot in the Connect the robot section, click Calibrate. The Calibration (Eye to hand) window will pop up.

    start calilbration1

    If the robot is connected successfully, the Console tab of Mech-Vision Log panel will display a log.

    start calilbration2

Calibration Procedure

Conduct calibration according to the camera mounting method. You may refer to the links below.

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 Camera Calibration Parameters 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.