Success Story

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 ensure precise gripping. This automates the entire process, speeding it up, increasing productivity, and saving costs.
HALCON
Robotics
Automotive
3D Vision

Fully automated part picking by robots is a major technical challenge. A particular difficulty is that the components are not always delivered to the robot in an orderly fashion, but rather unsorted and even overlapping each other. This means that humans still have to intervene frequently.

The Spanish company Tekniker has developed an application based on machine vision that enables fully automated bin-picking with two robots. A particular highlight is the 3D vision technology "Surfaced-based Matching", which reliably recognizes the delivered components and enables precise gripping.

Tekniker, based in Eibar in northern Spain, specializes in the development of technology solutions for automation, industrial robotics, and sensor technology, among others.

One of Tekniker's customers is the CIKAUTXO GROUP, a Spanish automotive supplier. On behalf of the company, Tekniker has developed a machine-vision-controlled robot system for automated palletizing components. Robots remove components that are lying randomly in a box and then place them in an orderly manner into a container that is specially adapted to the geometric features of the parts. They are then ready for further processing in the production workflow.

Relieve employees through process automation utilizing machine vision and robots

"Up to now, the palletizing of parts was carried out purely manually. Our goal was to automate this process end-to-end in order to speed it up, increase productivity, and save costs. In addition, our workers were to be relieved," explains Kepa Laka, Automation and Robotics Area Manager at CIKAUTXO GROUP. To implement process automation, one option was to implement a mechatronic system. However, this approach offers a low level of flexibility and reliability and, on top of that, generates a lot of noise. Therefore, Tekniker decided to use a solution based on machine vision.

The system setup consists of two industrial robots, a 3D scanner, a depth camera, a PC running the machine vision software, and a PLC to control the cell. In the process, one of the robots first removes the stamped parts from the input bin using a magnetic multifunction gripper and deposits them on two conveyor belts. The removal is stopped as soon as a certain volume of parts is reached on both belts. This is calculated using data provided by the depth camera as well as 2D and 3D vision tools in HALCON.

HALCON also continuously processes the data from the 3D scanner and provides the robots with the position and orientation of the parts best suited for gripping on the conveyor belt.

With this data, the second robot already begins to pick up the parts from the conveyor belts and, also with the help of 3D vision, aligns them so that it can sort them into two target bins in an orderly manner. And, after the first robot stops picking from the input bin, it "helps" the second with its task. Incidentally, this works at a speed of 8 seconds per part. During this process, the parts must be inserted into guide bars within the target container with the front facing upwards and with a tolerance of 0.5 millimeters.

Precise localization of disordered parts with machine vision software

The particular challenge in this setup is that the robots need to precisely recognize the position and orientation of components in 3D space in order to pick them up and put them down again safely.

"To implement this requirement, we have developed and integrated the SMARTPICKING software. The software is able to accurately identify objects by analyzing 3D data. At the heart of the SMARTPICKING solution is the machine vision software MVTec HALCON. It provides sophisticated algorithms and tools to precisely locate the parts lying chaotically on the conveyor belt and transmit the coordinates of the pick point to the robots," explains Jorge Molina, researcher at smart and autonomous systems department at Tekniker.

In concrete terms, classic 3D-based image processing methods are used. First and foremost, this includes the HALCON-feature "Surface-based Matching". The technology uses data from 3D point clouds captured by the 3D scanner. The data is further processed using different filters and preprocessing operators to improve the pose estimation of the parts. This allows for a particularly robust positioning of objects – regardless of the nature of the surface. Now, the robots can grip the parts unerringly. This works for a wide range of different parts as they occur in industrial production processes. In addition, for a safe gripping process, the robots must also be able to determine the relative position of the 3D camera in relation to the respective object exactly in their coordinate system. For this purpose, a so-called hand-eye calibration is performed with the help of MVTec HALCON. This calibration is essential to establish the relationship between camera, robot, and the parts to be gripped. Only then does the robot "know" exactly where its gripper is in relation to the object to be gripped – i.e., where it must move it in order not to grasp at nothing.

3D vision helps to avoid collisions

Possible collisions between the robot arms and individual objects (components, containers, etc.) must be avoided during the entire pick-and-place workflow. This is where the "3D Object Processing" technology integrated in HALCON comes in. This makes it possible to determine those parts that lie favorably on the conveyor belt and can thus initially be gripped without collision. Based on this initial selection, the software then determines the optimal candidate using various decision criteria such as the height and orientation of the parts or the position of the gripping point and returns the coordinates of its position to the robot.

In this way, the robot can safely carry out the next gripping process. The controlled sequence allows the removal of components in such a way that collisions and thus disruptions to the workflow are reliably prevented. The software also detects the remaining capacity of the target container and determines whether further parts can be added to the container.

Result: process speed increased by up to 100 percent thanks to 3D vision

"Thanks to HALCON, we can automate and optimize the robotic palletizing process smoothly and end-to-end," Jorge Molina sums up. "We are able to increase process speed by up to 100 percent and, on top of that, relieve our employees of routine tasks," confirms Kepa Laka.

Further articles

Visualize Object Model 3D
Improve your surface-based matching with two helpful features
Do you sometimes have objects, which have rather small symmetry-breaking elements (such as small boreholes on an object)? Does your surface-based 3D matching not find the correct orientation?
Read more
Developers Corner
Deep OCR Interface
Deep OCR recognition training – the next level
HALCON’s Deep OCR is very powerful and can detect and recognize text in various industrial scenes. However, what if you have a special font, or want to read foreign characters? With HALCON 22.05 it is possible to train the recognition model to read s…
Read more
Developers Corner
Fitted primitives distance threshold
Metrology Model – Quality of Fit
"For most applications, the standard parameter values are sufficient." This sentence is often read in the HALCON Solution Guide. But what if the results do not meet your expectations? The Metrology Model allows lightning-fast measurement of geometric…
Read more
Developers Corner
Review of Acquisition Modes
This article gives an overview of HALCON’s image acquisition modes, explaining how continuous, triggered, and synchronous acquisition work, and clarifying common misconceptions for practical applications.
Read more
Developers Corner
Deep OCR – Tips and Tricks
Have you already experienced the performance boost by using Deep OCR compared to the classical rule‑based approaches? In this article, we’ll show you practical tips and tricks to further improve your Deep OCR results.
Read more
Developers Corner
Easy text and code reading with MERLIC standard tools
If you want to build an MVApp that reads for example QR codes or bar codes you can do so with just a few clicks. You can even combine the tools to get all available information printed on a product in different formats without the need for programmin…
Read more
Developers Corner
About MVTec's Heatmap
Imagine you intend to deliver a HALCON deep-learning-based classification application. And you are about to evaluate a trained model. You are therefore looking for feedback about this model, i.e. about its performances, biases, and other possible def…
Read more
Developers Corner
Gabor filter: What is it for?
Gabor filters, which are well known in the realm of time series analyses, can also be used in HALCON for 2D image analysis. They are particularly useful for detecting textures, patterns, and orientations in complex images.
Read more
Developers Corner
Introduction to new sub-pixel feature of bar code reader
Do you have small resolution bar codes to read but don't get any good results? Then please try our new feature – the subpixel bar code reader.
Read more
Developers Corner
Introduction to XYZ-Mappings (part 2)
This technical article continues our introduction to XYZ-mappings. In the last article, we answered the question "What are XYZ-mappings?" and gave a short preview towards "Why is using XYZ-mappings beneficial for many 3D applications?". Today, we wil…
Read more
Developers Corner
Introduction to XYZ-Mappings (part 1)
This technical article explores the benefits of XYZ-mappings in HALCON, showing how they increase speed, flexibility, and ease of use for many 3D applications.
Read more
Developers Corner
Deep learning: Why is the dataset key for a success result?
Deep learning success starts with the dataset: Learn why acquiring high-quality, well-labeled training data is crucial for reliable classification, detection, segmentation, and anomaly detection in your machine vision applications.
Read more
Developers Corner
How to prepare 3D height images for further processing with MERLIC’s standard tools
Learn how to prepare 3D height images in MERLIC for further processing: convert non-byte images to byte images to enable alignment, embossed text reading, and defect detection with standard easyTouch tools.
Read more
Developers Corner
Deflectrometry demo HALCON
Inspection of specular surfaces with deflectometry in HALCON
Inspect flat and curved reflective surfaces quickly and reliably with HALCON deflectometry: detect scratches, dents, and other defects with synchronized image acquisition and flexible image processing.
Read more
Developers Corner
Deep Learning classifier HALCON
Training a deep learning classifier with HALCON on the embedded board Jetson TX2
Learn how to train a deep learning classifier with HALCON on both a PC and an embedded Jetson TX2 board, from image acquisition to model training and inference, for efficient machine vision applications.
Read more
Developers Corner
Add touch input to the HSmartWindowControlWPF
Learn how to easily add touch input, including pinch-to-zoom, to the HSmartWindowControlWPF in HALCON, leveraging WPF’s built-in multi-touch events for intuitive image control.
Read more
Developers Corner
Increasing Speed in Deflectometry Set-ups
Discover three approaches to increase speed in deflectometry setups, from simple software-based synchronization to hardware triggers and FPGA-based real-time control, enabling faster and more precise inspection of reflective surfaces.
Read more
Developers Corner
HDevelop matching assistant speedup greediness
Speeding up shape-based matching with "Greediness"
Learn how the 'Greediness' parameter in shape-based matching balances speed and detection completeness, enabling faster searches while maintaining robust results in HALCON.
Read more
Developers Corner
Best practice for classification and OCR
Discover best practices for setting up classification and OCR in HALCON using the HDevelop OCR Training File Browser – quickly review, correct, and optimize your training data to improve segmentation and classification results.
Read more
Developers Corner
Rejection all classes 1.5
How to use rejection classes in MVTec HALCON
Learn how to handle outlier samples in MVTec HALCON by using rejection classes in MLP classifiers – automatically generate samples outside the training classes to improve classification reliability.
Read more
Developers Corner
MVTec Software