Exact Worst-Case Execution-Time Analysis for Implicit Model Predictive Control

被引:0
作者
Arnstrom, Daniel [1 ]
Broman, David [2 ]
Axehill, Daniel [3 ]
机构
[1] Uppsala Univ, Div Syst & Control, S-75310 Uppsala, Sweden
[2] KTH Royal Inst Technol, Div Software & Comp Syst, S-11428 Stockholm, Sweden
[3] Linkoping Univ, Div Automat Control, S-58183 Linkoping, Sweden
基金
瑞典研究理事会;
关键词
Execution time analysis; optimization methods; predictive control for linear systems; real time systems; ACTIVE-SET METHODS; COMPLEXITY CERTIFICATION; ALGORITHM; FRAMEWORK;
D O I
10.1109/TAC.2024.3395521
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We propose the first method that determines the exact worst-case execution time (WCET) for implicit linear model predictive control (MPC). Such WCET bounds are imperative when MPC is used in real time to control safety-critical systems. The proposed method applies when the quadratic programming solver in the MPC controller belongs to a family of well-established active-set solvers. For such solvers, we leverage a previously proposed complexity certification framework to generate a finite set of "archetypal" optimization problems; we prove that these archetypal problems form an execution-time equivalent cover of all possible problems; that is, that they capture the execution time for solving any possible optimization problem that can be encountered online. Hence, by solving just these archetypal problems on the hardware on which the MPC is to be deployed, and by recording the execution times, we obtain the exact WCET. In addition to providing formal proofs of the methods efficacy, we validate the method on an MPC example where an inverted pendulum on a cart is stabilized. The experiments highlight the following advantages compared with classical WCET methods: first, in contrast to classical static methods, our method gives the exact WCET; second, in contrast to classical measurement-based methods, our method guarantees a correct WCET estimate and requires fewer measurements on the hardware.
引用
收藏
页码:7190 / 7196
页数:7
相关论文
共 31 条
  • [1] Arnstrom D., 2021, On complexity certification of active-set QP methods with applications to linear MPC
  • [2] A Dual Active-Set Solver for Embedded Quadratic Programming Using Recursive LDLT Updates
    Arnstrom, Daniel
    Bemporad, Alberto
    Axehill, Daniel
    [J]. IEEE TRANSACTIONS ON AUTOMATIC CONTROL, 2022, 67 (08) : 4362 - 4369
  • [3] A Unifying Complexity Certification Framework for Active-Set Methods for Convex Quadratic Programming
    Arnstrom, Daniel
    Axehill, Daniel
    [J]. IEEE TRANSACTIONS ON AUTOMATIC CONTROL, 2022, 67 (06) : 2758 - 2770
  • [4] Building Timing Predictable Embedded Systems
    Axer, Philip
    Ernst, Rolf
    Falk, Heiko
    Girault, Alain
    Grund, Daniel
    Guan, Nan
    Jonsson, Bengt
    Marwedel, Peter
    Reineke, Jan
    Rochange, Christine
    Sebastian, Maurice
    Von Hanxleden, Reinhard
    Wilhelm, Reinhard
    Yi, Wang
    [J]. ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2014, 13 (04)
  • [5] Ballabriga C, 2010, LECT NOTES COMPUT SC, V6399, P35, DOI 10.1007/978-3-642-16256-5_6
  • [6] The explicit linear quadratic regulator for constrained systems
    Bemporad, A
    Morari, M
    Dua, V
    Pistikopoulos, EN
    [J]. AUTOMATICA, 2002, 38 (01) : 3 - 20
  • [7] Broman D, 2017, Arxiv, DOI arXiv:1712.05264
  • [8] Exact Complexity Certification of Active-Set Methods for Quadratic Programming
    Cimini, Gionata
    Bemporad, Alberto
    [J]. IEEE TRANSACTIONS ON AUTOMATIC CONTROL, 2017, 62 (12) : 6094 - 6109
  • [9] Cousot Patrick, 1977, P 4 ACM SIGACT SIGPL, P238, DOI [DOI 10.1145/512950.512973, 10.1145/512950.512973]
  • [10] Davis Robert Ian., 2019, LITES: Leibniz Transactions on Embedded Systems, P1