English

Real-Time Non-Smooth MPC for Switching Systems: Application to a Three-Tank Process

Systems and Control 2025-12-11 v1 Systems and Control

Abstract

Real-time model predictive control of non-smooth switching systems remains challenging due to discontinuities and the presence of discrete modes, which complicate numerical integration and optimization. This paper presents a real-time feasible non-smooth model predictive control scheme for a physical three-tank process, implemented without mixed-integer formulations. The approach combines Filippov system modeling with finite elements and switch detection for time discretization, leading to a finite-dimensional optimal control problem formulated as a mathematical program with complementarity constraints. The mathematical program is solved via a homotopy of smooth nonlinear programs. We introduce modeling adjustments that make the three-tank dynamics numerically tractable, including additional modes to avoid non-Lipschitz points and undefined function values. Hardware experiments demonstrate efficient handling of switching events, mode-consistent tracking across reference changes, correct boundary handling, and constraint satisfaction. Furthermore, we investigate the impact of model mismatch and show that the tracking performance and computation times remain within real-time limits for the chosen sampling time. The complete controller is implemented using the non-smooth optimal control framework NOSNOC

Keywords

Cite

@article{arxiv.2512.09611,
  title  = {Real-Time Non-Smooth MPC for Switching Systems: Application to a Three-Tank Process},
  author = {Hendrik Alsmeier and Felix Häusser and Andreas Knödler and Armin Nurkanović and Anton Pozharskiy and Moritz Diehl and Rolf Findeisen},
  journal= {arXiv preprint arXiv:2512.09611},
  year   = {2025}
}

Comments

Submitted to European Control Conference 2026 (ECC26)

R2 v1 2026-07-01T08:18:47.637Z