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

Case Study

Vision Systems Inspect Insulin Pumps

COGNEX SYSTEM HELPS FLEXTRONICS INCREASE YIELD TO 95%.

March 3, 2014

In the past, a top-selling insulin pump was inspected by 20 to 25 quality control inspectors using microscopes. Yield was about 85%, primarily because the subjective inspection criteria used in the past meant that each inspection was a judgment call. The manufacturer asked Flextronics International Ltd. Department of Manufacturing Technology if six areas of the part could be inspected with machine vision in a cycle time of 5 seconds. Flextronics considered using conventional "dumb" cameras and frame grabbers and writing custom software running on a PC but determined it would take 18 months to develop the application using this approach.

Instead the company used six Cognex® In-Sight® vision systems that Flextronics engineers programmed using a graphical interface to select pre-built algorithms that run on the vision systems themselves. "We were able to program six extremely complicated inspection operations in only six weeks by making use of Cognex pre-built algorithms," said Pablo Espinosa, Senior Design Engineer for Flextronics based in Aguascalientes, Mexico. The complete time to get the vision systems up and running was six months. The vision systems are mounted on a six-station rotary index machine that completely inspects one product every 4.3 seconds and has a capacity of over 13,000 products per day in three shifts. The vision systems inspect to an objective standard, increasing yield to 95% for the extremely complicated and close tolerance product.

Flextronics International Ltd. is an end-to-end supply chain solutions company that delivers design, engineering, manufacturing and logistics services to a range of industries and end-markets, including data networking, telecom, enterprise computing and storage, industrial, capital equipment, appliances, automation, medical, automotive, aerospace and defense, energy, mobile, computing and other electronic product categories. Flextronics generates $24 billion in sales by helping its customers design, build, ship, and service their products through a network of facilities in more than 30 countries and across four continents. Flextronics’ service offerings and vertically integrated component technologies optimize customer supply chains by lowering costs, increasing flexibility, and reducing time-to-market.

A new way to deliver insulin

Flextronics builds the insulin pump at one of its facilities in China. The insulin pump is about 4 by 3 by 1 centimeter in size. The pump is attached to the patient’s skin and controlled by a program running on the patient’s personal digital assistant (PDA), which keeps track of when an insulin injection is needed. When the PDA gives the command, a small needle pops out of the device and injects insulin into the patient. The device typically remains attached to the patient for about three days and while the device is attached the patient can take a shower or swim. Inside the device is a complex mechanism that safely inserts the needle into patient’s skin. Six different areas of the interior of the pump need to be inspected to close tolerances in order to ensure safe operation.

When production began, Flextronics deployed quality control inspectors with microscopes to manually inspect the interior of the insulin pump just before the case was sealed. The specific inspections include the position of the needle, the track that the needle rides on, the mechanism that traps the needle and several others. With the inspection criteria being primarily subjective, it was entirely possible for one inspector to pass a part that another inspector would reject. The critical nature of the product makes it essential to reject assemblies if there is even the slightest possibility that they might not perform their given function. The result is that initially only 85% of production passed manual inspection.

Flextronics and the company that sells the device agreed to develop a vision system to inspect the part in order to ensure the devices were inspected to an objective standard and reduce manufacturing costs. The Department of Manufacturing Technology Engineering at Flextronics has been integrating vision systems for nearly 15 years. In the past, the company primarily used what it describes as “dumb” cameras that do nothing more than acquire an image that is transferred to a frame grabber on a PC. A program running on the PC then analyzes the image and performs the part inspection. “The program needs to be written from scratch which can be very time-consuming,” Espinosa said. “Usually the most difficult part is writing an algorithm that identifies a reference point on the part from which to begin the inspection. This must be done before beginning the inspection because each assembly will be in a slightly different position when its image is acquired. In this case it would have taken about 18 months to develop this application using dumb cameras.”

Pre-written algorithms save time

“Frequently, on more challenging inspection applications we now use vision systems that provide pre-written algorithms that allow us to deliver a quality product in much less time,” Espinosa said. Espinosa started by contacting the Cognex Latin American (LATAM) group who helped develop a detailed proposal by determining the field of view, working distance and resolution required for each inspection operation. Cognex LATAM recommended the use of three In-Sight 1100, two In-Sight 1402 and one In-Sight 1403 vision system. It took 6 to 8 weeks to deliver the cameras so while he was waiting Espinosa worked on the vision programs using a camera borrowed from Cognex. Cognex LATAM worked closely with Espinosa throughout the project including helping in the technical feasibility tests.

Espinosa used the Cognex In-Sight Explorer software to select and configure the algorithms needed to inspect the part. “All of the algorithms are pre-built so I was able to build the code in much less time,” he said. “I started each inspection operation by using the PatMax algorithm to identify the location of the assembly. Then I used blob tools to check for the presence of specific parts, edge tools to identify the location of the part and caliper tools to measure the distance between two edges.” Espinosa dragged these tools into a spreadsheet to create each of the inspection operations. “I had the basic program ready in four weeks before the cameras even arrived.” Once the cameras were delivered, he fine-tuned and finalized the code in another two weeks.

Operation of dial machine

The rotary dial machine is controlled by a programmable automation controller (PAC). The operator loads a part into the first station and hits the start button. The machine indexes and the part just loaded by the operator moves to station number two where a vision system inspects a corner of the part. Each time the machine indexes, the PAC sends a command to each vision system to acquire and process an image. Each camera sends the results of its inspection to the PAC. The part then indexes to station three where another vision system inspects the top of the part. At station four, two vision systems are used to simultaneously inspect two sides of the part. In this station there was not enough room to mount the cameras aiming directly at the product so instead right angle mirrors were mounted near the sides of the part that reflect the image to cameras mounted above. At station five, two additional vision systems are used to inspect the other two sides of the part. The six vision systems inspect every area of the part except for the bottom which does not require inspection.

If the product passes all six inspection operations it is loaded onto a conveyor at station six where it travels to another area for final assembly operation. The HMI identifies products that fail to pass inspection and they are removed by an operator and placed in a container in which they are taken to another area for repair or disposal. The FTP tool in the Cognex cameras is used at the end of each inspection operation to send the image to the personal computer that runs the human machine interface (HMI). The inspection images for each camera are displayed on the HMI and operators can also call up earlier images to investigate problems and identify root causes in order to improve the manufacturing process.

The indexing machine, vision systems, PAC and HMI were all shipped to Asia for installation in the manufacturing site. Espinosa and Marco Esquivias (the engineer leading the entire mechanical design of the test station) spent only two weeks in China supervising the installation of the machine. When Espinosa returned, he helped resolve issues that arose during the prove-out stage by logging into the HMI from his desktop and viewing live inspection images on his desktop computer. He fine-tuned the code and uploaded a new version to the vision systems. “The yield on the five cameras ranges from 96% to 99% which is far better than could have been achieved with human operators,” Espinosa said. “The original cycle time requirement was 5 seconds but the index machine is able to achieve 4.3 seconds, providing 13,000 pieces per day over three shifts.”

Cognex
One Vision Drive
Natick, MA 01760-2059
877-COGNEX1
[email protected]
www.cognex.com

KEYWORDS: Cognex

Share This Story

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

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
  • Key Takeaways for Quality Leaders
    Sponsored byComplianceQuest

    Key Takeaways for Quality Leaders from the 2026 Gartner Magic Quadrant™ for QMS

  • 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

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

  • Radiant Vision Systems Honored by Vision Systems Design 2018 Innovators Awards Program

    See More
  • Troubleshooting Vision Systems

    See More
  • Turnkey Machine Vision Systems

    See More

Related Products

See More Products
  • Kanban Systems DVD

  • Machine Vision and Error Proofing DVD

See More Products
×

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