Abstract
We propose a novel fast and accurate simulation framework for contact-intensive tight-tolerance robotic assembly tasks. The key components of our framework are as follows: 1) data-driven contact point clustering with a certain variable-input network, which is explicitly trained for simulation accuracy (with real experimental data) and able to accommodate complex/non-convex object shapes; 2) contact force solving, which precisely/robustly enforces physics of contact (i.e., no penetration, Coulomb friction, maximum energy dissipation) with contact mechanics of contact nodes augmented with that of their object; 3) contact detection with a neural network, which is parallelized for each contact point, thus, can be computed very quickly even for complex shape objects with no exhaust pair-wise test; and 4) time integration with PMI (passive mid-point integration), whose discrete-time passivity improves overall simulation accuracy, stability, and speed. We then implement our proposed framework for two widely-encountered/benchmarked contact-intensive tight-tolerance tasks, namely, peg-in-hole assembly and bolt-nut assembly, and validate its speed and accuracy against real experimental data.
Introduction
In the field of robotics, "contact-intensive, tight-tolerance" tasks represent a significant hurdle for simulation. While basic manipulation is well-handled by existing engines, high-precision assembly—such as threading a bolt with sub-millimeter clearance—often leads to numerical instability, unrealistic object penetration, or prohibitive computational costs. General-purpose physics engines like MuJoCo or Bullet often struggle with the "numerical chatter" and "explosions" that occur during high-stiffness, metal-on-metal contacts. This paper introduces a hybrid simulation framework designed to bridge the sim-to-real gap by combining data-driven machine learning with rigorous physics-based solvers.
The Simulation Framework
The proposed framework consists of four specialized modules designed to optimize both speed and physical realism.
- Parallelized NN Contact Detection: To avoid slow mesh-to-mesh testing, a Neural Network (NN) is trained to predict penetration depths and normals. This process is parallelized on a GPU, achieving speeds 10–20 times faster than standard libraries like FCL.
- Data-Driven Contact Clustering: Simulating every contact point is computationally expensive. The authors utilize Interaction Networks (a type of Graph Neural Network) to reduce hundreds of contact points into a few representative ones. Unlike geometric clustering, this network is trained on real experimental data to preserve the physical "feel" of the interaction.
- Passive Mid-point Integration (PMI): Standard integrators can gain energy, leading to simulation instability. PMI ensures discrete-time passivity, maintaining stability even during the high-stiffness contacts typical of tight-tolerance assembly.
- Hybrid N-Space and C-Space Solving: By combining node-space (local contact) and configuration-space (overall pose) solving, the framework prevents deep penetrations that often plague node-only simulators.
Experimental Validation
The framework was validated using high-fidelity datasets collected from a 7-DOF Franka Emika Panda robot. The tasks included a peg-in-hole assembly with 0.065mm clearance and a complex bolt-nut assembly.
The authors collected over 500,000 simulation steps of data across these tasks. To test generalization, they also evaluated the system on ten additional bolt-nut pairs with varying diameters (M39 to M60) and pitches.
Key Results
The proposed framework demonstrated significant improvements over traditional physics engines:
- Accuracy: In peg-in-hole tasks, the framework achieved a Root Mean Square Error (RMSE) of 1.37N, a dramatic improvement over the 16.27N error seen with standard K-means/PGS methods.
- Speed: Contact detection was 8.2x faster for peg-in-hole and 21.1x faster for bolting compared to the Flexible Collision Library (FCL).
- Stability: The use of PMI allowed for stable, real-time haptic rendering, enabling users to "feel" virtual threads without numerical instability.
- Generalization: Models trained on a single bolt size generalized effectively to a wide range of hardware without retraining.
Conclusion
This framework represents a major step toward reliable sim-to-real transfer for complex assembly. By treating contact clustering as a physical learning problem and employing passive integration, the system achieves the stability and speed required for both reinforcement learning and human-in-the-loop haptics. Future work will explore extending these methods to non-rigid, deformable objects.
Summary updated