TL;DR
This paper evaluates whether Newtonian or Lagrangian neural networks are better at learning the inverse dynamics of industrial robots. The researchers found that while Lagrangian networks are elegant, Newtonian networks (RNEA + MLP) are significantly more effective in real-world scenarios because they more easily account for dissipative forces like friction, which are often bundled into motor torque measurements.
What Problem Does This Paper Address?
To control a robot precisely, you need an Inverse Dynamics (ID) model—an equation that tells you how much torque to apply to each joint to achieve a specific position, velocity, and acceleration.
Traditionally, engineers use analytical physics equations (like Newton-Euler or Euler-Lagrange). Recently, "physics-informed" neural networks have emerged, which embed these equations into deep learning models to get the best of both worlds: physical consistency and the ability to learn from data. However, there is little guidance on which architecture to choose.
A major practical hurdle is that most industrial robots don't measure "joint torque" directly; they estimate "motor torque" based on electrical current. This measurement includes not just the movement of the robot's mass, but also significant dissipative forces like friction, damping, and gear backlash. This paper asks: which neural network architecture handles these messy, real-world measurements best?
Methods
The authors compare several "Grey Box" modeling approaches:
- Lagrangian Neural Networks (LNN & DeLaN): These models learn the robot's Lagrangian (the difference between kinetic and potential energy). The joint torques are then derived using the Euler-Lagrange equations.
- Newtonian Neural Networks (RNEA + MLP): This approach uses the standard Recursive Newton-Euler Algorithm (RNEA) to handle the rigid-body physics and uses a Multi-Layer Perceptron (MLP) to learn the "residual"—the parts the physics equations miss (primarily friction).
- Baselines: The study also tests standard black-box models like MLPs and LSTMs, as well as a traditional physics model with a simple linear friction term (RNEA + LQ).
The core technical contribution is the analysis of how these models transform their internal neural network outputs into torque predictions and how that transformation affects their ability to represent friction.
Datasets
The study uses a real-world dataset collected from a MABI MAX 100, a large 6-axis industrial robot weighing 1250 kg.
- Trajectory: The robot was moved using a 3rd-order Fourier series excitation signal to ensure a wide range of velocities and accelerations.
- Data Points: Measurements of joint angles, velocities, and motor currents were sampled every 8 ms.
- Pre-processing: Motor currents were converted to torque estimates and filtered to remove noise. The final dataset was split into 70% training and 30% testing.
Key Insights and Ideas
- The "Joint Torque" Trap: Many research papers use the terms "joint torque" and "motor torque" interchangeably, but they aren't the same. Motor torque includes friction; joint torque (in a theoretical sense) often doesn't. Lagrangian networks struggle because friction doesn't naturally fit into the energy-based Lagrangian framework without adding extra, non-conservative terms.
- Newtonian Modularity: Newtonian networks are more "modular." Because the RNEA + MLP structure treats friction as an additive term, the neural network can focus entirely on learning the dissipative forces without being constrained by the derivatives of an energy function.
- Friction Dominates: In the first four joints of the MABI robot, friction forces are massive due to the weight of the robot arms pressing on the joints. This makes the ability to model dissipation the deciding factor in model accuracy.
Key Results
- Newtonian Wins: The RNEA + MLP model significantly outperformed all other models. For Joint 1, it achieved a Root Mean Square Error (RMSE) of 0.0322, compared to 0.0773 for DeLaN (Lagrangian) and 0.1045 for a standard MLP.
- Lagrangian Limitations: Pure Lagrangian networks (LNN and DeLaN) struggled the most, particularly on the high-friction joints. Even when an MLP was added to the Lagrangian model (LNN + MLP), it generally performed worse than the Newtonian counterpart.
- LSTM Strength: Interestingly, the LSTM (a black-box temporal model) performed quite well, often beating the Lagrangian models, though it still trailed the physics-informed Newtonian model. This suggests that the temporal dependencies in friction are significant.
Limitations and Future Work
- Initialization: The authors noted that Lagrangian networks (LNN and DeLaN) are notoriously difficult to initialize with the right weights, which can lead to training instability.
- Parameter Identification: While this study kept the physical parameters (like mass and length) fixed based on manufacturer data, future work could explore identifying these parameters and the neural network weights simultaneously via gradient descent.
- Efficiency: The paper focuses on accuracy; however, for real-time robot control, the computational cost of calculating these physics-informed gradients needs further evaluation.
Summary updated