Abstract
There is a growing interest in data-driven models of dynamic systems developed from "Big Data." However, data-driven models have limitations, such as the inability to function without extensive datasets. Hybrid models, which combine relatively simple mechanistic models with data-driven components, offer a compelling compromise. They allow for physics-based understanding and the synthesis of control structures prior to system construction, while enabling model improvement as data becomes available. This paper explores the application of such a hybrid approach to a laboratory helicopter system.
Introduction
Engineers typically face a trade-off when modeling dynamic systems. Mechanistic models, derived from first principles like Newton’s laws, are highly interpretable and extrapolate well but often fail to capture real-world complexities like non-linear friction or hardware imperfections. Conversely, data-driven models, such as deep neural networks, can fit complex data with high precision but act as "black boxes" that require massive datasets and lack robustness outside their training range.
This study investigates a "best of both worlds" approach: Hybrid Modeling. By augmenting a traditional physics-based model with a neural network, we address the specific challenge of modeling a laboratory helicopter where nominal physics equations fail to accurately predict yaw (side-to-side) movement due to unmodeled effects like power wire tension.
Experimental Setup and Dataset
The study utilized a physical laboratory helicopter capable of movement in two degrees of freedom: pitch ($\theta$) and yaw ($\psi$). The system is controlled via motor voltages ($u_\theta, u_\psi$), and the resulting angles are measured by dedicated sensors.
The dataset consisted of 13,100 datapoints collected at a frequency of 100Hz ($\Delta t = 0.01s$). As shown in the experimental data, the yaw angle exhibits complex, non-linear behavior that is difficult to capture using simplified linear torque assumptions.
Methodology
The researchers employed a multi-step workflow within the Julia programming language ecosystem:
- Mechanistic Foundation: A model based on Lagrangian mechanics was developed to define the helicopter's kinetic and potential energy, deriving the base equations of motion.
- Neural Augmentation: To account for unmodeled dynamics, a Neural Differential Equation (NDE) was introduced. A small feed-forward neural network (FNN) was integrated directly into the torque equations, creating a model where Physics + Neural Network = Total Force.
- Two-Phase Training: The neural network was trained using a "ballistic" fit. The ADAM optimizer provided a rough global search, followed by the BFGS (quasi-Newton) method for fine-tuning the parameters.
- Equation Discovery: Finally, the team used Sparse Identification of Nonlinear Dynamics (SINDy) to "interrogate" the trained neural network. This process identifies simple symbolic mathematical expressions that can replace the black-box neural network, restoring full interpretability to the model.
Key Results and Discussion
The hybrid approach yielded significant improvements over the pure mechanistic model. While the optimized mechanistic model had a loss value of 92—primarily due to its inability to track the yaw angle—the addition of a 16-node neural network reduced the loss to 9.2, a 10x improvement in accuracy.
Notably, the SINDy process successfully identified specific trigonometric terms related to the yaw motor voltage that explained the performance gap. This transition from a "black box" neural network back to a "white box" symbolic equation demonstrates the power of hybrid modeling to discover missing physics. Furthermore, testing showed that increasing the neural network size beyond 16 nodes provided no significant benefit, suggesting that relatively simple networks are sufficient to capture residual dynamics in such systems.
Conclusion
By using a neural network as a "residual learner," this study demonstrates that hybrid models can correct for unmodeled physical phenomena without sacrificing the interpretability of the underlying physics. Future work will focus on integrating these high-accuracy hybrid models into Model Predictive Control (MPC) frameworks to achieve more precise real-time flight control.
Summary updated