2025 AIChE Annual Meeting

(644b) Neural Luenberger Observer for Nonlinear Systems with External Inputs (Neural LOX)

In chemical processes, measuring all state variables is impractical due to sensor or fiscal limitations. A solution is to design a state observer, i.e., an auxiliary dynamical system that takes input and output data of the process as inputs and gives estimates of the states as an output [1]. However, the nonlinear dynamics inherent to chemical processes, typically governed by transport phenomena and reaction kinetics, make state estimation challenging. To address this, the seminal work by Kazantzis and Kravaris [2] extended the Luenberger observer to nonlinear systems, which we call a Kazantzis-Kravaris-Luenberger (KKL) observer. A KKL observer uses an injective nonlinear mapping that lifts the states into the observer state space; such a nonlinear injection needs to satisfy a system of first-order partial differential equations (PDEs). Thus, the KKL observer combines linear time-invariant (LTI) dynamics with a nonlinear static output mapping, but its synthesis hinges on solving a challenging system of PDEs.

Recent works have proposed solving the PDE for the unknown injection in a data-driven manner (e.g., via neural networks [3]–[5]), but these approaches remain largely restricted to autonomous systems. As pointed out in Bernard et al. [6], extending the KKL framework to non-autonomous systems requires incorporating an additional term to account for external inputs. For a data-driven observer synthesis, this input-related term should also be parameterized and learned. Therefore, we propose a supervised learning algorithm that learns such an additional term from input–output data through a neural network approach, as well as the nonlinear injection from the states to the observer states. We refer to the learned observer as a “neural Luenberger observer for nonlinear systems with external inputs” (Neural LOX).

Our approach comprises of two steps. First, we collect data from the autonomous system without external inputs and train the output mapping of the KKL observer using polynomial regression. We choose polynomial regression for simplicity and convexity of the formulation. Subsequently, we incorporate the effects of manipulated inputs by utilizing a residual neural network (ResNet) to parameterize and learn the new input-related, state-dependent terms in the observer. We quantify the loss metric of ResNet based on the prediction error between the true states and the observed states. Thus, our neural LOX provides a model-free solution to synthesize a KKL observer with external inputs in a data-driven manner.

To validate the proposed approach, we present two case studies. With a two-state bioreactor (used in [6]), the neural LOX algorithm successfully reconstructs state trajectories with comparable performance to the actual KKL observer in analytical form and significantly outcompetes the extended Kalman filter. We also demonstrate the scalability of the proposed approach to a more complex Williams-Otto reactor with a six-dimensional state space, where it maintains estimation accuracy.

References

  1. Kravaris, J. Hahn, and Y. Chu, “Advances and selected recent developments in state and parameter estimation,” Computers & Chemical Engineering, vol. 51, pp. 111–123, 2013.
  2. Kazantzis and C. Kravaris, “Nonlinear observer design using Lyapunov’s auxiliary theorem,” Systems & Control Letters, vol. 34, no. 5, pp. 241–247, 1998.
  3. U. B. Niazi, et al., “Learning-based design of Luenberger observers for autonomous nonlinear systems,” in 2023 American Control Conference (ACC), IEEE, 2023, pp. 3048–3055.
  4. Miao and K. Gatsis, “Learning robust state observers using neural ODEs,” in Learning for Dynamics and Control Conference, PMLR, 2023, pp. 208–219.
  5. Tang, W., “Synthesis of data-driven nonlinear state observers using Lipschitz-bounded neural networks,” in 2024 American Control Conference (ACC), IEEE, 2024, pp. 1713–1719.
  6. Bernard and V. Andrieu, “Luenberger observers for nonautonomous nonlinear systems,” IEEE Transactions on Automatic Control, vol. 64, no. 1, pp. 270–281, 2018.