NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Using First Principles for Deep Learning and Model-Based Control of Soft Robots

Curtis C. Johnson, Tyler Quackenbush, Taylor Sorensen, David Wingate, Marc D. KillpackFrontiers Robotics AI 2021 · DOI

Introduction

Soft robots, constructed from compliant and flexible materials, offer significant advantages for safe human-robot interaction and operation in unstructured environments. However, their inherent non-linearity, complex pneumatic dynamics, and material "plasticity" make precise control a significant engineering challenge. Traditional analytical models often struggle with real-time execution or fail to capture hardware-specific discrepancies like valve lag and material fatigue. Conversely, purely data-driven deep learning models require prohibitive amounts of real-world data that can lead to hardware wear and tear.

This research introduces a hybrid modeling approach that bridges this gap. By combining physics-based "first-principles" models with deep neural networks (DNNs), the authors achieved a 52% improvement in control performance on a physical soft robot platform.

The Challenge of Soft Robot Control

Engineers typically face a "Goldilocks" problem when modeling soft systems. Analytical models based on physics equations are often too computationally expensive for high-frequency real-time control. On the other hand, purely data-driven models are "black boxes" that require massive datasets to learn basic physics from scratch. The authors address this by using a surrogate model to learn general physics and a secondary "error model" to capture the messy realities of physical hardware.

Hybrid Modeling Architecture

The core of the proposed system is a Hybrid Modeling Architecture integrated into a Non-linear Evolutionary Model Predictive Control (NEMPC) scheme. This architecture utilizes two distinct neural networks:

  1. The Surrogate DNN ($N_{sim}$): This network is trained on 3 million data points generated from a simplified analytical Lagrangian dynamic model. It serves as a fast, GPU-accelerated proxy for the heavy physics equations, allowing the controller to evaluate thousands of potential trajectories simultaneously.
  2. The Error DNN ($N_{err}$): This smaller network is trained on just 10.5 minutes (630,000 data points) of actual hardware data. Its specific role is to learn the residual—the gap between the idealized simulation and the real-world robot behavior.
The DNN architecture used for both the surrogate and error models, featuring parallel input processing for state and control inputs.

By parallelizing these models on a GPU, the NEMPC system can evaluate 1,500 potential trajectories at 100 Hz, picking the optimal pressure commands in real-time.

Key Results and Performance

The hybrid approach demonstrated significant improvements across several metrics. The most notable was a 52% reduction in mean tracking error when using the combined ($N_{sim} + N_{err}$) model compared to the physics-based model alone.

Comparison of tracking performance across four pressure channels, showing how the hybrid model (red) more closely follows the desired trajectory (dashed) than the simulation-only model (green).

Beyond accuracy, the model nearly eliminated steady-state error. The "Integral of Time-weighted Absolute Error" (ITAE) dropped from 128.3 to 21.5. Furthermore, the DNN-based approach proved to be roughly 287x to 464x faster than numerically integrating the original analytical physics equations, enabling high-speed control that was previously impossible.

Discussion and Future Work

A key insight from this study is that residual learning allows for efficient sim-to-real transitions. The error network does not need to learn physics from scratch; it only needs to correct the existing model. This drastically reduces the amount of hardware data required for training.

However, limitations remain. The current model relies on the Markov assumption, ignoring "hysteresis" (where a robot's behavior depends on its movement history). Future iterations may incorporate Recurrent Neural Networks (RNNs) or LSTMs to capture these temporal dependencies. Additionally, while the data requirements are lower, future work will focus on "safe exploration" strategies to collect hardware data without risking damage to the robotic system.

Summary updated

BibTeX
@article{johnson2021using,
  author = {Curtis C. Johnson and Tyler Quackenbush and Taylor Sorensen and David Wingate and Marc D. Killpack},
  title = {{Using First Principles for Deep Learning and Model-Based Control of Soft Robots}},
  journal = {Frontiers Robotics AI},
  year = {2021},
  doi = {10.3389/frobt.2021.654398},
}
Figure