Robust Learning-Based Predictive Control for Discrete-Time Nonlinear Systems With Unknown Dynamics and State Constraints

Xinglong Zhang, Jiahang Liu, Xin Xu, Shuyou Yu, Hong Chen

Introduction

Controlling nonlinear systems with unknown dynamics while strictly adhering to state and input constraints is a fundamental challenge in modern robotics and automation. Traditional Model Predictive Control (MPC) provides robust safety guarantees but is often computationally prohibitive for real-time applications. Conversely, Reinforcement Learning (RL) offers high computational efficiency once trained but frequently lacks the formal stability and safety proofs required for critical systems. This paper introduces r-LPC (Robust Learning-based Predictive Control), a framework designed to bridge this gap by integrating data-driven Koopman modeling with an actor-critic architecture.

The Control Trilemma

Engineers typically face a "trilemma" when designing controllers for complex systems:

  1. Nonlinear Dynamics: Real-world physics are rarely linear and often unknown.
  2. Safety Constraints: Systems must operate within strict boundaries (e.g., avoiding collisions or overheating).
  3. Computational Speed: Control actions must be calculated in milliseconds for real-time deployment.

While classic Robust MPC is excellent at handling constraints, it requires a precise mathematical model and solves complex optimization problems at every time step. RL is fast and model-free but relies on trial-and-error, which is dangerous in safety-critical environments. The r-LPC framework addresses these issues by creating a controller that is data-driven, robust to noise, and computationally efficient.

The r-LPC Framework

The r-LPC framework is built upon three primary pillars:

  • Koopman Operator Modeling: To handle nonlinearities, the system's state is "lifted" into a higher-dimensional space where the dynamics appear linear. This model is learned entirely from offline datasets, removing the need for a prior physics-based model.
  • Receding Horizon Actor-Critic: The framework utilizes an actor-critic structure to learn a near-optimal feedback policy. The "Critic" estimates the long-term cost-to-go, while the "Actor" learns the best control action for a given state.
  • Barrier Functions: Hard state constraints are transformed into soft penalties using barrier functions. This allows the RL algorithm to naturally stay within safe boundaries during the learning process.
The r-LPC control architecture combining Koopman modeling with a receding-horizon actor-critic structure.

Key Innovations: From Sequences to Policies

A core conceptual shift in r-LPC is the move from calculating a sequence of future control moves (as in standard MPC) to learning an explicit policy function. By shifting the heavy computational lifting to an offline training phase, the online controller only needs to perform a simple neural network forward pass.

Comparison between traditional robust tube MPC and the proposed r-LPC, highlighting the shift from implicit to explicit control policies.

Furthermore, r-LPC maintains robustness through a "tube" approach. By combining the nominal Koopman model with an error-compensation term ($K e_z$), the controller ensures that even in the presence of disturbances, the actual system trajectory remains close to the intended path. The authors provide formal proofs for recursive feasibility and asymptotic stability, ensuring that if a system starts in a safe state, it is mathematically guaranteed to remain there.

Experimental Validation

The authors validated r-LPC using a Van der Pol oscillator simulation and a real-world inverted pendulum hardware setup. For the pendulum, 20,000 data points were collected using a random policy to identify the Koopman model.

  • Performance: In nominal conditions, r-LPC achieved a mean cumulative state cost ($J_x$) of 0.01, significantly outperforming a recent regularized policy gradient method (RDA-PG) which scored 0.03.
  • Noise Resilience: Under sinusoidal noise, r-LPC maintained stability with a state cost of 0.44, whereas the RDA-PG method's cost escalated to 10.4.
  • Efficiency: The online computational load is drastically reduced compared to Nonlinear MPC (NMPC) because the control action is derived from a pre-trained neural network.

Conclusion

r-LPC offers a promising path for the safe, real-time control of nonlinear systems with unknown dynamics. While the method's success depends on the quality of the initial data used for Koopman modeling, its ability to provide formal safety guarantees alongside RL-level efficiency makes it a powerful tool for modern control applications. Future work may extend this framework to continuous-time systems and more complex robotic tasks.

Summary updated

BibTeX
@article{zhang2022robust,
  author = {Xinglong Zhang and Jiahang Liu and Xin Xu and Shuyou Yu and Hong Chen},
  title = {{Robust Learning-Based Predictive Control for Discrete-Time Nonlinear Systems With Unknown Dynamics and State Constraints}},
  journal = {IEEE Trans. Syst. Man Cybern. Syst.},
  year = {2022},
  doi = {10.1109/tsmc.2022.3146284},
}
Figure