Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 11 of 42

Bulletin 5370 CVIM Configurable Vision Input Module User Manual: 5 - Camera and Lighting Parameters, pages 107 to 116

Pages 107 to 116 of 390, from Bulletin 5370 CVIM Configurable Vision Input Module User Manual

The original document is the PDF (26 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Allen-Bradley 5370-CVIM

Page 107

Chapter

5

Camera and Lighting Parameters 5-4 1

Selecting Grid Calibration Functions and Parameters

Using

Pick & Place Function

(continued)

(continued)

Your Action

Comments

Pick the handle. Drag the right side until it is just inside thegrid.

Note that the left side remains anchored.

Right Side (Original position) I

Right Side (New position) I

Cal i bration Grid

“Lock” the window’s right side in position. Aim th.e light pen at the bottom handle.

Pick the handle.

Continue when the highlight square appears.

Page 108

Chapter

5

Camera and Lighting Parameters

5-42

Selecting

Grid Calibration

Functions and Parameters

Using Pick & Place Function

(continued)

(continued)

Comments

Your Action Drag the bottom side until it is just inside the grid.

Note that the top side remains anchored.

Bottom Side (Original position) ---I Bottom Side (New position)

f.

I

Lock the win.dow’s bottom side in position. At this point, you have adjusted the window’s and size so that it is just inside the calibration position grid.

The X and Y axes should look like this:

Note that all of the edges along the X and Y axes will be inside the calibration grid.

Page 109

Chapter

5

Camera and lighting

Parameters 5-43

Selecting Grid Calibration Functions and Parameters

Using Pick & Place Function (continued)

(con timed)

Comments

Your Action If necessary, use the vernier arrows to “fine-tune” the position or size of the window.

You can position the calibration window and its sides more precisely by using the vernier arrows. These arrows enable you to move the window or window sides in small increments. You can access the vernier arrows while either picking a window handle or placing the window or one of its sides.

Press and -hold the light pen tip against the window handle, window, or side.

Hold the light pen tip in for about one second. The vernier arrows will then appear in the lower-right corner of the monitor screen:

VERNIER

ARROWS

This:

or this:

or this:

Move left or right side left or right

Move window up, down, left or right

Move top or bottom side up or down

Pick an arrow once to move the window or’ window side one pixel in the arrow’s direction.

The up, down, right, or left arrow will move the entire window or window side one pixel in the direction indicated by the arrow.

Pick ana! hold an arrow to change thxndow size or position continuously.

When you pick and hold an arrow, the window’s size or position will change slowly for the first five or six increments. It will then change at a more rapid rate.

Pick the “return” symbol to release the vernier arrows.

When the window’s size and/or position are correct, pick the “return” symbol (~1) to release the vernier arrows and return to the pick-and-place mode.

Page 110

Chapter

5

Camera and Lighting Parameters

5-44 -

Selecting Grid Calibration Functions and Parameters (con tinoed)

Defining Edges Select the Define Edges menu box, then adjust the threshold/scale adjustment cursors until an X appears on each side of each black line and on each outer edge of the calibration grid along the X and Y axes. Comments

Your Action Pick the Define Edges menu box in the Calibration popup menu.

When you pick the Define Edges menu box, numerous X’s may appear along the axes, and a slide bar will appear at the right side of the screen, as follows:

Calibrati on Grid

Calibration -Window Left Curs07

4 .

T H R E 5 H 0 L D / S C A L E j II>:

Pick & Place

IGrid Dimensions

0.0

I Camera Type/Mode

0.0

Grid Calibration Menu

I -Popup

Slide Bar,

/ b Ref. Win

Gage

Window

Mist

Exit

-

‘.: a I :’

Page 111

Chapter

5

Camera and lighting

Parameters 5-45

-

Selecting Grid Calibration Functions and Parameters

Defining Edges (continued)

(continued)

Your Action Pick and move each cursor until the .X’s are as shown.

Comments Pick and move the cursors alternately until you see an X on both sides of each square along the X and Y axes, as shown in the preceeding figure and in the following magnified view of the center section of the calibration grid: X-Axis White

X-Axis Black

Y-Axis “i -&--Y-Axis /Black t

++

Y-Axis White c -

X-Axis

-

Calibration Grid

Using trial and observation, try to find the most stable cursor positions; that is, positions that do not alter the X’s when you move one cursor or the other up or down a small amount.

Page 112

Chapter

5

Camera and lighting

Parameters

5-46

Selecting Grid Calibration Functions and Parameters (continued)

Entering Calibration Grid Dimensions Select the Grid Dimensions popup menu, then enter the actual edge-to-edge dimensions of the white and black areas that the X and Y axes cross. NOTE:

Grid dimensions

Comments

Your Action Pick the Grid Dimensions menu. LIOXin the Grid Calibration popup menu.

are supplied with the grid.

When you pick the Grid Dimensions menu box, the Grid Dimensions popup menu will appear alongside the Grid Cali bration popup menu, as follows:

Grid Calibration Popup Menu

Y-White:

1.000 0.0

1X-Black:

0.500 0.0 1

Y-Black:

0.500 0.0 t

Grid Dimensions Popup Menu

-

Calibrate Focus Camera Camera Type/Mode l*o

Lighting/Resolution

0.0

Light Probe

0.0

Object Calibration

0.0

Env.

4p

:ta&j%:AAi:‘. Ref. Line

Camera Popup Menu

Ref. Win

Gage

Window

Mist

Exit

You will use the Grid Dimensions popup menu to enter the edge-to-edge dimensions of the white and black areas along each axis. The numbers appearing in the menu at this time are either the default values or are those that were entered previously. The Grid Dimensions popup menu has four boxes, which have the following meanings: - This box shows the current value, in “world” units, of the dimension across each ulhite area of the calibration grid along the X axis. l X-White

-This box shows the current value, in “world” units, of the dimension across each ulhite area of the calibration grid along the Y axis. l Y-White

-

Page 113

Chapter

Selecting Grid Calibration Functions and Parameters

5

Camera and Lighting Parameters

5-47

Entering Calibration Grid Dimensions (continued)

(con timed)

Comments

Your Action

- This box shows the current value, in “world” units, of the dimension across each black area of the calibration grid along the X axis.

l X-Black

- This box shows the current value, in “world” units, of the dimension across each black area of the calibration grid along the Y axis.

l Y-Black

Pick the X-White box in the Grid Diimensions menu.

When you pick the X-White box, the calculator pad appears alongside the Grid Dimensions popup menu, as follows:

Grid Cali bration Popuy Menu

1Y-White:

1.000 .*e

1X-Black:

0.500 0.0 1

0.0

Pick & Place

I

+

-

Calibrate

Calculator Pad -

Focus Camera Camera Type/Mode Lighting/Resolution me*

Light Probe a.0 de

Camera Popup Menu

Object Calibration

En”, ‘;fg&;$A Ref. Line

Ref. Win

Gage

Window

Mist

Exit

Pick each digit ofthe X-White dimension ofthe calibrationgrid.

Enter the actual dimension of the white area in the calibration grid along the X axis, as shown in the preceeding magnified view of the grid. As you pick each digit, it will appear in the calculator” display.”

Pick the Enter key.

When you pick the Enter key, the X-White dimension in the display will appear in the X-White dimension box.

Repeat the last two steps for the Y-White, X-Black, and Y-Black grid dimensions.

Enter each of the other three grid dimensions.

Page 114

Chapter

5

Camera and LightingParameters

5-48

Selecting Grid Calibration Functions and Parameters (continued)

Performing Calibrate function

Perform the Calibrate function to calibrate the image to the edges on the calibration grid. NOTE: Before performing this function, be certain that the image resolution parameter is correct for your application. You should have selected that parameter earlier in this chapter in the Selecting Resolution Popup Menu section.

Your Action Pick. the Calibrate menu box in the Cali bration popup menu.

Comments When you pick the Calibrate menu box, a series of small squares will appear in the upper-left corner of each grid square, as follows: Control

Points

-

These are called “control points,” and they indicate whether the CVIM system “found” grid square corners everywhere that it expected to find them. NOTE: Along each axis, the system will display control points according to the following conditions: l A control point in every square if the axis crosses fewer than eight grid squares. l A control point in every other square if the axis crosses more than eight grid squares. l A control point in every third square if the axis crosses more than sixteen grid squares.

Page 115

Chapter

5

Camera and Lighting Parameters 5-49

Selecting Grid Cali bration Functions and Parameters

Performing Calibrate

Function (continued)

(con timed)

Your Action

Comments If the system fails to find a grid square corner, it will stop displaying the control points, and the following message will appear in the message box: ERROR: A grid square was not found where one was expected.

If this occurs, check the grid carefully for defective squares. If the system finds all control points, the following message will appear in the message box: VERIFY CONTROL POINTS: Select ‘Verify Calibration’ if the control points are correct. Make any other selection to abort. Note that the Calibrate menu box has changed to Verify Calibration. If X’s are correctly positioned where the X and Y axes intersect the calibration object’s edges, continue. Pick the Verify Cali bration menu box in the Grid Cali bration menu.

When you pick the Verify Calibration menu box, the CVIM system performs the calibration calculation. At this point, the CVIM system is configured measurements in “world” units.

to perform

Page 116

-