The text of a manual · part 41 of 42
Bulletin 5370 CVIM Configurable Vision Input Module User Manual: C - Definition of Terms
Pages 375 to 382 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 375
Appendix
C Definition of Terms
Appendix Objective
The objective of this appendix is to define the terms used in this manual that have a special meaning for machine vision and/or the CVIM system.
Definition of Terms
Active Tool Set -The active tool set is the one that is currently displayed for configuration purposes. It is selectable by a menu box of the same name. Analysis Function -This function enables you to determine the processing time for the tools used in your application. Analysis Tool - An analysis tool is any one of the CVIM system’s tools, and includes the inspection tools (gages and windows), the reference tools (lines or windows) and the light probes. Binary Image -This is an area in the screen image in which all parts of the image are either black or white. For a gage operating in the binary gaging mode, it is the area immediately around the gage. For a window operating in a pixel-counting or object-counting mode, it is the entire area within the window’s boundaries. Brightness Compensation - Brightness compensation is the result of light probe operation. It minimizes changes in gray scale image data under varying lighting conditions. CVIM -This is the abbreviation for Configurable Vision Input Module. It is the vision processing module designed for the Allen-Bradley Pyramid Integrator chassis. Discrete I/O Lines -These are the 16 lines that carry electrical signals between the CVIM system and your production equipment. The two input lines carry “trigger” signals, which initiate inspection cycles. The 14 output lines carry the “pass/fail” inspection results and status, which the production equipment can use to process the workpiece being inspected. Drag -This is the name for moving the analysis tools around on the monitor screen. Before “dragging” a tool, you must first “pick” the tool. Edge - An edge is a transition along a gage’s length. Operating in the binary gaging mode, the gage looks for a transition from black to white, or vice versa. In the gray scale gaging mode, the gage looks for a transition from one shade of gray to another over a specified number of pixels.
Page 376
Appendix c
Definition of Terms c-2
Definition of Terms (continued)
Filter - The adjustable filter function removes unwanted visual “noise” from a binary image for gages operating in the binary gaging mode and windows operating in the pixel- or object-counting modes. Freeze Function -This funtion applies to the run mode. When the freeze function is enabled (and armed), the CVIM system will freeze the screen image when the appropriate condition occurs. In all cases, the CVIM system will continue its inspection operations. The last image -the one with the freeze-causing condition - will be “frozen” on the monitor screen. You can “arm” the system to freeze the screen image for one of three freeze conditions, as follows: l Freeze on First Reject - The screen image will freeze when a reject-causing condition occurs, such as a window pixel count being outside range limits. Since inspection operations will continue, other rejectcausing conditions could occur; however, they will not be displayed. Only the image from the first reject-causing condition will be displayed. It will remain on the screen until you pick the Resume menu box in the runmode menu. l Freeze on All Rejects - The screen image will freeze whenever a reject-causing condition occurs. Inspection operations will continue; however, the image from the most recent reject-causing condition will remain on the screen until you pick the Resume menu box in the runmode menu. l Freeze on Next Inspection - The screen image will freeze after the next inspection cycle, regardless of whether a reject-causing condition has occurred. When you pick the Resume menu box in the runmode menu, the screen image will freeze again after the next inspection cycle. This process will continue until you pick one of the other freeze condition menu boxes or the Go on Reject menu box. Gage - A gage is one of 32 one-dimensional inspection tools within each tool set. Each gage can be set to any length, position, or angular orientation within the screen image, and can perform a variety of measurement and counting inspection tasks. A gage performs its inspection functions by detecting edges or counting black or white pixels on a workpiece. Gaging Mode - The gaging mode is the means by which a gage detects edges. In the binary gaging mode, features on the workpiece change to either black or white. To detect an edge, the gage looks for a transition from black to white, or vice versa. In the gray scale gaging mode, features on the workpiece remain in gray scale form. To detect an edge, the gage looks for a transition from one shade of gray to another shade of gray over a specified number of pixels.
-
Page 377
Appendix c
Definition of Terms c-3
-
Definition of Terms (continued)
Gray Scale Image - This is the “digitized” screen image in its original form, in which each pixel has a brightness value ranging from 0 (zero) for the darkest to 63 for the lightest. Grid Calibration -This function, which applies only to linear and circular gaging operations, compensates for the X/Y aspect ratio and optical distortions. It uses mulitple reference points, derived from a special grid pattern, as the basis of the compensation calculation. At the same time, it calibrates gage measurements so that the “results” values of the gage operation appear in the specified “world” units; that is, inches, centimeters, or pixels. Halt Function -This function applies to the run mode. When the halt function is enabled (and armed), the CVIM system will halt all inspection operations when a rejectcausing condition occurs, such as a gage measurement being outside the range limits. The last image -the one with the reject-causing condition - will be “frozen” on the monitor screen and all processing will stop. You can resume CVIM inspection operations by picking the Resume menu box in the runmode menu.
-
Host-The host is the system that you designate to have primary control of the CVIM system’s operations. The host system can be an externally connected PLC (programmable logic controller) or computer, or an Allen-Bradley Pyramid Integrator controller or computer residing in the same chassis with the CVIM module. Image Resolution -This parameter determines the image resolution, in pixels, for three ranges: 256 horizontal pixels by 256 vertical pixels. 512 horizontal pixels by 256 vertical pixels, and 512 horizontal pixels by 512 vertical pixels. The finer the resolution, the greater the time required to process the image. You should always set the image resolution first before configuring the reference and inspection tools. Inspection Tool -An inspection tool is one of 32 gages and 24 windows within each tool set. These are the main tools that the CVIM system uses to measure, count, or otherwise evaluate a workpiece. The “results” values of these tools following an inspection operation are used to determine whether the workpiece passed or failed the inspection. I/O Page -This is a display “page” that you can activate during the run mode. The I/O page shows, in summary form, the “pass/warning/fail” status of all enabled analysis tools. In addition, the I/O page shows the “on/off’ status of all discrete output lines that have been assigned a “results” function, and to which one or more enabled tools are assigned.
Page 378
c-4
Definition of Terms
(continued)
Learn Function -This function, when activated, causes the currently selected tool to perform one inspection cycle and return the “results” data. The results data varies according to the tool’s assigned operation.
-
To activate the learn function, you must pick the Learn menu box associated with the specific analysis tool. The results data appear in the Learn menu box. Learn Mode - The learn mode, when enabled, causes the CVIM system to accumulate “results” statistics from the analysis tools when the system is in the run mode. Light Pen -The light pen is one of the two main elements of the user interface. Its tip contains a light sensor and switch. When you press the tip against a graphic symbol on the monitor screen -that is, when you “pick” the symbol - the sensor and switch send signals to the CVIM system. The action that follows depends on the symbol you picked. Light Probe -This is a small box-shaped analysis tool that measures the average luminance or brightness within a user-designated reference area within the screen image. It determines whether the brightness level from the lighting has changed, and, if so, compensates the gray scale image prior to tool processing. Mask -A mask is a special window function that removes or “masks” an unwanted portion of the image area within a window. This has the effect of reducing the visual clutter or “noise” within the window’s boundaries. Menu Box - This is the name for one of the small rectangular boxes appearing on the monitor screen. Each box has a name or abbreviation that represents a specific configuration parameter or function, or a runmode parameter or function. To select the parameter or function, you “pick” the menu box with the light pen. Noise -This is the term for unwanted pixels, or small clusters of pixels, along a gage operating in the binary gaging mode or a window operating in the pixel- or objectcounting mode. Noise consists of either white pixels on a black field or black pixels on a white field. Usually, you can remove all or most of the noise using the threshold and/or filter functions. 0 bject Calibration - This function, which applies to linear and circular gaging operations, compensates for the X/Y aspect ratio. It uses four reference points as the basis of the compensation calculation. At the same time, it calibrates gage measurements so that the “results” values of the gage operation appear in the specified “world” units; that is, inches, centimeters, or pixels.
_
Page 379
Appendix c
Definition of Terms c-5
Defini’tion of Terms (continued)
Output Line Function -This is one of the six types of signalling functions that you can assign to an output line.
Pick - This is the name for pressing the light pen tip against a graphic symbol on the monitor screen for the purpose of selecting that symbol. The action that follows depends on which symbol is picked. Pick and Place -This is the name for “picking” a tool, “dragging” the tool to a different location, and locking or “placing” the tool at its new location. Pixel-This is the term for one of the thousands of discrete picture elements that form the screen image. The term is derived from Picture + X + ELement. The CVIM module digitizes the analog signal from the camera; that is, it assigns a discrete value to each pixel ranging from 0 (zero) for the darkest to 63 for the lightest parts of the camera image.
Pixel Tolerance -This parameter applies to a window configured for template operation. The pixel tolerance is the amount by which the brightness value of each pixel in a workpiece image can vary from the brightness value of the corresponding pixel in the “template,” or stored image of the workpiece, and still be counted as acceptable. Thus, if a pixel’s brightness value varies within. the pixel tolerance range, the window accepts the pixel. If a pixel’s brightness value deviates outside the tolerance range, the window counts it as a “failed” pixel. As an example, if you set the pixel tolerance to 5, and the brightness value of a pixel in the stored image were 30, the brightness value of the corresponding pixel in a workpiece image would be acceptable if it were within the range from 25to35(30-5 = 25,and30 + 5 = 35). You can set the pixel tolerance to any number from 3 to 63. At one extreme, if the pixel tolerance were set to 3, the pixels in the workpiece image could vary only by zb3. At the other extreme, if the pixel tolerance were set to 63, any pixel in the workpiece image would be acceptable. Thus, the window would “accept” any image.
Popup Menu -When you pick a menu box during the configuration mode, one or more menus may “pop up” somewhere on the monitor screen. You can use these popup menus to perform functions and enter tool parameters. Range Limit - A range limit is a value that you specify as a maximum or minimum permissible value for the “results” data from an analysis tool following an inspection operation. Range limits are used to indicate whether a workpiece passed or failed an inspection.
Page 380
Appendix c
Definition of Terms
C-6
Definition of Terms (continued)
Reference Line - A reference line is one of three pairs of one-dimensional reference tools within each tool set. Each of the three pairs consists of an X-axis line and a Y-axis line, which can be used alone or together. The sole purpose of each reference line is to locate a specified point of interest on a workpiece and determine whether that point of interest has shifted from the position of the same edge on the original workpiece. If so, the reference line provides shift compensation to all associated inspection tools. Reference Tool - A reference tool (line or window) compensates for shift and/or rotation of the workpiece within the screen image. It detects the amount that a workpiece has shifted and/or rotated from the original workpiece position, and shifts and/or rotates the inspection tools by that amount. The result is that the tools maintain the same relative position over the shifted workpiece that they had over the original workpiece. Reference Window -A reference window is one of three sets of two-dimensional reference tools within each tool set. Each of the three sets consists of three search/feature window pairs. The sole purpose of each reference window is to locate one or more specified features on a workpiece and determine whether the feature(s) has shifted and/or rotated from the position of the same feature(s) on the original workpiece. If so, the reference window provides shift and/or rotation compensation to all associated inspection tools. Registration Function -This function enables you to automatically reposition all tools associated with reference tools whenver the workpiece location has changed in the screen image. This can save considerable time compared to repositioning all tools manually. Results Page -This is a display “page” that you can activate during the run mode. The results page shows the accumulation of faults for all analysis tools, and shows the current “results” value for each enabled inspection tool. The page also shows the number of triggers accepted and missed. Score and Set Score windows, as follows:
-These terms apply to reference is the “results” value that a feature window accumulates during an inspection operation as it looks for a specific workpiece feature within a search window.
l Score l Set score is a parameter that you set during system configuration. It determines the acceptable limit of the score “results” value, and thus determines the point beyond which the reference window is considered to have failed to “find” the workpiece feature.
-
Page 381
Appendix c
Definition of Terms c-7
-
Definition of Terms (continued)
Score and Set Score (continued) - For example, if you set the set score parameter to 25, and during an inspection operation a feature window finds a feature whose score is 20, the reference window operation is considered to be successfuE. As a consequence, the reference window can supply position compensation to its associated inspection tools, and the tools can perform their inspections. If, on the other hand, the lowest score that the feature window can find is 30, the reference window operation is considered unsuccessful. As a consequence, the reference window cannot supply position compensation to its associated inspection tools, and the tools cannot perform their inspections. If two or three feature/search window pairs in a reference window are “active,” a2Zmust “find” their respective features on the workpiece for the reference window operation to succeed. If any one fails, the whole reference window fails. Standard Mode -The standard mode, when enabled, inhibits the CVIM system from accumulating “results” statistics from the analysis tools when the system is in the run mode.
-
Statistics Pages -These are two separate display “pages” that you can activate during the run mode. The Stat 1 page shows the accumulated statistical data based on the number of trial inspections and the “results” values from the enabled inspection tools. The Stat 2 page shows the accumulated statistical data based on the number of inspections and the “results” values from the enabled reference windows. You can reset that data in the statistics pages by pressing he Reset Stat’s menu box in the runmode menu. Sub Pixel -This function enables a gage to locate an edge to better than one-pixel accuracy. The sub pixel function is available only for a gage operating in the gray scale gaging mode and performing linear gaging. Template -This is a stored image of a workpiece or part of a workpiece. When a window is configured for “template” operation, during an inspection operation the window compares the image of the current workpiece (the one being inspected) to the stored image. Test Pattern -The test pattern is a geometric array of grayscale shaded vertical bars and binary figures on the monitor screen. It appears after a successful system powerup and whenever you “pick” a menu box called Display Test Image.
Page 382
Appendix c
Definition of Terms
C-8 4
Definition of Terms (continued)
Threshold -This is an adjustable numerical reference that determines which parts of a gray scale image become either white or black. You can adjust the threshold according to the needs of the application. The threshold setting is used for gages operating in the binary gaging mode and windows operating in the pixel- or object-counting modes. You can adjust the amount of filtering according to the needs of the application. Tool Set - A tool set is a complete set of inspection tools (gages and windows) and reference tools (lines and windows). The CVIM system has two sets of tools, each of which can be separately triggered. In addition, each tool set can be associated with the same camera image or different camera images. Trigger Source -The trigger source is the point of origin of the signal that starts an inspection cycle when the CVIM system in is the run mode. The source can be either internal to the CVIM module, or external. The internal trigger recurs automatically at a fixed rate. The external trigger, whether directly from a presence-sensing switch or sensor, or indirectly from a host system, recurs as dictated by events at the switch or within the host system. Units or World Units -The units or “world” units parameter determines how the “results” values from linear or circular gaging operations are reported. These units can be specified as inches, centimeters, or pixels. This parameter is used in conjunction with the calibration functions. User Interface -The CVIM User Interface is the means by which you, the user, interact with the CVIM system for configuring and running the system. The main user interface tools are the light pen and the graphic figures on the video monitor screen. Window -A window is one of 24 two-dimensional inspection tools within each tool set. Each window can be set to any size or position within the screen image, and can perform a variety of measurement, counting, and feature-evaluation inspection tasks. A window performs its inspection functions by evaluating the pixels within its boundaries. Workpiece -This is the name for an item that the CVIM system is to inspect. During an inspection operation, the camera acquires an image of the workpiece. One or more inspection tools then measure, count, or evaluate the workpiece, or some part of it, and report the “results.” If the results data are within specified range limits, the workpiece passes the inspection; otherwise, it fails the inspection.
-