The integration of precise object positioning systems in robotic assembly tasks, particularly Peg-in-Hole (PIH) operations, is crucial for enhancing automation efficiency in industrial environments. The challenge intensifies when dealing with deformable objects. Advanced sensors and learning methods are recruited to face such challenges. This research presents a robust learning-based 3D vision sensor which is designed for estimating the relative position between both rigid and deformable objects in real-time. It is planned to be embedded into a robotic PIH insertion pipeline in the industrial environment. Our 3D vision sensor incorporates capturing the 3D scene, predicting a probability vector indicating the relative position between the peg and hole. It uses a late fusion convolutional neural network (CNN) architecture for classification, extracting the continuous relative position from the probabilities vector. The estimated relative position is then utilized to refine the peg’s position during the insertion process. The efficiency of the 3D vision sensor was evaluated across various PIH tasks involving both rigid and deformable objects. Moreover, it was embedded into an industrial robotic cell without additional training in order to validate its robustness and generalization capabilities. The approach demonstrated high success rate, highlighting its effectiveness and applicability in real-world industrial settings.
We propose a robust pipeline for robotic Peg-in-Hole (PIH) insertion that integrates our 3D vision sensor with force/torque feedback. The process is iterative and designed to handle both rigid and deformable objects in industrial environments. The pipeline consists of the following iterative stages:
Pipeline Stages:
The proposed 3D vision sensor utilizes RGB-D data, classification CNN, and linear interpolation to estimate the relative angle (\(\hat{\theta}\)) and radius (\(\hat{R}\)) between the peg and the hole in the insertion plane. The sensor captures the 3D scene and predicts a probability vector indicating the relative position, which is then extracted to refine the peg's position during the insertion process.
In order to apply classification methods to assembly tasks within a continuous domain, a discretization of the scene space is required. This is achieved by dividing the scene space into equal sub-areas as classes, where each class corresponds to a range of values in the domain. Following the discretization, a classification CNN is utilized to predict the probability vector of the peg being in each sub-area.
For this task, a late RGB-D fusion architecture was proposed utilizing two separate ResNet-18 CNNs, one for RGB images and one for depth data. The features from the convolutional layers of both CNNs are concatenated before reaching the fully connected layer. This architecture allows the model to leverage both visual and geometric features effectively.
To evaluate the versatility and robustness of our 3D vision sensor, we defined three distinct test cases ranging from rigid to highly deformable objects. These scenarios represent common industrial assembly challenges:
To determine the optimal architecture for our 3D vision sensor, we evaluated three different RGB-D fusion strategies: Early Fusion, Late Fusion, and Parallel Fusion. We compared their performance against single-modality baselines (RGB-only and Depth-only) across the tasks.
Angle Estimation Error (MAE [deg])
| Architecture | Classical PIH | Medical Pipe |
|---|---|---|
| RGB | 6.65 | 5.43 |
| Depth | 25.38 | 10.86 |
| Early Fusion | 8.43 | 5.37 |
| Late Fusion | 5.30 | 4.75 |
| Parallel Fusion | 11.78 | 6.96 |
Radius Estimation Error (MAE [mm])
| Architecture | Classical PIH | Medical Pipe |
|---|---|---|
| RGB | 0.59 | 0.56 |
| Depth | 1.03 | 0.78 |
| Early Fusion | 0.64 | 0.53 |
| Late Fusion | 0.31 | 0.35 |
| Parallel Fusion | 0.45 | 0.57 |
We evaluated the 3D vision sensor's performance by comparing the estimated relative positions (angle and radius) against the ground truth. The results indicate that the sensor achieves high accuracy.
We further analyzed the estimation error in the Cartesian coordinate system to understand spatial dependencies. The estimated relative radius error does not correspond to the peg location, suggesting robustness across the workspace. While the estimated relative angle error is higher for small radii, this is expected; however, in such cases, the peg is already initiated inside the hole. The overall spatial distribution confirms that the sensor maintains high accuracy across the insertion plane.
Since the estimated relative radius serves as an indicative value for the insertion trigger, it was converted into a binary In/Out classification. If the radius exceeds the threshold, the system classifies it as 'Out', prompting location improvement. To minimize false positives, the insertion is initiated only after receiving two consecutive 'In' predictions, reducing the chance of inserting the peg outside the hole to below 1%.
The crucial test of the 3D vision sensor lies in validating it across the full insertion pipeline. Experiments were conducted on a UR5e robotic cell with both rigid and deformable objects. For the classic PIH task (4.5 mm peg), the vision sensor enhanced the success rate from 83% to 100%. Similarly, for the challenging Medical Pipe task, the success rate increased from 80% to 98%, validating the system's effectiveness in handling deformable objects.
Robotic Insertion Success Rates
| Task | Sensors | Radial Error Range ($R_{err}$) | Success Rate |
|---|---|---|---|
| 4.5mm Peg / 6mm Hole | Force Only | [1, 2.5] mm | 83% |
| Force + Vision | [1, 3.0] mm | 100% | |
| 8mm Peg / 10mm Hole | Force Only | [1.5, 3.5] mm | 80% |
| Force + Vision | [1.5, 10.0] mm | 100% | |
| 16mm Peg / 20mm Hole | Force Only | [2.5, 8.0] mm | 51% |
| Force + Vision | [4.0, 14.0] mm | 90% | |
| Medical Pipe | Force Only | [1.5, 2.5] mm | 80% |
| Force + Vision | [1.5, 2.5] mm | 98% |
Insertion Videos
Rigid PIH insertion
Medical Pipe insertion
@article{hazan2024learning,
title={Learning-Based 3D Vision Sensor for Robotic Peg-In-Hole Insertion of Deformable Objects},
author={Hazan, Sher and Cohen, Eylon and Schneor, Ronit and Fischer, Anath and Zacksenhouse, Miriam},
journal={IEEE},
year={2024}
}