On the design of terminal ingredients for data-driven MPC

Julian Berberich, Johannes Köhler, Matthias A. Müller, Frank AllgöwerarXiv 2021

Abstract

This paper introduces a novel data-driven Model Predictive Control (MPC) scheme that guarantees stability for linear systems without requiring an explicit mathematical model. By designing "terminal ingredients"—a terminal cost and a terminal set constraint—directly from raw input-output data, the authors provide a controller that is more robust and has a larger operating range (region of attraction) than previous data-driven methods.

Introduction

Traditional Model Predictive Control (MPC) is a model-based technique requiring a mathematical description of the system (e.g., $x_{k+1} = Ax_k + Bu_k$). However, identifying accurate models from data is often the most difficult part of control engineering. Data-driven MPC aims to skip this modeling step by using past trajectories to predict future ones directly. While recent methods like DeePC have shown promise, ensuring long-term stability is challenging. Earlier stable data-driven MPC relied on "terminal equality constraints," which force the system to hit a target point exactly at the end of the horizon. This approach is often practically brittle, reducing flexibility and the controller's region of attraction.

Methodology

The proposed approach is built upon Willems’ Fundamental Lemma, which posits that a single sufficiently rich (persistently exciting) trajectory of a linear system contains all necessary information to represent any other possible trajectory.

Extended State Representation

Since the internal state of the system is unknown, the authors utilize a "lag" approach. They create an extended state $\xi$ composed of a sequence of past inputs and outputs. This representation allows the system dynamics to be captured implicitly through data matrices.

Extended state representation using a lag approach for data-driven system modeling.

Terminal Ingredient Design

The core contribution is a procedure to calculate a terminal cost matrix ($P$) and a terminal set ($\Xi_f$) using Linear Matrix Inequalities (LMIs) solved directly from measured data. To handle the implicit definition of the system, the authors employ the "full-block S-procedure" from robust control, ensuring the terminal ingredients remain valid for any system consistent with the observed data. This "direct" method provides stability guarantees in a single step, avoiding potential model-fitting errors inherent in indirect methods.

Key Results

The authors provide a rigorous mathematical proof that their scheme exponentially stabilizes the desired setpoint. The performance was validated using a simulated Linearized Four-Tank System, a classic multivariable hydraulic benchmark.

Closed-loop input and output trajectories for the linearized four-tank system demonstrating setpoint tracking.

Key findings from the simulation include:

  • Reliable Tracking: The proposed scheme tracked target setpoints for both inputs and outputs reliably.
  • Superior Stability: While MPC without terminal ingredients became unstable due to short prediction horizons, and MPC with terminal equality constraints often faced infeasibility issues, the new terminal set approach handled the starting conditions with ease.
  • Observability Guidelines: The research identified a "square" observability condition (Lemma 13) as a guideline for determining the necessary amount of past data (lag) to include in the extended state.

Conclusion and Future Work

This work demonstrates that moving from terminal equality points to terminal inequality sets significantly improves numerical stability and the region of attraction for data-driven MPC. While currently limited to noise-free linear time-invariant (LTI) systems, future research aims to extend these rigorous designs to handle measurement noise and nonlinear system dynamics.

Summary updated

BibTeX
@misc{berberich2021design,
  author = {Julian Berberich and Johannes Köhler and Matthias A. Müller and Frank Allgöwer},
  title = {{On the design of terminal ingredients for data-driven MPC}},
  year = {2021},
  eprint = {2101.05573},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2101.05573},
}
Figure