Quality Magazine
  Home
  Subscribe
  Subscribe to eNewsletter
  Online
  Industry Headlines
  Web Exclusives
  Blogs
  Quality Product Spotlights
  White Papers on the Web
  Quality Downloads
  Webinars
  Classifieds
  Industry Links
  Career Center
  E-Cards Plus
  Online Store
  More Product Info
  Archive
  Q-Tube
  Current Issue
  Coming Events
  Features
  Departments
  Columns
  Brain Teasers
  Products
  Quality Quick Clicks
  Special Sections
  NDT
  Vision & Sensors
  Aerospace
  How To Guide
  China Editions
  Quality Guides
  Quality Buyers Guide
  Software Selector
  Registrars Guide
  Services Guide
  Events
  2009 Quality Conferences
  Quality Expo Detroit
  IMTS 2008
  Quality Awards
  2009 Quality Plant of the Year
  2009 Quality Professional of the Year
  Quality Leadership 100
  Quality Info
Search in: EditorialProductsCompanies
Quality 101: Machine Vision Fundamentals
by David Dechow
July 31, 2008

ARTICLE TOOLS
EmailEmailPrintPrintReprintsReprintsshareShare

Smart cameras combine a computing platform with the imaging device in a single package. Source: Aptúra Machine Vision Solutions
When implemented correctly, machine vision is a versatile tool that can improve the manufacturing process.


Machine vision technology is used throughout the world for in-process, automated inspection. It is found in widely varying industries to perform tasks such as gaging, assembly verification, robot guidance, optical character recognition and validation, flaw detection and code reading.

Machine vision technology has changed significantly over the years and is constantly growing and improving. Nonetheless, certain fundamentals must be understood in order to achieve successful specification and implementation of any machine vision application.


Overview

A machine vision system is a group of components that can acquire an image on demand, and can be configured or programmed to perform extensive analysis of that image to extract useful data about the object being inspected. The image may be full color, but most applications work well with a gray-scale image, which may be processed more quickly and usually at higher resolution with respect to cost.

Machine vision systems interface with other automation components via discrete I/O signals, Ethernet, device net, serial and other communication schemes. For certain applications, a machine vision system can control the entire inspection process as a standalone operation without external communication. However, one true value of machine vision as a quality tool is its ability to collect and archive discrete and statistical data about a process, providing the quality engineer with information that can help improve a production process.

A common misconception surrounding machine vision is that it “takes a picture” of a good part and then compares subsequent part images to that picture. While this analysis technique is one capability of some systems, most machine vision image features are extracted by recognizing and processing individual geometric objects in an image. Some of the common algorithms that may be incorporated in an application include edge extraction, contrast measurement, blob analysis and pattern matching—although modern machine vision processors offer dozens of analysis and processing tools. These tools range from simple to complex, and are usually combined to form an inspection process suitable for the target application.

It is important to have a thorough understanding of how each tool works with an image and produces data in order to select the proper set of algorithms to achieve the desired inspection results. However, there is a much more critical aspect to machine vision implementation that impacts each and every application from specification to integration: imaging.


Image is Everything

The correct choice of components is crucial to the success of a machine vision application. Shown here is a camera and light source integrated into a single housing. Source: Aptúra Machine Vision Solutions
Proper imaging is the most critical aspect of any machine vision application. The camera’s ability to capture a correctly illuminated picture of the object to be inspected—with that object correctly presented at a fixed orientation with respect to the camera—is considered to account for at least 80% of the success and reliability of the inspection.

The goal of the machine vision lighting design is to highlight objects or features of interest relative to the part background or other features. For some applications, this requires a significant level of knowledge, skill and creativity in designing the proper lighting scheme. In many cases, unlike the human eye, the camera and associated light sources cannot conveniently move relative to the part to dynamically create the best image, or to overcome part-to-part variation. However, lighting and part position are only the starting point.


Image Size Matters

All machine vision cameras produce an image that is segmented into small units called pixels. These pixels are the determining factor in how small an object the system can process given a specific overall field of view (FOV). This limitation is a physical one, something that is shared by all cameras regardless of brand or manufacturer. Cameras are available with a varying number of pixels, sometimes referred to as the camera’s resolution. A generally accepted rule is that an object must have an area of at least 4 to 9 pixels for simple detection, and up to 60 to 70 pixels for recognition.

With that in mind, if a camera with 1,024 by 1,024 pixels is to view an area that is 10 inches square, the smallest realistically visible object is about 132 inch in height and width, and the smallest recognizable object would be about 332 inch in height and width. To detect or recognize smaller objects, either the FOV must be smaller or the resolution higher.


Machine Vision Components

Lights comprised of light-emitting diodes (LEDs) are the choice source in today’s machine vision systems. Source: Aptúra Machine Vision Solutions
During the past 30 years, the architecture of the machine vision system has been constantly changing as technology advances provide increasingly smaller and faster imaging and computing devices. The core of many of today’s machine vision systems consists of analog (RS170) or digital (Ethernet, firewire and CameraLink) cameras linked to an industrial computer platform.

Growing in popularity are machine vision components that combine a computing platform with the imaging device in a single package. Depending on the manufacturer, these are called smart cameras, machine vision sensors or intelligent cameras. Machine vision devices vary significantly in performance and capability.

There also are significant differences in the way each device is programmed or configured, and how the device displays images, data and results. Each application will have unique requirements that ultimately dictate the selection of specific components. It is important that those requirements drive the application’s technology specifications; attempting to apply components that are not well suited to the application will result in a failed implementation.

Machine vision imaging starts with lighting. Lights comprised of light-emitting diodes (LEDs) are the choice source in today’s machine vision systems, although fluorescent and other lighting components are used when appropriate. However, incandescent lighting, plant floor ambient lighting or sunlight should never be used for any machine vision application.

Lenses and other optical components are an important consideration for the application. The lens determines the FOV of the image, and a high-quality, high-resolution lens is mandatory to achieve the best image resolution and contrast.


Integration is Key

Integration is the part of the project in which everything must be made to work. Quite often, the integration of the inspection system into the automated process proves to be the biggest challenge of an application. Pitfalls may be avoided by diligently undertaking an application analysis and preparing a detailed specification of system expectations before any components are selected or work is performed. The result will be a more smoothly integrated, successful machine vision project.


David Dechow
ddechow@aptura.com
President and founder of Aptúra Machine Vision Solutions (Lansing, MI)


Did you enjoy this article? Click here to subscribe to the magazine.



















Most Emailed Articles

  1. The Importance of Scheduling Calibration
  2. A Recipe for Effective Leadership
  3. Spending Stands Strong
  4. Quality 101: Improving Quality Through Lean Concepts
  5. Forest City Gear Announces Capital Equipment Investment
  6. Jim’s Gems: The Real Value is in the Effort
  7. Other Dimensions: Cut Calibration Costs
  8. Northern Illinois University and Mitutoyo Unveil Campus Metrology Lab
  9. Understanding ISO 13485
  10. Quality 101: Surface Finish Measurement Basics
Top Searches
  1. Quality 101
  2. quality questions
  3. Quality+is+a+way+of+life
  4. six sigma
  5. control charts
  6. process capability
  7. 5 ways to verify your gages
  8. ISO 9001
  9. cmm
  10. TRUE POSITION + STATISTICS
Most Popular Articles
  1. Quality 101: Improving Quality Through Lean Concepts 11/21/2007
  2. Jim’s Gems: The Real Value is in the Effort 11/21/2008
  3. Quality 101: Surface Finish Measurement Basics 09/01/2004
  4. Quality Measurement: Effects of Screw-Thread Geometry 10/01/2005
  5. How To Conduct Effective Root Cause Analysis 03/01/2007
  6. Understanding ISO 13485 01/02/2008
  7. Dispelling the Myths of ISO 9001 06/27/2008
  8. Enhance First Article Inspection 07/16/2007
  9. ISO Publishes ISO 9001: 2008 11/17/2008
  10. A Recipe for Effective Leadership 11/24/2008
© 2008 BNP Media. All rights reserved. | Privacy Policy