MVTEC HALCON

Beverage industry: HALCON reliably checks bottle cap imprints

Machine vision offers enormous advantages for quality control applications. High accuracy and speed as well as high flexibility and availability are important for practical use. K&S Anlagenbau GmbH has implemented such an application for the beverage industry with the help of the consulting company Computer Vision Solutions. In this application the machine vision software MVTec HALCON is used.
HALCON
Food & Beverage
Blob Analysis
Calibration
Matching

The production of bottles and bottle caps in the beverage industry is highly automated, as large quantities must be produced quickly and reliably. "Our aim is to make automated processes as safe and reliable as possible. This is the lever for being able to operate a process at high speed in the long term. Thus, we rely on standardized tools that allow us to manufacture reproducible products reliably and quickly. Based on machine vision, we have developed a solution for inspecting porcelain bottle caps," says Thomas Kelz, responsible for quality technology at K&S Anlagenbau GmbH.

The company from Lengenwang in Bavaria is developing automation solutions for the electrical, automotive, medical, and consumer goods industries. Together with the consulting firm Computer Vision Solutions Consulting & Research, the company has developed an application for the quality inspection of beverage bottle caps.

Maximum flexibility with a minimum of machine stops for the beverage industrie

The challenge was to implement a quality control system that quickly and reliably detects faults in a fully automated process but is also low-maintenance. Low-maintenance means that the system can quickly and easily be switched to other product types. "Automation only brings decisive added value, if the customer has little effort in maintaining the system," says Dr. Heber. In the newly developed system, quality control is carried out inline. To do this, the camera takes a picture of the bottle cap to be checked. This is then checked using the algorithms of the machine vision software MVTec HALCON.

The challenge with print image control is the variability of the print images on the one hand and the requirement to create a clear operating concept for the system operator on the other hand. Possible print image errors could be, for example, incorrect or out-of-focus colors or imprints that are not completely visible. The central position of the print image on the bottle cap is also evaluated as a quality criterion. "One of the major challenges during implementation was that the number of different-looking print images is theoretically infinite. This applies to both the good, i.e., "OK" prints, and the faulty, i.e., "NOK" prints. Thus, we had to ensure that the software was trained in advance to make the right decision at all times," explains Dr. Heber. For training, the image of an OK print is saved in HALCON. This "good image" serves as a template against which each image is compared during the inspection process. Various parameters in HALCON can be used to set the degree to which deviations are still considered OK.

Graphical user interface and MVTec HALCON as core parts

An important component of the system is the graphical user interface (GUI). With this, the entire system can be overviewed, and changes and configurations of the process can be made.

The requirement for the GUI was that it can dynamically display several different apps, which can be controlled both via the GUI and the PLC. In the finished system, the operator can set various display options, configuration modes, and different user levels. This means that it is also possible to assign rights and thus determine which employees are allowed to carry out which activities. Troubleshooting or adjustments, e.g., if a different print needs to be tested, can also be made via the GUI.

Another core component is MVTec HALCON. HALCON is integrated into the K&S Control software using HDevEngine. "HALCON is the industry standard in the field of image processing software and is not limited to just a few algorithms," explains Dr. Heber. HDevEngine acts as an interpreter designed to dynamically load and execute the machine vision algorithms. It also enables changes to the machine vision processes "on the fly" without having to recompile or recertify the entire application. Furthermore, HDevEngine communicates with the GUI in the background. Operators of the system have little or no contact with it. This is because they operate the system via the GUI they are familiar with.

Machine vision software is perfect for automated processes

The machine vision software HALCON enables high and robust detection rates. It not only includes HDevEngine, but also many image processing methods that are used to check the print images. Matching technologies, classification, and blob analysis are used in the specific application.

The three technologies interact as follows: after the image has been captured by a camera, shape-based matching localizes the print in the image - sub-pixel accurately and in near real-time. To do this, the pre-trained print image is matched with the scanned image. This works even if the print is rotated, scaled, perspectively distorted, partially covered or outside the image, or subject to non-linear lighting fluctuations. Once the print has been found, the next task is classification. Here, too, it is important that the class features have been defined and trained beforehand. In the K&S Anlagenbau plant, classification is used for quality control. Possible errors include color deviations, missing edges, incorrect edges, or structures. Corresponding deviations are segmented and analyzed using blob analysis.

If the machine vision technologies described find an error, this is displayed in the GUI. The corresponding area is highlighted in color. This also allows users to recognize the nature of the defect.

If the imprint is "OK", the bottle cap is processed further.

Bottle cap imprint classified as OK in the machine vision user interface.
The GUI shows that the imprint is "OK".
Bottle cap imprint classified as NOK in the machine vision user interface.
The GUI shows that the imprint is not ok: "NOK".

"However, the scope of the machine vision software goes beyond this. To ensure that the process is as automated as possible, we have embedded the software in the entire system in such a way that it can communicate with other components. If a bottle cap is not printed correctly, HALCON informs the system accordingly and the component is automatically ejected," explains Dr. Heber. The communication protocols OPC-UA and PROFINET enable consistent data exchange between the various components within the system. In this way, full automation can be achieved.

System fulfills requirements for automated quality control

"The feedback we have received from the customer has been very positive. The system runs flawlessly and can be operated highly autonomously," says Dr. Heber. Specifically, the system can test 120 bottle caps per minute.

Published on: December 21, 2023

Further Success Stories

MVTec HALCON product icon
3D vision enables robots to “see” in the carpentry industry
As in many industrial areas, automation is advancing in furniture production as well. One example of this is MAB Möbel AG from Switzerland: with the support of HOMAG Bohrsysteme GmbH and MVTec Software GmbH, this furniture manufacturer automated the…
Show full Story
HALCON
Machinery
Robotics
3D Vision
OCR
MVTec HALCON product icon
Warehouse where cheese wheels age during the ripening process
Revolutionizing Cheese Production with AI and Machine Vision
The food industry is experiencing a transformative shift in quality control, due in part to advances in artificial intelligence (AI). When combined with rule-based machine vision, AI is enabling automation of processes that were previously impossible…
Show full Story
HALCON
Food & Beverage
Robotics
Anomaly Detection
Deep Learning
MVTec HALCON product icon
Dynamic OCR inspection with HALCON ensures maximum product quality
In the pharmaceutical industry, strict compliance regulations require medical product packaging to be correctly labeled before delivery. To meet these requirements, the Chinese company Shenzhen Jiangrun Xuneng Technology has developed a powerful mach…
Show full Story
HALCON
Medical Supplies & Pharmaceutical
Bar Code & 2D Code Reading
OCR
MVTec HALCON product icon
Automatisierte Transport- und Inspektionsstation für pharmazeutische Ampullen mit Machine-Vision-System von Aspen.
AI-powered machine vision automates quality inspection in the pharmaceutical industry
The pharmaceutical company Aspen is improving the quality inspection of filled ampoules with the MVTec HALCON machine vision software and the consulting and technical support services provided by MVTec. With deep learning methods, the company has sig…
Show full Story
HALCON
Medical Supplies & Pharmaceutical
Blob Analysis
Deep Learning
Matching
MVTec HALCON product icon
Workflow der Produktion zylindrischer Lithium-Ionen-Batterien mit verteilten Sensorsystemen und zentraler Deep-Learning-Auswertung mit MVTec HALCON.
MVTec HALCON’s deep learning helps Panasonic Energy to propel automotive battery production
Panasonic Energy manufactures automotive batteries, for which demand is increasing worldwide, at multiple sites in Japan and North America. The company recently implemented MVTec HALCON’s deep learning technologies on a large scale at its Kansas plan…
Show full Story
HALCON
Battery Production
Automotive
Deep Learning
Inspection
MVTec HALCON product icon
Advancing machine vision education at Reutlingen University
At Reutlingen University, Professor Arnd Buschhaus has been integrating MVTec HALCON into the teaching curriculum since 2018. HALCON is used extensively in courses related to robotics and machine vision, providing students with practical experience i…
Show full Story
Education, Research & Science
3D Vision
Blob Analysis
Classification
MVTec HALCON product icon
Robotic welding cell inspecting car body weld seams using machine vision.
Machine vision optimizes quality inspection in automotive production
Consistently high quality is an absolute must in automotive production. To ensure that welded connections in body shells meet these standards, DGH has developed an application that automatically inspects them and identifies anomalies. The MVTec HALCO…
Show full Story
HALCON
Automotive
Anomaly Detection
Deep Learning
Inspection
MVTec HALCON product icon
High-speed battery inspection using machine vision.
Machine Vision automates and optimizes battery inspection
A variety of defects can occur during battery production. Averna has developed a method for the automated inspection of batteries that reliably detects all conceivable defects. Here, the machine vision software MVTec HALCON plays a key role.
Show full Story
HALCON
Battery Production
Blob Analysis
Inspection
MVTec HALCON product icon
Automated robot cell handling vaccine vials with machine vision.
Machine Vision automates vaccine production
A global company needed to quickly ramp up vaccine production. Goldfuß engineering GmbH and SIMON IBV GmbH developed a robot-based solution for loading and unloading trolleys with the vaccine vials. The machine vision software HALCON ensures the seam…
Show full Story
HALCON
Robotics
Medical Supplies & Pharmaceutical
3D Vision
MVTec HALCON product icon
Micromechanical part measured with machine vision for high-precision inspection.
Machine vision improves the measuring process of precision and micro components
The precise inspection of very small precision components, for example in watchmaking, is a challenge. Petitpierre, the Swiss specialist for high-precision technology, has developed sophisticated applications with which micromechanical components can…
Show full Story
HALCON
Matching
Measuring
MVTec HALCON product icon
Industrial robots performing laser welding on battery cells guided by machine vision.
Machine vision accelerates battery production
High speed, precision, and reliability: These are the determining factors for battery production. To meet the rapidly growing demand for batteries, companies are developing increasingly efficient production processes. Laserax has developed a new syst…
Show full Story
HALCON
Battery Production
3D Calibration
Calibration
Matching
MVTec HALCON product icon
Robotic manufacturing cell assembling satellite panels with optical solar reflectors using machine vision.
Seeing robots process large work area with high precision
The automation specialist AKEOPLUS has developed an innovative robotic cell for the production of satellite panels at the global space manufacturer Thales Alenia Space. The special feature: robots place the components with high absolute accuracy to a…
Show full Story
HALCON
Robotics
3D Vision
Matching
MVTec HALCON product icon
Students and researchers using a robot with machine vision in a university lab to demonstrate the impact of MVTec HALCON on education and research.
Technical University of Applied Sciences Würzburg-Schweinfurt
At Technical University of Applied Sciences Würzburg-Schweinfurt (THWS), Professor Christian Zirkelbach is teaching robotics and machine vision at Faculty of Applied Natural Sciences and Humanities. He has integrated advanced machine vision tools int…
Show full Story
HALCON
Robotics
Education, Research & Science
3D Vision
Deep Learning
MVTec HALCON product icon
Aluminum bottles on a production line identified by OCR using machine vision for automated quality control.
Empty bottle? Not with Deep OCR
To identify products quickly and reliably, even in difficult circumstances, machine vision has proven its worth. The company Visione Artificiale also relies on machine vision for its system to trace aluminum bottles during production. Within this sys…
Show full Story
HALCON
Food & Beverage
OCR
MVTec HALCON product icon
Operating personnel using the PackCheck machine vision solution for quality control in food packaging production.
Machine vision for every taste
The Dutch company PackCheck BV ensures packaging quality in the food industry with a modular solution. Part of the solution is the machine vision software HALCON from MVTec Software GmbH. This enables the company to increase the efficiency of packagi…
Show full Story
HALCON
Food & Beverage
Bar Code & 2D Code Reading
Blob Analysis
Matching
OCR
MVTec HALCON product icon
Hand-eye calibration enabling precise alignment between camera and robot for accurate gripping of accessory bags.
Perfectly positioned plastic bags – with classic machine vision and deep learning
Consistently automated pick-and-place activities require the reliable gripping of differently shaped and translucent objects. TEKVISA has implemented a sophisticated application that enables reliable gripping even with complex surfaces with the help…
Show full Story
HALCON
Robotics
Deep Learning
MVTec HALCON product icon
Fully automated packaging inspection system using machine vision for inline quality control in food packaging.
Deep learning detects defects in the food industry
Automation specialist INNDEO has developed a sophisticated automation solution for quality control in the packaging industry. Thanks to machine vision and deep learning technologies, high speeds and defect detection rates are no longer a problem.
Show full Story
HALCON
Food & Beverage
Deep Learning
OCR
MVTec HALCON product icon
Robots and machine vision software interact perfectly
The Spanish robotics specialist Tekniker has developed a solution that allows chaotically lying parts to be automatically gripped and placed in an orderly manner. The integrated machine vision software MVTec HALCON uses 3D vision technologies to ensu…
Show full Story
HALCON
Robotics
Automotive
3D Vision
MVTec MERLIC product icon
Inspection setup for electrical connections using deep learning–based machine vision to detect defects.
An eye on everything with deep learning
Bosch Car Multimédia in Portugal specializes in the development and manufacture of electronic components for vehicle safety and dynamics, driver assistance, automated driving and car multimedia. The company uses the machine vision software MERLIC fro…
Show full Story
MERLIC
Automotive
Electric Components
Deep Learning
MVTec HALCON product icon
Vehicle passing a roadside machine vision system that inspects tires automatically for roadworthiness.
Tire profile determined with Deep Learning
The West Nippon Expressway Engineering Shikoku Company Limited ensures safe road traffic in Japan’s winter: With the machine vision software MVTec HALCON, the company automates the inspection of tires in ongoing traffic. Thanks to deep learning techn…
Show full Story
HALCON
Security & Surveillance
Deep Learning
Inspection
MVTec Software