A Systematic Approach for Developing Cyber Physical Systems

Cyber physical systems (CPSs) are pervasive in our daily life from mobile phones to auto driving cars. CPSs are inherently complex due to their sophisticated behaviors and thus difficult to build. In this paper, we propose a systematic approach to develop CPSs with quality assurance throughout the development process. A CPS is abstracted and partitioned into a set of independent executing agents, where each agent is further refined into a set of behaviors. Each behavior is modeled with a high level Petri net, called behavior net. The overall behavior of an agent is modeled by an agent through composing individual behavior nets. Finally, the overall system behavior is modeled by a system net through integrating individual agent nets incrementally. Simulation and model checking can be performed on individual behavior nets, agent nets, and the final system net. The resulting system net is systematically mapped to behavior programs in Java, which are enhanced and extended with domain specific functionality. A set of property patterns based on behavior program is developed, which are used to generate runtime monitors to check behavior program executions. We demonstrate our approach using a multi-car parking system.

[1]  Edward A. Lee,et al.  A model-based design methodology for cyber-physical systems , 2011, 2011 7th International Wireless Communications and Mobile Computing Conference.

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

[3]  Sorin Lerner,et al.  Towards foundational verification of cyber-physical systems , 2016, 2016 Science of Security for Cyber-Physical Systems Workshop (SOSCYPS).

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

[5]  Grigore Rosu,et al.  JavaMOP: Efficient parametric runtime monitoring framework , 2012, 2012 34th International Conference on Software Engineering (ICSE).

[6]  Xudong He,et al.  A Comprehensive Survey of Petri Net Modeling in Software Engineering , 2013, Int. J. Softw. Eng. Knowl. Eng..

[7]  Xudong He,et al.  A Method to Analyze High Level Petri Nets using SPIN Model Checker , 2017, SEKE.

[8]  Bran Selic,et al.  The Pragmatics of Model-Driven Development , 2003, IEEE Softw..

[9]  Jing Lin,et al.  Modeling Cyber-Physical Systems with Semantic Agents , 2010, 2010 IEEE 34th Annual Computer Software and Applications Conference Workshops.

[10]  Edward A. Lee Cyber Physical Systems: Design Challenges , 2008, 2008 11th IEEE International Symposium on Object and Component-Oriented Real-Time Distributed Computing (ISORC).

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

[12]  David Harel,et al.  First Steps Towards a Wise Development Environment for Behavioral Models , 2016, Int. J. Inf. Syst. Model. Des..

[13]  Heng Yin,et al.  A Framework for Developing Cyber-Physical Systems , 2017, Int. J. Softw. Eng. Knowl. Eng..