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

The text of a manual · part 10 of 42

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

Pages 97 to 106 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 97

Chapter

5

Camera and Lighting Parameters

Using Pick & Place Function

Selecting Object Calibration Functions and Parameters

5-31

(continued)

(continued)

Comments

Your Action Drag the bottom side until it is just below the object.

Note that the top side remains anchored.

Calibration Object Cali bration Window’ Bottom Side ----b (Original position)

Bottom Side (New position) h -

Lock the window’s bottom side in position. At this point, you have adjusted the window’s position and size so that it just covers the calibration object. The X and Y axes should look like this:

Note that the X axis is now in a position to detect the left and right edges of the calibration object, and the Y axis is in a position to detect the top and bottom edges.

Page 98

Chapter

5

Camera and Lighting Parameters

5-32

Selecting Object Calibration Functions and Parameters

-

Using Pick & Place Function (continued)

(continued)

Comments

Your Action

If necessary, use the vernier arrows to “fine-tune” the position OF 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, OF 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 This:

ARROWS or this:

or this:

-j-,~,~,

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 arrou? 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 onepixel in the direction indicated by the arrow.

Pick and -7 hold an arrow to change the window size OF 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 (+J> to release the vernier arrows and return to the pick-and-place mode.

Page 99

Chapter

Selecting Object Calibration functions and Parameters (continued)

5

Camera and lighting

5-33

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

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

Parameters

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

Calibration Object -

I

4

Object Calibration Popup Menu _

T H R E S H 0 L D / S C A L

1 r Pick & Place Left ____+ Cursor

Calibrate t

World

Units

1; i. II> ea.

Focus Camera C r Camera Type/Mode me

ILighting/Resolution

0.0

Slide BarI

-popup

Camera Menu

5 b

1Grid Calibration

L

C

Env.

’ ” ’ ~&?$&+~~~~

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

1 Ref. Line

Ref. Win

Gage

Window

Mist

Exit

Pick and move the cursors alternately until you see X’s at the outer edges of the calibration object, as shown above. Using trial and observation, you should try to find the most stabEe 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. NOTE: Disregard any X’s on either axis that lie between the edges of the calibration object. The system will ignore them.

Page 100

Chapter

5-34

5

Camera and Lighting Parameters

Selecting Object Calibration Functions and Parameters (continued)

Performing Calibrate

Function

Perform the Calibrate function to calibrate the image to the edges on the calibration object. 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 Calibration popup menu.

Comments When you pick the Calibrate menu box, the following message appears in the message box. VERIFY EDGES: Select ‘Verify Calibration’ if the displayed edges correctly identify the target. 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 Cali bration popup menu.

When you pick the Verify Cali bration menu box, the CVIM system performs the calibration calculation.

Entering Calibration Object Dimensions Select the World Units popup menu, then enter the actual edge-to-edge dimensions for the calibration object along its X- and Y-axes. Your Action Pick the World Units menu box in the Calibration popup menu.

Comments When you pick the World Units menu box, a table will appear above the Calibration popup menu, as follows:

&.

:I

.. .

-j

86.8353

0.0

1

53.7104

00. 11

You will use this table to enter the X and Y dimensions of the calibration object. The numbers appearing in the table at this time are those that resulted when you performed the Calibrate function.

Page 101

Chapter

Selecting

Object

5

Camera and Lighting Parameters

Entering

Calibration

Calibration Object DifrWnsiOns

5-35

(continued)

Functions and Parameters (continued)

Comments

‘Your Action

The table has three lines of numbers, which have the following meanings: - This line shows the value, in pixels, of the calibration window’s measurements along the X and Y axes.

l Pixels

- This is the dimension line. You use it to enter the X- and Y-axis dimensions of the calibration object along its X and Y axes. At this time, the line shows the same pixel-based values that are in the Pixels line, above. l Inches

NOTE: The word Inches reflects the “units” selection that you made in Chapter 4, Operating Environment. This word could be Pixels or CM instead of Inches. - This line displays the number of pixels per unit along the X and Y axes after you enter the calibration object dimensions in the dimension line. The CVIM system calculates this value by dividing the pixel-based value in the Pixels line by the value that you entered in the dimension line. l Pixels/Inch

:.

When you pick this box, the calculator pad appears on the screen, as follows:

Pick the dimension box in the X-Axis column of the table.

r i ‘; j 1:;: ;:. p$& : ::. :.

Object Calibration Popup Menu

I

. Pick & Place

0.0

1 Define Edges Calibrate

:j; ; 86.8353

:;

Calculator Pad -

Focus Camera

Camera Type/Mode

I

Env.

i.Ca-r&&A “’ .,: j :.‘.

1: Ref. Line

Ref. Win

Gage

Window

Mist

Exit

Page 102

Chapter

5

Camera and Lighting Parameters

5-36 -

Selecting Object Calibration Functions and Parameters

Entering Calibration Object Dimensions (continued)

(continued)

Your Action Pick each digit of the X-axis dimension of the calibration object. Pick: the Enter key.

Comments As you pick each digit, it will appear in the calculator “display.” When you pick the Enter key, the X-axis dimension in the display will appear in the X-axis dimension box. At the same time, the CVIM system will calculate the pixels-per-unit ratio and display that in the box under the X-axis dimension box.

Pick the dimension box in the Y-Axis column - of the table. Pick each digit of the Y-axis dimension of the calz.bration object. Pick the Enter key.

Selecting Grid Calibration Functions and Parameters

As you pick each digit, it will appear in the calculator “display.” When you pick the Enter key, the Y-axis dimension in the display will appear in the Y-axis dimension box. At the same time, the CVIM system will calculate the pixels-per-unit ratio and display that in the box under the Y-axis dimension box.

Select the Grid Calibration popup menu, then select and configure the parameters and functions in that menu. To use the Grid Cali bration function, you will need to acquire an accurately crafted grid whose size and grid dimensions are suitable for your application. As a general guide, the grid should be of a size and shape that enables you to see eight to sixteen squares across the screen image area in which the gage measurements are to be performed. The grid itself should be placed at the same distance from the camera as the parts to be inspected. Grids can be purchased from scientific or optical equipment suppliers.

-

Page 103

Chapter

5

Camera and Lighting Parameters s-37

Selecting Grid Calibration Functions and Parameters (continued)

Comments

Your Action Pick the Grid Calibration menu box in the Camera popup menu.

When you pick the Grid Cali bration menu box, the Grid Cali bration popup menu appears above the Camera A (or B) popup menu, as follows: 0.0

Pick & Place

~-op.,

Menu

Grid Calibration

Calibrate

Focus Camera

Env.

-C&fni~r~X!; ..” ’

Ref. Line

Ref. Win

Gage

Window

Mist

Exit

In addition to the Grid Calibration popup menu, the calibration window, with X and Y axes centered in it, will appear on the screen, as follows:

,

Calibration Window

\

-

X and Y Axes

Page 104

Chapter

5

Camera and Lighting Parameters

5-38

Selecting Grid Calibration Functions and Parameters (continued)

Your Action

Comments The calibration window and its axes are the screen symbols for the Grid Calibration function. You will use them to measure a “calibration grid” of known vertical and horizontal dimensions.

Using the Focus Camera function, correctly position the caliliration grid in the screen image.

Before you continue, pick the Focus Camera menu box to generate a “live image” on the monitor screen. Position the calibration grid in the center of the screen so that it is aligned with the screen’s X and Y axes.

Using Pick & Place Function Select the Pick & Place function, then move the calibration window over the calibration grid and set the window to the appropriate size. Your Action Pick the Pick & Place menu bon in the Calibration popup menu.

Comments When you pick the Pick & Place menu box, five small squares, or “handles” will appear on the X and Y axes, as follows:

-

Handles

The light pen uses these handles to manipulate calibration window on the screen image. Aim the light pen at the center handle.

the

Move the light pen around slightly as you aim it at the center handle. At some position of the pen you will see a larger square surrounding the handle, as follows:

-

Hold the pen steady in this position - the appearance of t$el!lr-ger square means that the light pen is now properly

Page 105

Chapter

5

Camera and Lighting Parameters 5-39

Selecting Grid Calibration Functions and Parameters

Using Pick & Place Function

(continued)

(continued)

Your Action Press the light pen against the squares.

Comments Press the pen firmly against the squares on the screen, then release it. A small “X” will appear in the center of the window, and the handles will disappear, as follows:

Calibration -Window X

-

Calibrat :ion Grid

This indicates that you can now move, or “drag,” the window toward the calibration grid on the monitor screen.

Page 106

Chapter

5

Camera and lighting

Parameters

5-m

-

Selecting Grid Calibration Functions and Parameters

Using Pick & Place Function (continued)

(continued)

Your Action

Comments

Drag the calibration windolu over the calibration grid. _

.

-

Cali bration Window _-(Original position) X l . . . l . __............

.

.

Calibration Window (New position)

...t ,......:

..

.. l . . . .

I . .

Calibration Grid -

When you have dragged the window into position, press the light pen tip against the screen to “lock” the window at that position. Aim the lightpen at the rightmost handle.

-