警告

You are reading an old version of this documentation. If you want up-to-date information, please have a look at 5.0 .

Camera configuration wizard

This wizard guides you to finalize the vision system installation and to perform the vision calibration.

../../_images/camera_configuration_wizard.png

図 109 Camera configuration wizard

The camera configuration wizard consists of 8 steps.

Before starting this wizard, ensure the camera is correctly installed:

  • Camera is placed above the center of the Asycube plate.

  • Distance between the front face of the lens and the Asycube plate corresponds to your EYE+ kit working distance (see 表 7).

  • The camera EYE+ logo is oriented opposite to the Asycube connectors (図 20).

  • The lens cover is removed.

注釈

Refer to section Mounting the camera and the lens to get more information.

1. Before you start

You must remove the production plate from the Asycube and mount the vision calibration plate on it. Refer to section Mounting vision calibration plate to mount it properly. The vision calibration plate must be rigidly fixed to the Asycube.

Prepare a ruler (in meters or inches).

重要

Keep the same installation it would be in production state. For example if in production state something obstructs the view of the camera on the side of the Asycube (for example a hopper), you must leave this element as it will allow to define the region of interest in your installation during the camera configuration.

../../_images/camera_configuration_before_you_start.png

図 110 Before you start

2. Set lighting

The system informs you if an Asycube is connected and what is the color of its backlight.

You have to choose the available lighting you want to use when configuring the camera. You can turn on and off the backlight and frontlight, but you have to select at least one.

Tip

We advise you to provide all available lighting. This will also correspond to the lighting available when creating a recipe later. For the calibration, the system will automatically choose the most appropriate lighting.

../../_images/camera_configuration_set_lighting.png

図 111 Set lighting

3. Set aperture

Adjust the camera aperture to 5.6. This aperture is well adapted to the camera and lens provided in the EYE+ kit to achieve optimal contrast in the images. Then you can lock this aperture value using the top screw of the lens.

../../_images/camera_configuration_set_aperture.png

図 112 Set aperture

4. Center position

Check here if your vision system is properly mounted. If it is not, you will need to adjust your installation properly.

../../_images/camera_configuration_center_position1.png

図 113 Center position

Tip

If the calibration plate is not correctly visible (too dark), turn on the backlight.

Camera positioning

You must adjust the position of the camera until the center of the green cross is roughly in the center of the vision calibration plate. Once this is done, the camera can be rigidly fixed. Never move the camera after this.

../../_images/not_centered.png

図 114 Not well centered

../../_images/centered.png

図 115 Well centered

注釈

The camera configuration is robust enough so that the edges of the calibration plate can be partially hidden. On the long side, it is possible to hide one line of the checkerboard and on the short side, it is possible to hide 3 lines. This kind of situation occurs, for example, if you have a partially overlapping hopper on the plate.

However, if too many rows or columns are hidden, the system will throw the error: "not enough lines or column detected".

Image orientation

You must orient the image so that the connectors are on the left side (red rectangle in 図 116). Click on FLIP CAMERA if the connectors are on the wrong side.

警告

If the connectors are on the top or bottom, this means that the mounting of your camera is incorrectly oriented (shifted by 90°). The system will throw the error: "wrong orientation detected".

The EYE+ logo of the camera must be oriented opposite the Asycube connectors (図 20).

../../_images/camera_configuration_center_position2.png

図 116 Live view on the Asycube: the green cross must be centered on the central pattern of the vision calibration plate.

5. Adjust focus

Adjust the focus until the image is as sharp as possible. Then you can fix this focus value with the bottom screw of the lens.

警告

If you do not perform this step correctly, you may reduce the performance of image analysis.

Tip

If the calibration plate is not correctly visible (too dark), turn on the backlight.

../../_images/camera_configuration_adjust_focus.png

図 117 Adjust focus

6. Measure working distance

Measure the distance from the calibration plate to front face of the lens. This working distance is required in order to correct the parallax effect on your parts. Enter this measurement value in the interface.

../../_images/camera_configuration_measure_working_distance.png

図 118 Measure the working distance

注釈

For more information about what parallax effect is and how it is corrected, refer to the section Parallax correction.

7. Perform vision calibration

../../_images/camera_configuration_perform_vision_calibration.png

図 119 Perform vision calibration

Make sure that the field of view of the plate is clear and then click START VISION CALIBRATION.

This step starts the vision calibration. It will take into account the parameters previously input. Vision calibration applies corrections to the image using the checkerboard printed on the vision calibration plate. The vision calibration performs:

  • Distortion correction

  • RMS error of the distortion correction calculation

  • Region of interest (ROI) definition

  • Pixel-millimeter or pixel-inch scale calculation

  • Parallax correction

注釈

Refer to section What performs vision calibration? to have more information about the vision corrections.

8. Camera configuration results

On the camera configuration results, you can see one image before and one image after vision calibration (図 120).

../../_images/camera_configuration_result.png

図 120 Camera configuration result

注釈

The before/after image presented might be very similar as the lenses we have selected for the vision kit have a very little fish-eye effect.

The green rectangle on the right image represents the region of interest.

The RMS error and the pixel-millimeter or pixel-inch scale are displayed here.

警告

If the RMS error is greater than 1, the correction is not applicable.

If you are satisfied with the results, you can click on the FINISH AND SAVE CAMERA CONFIGURATION to save and close the wizard.