Operational Semantics of Hybrid Systems

Hybrid systems are heterogeneous systems that include continuous-time (CT) subsystems interacting with discrete-event (DE) subsystems. They are effective models for physical systems interacting with software or experiencing discrete mode changes. This dissertation discusses an interpretation of hybrid systems as executable programs written in a programming language with a hybrid system semantics. The semantic properties of such a programming language affect our ability to understand, execute, and analyze a hybrid system model. This dissertation focuses on a few semantic issues that come in defining such a programming language, such as the interpretation of discontinuities in CT signals and simultaneous discrete events in DE signals, liveness property, and the consequences of numerical ODE solver techniques. The interactions between CT and DE subsystems and between DE subsystems themselves are captured by discontinuities in continuous-time signals and simultaneous discrete events in discrete-event signals. In order to precisely represent them in compute execution results, a two-dimension domain, called "super-dense time," is used as the domain for defining signals. This domain allows a signal to have multiple values at the same time point while keeping the values ordered. CT and DE subsystems are modeled as actors, which are functions that map a set of signals to another set of signals. In this way, a hybrid system model is just a network of actors interacting via signals. We can always transform a network of actors into a composite actor with feedback, where the function of the composition actor is the composition of functions of the component actors. The least fixed point solution to the function of the composite actor, which is a set of signals, gives the denotational semantics of the hybrid system model. The operational semantics takes the denotational semantics as a mathematical foundation and defines a set of rules for evaluating actors such that the least fixed point solution can be constructed. Rather than constructing the whole signals, the operational semantics only computes a discrete subset of the signals called a discrete representation of the signals. The constructive procedure is formalized with the Abstract State Machine semantics, where a hybrid system is treated as a state transition system and the rules specify how state transformations are performed. This operational semantics supports heterogeneous and hierarchical composition of different models of computation, such as CT, DE, finite state machines, and synchronous languages, and modular execution of the composition as a whole. This ability makes it easy to jointly model and design software controlled systems. The operational semantics proposed in this dissertation has been implemented in HyVisual, which is a software tool for modeling and simulating hybrid systems. HyVisual is part of the Ptolemy II software framework, which is available in open-source form at http://ptolemy.org.

[1]  Alberto Bemporad,et al.  HYSDEL 2.0. 5- User manual , 2002 .

[2]  S. Sastry Nonlinear Systems: Analysis, Stability, and Control , 1999 .

[3]  A.D. Ames,et al.  Sufficient conditions for the existence of zeno behavior in a class of nonlinear hybrid systems via constant approximations , 2005, 2007 46th IEEE Conference on Decision and Control.

[4]  Brian A. Davey,et al.  An Introduction to Lattices and Order , 1989 .

[5]  Farhad Arbab Abstract Behavior Types: a foundation model for components and their composition , 2005, Sci. Comput. Program..

[6]  Joseph Sifakis,et al.  Composition for component-based modeling , 2002, Sci. Comput. Program..

[7]  Pascal Raymond,et al.  The synchronous data flow programming language LUSTRE , 1991, Proc. IEEE.

[8]  Edward A. Lee,et al.  Beyond Zeno: Get on with It! , 2006, HSCC.

[9]  Nancy A. Lynch,et al.  Hybrid I/O automata , 1995, Inf. Comput..

[10]  James R. Armstrong,et al.  VHDL Design Representation and Synthesis , 2000 .

[11]  Gordon D. Plotkin,et al.  A structural approach to operational semantics , 2004, J. Log. Algebraic Methods Program..

[12]  Lawrence F. Shampine,et al.  Reliable solution of special event location problems for ODEs , 1991, TOMS.

[13]  John Lygeros,et al.  Controllers for reachability specifications for hybrid systems , 1999, Autom..

[14]  A.D. Ames,et al.  Characterization of Zeno behavior in hybrid systems using homological methods , 2005, Proceedings of the 2005, American Control Conference, 2005..

[15]  Carolyn L. Talcott,et al.  Interaction Semantics for Components of Distributed Systems , 1997 .

[16]  Max Donath,et al.  American Control Conference , 1993 .

[17]  Karl J. Ottenstein,et al.  The program dependence graph in a software development environment , 1984 .

[18]  George S. Fishman,et al.  Discrete-event simulation , 2001 .

[19]  A. Benveniste Compositional and uniform modeling of hybrid systems , 1998 .

[20]  Edward A. Lee,et al.  On the Causality of Mixed-Signal and Hybrid Models , 2003, HSCC.

[21]  Christos G. Cassandras,et al.  Discrete-Event Systems , 2005, Handbook of Networked and Embedded Control Systems.

[22]  Akash Deshpande,et al.  The SHIFT programming language for dynamic networks of hybrid automata , 1998 .

[23]  Vijay Kumar,et al.  Accurate Event Detection for Simulating Hybrid Systems , 2001, HSCC.

[24]  Edward A. Lee,et al.  A framework for comparing models of computation , 1998, IEEE Trans. Comput. Aided Des. Integr. Circuits Syst..

[25]  Pieter J. Mosterman,et al.  HYBRSIM—a modelling and simulation environment for hybrid bond graphs , 2002 .

[26]  S. Sastry,et al.  Simulation of Zeno hybrid automata , 1999, Proceedings of the 38th IEEE Conference on Decision and Control (Cat. No.99CH36304).

[27]  Robert P. Kurshan,et al.  Verification of Digital and Hybrid Systems , 2000, NATO ASI Series.

[28]  Joseph Sifakis,et al.  Composition for component-based modeling , 2005, Sci. Comput. Program..

[29]  Panos J. Antsaklis,et al.  Hybrid Systems II , 1994, Lecture Notes in Computer Science.

[30]  Olivier Bournez,et al.  Approximate Reachability Analysis of Piecewise-Linear Dynamical Systems , 2000, HSCC.

[31]  Thomas A. Henzinger,et al.  HYTECH: a model checker for hybrid systems , 1997, International Journal on Software Tools for Technology Transfer.

[32]  Christos G. Cassandras,et al.  Discrete event systems : modeling and performance analysis , 1993 .

[33]  Edward A. Lee,et al.  Hyvisual: a Hybrid System Modeling Framework based on Ptolemy II , 2006, ADHS.

[34]  Edward A. Lee,et al.  Hierarchical finite state machines with multiple concurrency models , 1999, IEEE Trans. Comput. Aided Des. Integr. Circuits Syst..

[35]  Luca P. Carloni,et al.  Modeling Techniques, Programming Languages, and Design Toolsets for Hybrid Systems , 2004 .

[36]  Egon Börger,et al.  High Level System Design and Analysis Using Abstract State Machines , 1998, FM-Trends.

[37]  Joe D. Warren,et al.  The program dependence graph and its use in optimization , 1987, TOPL.

[38]  Ian M. Mitchell,et al.  Level Set Methods for Computation in Hybrid Systems , 2000, HSCC.

[39]  George S. Fishman,et al.  Discrete-Event Simulation : Modeling, Programming, and Analysis , 2001 .

[40]  Paulo Tabuada,et al.  On the Stability of Zeno Equilibria , 2006, HSCC.

[41]  David W. Binkley,et al.  Interprocedural slicing using dependence graphs , 1988, SIGP.

[42]  Edward A. Lee,et al.  HYVISUAL: A HYBRID SYSTEM VISUAL MODELER , 1998 .

[43]  Vijay Kumar,et al.  Hierarchical modeling and analysis of embedded systems , 2003, Proc. IEEE.

[44]  B. I. Silva,et al.  Modeling and Verifying Hybrid Dynamic Systems Using CheckMate , 2001 .

[45]  Pravin Varaiya,et al.  What's decidable about hybrid automata? , 1995, STOC '95.

[46]  Geert Jan Olsder,et al.  Synchronization and Linearity: An Algebra for Discrete Event Systems , 1994 .

[47]  Edward A. Lee,et al.  Ptolemy II, Heterogeneous Concurrent Modeling and Design in JAVA , 2001 .

[48]  Stuart Swan An introduction to system level modeling in systemc 2 , 2001 .

[49]  Gabor Karsai,et al.  Model-Integrated Computing , 1997, Computer.

[50]  Edward A. Lee,et al.  Causality Interfaces and Compositional Causality Analysis 1 , 2005 .

[51]  Bernard P. Zeigler,et al.  Theory of modeling and simulation , 1976 .

[52]  Thomas A. Henzinger,et al.  HYTECH: A Model Checker for Hybrid Systems , 1997, CAV.

[53]  Johannes Schumacher,et al.  An Introduction to Hybrid Dynamical Systems, Springer Lecture Notes in Control and Information Sciences 251 , 1999 .

[54]  William H. Press,et al.  The Art of Scientific Computing Second Edition , 1998 .

[55]  J. Douglas Faires,et al.  Numerical Analysis , 1981 .

[56]  Alberto L. Sangiovanni-Vincentelli,et al.  Languages and Tools for Hybrid Systems Design , 2006, Found. Trends Electron. Des. Autom..

[57]  Albert Benveniste,et al.  The synchronous approach to reactive and real-time systems , 1991 .

[58]  Thomas A. Henzinger,et al.  Hybrid Systems III , 1995, Lecture Notes in Computer Science.

[59]  S. Sastry,et al.  Is there life after Zeno? Taking executions past the breaking (Zeno) point , 2006, 2006 American Control Conference.

[60]  Thomas L. Harman,et al.  Mastering Simulink , 2003 .

[61]  Pieter J. Mosterman,et al.  An Overview of Hybrid Simulation Phenomena and Their Support by Simulation Packages , 1999, HSCC.

[62]  Pravin Varaiya,et al.  What's decidable about hybrid automata? , 1995, STOC '95.

[63]  Joseph Sifakis,et al.  Modeling Heterogeneous Real-time Components in BIP , 2006, Fourth IEEE International Conference on Software Engineering and Formal Methods (SEFM'06).

[64]  Yuri Gurevich,et al.  Evolving Algebras: an Attempt to Discover Semantics , 1993, Current Trends in Theoretical Computer Science.

[65]  Ramine Nikoukhah,et al.  FROM HYBRID SYSTEM SIMULATION TO REAL-TIME IMPLEMENTATION , 1999 .

[66]  Thomas A. Henzinger,et al.  Giotto: a time-triggered language for embedded programming , 2001, Proc. IEEE.

[67]  Pravin Varaiya,et al.  Verification of Hybrid Systems Using Abstractions , 1996, Hybrid Systems.

[68]  James B. Dabney,et al.  Mastering Simulink 4 , 2001 .

[69]  A.D. Ames,et al.  Blowing up affine hybrid systems , 2004, 2004 43rd IEEE Conference on Decision and Control (CDC) (IEEE Cat. No.04CH37601).

[70]  Edward A. Lee,et al.  Actor-Oriented Design of Embedded Hardware and Software Systems , 2003, J. Circuits Syst. Comput..

[71]  Chamberlain Fong,et al.  Discrete-Time Dataflow Models for Visual Simulation in Ptolemy II , 2000 .

[72]  Axel Jantsch,et al.  Modeling embedded systems and SoCs - concurrency and time in models of computation , 2003, The Morgan Kaufmann series in systems on silicon.

[73]  Charles Wallace,et al.  An Abstract State Machine Primer , 2002 .

[74]  Stavros Tripakis,et al.  The Tool KRONOS , 1996, Hybrid Systems.

[75]  Stephen A. Edwards,et al.  The Synchronous Languages Twelve Years Later , 1997 .

[76]  S. Sastry,et al.  Zeno hybrid systems , 2001 .

[77]  F. A. Seiler,et al.  Numerical Recipes in C: The Art of Scientific Computing , 1989 .

[78]  Alberto Sangiovanni-Vincentelli,et al.  Relaxation-based electrical simulation , 1983 .

[79]  Paul Taylor,et al.  Practical Foundations of Mathematics , 1999, Cambridge studies in advanced mathematics.

[80]  Stephen A. Edwards,et al.  The semantics and execution of a synchronous block-diagram language , 2003, Sci. Comput. Program..

[81]  William H. Press,et al.  Book-Review - Numerical Recipes in Pascal - the Art of Scientific Computing , 1989 .

[82]  Edward A. Lee,et al.  Overview of the Ptolemy project , 2001 .

[83]  Paul I. Barton,et al.  State event location in differential-algebraic models , 1996, TOMC.

[84]  Alberto L. Sangiovanni-Vincentelli,et al.  Compositional Modeling in Metropolis , 2002, EMSOFT.

[85]  Zohar Manna,et al.  From Timed to Hybrid Systems , 1991, REX Workshop.

[86]  Hscc Hybrid systems : computation and control : 6th International Workshop, HSCC 2003, Prague, Czech Republic, April 3-5, 2003 : proceedings , 2003 .

[87]  Wang Yi,et al.  Uppaal in a nutshell , 1997, International Journal on Software Tools for Technology Transfer.

[88]  Alberto L. Sangiovanni-Vincentelli,et al.  Interchange Format for Hybrid Systems: Abstract Semantics , 2006, HSCC.

[89]  Edward A. Lee,et al.  Ptolemy: A Framework for Simulating and Prototyping Heterogenous Systems , 2001, Int. J. Comput. Simul..

[90]  C. Desoer,et al.  Linear System Theory , 1963 .

[91]  Peter A. Fritzson,et al.  Principles of object-oriented modeling and simulation with Modelica 2.1 , 2004 .

[92]  W. Rugh Linear System Theory , 1992 .

[93]  Thierry Gautier,et al.  Programming real-time applications with SIGNAL , 1991, Proc. IEEE.

[94]  Thomas A. Henzinger,et al.  Hybrid Systems: Computation and Control , 1998, Lecture Notes in Computer Science.

[95]  Fernando Herrera,et al.  A framework for embedded system specification under different models of computation in SystemC , 2006, 2006 43rd ACM/IEEE Design Automation Conference.

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

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

[98]  Hans Bekic,et al.  Definable Operation in General Algebras, and the Theory of Automata and Flowcharts , 1984, Programming Languages and Their Definition.

[99]  Rajagopal Nagarajan,et al.  Interaction categories and the foundations of typed concurrent programming , 1996, NATO ASI DPD.

[100]  Edward A. Lee,et al.  CONTINUOUS TIME AND MIXED-SIGNAL SIMULATION IN PTOLEMY II , 1999 .

[101]  Insup Lee,et al.  Compositional modeling and refinement for hierarchical hybrid systems , 2006, J. Log. Algebraic Methods Program..

[102]  Raymond T. Boute,et al.  Integrating Formal Methods by Unifying Abstractions , 2004, IFM.

[103]  Pravin Varaiya,et al.  Information structures for control and verification of hybrid systems , 1995, Proceedings of 1995 American Control Conference - ACC'95.

[104]  Michael Tiller,et al.  Introduction to Physical Modeling with Modelica , 2001 .

[105]  Edward A. Lee Modeling concurrent real-time processes using discrete events , 1999, Ann. Softw. Eng..

[106]  Gérard Berry,et al.  The Esterel Synchronous Programming Language: Design, Semantics, Implementation , 1992, Sci. Comput. Program..

[107]  Edward A. Lee,et al.  Semantic foundation of the tagged signal model , 2005 .