Quality Magazine logo
search
cart
facebook twitter linkedin youtube
  • Sign In
  • Create Account
  • Sign Out
  • My Account
Quality Magazine logo
  • NEWS
  • PRODUCTS
    • FEATURED PRODUCTS
    • SUBMIT YOUR PRODUCT
  • CHANNELS
    • AUTOMATION
    • MANAGEMENT
    • MEASUREMENT
    • NDT
    • QUALITY 101
    • SOFTWARE
    • TEST & INSPECTION
    • VISION & SENSORS
  • MARKETS
    • AEROSPACE
    • AUTOMOTIVE
    • ENERGY
    • GREEN MANUFACTURING
    • MEDICAL
  • MEDIA
    • A WORD ON QUALITY PUZZLE
    • EBOOK
    • PODCASTS
    • VIDEOS
    • WEBINARS
  • EVENTS
    • EVENT CALENDAR
    • IMTS
  • DIRECTORIES
    • BUYERS GUIDE >
      • Supplier Insights
    • NDT SOURCEBOOK
    • VISION & SENSORS
    • TAKE A TOUR
  • INFOCENTERS
    • Digital Quality Management Systems
    • NEXT GENERATION SPC & QUALITY ANALYTICS
  • AWARDS
    • ROOKIE OF THE YEAR
    • PLANT OF THE YEAR
    • PROFESSIONAL OF THE YEAR
  • MORE
    • Expert Columns
    • NEWSLETTERS
    • QUALITY STORE
    • INDUSTRY LINKS
    • SPONSOR INSIGHTS
  • EMAG
    • eMAGAZINE
    • ARCHIVES
    • CONTACT
    • ADVERTISE
  • SIGN UP!
Vision & Sensors

Turnkey Systems

Set Your Limits

Fine tune machine vision limits for optimal product Quality and yield

By Nelson Bridwell
July 2, 2014

To computers, all images are simply two dimensional arrays of numbers. To these arrays, machine vision systems apply specialized functions that produce numerical measurements as intermediate or final results. Some examples of vision functions include:

  • edge detectors
  • blob operators
  • pattern matching
  • character recognition
  • barcode readers
  • data matrix readers

Many vision functions produce measurement values such as part dimensions that must be validated against manufacturing specifications. Also, some vision functions produce a numerical score which indicates the strength or confidence with which a part, defect, or character was detected. Vision systems compare these dimensions and scores against fixed limit values so that the manufacturing system can automatically identify and reject bad parts.

TECH TIPS

Vision systems compare dimensions and scores against fixed limit values so that the manufacturing system can automatically identify and reject bad parts.

One of the important steps in the implementation of most machine vision systems is the setting of these limit values.

Although sometimes the exact values of these limits may not be critical, in other cases the fine tuning of these values can have a dramatic impact.

One of the important steps in the implementation of most machine vision systems is the setting of these limit values. Although sometimes the exact values of these limits may not be critical, in other cases the fine tuning of these values can have a dramatic impact on the quality, yield, and throughput of the manufacturing process. Fortunately, in these more challenging circumstances statistical process control concepts can be applied to identify the optimal limit values for the manufacturing process.

Normal Process Variation

It is astronomically unlikely that any two machine vision images will ever be exactly the same. Some of the sources of image variation include:

  • imager noise
  • minor lighting variations
  • minor surface finish and geometry variations between parts
  • minor variations in the exact position of parts

Because of these and other causes, the machine vision measurement values of a good part will never be exactly the same. This is called normal process variation. If a histogram of a vision measurement is plotted for a large number of good parts then in most cases the distribution will be in the form of a normal Gaussian “bell-shaped” curve. This distribution can be statistically characterized by just measuring a small number (~25) of representative good parts and calculating the mean value and standard deviation.

In statistical process control it is standard practice to calculate upper and lower limits that are three standard deviations (three sigma) above or below the mean value. For a normally distributed process, the probability of a good part measurement outside of this range is approximately one in 1,000. For more demanding applications, six sigma limits are sometimes applied, resulting in a probability of one in a million that a good part will be rejected (See Figure 1).

Bad parts, hopefully, will have a very different distribution. A major design objective of vision systems is to ensure that measurement values for bad parts fall outside of the distribution curve for good parts. If one vision measurement alone is not sufficient to reliably distinguish good parts from bad parts then it may be necessary for a vision system to look at several different types of measurement values and, plotting these in multi-dimensional space, identify the best division between clusters of good and bad parts.

Limiting Defects

When setting limit values for defective parts, the first steps are to:

  • collect measurement values from a representative collection of 25 or more good and bad parts
  • calculate the mean value and standard deviation for the good and bad parts

Using these statistics, you are in a position to determine the optimal limit values. Considerations to be taken into account are the cost of your customers receiving a bad part and the cost to your manufacturing process of a good part that is rejected.

For applications where this quality metric is critical to the customer (such as medical products) and the manufacturing cost of a reject is low, limit values can be calculated directly from the statistics for good parts. All parts not within n-sigma of the mean value of good parts will be rejected.

For applications where this quality metric is not very significant for the end customer and the manufacturing cost of a reject is very high, limit values can be calculated directly from statistics for bad parts. All parts within n-sigma for the mean value of bad parts will be rejected, assuming that all bad parts are clustered in one normal distribution.

In other cases, it may be optimal to calculate a limit value that is mid-way between the good and bad distributions, or situate the limit at the largest sigma value for both good and bad parts.

Where there is significant overlap between the good and bad distributions, it could be necessary to use one of the sigma limits from the bad part distribution to make sure that bad parts are not accepted, while using the good part sigma limit on the opposite side from the bad parts (see Figure 2).

Meeting Specifications

When measuring parts, normal variation for this measurement process results in a certain amount of measurement error. Where there are specification limits for the dimensions of a part, this measurement error should be taken into account when setting limits for the measured dimensions.

The measurement error of the vision system can be calculated by re-measuring several parts, many times each, and calculating the standard deviation for each part. The measurement error can be estimated as the average value of those standard deviations.

 The measurement error can then be multiplied by a sigma multiplier (3 sigma = 1 part in 1,000), and applied to either tighten up or loosen the dimensional specification limits, depending upon the consequence of a passed out-of-spec part and the cost of a rejected in-spec part (see Figure 3).  

KEYWORDS: barcode readers machine vision pattern matching

Share This Story

Looking for a reprint of this article?
From high-res PDFs to custom plaques, order your copy today!

Nelson Bridwell is a senior vision engineer at ATS Automation Inc. (Corvallis, OR). For more information, visit www.atsautomation.com.

Recommended Content

JOIN TODAY
to unlock your recommendations.

Already have an account? Sign In

  • 2024 Quality Rookie of the Year Justin Wise 1440x750px banner with "Quality Rookie of the Year" logo inset

    Meet the 2024 Quality Rookie of the Year: Justin Wise

    Justin Wise is an exceptional individual who has been...
    Aerospace
    By: Michelle Bangert
  • Man with umbrella and coat stands outside while it rains at night looking at a building.

    Nondestructive Testing: Is there an ethics problem?

    I was a whistleblower who exposed fraudulent activities...
    NDT
    By: Dale Norwood
  • Unraveling Deflategate: Football stadium with closeup of football on field

    Unraveling the Tom Brady Deflategate

    The Deflategate scandal erupted following the 2014 AFC...
    Measurement
    By: Greg Cenker and Henry Zumbrun
Manage My Account
  • eMagazine Subscriptions
  • Newsletters
  • Online Registration
  • Subscription Customer Service
  • Manage My Preferences

More Videos

Sponsored Content

Sponsored Content is a special paid section where industry companies provide high quality, objective, non-commercial content around topics of interest to the Quality audience. All Sponsored Content is supplied by the advertising company and any opinions expressed in this article are those of the author and not necessarily reflect the views of Quality or its parent company, BNP Media. Interested in participating in our Sponsored Content section? Contact your local rep!

close
  • This image shows a person seated next to a Bobcat T66 compact track loader.
    Sponsored byPolyWorks by InnovMetric

    Supercharging Digital Gauging at Bobcat North America

  • Dorsey Calibration Lab photo by Tom LaBarbera Picture this Studios
    Sponsored byDorsey Metrology International

    Ensuring Product Quality in a Competitive Manufacturing Landscape

  • This image displays a Eddyfi Technologies Cypher portable inspection instrument alongside a scanner for non-destructive testing (NDT).
    Sponsored byEddyfi Technologies

    A Safer, Smarter Approach to Weld Inspection: Why Advanced Ultrasonic Testing Is Redefining Industry Standards

Popular Stories

a titanium diaphragm speaker driver

The One Thing Elon Gets Right Is Designed to Scare You

This image shows a person seated next to a Bobcat T66 compact track loader.

Supercharging Digital Gauging at Bobcat North America

Dorsey Calibration Lab photo by Tom LaBarbera Picture this Studios

Ensuring Product Quality in a Competitive Manufacturing Landscape

2026 Quality Professional of the Year!

Events

June 9, 2026

Future-Proof your Quality Processes with Advanced 3D Optical CMM Technology

Discover how to effortlessly capture complex data, leverage true multi-sensor automation, and ensure continuous operation without creating inspection delays.

June 22, 2026

Automate 2026

Automate is North America's largest robotics and automation event — and the best place to take your ideas from insight to impact.
 
Our show floor features the world’s leading automation solutions, from AI and robotics to motion control, vision systems, and more. Plus, our educational conference is second to none, led by the brightest minds in automation today.
 
Ready to transform the way you work? Take the next step at Automate.
View All Submit An Event

Products

Lean Manufacturing and Service Fundamentals, Applications, and Case Studies

Lean Manufacturing and Service Fundamentals, Applications, and Case Studies

See More Products
Quality Podcast Channel Custom Content

Related Articles

  • Other Dimensions: Set Your Masters

    See More
  • Figure 1. (Top) Camera is normal to the object’s surface. (Bottom) Camera is angled. Source: IDS

    How to Set Up a Stereo Machine Vision Solution

    See More

Related Products

See More Products
  • Mapping Your Value Stream DVD

  • louis hannigan.jpg

    The Non-Idiot's Guide to ISO 9001:2015: Understanding and Using the Quality Management System Standard to your benefit

  • Quality Brain Teasers: Real World Challenges to Build Your Manufacturing Skills (ebook)

See More Products

Events

View AllSubmit An Event
  • June 9, 2026

    Future-Proof your Quality Processes with Advanced 3D Optical CMM Technology

    Discover how to effortlessly capture complex data, leverage true multi-sensor automation, and ensure continuous operation without creating inspection delays.
View AllSubmit An Event
×

Stay in the know with Quality’s comprehensive coverage of
the manufacturing and metrology industries.

Newsletters | Website | eMagazine

JOIN TODAY!
  • RESOURCES
    • Advertise
    • Contact Us
    • Directories
    • Manufacturing Division
    • Store
    • Want More
  • SIGN UP TODAY
    • Create Account
    • eMagazine
    • Newsletters
    • Customer Service
    • Manage Preferences
  • SERVICES
    • Marketing Services
    • Market Research
    • Reprints
    • List Rental
    • Survey/Respondent Access
  • STAY CONNECTED
    • LinkedIn
    • Facebook
    • YouTube
    • X (Twitter)
  • PRIVACY
    • PRIVACY POLICY
    • TERMS & CONDITIONS
    • DO NOT SELL MY PERSONAL INFORMATION
    • PRIVACY REQUEST
    • ACCESSIBILITY

Copyright ©2026. All Rights Reserved BNP Media, Inc. and BNP Media II, LLC.

Design, CMS, Hosting & Web Development :: ePublishing