Verifying Switched System Stability With Logic

Switched systems are known to exhibit subtle (in)stability behaviors requiring system designers to carefully analyze the stability of closed-loop systems that arise from their proposed switching control laws. This paper presents a formal approach for verifying switched system stability that blends classical ideas from the controls and verification literature using differential dynamic logic (dL), a logic for deductive verification of hybrid systems. From controls, we use standard stability notions for various classes of switching mechanisms and their corresponding Lyapunov function-based analysis techniques. From verification, we use dL’s ability to verify quantified properties of hybrid systems and dL models of switched systems as looping hybrid programs whose stability can be formally specified and proven by finding appropriate loop invariants, i.e., properties that are preserved across each loop iteration. This blend of ideas enables a trustworthy implementation of switched system stability verification in the KeYmaera X prover based on dL. For standard classes of switching mechanisms, the implementation provides fully automated stability proofs, including searching for suitable Lyapunov functions. Moreover, the generality of the deductive approach also enables verification of switching control laws that require non-standard stability arguments through the design of loop invariants that suitably express specific intuitions behind those control laws. This flexibility is demonstrated on three case studies: a model for longitudinal flight control by Branicky, an automatic cruise controller, and Brockett’s nonholonomic integrator.

[1]  Karl Henrik Johansson,et al.  Dynamical properties of hybrid automata , 2003, IEEE Trans. Autom. Control..

[2]  M. Branicky Analyzing continuous switching systems: theory and examples , 1994, Proceedings of 1994 American Control Conference - ACC '94.

[3]  Pavithra Prabhakar,et al.  Averist: Algorithmic Verifier for Stability of Linear Hybrid Systems , 2018, HSCC.

[4]  André Platzer,et al.  The KeYmaera X Proof IDE - Concepts on Usability in Hybrid Systems Theorem Proving , 2017, F-IDE@FM.

[5]  Bai Xue,et al.  Discovering Multiple Lyapunov Functions for Switched Hybrid Systems , 2014, SIAM J. Control. Optim..

[6]  Marie-Françoise Roy,et al.  Real algebraic geometry , 1992 .

[7]  R. Sanfelice,et al.  Hybrid dynamical systems , 2009, IEEE Control Systems.

[8]  Sergey V. Drakunov,et al.  Stabilization and tracking in the nonholonomic integrator via sliding modes , 1996 .

[9]  A. Stephen Morse,et al.  Control Using Logic-Based Switching , 1997 .

[10]  Yong Kiam Tan,et al.  Deductive Stability Proofs for Ordinary Differential Equations , 2020, TACAS.

[11]  Peter J Seiler,et al.  SOSTOOLS: Sum of squares optimization toolbox for MATLAB , 2002 .

[12]  Wpmh Maurice Heemels,et al.  Introduction to hybrid systems , 2009 .

[13]  Nathan Fulton,et al.  KeYmaera X: An Axiomatic Tactical Theorem Prover for Hybrid Systems , 2015, CADE.

[14]  Daniel Liberzon,et al.  Switching in Systems and Control , 2003, Systems & Control: Foundations & Applications.

[15]  Anders Rantzer,et al.  Computation of piecewise quadratic Lyapunov functions for hybrid systems , 1997, 1997 European Control Conference (ECC).

[16]  André Platzer,et al.  A Retrospective on Developing Hybrid System Provers in the KeYmaera Family - A Tale of Three Provers , 2020, 20 Years of KeY.

[17]  A. Papachristodoulou,et al.  Analysis of switched and hybrid systems - beyond piecewise quadratic methods , 2003, Proceedings of the 2003 American Control Conference, 2003..

[18]  Armando Solar-Lezama,et al.  Numerically-Robust Inductive Proof Rules for Continuous Dynamical Systems , 2019, CAV.

[19]  Nathan Fulton,et al.  Bellerophon: Tactical Theorem Proving for Hybrid Systems , 2017, ITP.

[20]  Jens Oehlerking Decomposition of stability proofs for hybrid systems , 2011 .

[21]  Xin Chen,et al.  Lyapunov Function Synthesis Using Handelman Representations , 2013, NOLCOS.

[22]  André Platzer,et al.  Logical Foundations of Cyber-Physical Systems , 2018, Springer International Publishing.

[23]  Edmund M. Clarke,et al.  dReal: An SMT Solver for Nonlinear Theories over the Reals , 2013, CADE.

[24]  Ricardo G. Sanfelice,et al.  Hybrid Dynamical Systems: Modeling, Stability, and Robustness , 2012 .

[25]  George J. Pappas,et al.  A Framework for Worst-Case and Stochastic Safety Verification Using Barrier Certificates , 2007, IEEE Transactions on Automatic Control.

[26]  André Platzer,et al.  A Complete Uniform Substitution Calculus for Differential Dynamic Logic , 2016, Journal of Automated Reasoning.

[27]  Andreas Podelski,et al.  Model Checking of Hybrid Systems: From Reachability Towards Stability , 2006, HSCC.

[28]  Bo Hu,et al.  Stability analysis of switched systems with stable and unstable subsystems: An average dwell time approach , 2001, Int. J. Syst. Sci..

[29]  Yong Kiam Tan,et al.  Switched Systems as Hybrid Programs , 2021, ADHS.

[30]  Sriram Sankaranarayanan,et al.  Counter-Example Guided Synthesis of control Lyapunov functions for switched systems , 2015, 2015 54th IEEE Conference on Decision and Control (CDC).

[31]  J. Cortés Discontinuous dynamical systems , 2008, IEEE Control Systems.

[32]  Oliver E. Theel,et al.  Stabhyli: a tool for automatic stability verification of non-linear hybrid systems , 2013, HSCC '13.

[33]  Sriram Sankaranarayanan,et al.  Validating numerical semidefinite programming solvers for polynomial invariants , 2016, SAS.

[34]  P. Olver Nonlinear Systems , 2013 .

[35]  Sriram Sankaranarayanan,et al.  Simulation-guided lyapunov analysis for hybrid dynamical systems , 2014, HSCC.

[36]  André Platzer,et al.  Logical Analysis of Hybrid Systems - Proving Theorems for Complex Dynamics , 2010 .

[37]  Thomas A. Henzinger,et al.  The theory of hybrid automata , 1996, Proceedings 11th Annual IEEE Symposium on Logic in Computer Science.

[38]  M. Branicky Multiple Lyapunov functions and other analysis tools for switched and hybrid systems , 1998, IEEE Trans. Autom. Control..

[39]  R. W. Brockett,et al.  Asymptotic stability and feedback stabilization , 1982 .

[40]  R. Decarlo,et al.  Perspectives and results on the stability and stabilizability of hybrid systems , 2000, Proceedings of the IEEE.

[41]  Yong Kiam Tan,et al.  Differential Equation Invariance Axiomatization , 2019, J. ACM.

[42]  Alessandro Abate,et al.  Automated and Sound Synthesis of Lyapunov Functions with SMT Solvers , 2020, TACAS.

[43]  Karolin Papst,et al.  Stability Theory Of Switched Dynamical Systems , 2016 .