Computing controlled invariant sets for hybrid systems with applications\n to model-predictive control

Benoît Legat, Paulo Tabuada, Raphaël M. Jungers

Abstract

In this paper, we develop a method for computing controlled invariant sets using Semidefinite Programming. We apply our method to the controller design problem for switching affine systems with polytopic safe sets. The task is reduced to a semidefinite programming problem by enforcing an invariance relation in the dual space of the geometric problem. The paper ends with an application to safety critical model predictive control.

Introduction

In safety-critical engineering—such as autonomous platooning or air traffic management—maintaining a "guaranteed safe" region of the state space is paramount. This region is known as a controlled invariant set (CIS): a set of states from which there exists a control action to keep the system within the set indefinitely.

Computing these sets for hybrid systems, which integrate continuous dynamics with discrete logic or switching events, is notoriously difficult. Traditional polyhedral methods are exact but suffer from the "curse of dimensionality," where computational costs explode as the number of state variables increases. Conversely, standard Semidefinite Programming (SDP) approaches often struggle with the existential quantifier inherent in the control problem—proving that there exists a control input to maintain safety.

Methodology

The proposed method overcomes these challenges through a multi-step reduction that makes the problem computationally tractable:

  1. Algebraic Reduction: The authors reduce a Hybrid Control System (HCS) to a Hybrid Algebraic System (HAS). This step effectively projects the dynamics onto the space where control is feasible, abstracting away the explicit control input $u$.
  2. Duality Transformation: This is the core innovation. By shifting the problem into a dual mathematical space using polar sets and conic hulls, the complex "existence of control" condition is transformed into a set containment constraint. This dual formulation is significantly easier to solve using optimization tools.
  3. State Space Lifting: To accommodate affine systems (those with constant offsets like gravity), the state space is "lifted" by an additional dimension, converting affine dynamics into linear ones.
  4. SDP Optimization: The search for the largest possible ellipsoidal invariant set is formulated as a Semidefinite Program. By utilizing the S-procedure and Sum-of-Squares (SOS) programming, the problem can be solved efficiently using high-performance solvers like Mosek.

Benchmark: Cruise Control with Multiple Trailers

The method was evaluated using a high-dimensional physical benchmark: a truck pulling a variable number of trailers connected by springs and dampers. The state space scales linearly with the number of trailers, reaching 21 dimensions for a 10-trailer configuration. The control objective is to maintain safe speeds and prevent the over-extension of trailer hitches.

Key Results and Insights

The SDP-based approach demonstrated significant advantages in both computational efficiency and control performance.

Scalability and Efficiency

Unlike polyhedral methods that become prohibitively slow or fail to converge beyond a few variables, the SDP approach handles high-dimensional systems gracefully. As shown in the performance analysis, the solve time for the ellipsoidal method remains manageable even as the number of trailers (and thus state dimensions) increases.

Comparison of solve times between the proposed ellipsoidal SDP method and traditional polyhedral methods as the number of trailers increases.

Safe Model Predictive Control (MPC)

In Model Predictive Control, safety typically requires a long prediction horizon, which is computationally expensive. By constraining the MPC to remain within a pre-computed invariant set, the authors demonstrate that a very short horizon (e.g., 3 time steps) is sufficient to guarantee safety.

Speed profiles of the truck under different MPC configurations, showing that the safe MPC (with invariant set) respects speed limits even with short horizons.

In simulations, a classical MPC with a short horizon failed to respect new speed limits when they were suddenly imposed. In contrast, the "Safe MPC" augmented with the invariant set successfully decelerated the truck while adhering to all safety constraints.

Conclusion

This work provides a scalable framework for computing safe zones in complex hybrid systems. By leveraging duality and SDP, the method bypasses traditional computational bottlenecks. While the current focus on ellipsoidal sets introduces some conservatism, it enables real-time safety guarantees for high-dimensional systems. Future work may explore non-ellipsoidal shapes using higher-order Sum-of-Squares programming to further reduce conservatism while maintaining computational tractability.

Summary updated

Abstract

In this paper, we develop a method for computing controlled invariant sets\nusing Semidefinite Programming. We apply our method to the controller design\nproblem for switching affine systems with polytopic safe sets. The task is\nreduced to a semidefinite programming problem by enforcing an invariance\nrelation in the dual space of the geometric problem. The paper ends with an\napplication to safety critical model predictive control.\n
BibTeX
@inproceedings{legat2018computing,
  author = {Benoît Legat and Paulo Tabuada and Raphaël M. Jungers},
  title = {{Computing controlled invariant sets for hybrid systems with applications\textbackslash\{\}n to model-predictive control}},
  booktitle = {ADHS},
  year = {2018},
  doi = {10.1016/j.ifacol.2018.08.033},
}
Figure