Negative Imaginary Neural ODEs: Learning to Control Mechanical Systems with Stability Guarantees
Kanghong Shi, Ruigang Wang, Ian R. Manchester
TL;DR
This work addresses stability guarantees for nonlinear mechanical systems controlled by neural models by embedding negative imaginary (NI) properties into a Hamiltonian neural ODE controller (NINODE). It combines Polyak-Łojasiewicz networks (PLNets) and bi-Lipschitz neural blocks to enforce NI behavior and constructs a Lyapunov-based interconnection framework for NI Hamiltonian systems. A mechanical-system specialization provides explicit regularity conditions under which the closed-loop is asymptotically stable, with a nonlinear mass–spring example illustrating stabilization and improved performance over LSTM and linear NI controllers. Taken together, the results offer a principled path to data-driven controllers with formal stability guarantees for safety-critical mechanical systems with colocated actuators and sensors.
Abstract
We propose a neural control method to provide guaranteed stabilization for mechanical systems using a novel negative imaginary neural ordinary differential equation (NINODE) controller. Specifically, we employ neural networks with desired properties as state-space function matrices within a Hamiltonian framework to ensure the system possesses the NI property. This NINODE system can serve as a controller that asymptotically stabilizes an NI plant under certain conditions. For mechanical plants with colocated force actuators and position sensors, we demonstrate that all the conditions required for stability can be translated into regularity constraints on the neural networks used in the controller. We illustrate the utility, effectiveness, and stability guarantees of the NINODE controller through an example involving a nonlinear mass-spring system.
