Synthesizing switching logic for safety and dwell-time requirements

Cyber-physical systems (CPS) can be usefully modeled as hybrid automata combining the physical dynamics within modes with discrete switching behavior between modes. CPS designs must satisfy safety and performance requirements. While the dynamics within each mode is usually defined by the physical plant, the tricky design problem often involves getting the switching logic right. In this paper, we present a new approach to assist designers by synthesizing the switching logic, given a partial system model, using a combination of fixpoint computation, numerical simulation, and machine learning. Our technique begins with an over-approximation of the guards on transitions between modes. In successive iterations, the over-approximations are refined by eliminating points that will cause the system to reach unsafe states, and such refinement is performed using numerical simulation and machine learning. In addition to safety requirements, we synthesize models to satisfy dwell-time constraints, which impose upper and/or lower bounds on the amount of time spent within a mode. We demonstrate using case studies that our technique quickly generates intuitive system models and that dwell-time constraints can help to tune the performance of a design.

[1]  Andreas Podelski,et al.  Dwell Time Refinement , 2009 .

[2]  George J. Pappas,et al.  Conflict resolution for multi-agent hybrid systems , 1996, Proceedings of 35th IEEE Conference on Decision and Control.

[3]  Sumit Gulwani,et al.  Synthesizing Switching Logic Using Constraint Solving , 2009, VMCAI.

[4]  Paulo Tabuada,et al.  Controller synthesis for bisimulation equivalence , 2007, Syst. Control. Lett..

[5]  LynchNancy,et al.  Verifying average dwell time of hybrid systems , 2009 .

[6]  J. Lygeros,et al.  A game theoretic approach to controller design for hybrid systems , 2000, Proceedings of the IEEE.

[7]  Antoine Girard,et al.  Verification Using Simulation , 2006, HSCC.

[8]  R. Stephenson A and V , 1962, The British journal of ophthalmology.

[9]  J. Raisch,et al.  Discrete control of switched linear systems , 1999, 1999 European Control Conference (ECC).

[10]  T. Henzinger,et al.  Algorithmic Analysis of Nonlinear Hybrid Systems , 1998, CAV.

[11]  S. Shankar Sastry,et al.  Mode Switching Synthesis for Reachability Specifications , 2001, HSCC.

[12]  Olaf Stursberg,et al.  On Systematic Simulation of Open Continuous Systems , 2003, HSCC.

[13]  Oded Maler,et al.  Systematic Simulation Using Sensitivity Analysis , 2007, HSCC.

[14]  Nancy A. Lynch,et al.  Verifying average dwell time of hybrid systems , 2008, TECS.

[15]  P. Manon,et al.  Controller synthesis for hybrid systems with linear vector fields , 1999, Proceedings of the 1999 IEEE International Symposium on Intelligent Control Intelligent Systems and Semiotics (Cat. No.99CH37014).

[16]  B. Krogh,et al.  Synthesis of supervisory controllers for hybrid systems based on approximating automata , 1998, IEEE Trans. Autom. Control..

[17]  Thomas A. Henzinger,et al.  The Algorithmic Analysis of Hybrid Systems , 1995, Theor. Comput. Sci..

[18]  Sanjit A. Seshia,et al.  Combinatorial sketching for finite programs , 2006, ASPLOS XII.

[19]  John Lygeros,et al.  Lecture Notes on Hybrid Systems , 2004 .

[20]  Sumit Gulwani,et al.  Synthesizing switching logic using constraint solving , 2010, International Journal on Software Tools for Technology Transfer.

[21]  A. Pnueli,et al.  Effective synthesis of switching controllers for linear systems , 2000, Proceedings of the IEEE.