Neural Network Augmented Physics Models for Systems with Partially Unknown Dynamics: Application to Slider-Crank Mechanism

Wannes De Groote, Edward Kikken, Erik Hostens, Sofie Van Hoecke, Guillaume CrevecoeurIEEE/ASME 2019

Introduction

Engineers designing high-performance mechatronic systems, such as robotic arms or industrial presses, often face a significant modeling dilemma. Traditional physics-based models offer excellent interpretability and safety but frequently fail to account for complex real-world effects like non-linear friction, damping, or external load interactions. Conversely, black-box neural networks provide high accuracy in pattern matching but lack physical consistency, require extensive datasets, and can fail unpredictably outside their training domain.

This paper addresses the challenge of partially unknown dynamics: building a model when the fundamental laws of motion (the "skeleton") are known, but specific, complex force interactions (the "muscles") are missing.

Neural Network Augmented Physics (NNAP)

The authors propose the Neural Network Augmented Physics (NNAP) framework. Rather than using a neural network to predict the entire system state, it is integrated as a modular component within a larger physical structure.

The NNAP framework integrates physics-based ODE layers with black-box neural network layers for joint optimization.

The framework consists of three core pillars:

  1. Hybrid Architecture: The model combines "physics layers," representing known Ordinary Differential Equations (ODEs), with "black-box layers" (ReLU neural networks). The neural network is specifically tasked with estimating unknown force terms within the physical equations.
  2. Simultaneous Optimization: Unlike traditional methods that tune physics and AI separately, NNAP uses a gradient-based optimizer (Adam) to update both physical parameters (e.g., inertia, damping) and neural network weights concurrently.
  3. Recurrent Implementation: To prevent "drift" in long-term predictions, a recurrent version of the model was implemented using Backpropagation Through Time (BPTT). This ensures the model is penalized for errors across entire trajectories rather than single timesteps.

Experimental Validation: Slider-Crank Mechanism

The methodology was validated using an experimental slider-crank mechanism driven by a 3 kW brushless servo motor. To simulate "unknown" dynamics, the researchers intentionally added a compression spring to the slider, creating a non-linear load that was omitted from the initial physical equations. Data consisted of 20 different trajectories of rotational movement ($\theta$ and $\omega$) sampled at 2000 Hz, driven by diverse torque inputs.

Key Insights

A primary insight from this work is the model's ability to learn the unseen. The NNAP framework accurately reconstructs the force-displacement curve of the hidden spring without direct sensor measurements, inferring the force from deviations in the expected motion of the physical "skeleton."

The authors also highlight the importance of Recurrent vs. Feedforward training. While feedforward models are simpler, they suffer from integration drift. The recurrent NNAP acts as a "global" learner, capturing long-term behavior more robustly. Furthermore, the paper identifies an Identifiability Trap: if too many physical parameters are learned simultaneously with the neural network, solutions can become non-unique, potentially compromising interpretability.

Results and Physical Discovery

The recurrent NNAP model achieved a 33.4% reduction in Root Mean Squared Error (RMSE) for state predictions compared to a standard feedforward approach.

The neural network successfully reconstructs the unknown spring force $F_s$ as a function of displacement $d$.

Crucially, when the neural network component was extracted after training, its output closely matched the empirical spring characteristic and even captured direction-dependent friction patterns. The model maintained stable, physically plausible behavior even when tested slightly outside its primary training velocity range.

Conclusion

NNAP demonstrates a powerful path forward for modeling complex mechanical systems where some dynamics remain elusive. By grounding neural networks within physical laws, engineers can achieve both high accuracy and physical interpretability. Future work will focus on scaling this approach to higher-degree-of-freedom systems and exploring more advanced regularization strategies to handle sparser physical "skeletons."

Summary updated

BibTeX
@misc{groote2019neural,
  author = {Wannes De Groote and Edward Kikken and Erik Hostens and Sofie Van Hoecke and Guillaume Crevecoeur},
  title = {{Neural Network Augmented Physics Models for Systems with Partially Unknown Dynamics: Application to Slider-Crank Mechanism}},
  year = {2019},
  eprint = {1910.12212},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1910.12212},
}
Figure