A Neural Network-based Multi-timestep Command Governor for Nonlinear Systems with Constraints
Mostafaali Ayubirad, Hamid R. Ossareh
TL;DR
The paper tackles the challenge of enforcing nonlinear system constraints with high online computational cost by replacing the online NLP of the multi-timestep command governor (MCG) with an offline-trained regression NN (NN-MCG) that approximates the MCG map, followed by a sensitivity-based tightening to guarantee feasibility. The method yields a quadratically constrained optimization problem (QCQP/QP) in real time, significantly reducing computation while preserving near-MCG performance when the NN is well-trained. Applied to a fuel-cell air-path load governor, NN-MCG demonstrates substantial speedups (roughly 23×) over MCG with only modest performance loss, and successfully enforces surge, choke, and oxygen starvation constraints. This approach offers a practical route to real-time constraint management in fast nonlinear systems and opens avenues for deploying more advanced ML models in similar governor architectures.
Abstract
The multi-timestep command governor (MCG) is an add-on algorithm that enforces constraints by modifying, at each timestep, the reference command to a pre-stabilized control system. The MCG can be interpreted as a Model-Predictive Control scheme operating on the reference command. The implementation of MCG on nonlinear systems carries a heavy computational burden as it requires solving a nonlinear program with multiple decision variables at each timestep. This paper proposes a less computationally demanding alternative, based on approximating the MCG control law using a neural network (NN) trained on offline data. However, since the NN output may not always be constraint-admissible due to training errors, its output is adjusted using a sensitivity-based method. We thus refer to the resulting control strategy as the neural network-based MCG (NN-MCG). As validation, the proposed controller is applied as a load governor for constraint management in an automotive fuel cell system. It is shown that the proposed strategy is significantly more computationally efficient than the traditional MCG, while achieving nearly identical performance if the NN is well-trained.
