MVTEC HALCON

Closing the Ring – NP Plastics

NP Plastics in the Netherlands manufactures small plastic rings used in binder closing mechanisms. To increase throughput and improve quality, the company deployed a machine vision system with two AVT FireWire cameras, LED illumination, and HALCON software. The system detects defects such as burrs or incorrect shapes from about 0.1 mm, processes roughly 600 parts per minute, and ensures each piece is fully inspected.
HALCON
Glass, Metal, Paper, Foil & Printing
Blob Analysis
Measuring

FireWire 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. To meet volume demand while improving quality, NP Plastics recently decided to install a machine-vision system to inspect the small plastic rings. The company turned to automation solution provider Radine with the support of 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 minute

The 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. 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. Rings travel down the conveyor until they reach the first of two inspection stations. As the rings reach the side-view inspection station, a photocell mounted on the side of the conveyor triggers an AVT Guppy F-080 FireWire camera to acquire an image (see Fig. 1). "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. The side-view station looks for defects located around the edge of the plastic ring, including burrs on the top, bottom, and sides, as well as overshots that result in a rounded top or bottom rather than a flat ring.

In Table 1, the first row gives the type of defects, the second row specifies the range of the product where the defect is visible for the camera. The third row shows this range of the defect with arrows. The cross marks a defect. The fourth (bottom) row shows the defect in the camera view and the principle of detection in the image-processing algorithm. 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. At the same time, a National Instruments PCI-6601 counter/timer card time-stamps the image, which represents the ring's location on the conveyor. Each inspection software application consists of two tasks. 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 approach

The 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. For the top view, Data Vision designed a custom front illuminator using Luxeon (from Philips Lumileds Lighting Company) high-intensity red lumileds. The LEDs in a ring configuration are tilted inward slightly so that the top of the product as well as the borders are lit completely and evenly. The images are close to overexposure to cover the gray variation of the material and to get an even illumination in all cases. The LEDs are strobed to ensure a maximum of one pixel motion blur during exposure.
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.All product names, trademarks and images of the products/trademarks are copyright by their holders. All rights reserved.

Table illustrating defect detection on plastic rings from different viewing angles using blob analysis.
Table 1
Table showing defect types such as underfill and overfill detected on plastic rings by machine vision.
Table 2

Published on: October 12, 2018

Further News

MVTec MERLIC 26.03 is available now
With MERLIC 26.03, developing and operating machine vision applications becomes more consistent and scalable. The release introduces the unified MVTec versioning format (YY.MM) and a simplified, package-based licensing model with flexible add-ons.
Read more
MERLIC
New version of the Deep Learning Tool significantly boosts Deep OCR performance
With Deep OCR Alignment and other improvements, Deep Learning Tool 26.03 enhances speed and efficiency for OCR applications. New models, optimized training, and CUDA 12.8 support bring higher performance with lower memory usage.
Read more
Deep Learning Tool
New MVTec Academy course: Mosaicking – stitching images with HALCON
This basic training introduces you to the mosaicking technologies in HALCON. The course shows you how to combine several images into one large mosaic image. Thus, this technology enables you to create a large image of an object or scene that would ot…
Read more
Academy
HALCON
New MVTec Academy course: Parallel programming with HALCON
This advanced training introduces you to the concept of parallel programming with HALCON. The application of parallel programming allows you to optimize the performance of your HALCON program and take full advantage of multicore or multiprocessor ha…
Read more
Academy
HALCON
Opticum d.o.o. becomes a MVTec Certified Integration Partner
The company based in Vojnik, Slovenia, specializes in industrial printing, machine vision, weighing, labeling, and traceability, serving primarily the pharmaceutical industry.
Read more
Certified Integration Partner
VST Taiwan becomes a new member of MVTec’s partner network
The automated optical inspection (AOI) specialist VST Taiwan has joined the MVTec Certified Integration Partner Program and offers services in optical system design, mechanical structure planning, and key vision components.
Read more
Certified Integration Partner
New version 1.6.5 of the MVTec Software Manager
The latest version of the MVTec Software Manager is now available and brings several enhancements to improve usability and performance.
Read more
MVTec
New MVTec Academy course "Develop a custom tool for MERLIC"
This advanced training introduces you to the development of custom tools for MERLIC to extend the existing MERLIC tool library.
Read more
Academy
MERLIC
New version 25.12 of the MVTec License Server released
With MVTec License Server Cloud-Ready 25.12, HALCON licenses can be borrowed, enabling operation during network failures and offline.
Read more
MVTec
MVTec Deep Learning Tool 25.12 is out now
On December 4, 2025, we released the new version 25.12 of the MVTec Deep Learning Tool and thus consistently further developed our portfolio for AI-based machine vision.
Read more
Deep Learning Tool
MVTec welcomes new partner Micro-Epsilon
We are pleased to welcome Micro-Epsilon, a globally operating specialist in high-precision sensor and measurement technology, to our Technology Partner Program.
Read more
Technology Partner
New MVTec Academy course "Image acquisition: The interface for modern camera technology"
This training course will introduce you to the new image acquisition operators. Through practical exercises, you will learn the necessary technical terms and concepts, and deepen your knowledge.
Read more
Academy
HALCON
HALCON 25.11 is available now
The new version of MVTec HALCON is now available for download. This version again brings some improvements as well as new features, such as Continual Learning – Classification, a new technology that makes training and maintaining classification model…
Read more
HALCON
DISYS joins MVTec Partner Network with expertise in advanced vision systems
The company from Schio, Italy, develops fully customized AI-powered solutions for diverse industries, from manufacturing to pharma, automotive, packaging, and food & beverage.
Read more
Certified Integration Partner
New MVTec Academy course "Code integration with language interfaces"
This advanced training course covers the integration and use of the HALCON library in software projects written in C, C++, C#, Visual Basic .NET, and Python.
Read more
Academy
HALCON
New MVTec Academy course "Image acquisition with GigE Vision"
This advanced course provides in-depth information on using GigE Vision cameras with HALCON.
Read more
Academy
HALCON
VRAiA CORP S.L. joins the MVTec Partner Network
The company from Aspe (Alicante, Spain) applies robotics and machine vision in tire production, focusing on final inspection and quality assurance.
Read more
Certified Integration Partner
robomotion strengthens the MVTec Partner Network
The German company specializes in customized automation solutions for demanding applications in food, medical technology, packaging, and plastics industries.
Read more
Certified Integration Partner
Halley Informatica strengthens the MVTec Partner Network
The division Halley Machine Vision specializes in 3D vision and robot guidance solutions for industrial automation and quality control.
Read more
Certified Integration Partner
Trifid Automation s.r.o. joins the MVTec Partner Network
The company from Slovakia provides advanced machine vision solutions for quality control and inspection across automotive, rubber, engineering, and wood industries.
Read more
Certified Integration Partner
MVTec MERLIC 5.8 is available now
MVTec MERLIC 5.8 makes developing and operating vision applications easier than ever, with improved error handling, centralized recipe management, and faster, more flexible deployment.
Read more
MERLIC
GosTech Kft. joins the MVTec Partner Network
With expertise in machine vision, optical and electrical measurement, and automation, GosTech Kft. delivers high-value solutions across multiple industries.
Read more
Certified Integration Partner
Digiinov SA adds industrial software and machine vision know-how to the MVTec Partner Network
The Swiss company supports machine builders with industrial software development and customized machine vision solutions based on HALCON.
Read more
Certified Integration Partner
New MVTec Academy course "Hand-eye calibration"
In this advanced course, you will learn how to perform hand-eye calibration using HALCON.
Read more
Academy
HALCON
SIGA Vision Ltd joins the MVTec Partner Network
Backed by the Mpac group, SIGA Vision delivers seamless vision systems and turnkey solutions for food and beverage, consumer goods, and healthcare industries.
Read more
Certified Integration Partner
VISOR – AOI and automation specialist joins the MVTec Partner Network
Founded in 2007, VISOR develops customized AOI and automation solutions and is today a leading provider of industrial vision systems in Southeastern Europe.
Read more
Certified Integration Partner
Smart Services becomes a new member of MVTec’s partner network
Smart Services has joined the MVTec Certified Integration Partner Program, offering machine vision solutions for identification, measurement, object and position detection, and quality inspection.
Read more
Certified Integration Partner
Herzog VSA becomes a certified integration partner of MVTec
The Herzog VSA specialises in challenging machine vision projects, with a strong focus on 3D data processing, line scan camera applications, and hybrid 2D/3D systems.
Read more
Certified Integration Partner
Agmanic Vision becomes a new member of MVTec’s partner network
Computer vision specialist Agmanic Vision has joined the MVTec Certified Integration Partner Program and delivers AI-driven solutions for quality control, robotics, and embedded applications.
Read more
Certified Integration Partner
New version 25.08 of the MVTec License Server released
The update makes it easier to run the License Server as a Windows system service and provides improved access to documentation.
Read more
MVTec
MVTec welcomes Optotune as new partner
MVTec is pleased to welcome Optotune Switzerland AG as the latest company to join its Technology Partner Program. Through this collaboration, MVTec’s powerful machine vision software is complemented by Optotune’s cutting-edge focus-tunable lenses and…
Read more
Technology Partner
Certified Integration Partner Autolab becomes a new member of MVTec’s partner network
Autolab GmbH is the latest addition to MVTec's Certified Integration Partner Program, delivering advanced solutions for visual quality inspection and inline measurement using deep learning and classical machine vision.
Read more
Certified Integration Partner
New MVTec Academy course "Inspect the print quality of bar and 2D data codes"
In this advanced training course, you will learn how to perform print quality inspection for bar and data codes using HALCON and MERLIC.
Read more
Academy
HALCON
MERLIC
Preview version of HDevelopEVO: new update now available
Faster, more intuitive, and interactive programming: All HALCON users can now download the new IDE preview version.
Read more
HALCON
New MVTec Academy course "Defect detection"
This basic training introduces you to defect detection with MVTec HALCON. In this training, you learn different approaches and what to consider when developing a defect detection application. Then, you solve some challenging applications with differe…
Read more
Academy
HALCON
Visione Artificiale srl becomes a new member of MVTec’s partner network
Visione Artificiale srl has joined the MVTec Certified Integration Partner Program, offering turnkey vision solutions for quality control, defect detection, robot guidance, and process optimization.
Read more
Certified Integration Partner
Bertram Elektrotechnik becomes a new member of MVTec's partner network
Automation specialist Bertram Elektrotechnik adds its expertise in robotics, test engineering, and image processing to the MVTec Certified Integration Partner Program.
Read more
Certified Integration Partner
New MVTec Academy course "Working with regions"
This basic training introduces you to the concept of regions in HALCON. You learn how to create regions manually as well as by different segmentation approaches, process regions, and access different features of regions.
Read more
Academy
HALCON
New MVTec Academy course "Speed up deep learning with AI²"
his advanced training shows you how to optimize your deep learning applications in terms of inference runtime and memory requirements using MVTec’s AI Accelerator Interface (AI²).
Read more
Academy
HALCON
MERLIC
MVTec HALCON software box with surfer – new version
HALCON 25.05 is available now
The new version of MVTec HALCON is now available for download. With this release, MVTec focuses on improving HALCON’s ease-of-use and rule-based machine vision.
Read more
HALCON
Advancing Anomaly Detection: VAND 2025 Challenge at CVPR 2025
We’re thrilled to announce the Visual Anomaly and Novelty Detection (VAND) 2025 challenge, a premier event at CVPR 2025. Sponsored by Voxel51, Intel, and MVTec, this challenge aims to push the boundaries of anomaly detection in industrial application…
Read more
MVTec
MVTec Deep Learning Tool 25.04 is out now
On April 30, 2025, we released the new version 25.04 of the MVTec Deep Learning Tool and thus consistently further developed our portfolio for AI-based machine vision.
Read more
Deep Learning Tool
MVTec on Campus celebrates 5 years with Vision Hero campaign
MVTec Software GmbH is proud to announce the 5-year anniversary of its successful educational initiative MVTec on Campus. To mark this special milestone, MVTec is launching a unique and engaging campaign: Vision Heroes – Saving Yogurt Village.
Read more
MVTec
MVTec MERLIC 5.7 is available now
With the new version MERLIC 5.7, MVTec continues their established path with MERLIC – easy process integration combined with powerful machine vision methods. The new version improves the usability of MERLIC Runtime Environment (RTE) and optimizes the…
Read more
MERLIC
New MVTec Academy course "Read bar codes"
This basic training teaches you how to read bar codes with HALCON and MERLIC.
Read more
Academy
HALCON
MERLIC
Mission Accomplished: MVTec's Christmas Quiz
As we wrap up our Christmas quiz, we’re excited to share the fantastic results.
Read more
MVTec
MVTec Software