Closing the Ring – NP PlasticsFireWire cameras, LED lighting, and software check for defects on plastic rings used to secure binders.
NP Plastics, a Dutch injection-molded plastics manufacturer, produces small plastic rings–among its many other products. These plastic rings are used in the closing mechanism of ring binders found in every office from Amsterdam to Hong Kong (see Fig. 1).
Data Vision, Allied Vision Technologies' (AVT) sales partner in the Benelux. Data Vision developed a custom machine-vision solution using two AVT FireWire cameras, strobe and LED illumination, and MVTec Software GmbH's HALCON image-processing software running on a standard Dell PC to check the rings for burrs, undershots, and other spatial defects.
600 parts per minuteThe plastic rings are fed into the inspection system by a PLC-controlled vibrating bowl feeder. The PLC and vision system communicate via digital I/O signals passed between the two machines that guarantee a supply of product is fed to the conveyor, and that the vision system is "active".
The feeder orients the rings flat-side down and has a time-controlled gate that is configured to ensure that rings are spaced at a minimum interval of 40 mm on the inspection conveyor (see Fig. 2). At the maximum conveyor speed, this distance ensures that the machine-vision system will have 100 ms to acquire and process each image of each individual ring.
"The smallest detail we need to detect is about 0.1 mm," explains Data Vision's machine vision engineer Robbert de Kraa. "Because we use a combination of blob analysis and measurement, we require four pixels minimum to robustly detect the smallest feature of 0.1 mm. With the field of view of 24 × 18 mm˛, a sensor is needed with a minimum resolution of 960 × 640 pixels. With a product rate of 10 products a second and some possible increase in the future, we selected an AVT Guppy F080B camera with a maximum frame rate of 30 frames/s and a resolution of 1032 × 778 pixels."
FireWire was a good protocol selection, de Kraa explained, because of its high bandwidth and robustness against electromagnetic interference common to industrial environments.
To minimize optical distortion at the edges of the camera's field of view while increasing contrast, de Kraa added a Jenoptik Jenmetar 0.2 × 12 telecentric lens and a TDB35 telecentric illumination lens fed by an optical fiber connected to a Volpi IntraLED 2020 white LED source to provide backlight illumination. The bright Volpi source allowed de Kraa to reduce the camera's shutter time to 200 µs, reducing the chance of blurring due to ring movement during exposure.
The image from Station 1 is fed into the PC via an IOI Technology FireWire quadkaart. The MVTec HALCON software then takes over, using a combination of linear measurements and blob analysis to find burrs and other surface defects that exceed 0.1 mm.
Task 1 takes care of the image acquisition and processing of the current product. The timestamp of each activity is then stored in a circular FIFO result buffer. This buffer contains result information for all the rings on the conveyor belt that have yet to pass the compressed-air rejection mechanism.
Task 2 keeps track of the result buffer. It periodically (~ 1 ms) checks if there are still products in the buffer between camera and rejecter. If so, it takes the first pending unprocessed record and arms the hardware counter card with the time/counter stamp of the rejecter location, which is accurate to 10 ns. When the plastic ring reaches the rejecter location (e.g., when the hardware counter reaches the calculated exit location of this product), the timer/counter card fires the rejecter blower's solenoid. After the ring passes the rejecter position, this task finishes the current record and software increases the read pointer of the circular result FIFO.
Since there is no physical connection between the application and conveyor belt by an encoder, the calculations are based on the speed setting of the conveyor belt. This approach simplifies the integration of the vision system with the material-handling system, making follow-up maintenance easier while reducing the bill of materials and system complexity.
Top-down approachThe plastic rings are also inspected by a vertically mounted camera. Minimum defect sizes for this station are 0.2 mm, allowing de Kraa to specify an AVT Marlin F033B camera with 656 × 494-pixel resolution with Pentax 50-mm entocentric machine-vision lens with 10-mm extension.
Again, the images are fed into the PC, and the HALCON software performs blob analysis and measurements to identify potential defects and classify the ring. Again, the National Instruments timing card tracks failed rings and triggers the air rejecter as necessary to separate bad parts from good (see Table 2).
The Radine/Data Vision system currently operates 24 hours a day. "We are especially proud of this sophisticated image-processing solution," says Bas H. Pot, who supervised the project at NP Plastics. "With this system, we can guarantee our most demanding clients that, even when millions of them are produced, each individual plastic roller that leaves our factory has had a complete check-up."
Author: Winn Hardin
Article kindly provided by Vision Systems Design.