Automated Inspection Made Easy with Machine Vision

An automotive part supplier implemented a very low cost inspection system by using one camera to perform three functions.

07/15/2010


When product margins are very low, cost is critical in every step of the manufacturing process, but the consequences of shipping a bad part to the customer are becoming greater. In the auto industry, some original equipment manufacturers (OEMs) specify that any supplier that ships one bad part must hire third-party inspectors to sort every part it produces for a specified period of time.

Fig. 1: Cognex PatMax tool inspects for correct brass core. Fig. 2: Incorrect brass core detected by vision system. Fig. 3: PatMax tool inspects for correct spring. Fig. 4: Incorrect spring detected by vision system.To avoid this profit-killing cost, one automotive supplier installed an automated inspection solution using machine vision. The supplier was able to implement a very low-cost temperature control valve inspection system using one Cognex In-Sight Micro 1100 vision system for three inspections:

  • The right brass core is being used;
  • The right spring is in place; and
  • Installation of a washer and retainer clip.

Fig. 5: Line tools inspect for presence of three parts. Before the automation, an operator checked the assembly before the pressing operation, and incorrect assemblies were common.

Simpler programming is key

The supplier called in Kerry Whitt, area manager for Kirby Risk, the distributor of Cognex machine vision products in Indiana. Whitt said this would not have been possible before. “The cost of purchasing the hardware and programming the vision system would have run well into the tens of thousands of dollars," he says.

A new generation of vision systems has simplified the programming to the point that it can now be done by engineers who are familiar with the inspection application but not necessarily with machine vision. In this case, one camera inspected the part three times.

Whitt says, “I picked the Cognex Micro 1100 vision system because it is small and inexpensive yet provides access to a wide array of vision tools. For example, the PatMax pattern matching tool makes it easy to distinguish one type of part from another.”

The vision system follows assembly steps with the operator.

First, place the brass core in the fixture and press a button connected to a PLC that indicates the part is ready for inspection. The vision system acquires an image and the Cognex sequencer tool executes the proper algorithms for the assembly step.

The PatMax tool was programmed by acquiring an image that included the core and teaching the proper area of interest. It recognizes the core even if it is in a different position, as long as it is within the confines of the search area. The vision system sends a pass or fail to the PLC. Red and green lights at the station indicate failed or passed inspections.

Step two, install the spring and push the button again. The system acquires a second image to check for the correct spring. While the springs look very similar to the naked eye, the algorithm easily detects the difference between the two. The search area allows rotation of the spring without causing false rejects. Again the vision system activates a pass or fail output based on the inspection results with a red or green light.

Step three, put on the retainer ring and trigger the press to fix the retainer ring onto the assembly. The vision system acquires a third image, which is used to locate the top of the part (the right-most box in the image in Figure 5). Then a series of four line-to-line-distance tools measures the diameter of the assembly at cross-sections whose locations are relative to the top of the assembly.

Algorithms check for the presence of the spring, washer and retainer. The fourth distance tool verifies the absence of a second retainer. For the part to pass, the spring, washer, and retainer must all be present, and there must be one retainer only. A green light indicates a correct assembly.

Easy quality, low cost

The only hardware consisted of the vision system and a backlight. Programming took four hours and was accomplished by someone familiar with the application and the Easybuilder interface.

The supplier’s plant personnel will be able to modify the program easily if the part changes or add new programs to inspect additional parts without incurring consulting expenses. The application shows how inexpensive and easy-to-program vision systems are helping manufacturers ensure quality at a low cost.

Information provided by Cognex.

www.cognex.com/patmax

Fig. 1: PatMax tool inspects for correct brass core. Fig. 2: Incorrect brass core detected by vision system. Fig. 3: PatMax tool inspects for correct spring. Fig. 4: Incorrect spring detected by vision system. Fig. 5: Line tools inspect for presence of three parts.

 



No comments
The Engineers' Choice Awards highlight some of the best new control, instrumentation and automation products as chosen by...
Each year, a panel of Control Engineering editors and industry expert judges select the System Integrator of the Year Award winners.
The Engineering Leaders Under 40 program identifies and gives recognition to young engineers who...
Learn how to increase device reliability in harsh environments and decrease unplanned system downtime.
This eGuide contains a series of articles and videos that considers theoretical and practical; immediate needs and a look into the future.
Learn how to create value with re-use; gain productivity with lean automation and connectivity, and optimize panel design and construction.
Go deep: Automation tackles offshore oil challenges; Ethernet advice; Wireless robotics; Product exclusives; Digital edition exclusives
Lost in the gray scale? How to get effective HMIs; Best practices: Integrate old and new wireless systems; Smart software, networks; Service provider certifications
Fixing PID: Part 2: Tweaking controller strategy; Machine safety networks; Salary survey and career advice; Smart I/O architecture; Product exclusives
The Ask Control Engineering blog covers all aspects of automation, including motors, drives, sensors, motion control, machine control, and embedded systems.
Look at the basics of industrial wireless technologies, wireless concepts, wireless standards, and wireless best practices with Daniel E. Capano of Diversified Technical Services Inc.
Join this ongoing discussion of machine guarding topics, including solutions assessments, regulatory compliance, gap analysis...
This is a blog from the trenches – written by engineers who are implementing and upgrading control systems every day across every industry.
IMS Research, recently acquired by IHS Inc., is a leading independent supplier of market research and consultancy to the global electronics industry.

Find and connect with the most suitable service provider for your unique application. Start searching the Global System Integrator Database Now!

Case Study Database

Case Study Database

Get more exposure for your case study by uploading it to the Control Engineering case study database, where end-users can identify relevant solutions and explore what the experts are doing to effectively implement a variety of technology and productivity related projects.

These case studies provide examples of how knowledgeable solution providers have used technology, processes and people to create effective and successful implementations in real-world situations. Case studies can be completed by filling out a simple online form where you can outline the project title, abstract, and full story in 1500 words or less; upload photos, videos and a logo.

Click here to visit the Case Study Database and upload your case study.