Vision-Based TCP Calibration for Collaborative Robots Using Deep Learning
Published:
My Master’s thesis, carried out at the Fraunhofer Institute for Production Systems and Design Technology (IPK) in Berlin as part of my MSc Computational Engineering Science at TU Berlin (April 2025 to January 2026).
Note: this post gives a public, high-level summary of the work. Detailed experimental data, internal setup documentation and source code belong to Fraunhofer IPK and are not published here.
Overview
Thesis title: Development and evaluation of a system for integrating and calibrating a surface processing tool into the system environment of a cobot.
In one sentence: a vision-based calibration approach in which a CNN selects the most informative calibration poses, so that a handful of well-chosen poses replaces a long, brute-force calibration routine.
Headline result: five intelligently selected poses outperformed forty randomly selected ones, making calibration 87.5% faster and 76% more accurate.
The Problem
When a tool is mounted on a collaborative robot, its Tool Center Point (TCP) has to be calibrated precisely before the robot can work with it. The conventional procedure collects a large number of calibration poses (typically 40 or more) and is slow, operator-dependent and not designed for data efficiency. It rests on an implicit assumption: more poses always produce a better calibration.
The question behind my thesis was different: which poses actually carry the geometric information the calibration needs?
Approach
- Pose quality prediction: a ResNet-18 CNN, trained in PyTorch, scores the expected calibration value of a candidate pose from RGB-D camera data, before the full calibration is run.
- Intelligent pose selection: the system keeps only the most informative, geometrically diverse poses and discards redundant ones.
- Calibration: established methods (marker-based pose estimation, hand-eye calibration with the Tsai-Lenz method, Levenberg-Marquardt refinement) compute the TCP from the selected poses.
- Integration: the pipeline runs under ROS2 with a Universal Robots collaborative arm and an RGB-D camera, including embedded deployment on NVIDIA Jetson hardware.
Tools: Python, PyTorch, ResNet-18, ROS2 Humble, OpenCV, NumPy/SciPy, Docker.
My Contributions
- Designed and trained the CNN that predicts pose quality
- Built the data pipeline linking camera data, robot kinematics and calibration results
- Integrated the system into the robot environment under ROS2, including hardware-in-the-loop testing
- Evaluated the approach against the conventional calibration routine
- Documented the system and the results in the thesis and in technical reports
Results
| Conventional | This work | |
|---|---|---|
| Calibration poses | 40 (random) | 5 (selected) |
| Calibration time | baseline | 87.5% faster |
| Calibration accuracy | baseline | 76% better |
Key findings
- Pose quality and geometric diversity matter more than pose quantity.
- A CNN can estimate the calibration value of a pose from RGB-D data alone.
- Running the model on embedded hardware required optimising it for inference speed, a typical gap between a research prototype and a deployable system.
Key Takeaway
Intelligent data selection can beat brute-force data collection in robotic calibration. Asking which data matters turned out to be more valuable than collecting more of it. The same principle connects to active learning, next-best-view planning and data-efficient robot learning, which is why I continued with viewpoint selection in the Path Matters project.
Directions for Future Work
- Transfer of the approach to other robot platforms
- Active learning, where the robot proposes the next most informative pose itself
- Online recalibration that detects calibration drift during operation


