Identifying Mechanical Models through Differentiable Simulations

Changkyu Song, Abdeslam BoulariasarXiv 2020

Abstract

This paper proposes a new method for manipulating unknown objects through a sequence of non-prehensile actions that displace an object from its initial configuration to a given goal configuration on a flat surface. The proposed method leverages recent progress in differentiable physics models to identify unknown mechanical properties of manipulated objects, such as inertia matrix, friction coefficients and external forces acting on the object. To this end, a recently proposed differentiable physics engine for two-dimensional objects is adopted in this work and extended to deal with forces in the three-dimensional space. The proposed model identification technique analytically computes the gradient of the distance between forecasted poses of objects and their actual observed poses and utilizes that gradient to search for values of the mechanical properties that reduce the reality gap. Experiments with real objects using a real robot to gather data show that the proposed approach can identify the mechanical properties of heterogeneous objects on the fly.

Introduction

In robotics, "non-prehensile manipulation"—the act of pushing, sliding, or rolling an object rather than grasping it—is a critical skill for handling items that are too large, slippery, or awkwardly shaped for traditional grippers. However, executing these maneuvers accurately requires a precise understanding of an object's mechanical properties, such as its mass distribution and friction coefficients. Traditionally, robots have relied on model-free reinforcement learning, which requires thousands of trials, or black-box physics engines that rely on slow trial-and-error optimization.

This research addresses the "reality gap"—the discrepancy between simulated predictions and real-world outcomes—by integrating a differentiable physics engine directly into the optimization loop. This allows the robot to "feel out" an object's properties through a minimal sequence of interactions.

Methodology

The core innovation lies in the use of a differentiable physics engine. Unlike standard simulators, a differentiable engine provides analytical gradients, indicating exactly how a change in a physical parameter (like mass) would affect the object's final trajectory.

Key Technical Components:

  • Cell-Based Modeling: Objects are modeled as a grid of "cells," each with independent mass and friction values. This enables the identification of heterogeneous objects, such as a hammer with a heavy head and a light handle.
  • 3D Force Extension: The researchers extended a 2D differentiable engine to handle 3D forces, specifically focusing on the complex frictional interactions between an object's base and the supporting surface.
  • Analytical Gradients: To ensure computational efficiency, the authors derived simplified analytical gradients rather than relying on heavy automatic differentiation libraries. This approach exploits rigid-body assumptions to significantly speed up the optimization process.
  • Optimization Loop: The robot executes a few pushes, observes the resulting trajectory via camera, and uses gradient descent to minimize the error between the simulated and real-world poses.

Experimental Setup and Datasets

The system was evaluated using both high-fidelity simulations (Bullet physics engine) and real-world hardware. The physical setup utilized a Kuka robotic arm equipped with a Robotiq 3-finger hand and a depth-sensing camera to track object movement.

The experimental setup featuring a Kuka robotic arm performing a non-prehensile pushing task on a book to identify its mechanical properties.

The test suite included five distinct items designed to challenge the system's ability to handle varying mass distributions and geometries: a hammer, a wrench, a crimp tool, a toolbox with weighted contents, and an open book.

Key Results

The proposed algorithm demonstrated significant improvements in both speed and data efficiency compared to traditional baselines like random search or finite difference methods.

  • Rapid Convergence: The system can estimate an object's parameters in under 30 seconds, often requiring as few as 2 to 4 random pushing actions to identify properties "on the fly."
  • High Accuracy: The method achieved an average cell position error of less than 1.5 cm, outperforming all tested baselines in both convergence speed and final accuracy.
A comparison of mean error over time, demonstrating that the proposed algorithm (red) converges much faster and reaches a lower error state than alternative methods.

Discussion and Insights

A major insight from this work is that friction can act as a compensator for geometric uncertainty. If the robot's geometric model is slightly inaccurate (e.g., assuming contact where there is none), the algorithm simply assigns that area a zero-friction value, effectively bridging the gap between the model and reality. Furthermore, the cell-based approach avoids the "curse of dimensionality," allowing the robot to pinpoint mass locations without exhaustive global searches.

Limitations and Future Work

While highly effective, the current model assumes objects are rigid and that the robot maintains constant contact during a push. Future work may explore extending this framework to deformable objects (like bags) or articulated objects (like scissors), as well as handling impulsive "poking" or "flicking" actions where contact is intermittent.

Summary updated

BibTeX
@misc{song2020identifying,
  author = {Changkyu Song and Abdeslam Boularias},
  title = {{Identifying Mechanical Models through Differentiable Simulations}},
  year = {2020},
  eprint = {2005.05410},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2005.05410},
}
Figure