Vision-Based TCP Calibration for Collaborative Robots — Fraunhofer IPK

Published:

This is my Master’s thesis, conducted at the Fraunhofer Institute for Production Systems and Design Technology (IPK) in Berlin under Prof. Dr.-Ing. Jörg Krüger, as part of my MSc Computational Engineering Science at TU Berlin.

The title is: Development and evaluation of a system for integrating and calibrating a surface processing tool into the system environment of a cobot.

The Problem

Standard TCP (Tool Center Point) calibration for industrial collaborative robots requires collecting 40 or more calibration poses and running through a lengthy optimisation procedure, which makes every calibration cycle slow. This is a real bottleneck in production environments where robots need to be recalibrated after tool changes or maintenance. The implicit assumption behind current practice is that more data always produces better calibration.

The Approach

I trained a ResNet-18 CNN in PyTorch to predict the geometric quality of a calibration pose from the RGB-D camera image, without running the full calibration. The idea is that some poses carry much more information than others — poses with good geometric spread and low redundancy contribute more to the calibration accuracy than poses that are close together or from similar viewing angles. If you can identify the five most informative poses upfront, you do not need the other thirty-five.

The system runs under ROS2 Humble with an RGB-D camera and marker-based pose estimation, including embedded deployment on NVIDIA Jetson hardware. Calibration itself uses the Tsai-Lenz hand-eye calibration method with Levenberg-Marquardt optimisation.

Results

Five intelligently selected poses outperformed forty randomly selected ones: calibration became 87.5% faster and 76% more accurate. Deploying the model on embedded hardware also required optimising it for inference speed, which was a useful lesson in the gap between a research prototype and a system that runs in real time.

This page summarises the work at a public level. Detailed experimental data, internal setup documentation and source code belong to Fraunhofer IPK and are not published.

What This Shows

The result challenges the assumption that more calibration data always helps. The quality and geometric diversity of poses matters more than the quantity. This principle extends beyond calibration: it connects to active learning, next-best-view planning, and data-efficient robot learning more broadly — which is one reason I continued working on related problems in the Path Matters trajectory planning project.