Towards the Modular Specification and Validation of Cyber-Physical Systems

Cyber-Physical Systems (CPS) are systems controlled by one or more computer-based components tightly integrated with a set of physical components, typically described as sensors and actuators, that can either be directly attached to the computer components, or at a remote location, and accessible through a network connection. The modeling and verification of such systems is a hard task and error prone that require rigorous techniques. Hybrid automata is a formalism that extends finite-state automata with continuous behavior, described by ordinary differential equations. This paper uses a rewriting logic-based technique to model and validate CPS, thus exploring the use of a formal technique to develop such systems that combines expressive specification with efficient state-based analysis. Moreover, we aim at the modular specification of such systems such that each CPS component is independently specified and the final system emerges as the synchronous product of its constituent components. We model CPSs using Linear Hybrid Automaton and implement them in Real-Time Maude, a rewriting logic tool for real-time systems. With this method, we develop a specification for the $n$-reservoir problem, a CPS that controls a hose to fill a number of reservoirs according to the physical properties of the hose and the reservoirs.

[1]  John Lygeros,et al.  Hybrid Systems: Modeling, Analysis and Control , 2008 .

[2]  Xin Chen,et al.  Toward online hybrid systems model checking of cyber-physical systems' time-bounded short-run behavior , 2011, SIGBED.

[3]  David Broman,et al.  Viewpoints, formalisms, languages, and tools for cyber-physical systems , 2012, MPM '12.

[4]  José Meseguer,et al.  Conditioned Rewriting Logic as a United Model of Concurrency , 1992, Theor. Comput. Sci..

[5]  T. Henzinger The theory of hybrid automata , 1996, LICS 1996.

[6]  Rajeev Alur,et al.  A Theory of Timed Automata , 1994, Theor. Comput. Sci..

[7]  Thomas A. Henzinger,et al.  Hybrid Automata: An Algorithmic Approach to the Specification and Verification of Hybrid Systems , 1992, Hybrid Systems.

[8]  Qaisar Shafi,et al.  Cyber Physical Systems Security: A Brief Survey , 2012, 2012 12th International Conference on Computational Science and Its Applications.

[9]  Gerard J. Holzmann,et al.  The SPIN Model Checker , 2003 .

[10]  Jan van Leeuwen,et al.  Handbook Of Theoretical Computer Science, Vol. A , 1990 .

[11]  ÖlveczkyPeter Csaba,et al.  Specification of real-time and hybrid systems in rewriting logic , 2001 .

[12]  Wolfgang Thomas,et al.  Automata on Infinite Objects , 1991, Handbook of Theoretical Computer Science, Volume B: Formal Models and Sematics.

[13]  Natarajan Shankar,et al.  The SAL Language Manual , 2003 .

[14]  Peter Csaba Ölveczky,et al.  SMT-Based Analysis of Virtually Synchronous Distributed Hybrid Systems , 2016, HSCC.

[15]  Wang Yi,et al.  UPPAAL - a Tool Suite for Automatic Verification of Real-Time Systems , 1996, Hybrid Systems.

[16]  André Arnold,et al.  Finite transition systems - semantics of communicating systems , 1994, Prentice Hall international series in computer science.

[17]  D.J. Smith VHDL and Verilog compared and contrasted-plus modeled example written in VHDL, Verilog and C , 1996, 33rd Design Automation Conference Proceedings, 1996.

[18]  Nicolas Halbwachs,et al.  LUSTRE: a declarative language for real-time programming , 1987, POPL '87.

[19]  Long Zhang,et al.  A Formal Approach to Verify Parameterized Protocols in Mobile Cyber-Physical Systems , 2017, Mob. Inf. Syst..

[20]  Ernst Christen,et al.  Vhdl-ams---a hardware description language for analog and mixed-signal applications , 1999 .

[21]  Rajeev Alur,et al.  Principles of Cyber-Physical Systems , 2015 .

[22]  Peter Csaba Ölveczky,et al.  Designing and verifying distributed cyber-physical systems using Multirate PALS: An airplane turning control system case study , 2015, Sci. Comput. Program..

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

[24]  Alberto Verdejo,et al.  Synchronous Products of Rewrite Systems , 2016, ATVA.

[25]  Peter Csaba Ölveczky Designing Reliable Distributed Systems , 2017, Undergraduate Topics in Computer Science.

[26]  Bruce M. McMillin,et al.  Model-Checking BNDC Properties in Cyber-Physical Systems , 2009, 2009 33rd Annual IEEE International Computer Software and Applications Conference.

[27]  Peter Csaba Ölveczky Real-Time Maude 2.3 manual , 2004 .

[28]  Marco Pistore,et al.  NuSMV 2: An OpenSource Tool for Symbolic Model Checking , 2002, CAV.