Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
research-article
Public Access

Real-Time Simulation Support for Runtime Verification of Cyber-Physical Systems

Published: 11 May 2017 Publication History

Abstract

In Cyber-Physical Systems (CPS), cyber and physical components must work seamlessly in tandem. Runtime verification of CPS is essential yet very difficult, due to deployment environments that are expensive, dangerous, or simply impossible to use for verification tasks. A key enabling factor of runtime verification of CPS is the ability to integrate real-time simulations of portions of the CPS into live running systems. We propose a verification approach that allows CPS application developers to opportunistically leverage real-time simulation to support runtime verification. Our approach, termed BraceBind, allows selecting, at runtime, between actual physical processes or simulations of them to support a running CPS application. To build BraceBind, we create a real-time simulation architecture to generate and manage multiple real-time simulation environments based on existing simulation models in a manner that ensures sufficient accuracy for verifying a CPS application. Specifically, BraceBind aims to both improve simulation speed and minimize latency, thereby making it feasible to integrate simulations of physical processes into the running CPS application. BraceBind then integrates this real-time simulation architecture with an existing runtime verification approach that has low computational overhead and high accuracy. This integration uses an aspect-oriented adapter architecture that connects the variables in the cyber portion of the CPS application with either sensors and actuators in the physical world or the automatically generated real-time simulation. Our experimental results show that, with a negligible performance penalty, our approach is both efficient and effective in detecting program errors that are otherwise only detectable in a physical deployment.

References

[1]
Ahmad T. Al-Hammouri. 2012. A comprehensive co-simulation platform for cyber-physical systems. Comput. Commun. 36, 1 (2012), 8--19.
[2]
J. Bastian, C. Clauß, S. Wolf, and P. Schneider. 2011. Master for co-simulation using FMI. In Proceedings of the 8th International Modelica Conference. Citeseer.
[3]
Marcin Baszyński. 2016. Low cost, high accuracy real-time simulation used for rapid prototyping and testing control algorithms on example of BLDC motor. Arch. Electr. Eng. 65, 3 (2016), 463--479.
[4]
R. Bednar and R. E. Crosbie. 2007. Stability of multi-rate simulation algorithms. In Proceedings of Summer Computer Simulation Conference (SCSC’07). 189--194.
[5]
J. Bélanger, P. Venne, and J. N. Paquin. 2010. The what, where, and why of real-time simulation. Planet RT 1.1: 25--29.
[6]
T. Blochwitz, M. Otter, J. Åkesson, M. Arnold, C. Clauss, H. Elmqvist, and others. 2012. Functional mockup interface 2.0: The standard for tool independent exchange of simulation models. In Proceedings of the 9th International Modelica Conference. 173--184.
[7]
H. X. Chen. 2010. Simulink and VC-based hardware-in-the-loop real-time simulation for EV. In Proceedings of Electric Vehicle Symposium (EVS-25’10).
[8]
L. Dagum and R. Enon. 1998. OpenMP: An industry standard API for shared-memory programming. Comput. Sci. Eng. IEEE 5, 1 (1998), 46--55.
[9]
Robocup Federation. Robocup Normal League. Retrieved at http://www.robocup.org/leagues/5.
[10]
C. Fetzer and F. Cristian. 1995. An optimal internal clock synchronization algorithm. In Proceedings of the Conference on Computer Assurance (COMPASS’95).
[11]
A. Gholkar, A. Isaacs, and H. Arya. 2004. Hardware-in-loop simulator for mini aerial vehicle. In Proceedings of the Real-Time Linux Workshop.
[12]
D. Goswami, R. Schneider, and S. Chakraborty. 2011. Co-design of cyber-physical systems via controllers with flexible delay constraints. In Proceedings of the Asia and South pacific design Automation Conference (ASP-DAC’11).
[13]
M. Harakawa et al. 2005. Real-time simulation of a complete PMSM drive at 10 μs time step. In Proceedings of the International Symposium on Parameterized and Exact Computation (IPEC’05).
[14]
T. A. Henzinger, P. W. Kopke, A. Puri, and P. Varaiya. 1995. What’s decidable about hybrid automata? In Proceedings of the Symposium on Theory of Computing (STOC’95).
[15]
B. Horling, V. Lesser, R. Vincent, and T. Wagner. 2006. The soft real-time agent control architecture. Auton. Agents Multi-Agent Syst. 12, 1 (2006), 35--91.
[16]
U. Hunkeler, H. L. Truong, and A. Stanford-Clark. 2008. MQTT-SâĂŤA publish/subscribe protocol for wireless sensor networks. In Proceedings of Comsware. IEEE, 791--798.
[17]
Xiaoqing Jin, Alexandre Donzé, Jyotirmoy V. Deshmukh, and Sanjit A. Seshia. 2015. Mining requirements from closed-loop control models. IEEE Trans. Comput.-Aided Design Integr. Circ. Syst. 34, 11 (2015), 1704--1717.
[18]
T. Jones and G. A. Koenig. 2010. A clock synchronization strategy for minimizing clock variance at runtime in high-end computing environments. In Proceedings of the Symposium on Computer Architecture and High Performance Computing (SBAC-PAD’10).
[19]
Michele L. Joyner, Chelsea R. Ross, Colton Watts, and Thomas C. Jones. 2014. A stochastic simulation model for anelosimus studiosus during prey capture: A case study for determination of optimal spacing. Math. Biosci. Eng. 11, 9 (2014).
[20]
A. B. Khaled, M. B. Gaid, N. Pernet, and D. Simon. 2014. Fast multi-core co-simulation of cyber-physical systems: Application to internal combustion engines. Simulat. Model. Pract. Theory 47 (2014), 79--91.
[21]
G. Kiczales, J. Lamping, A. Mendhekar, C. Maeda, C. Lopes, J. M. Loingtier, and J. Irwin. 1997. Aspect-oriented programming. In Proceedings of the European Conference on Object Oriented Programming (ECOOP’97). Springer, 220--242.
[22]
M. Kinsy, O. Khan, I. Celanovic, D. Majstorovic, N. Celanovic, and S. Devadas. 2011. Time-predictable computer architecture for cyber-physical systems: Digital emulation of power electronics systems. In Proceedings of the Real Time Systems Symposium (RTSS’11). IEEE, 305--316.
[23]
W. H. Kwon and S.-G. Choi. 1999. Real-time distributed software-in-the-loop simulation for distributed control systems. In Proceedings of International Symposium on Computer Aided Control System Design. IEEE, 115--119.
[24]
LabVIEW RealTime. 2016. LabVIEW RealTime. Retrieved from http://www.ni.com/labview/realtime/. (2016).
[25]
LabViewManual. 2016. LabView User Manual. Retrieved from http://autnt.fme.vutbr.cz/lab/FAQ/labview/SimulationModule_UserManual_371013c.pdf (2016).
[26]
V. Lesser et al. 2004. Evolution of the GPGP/TAEMS domain-independent coordination framework. Auton. Agents Multi-Agent Syst. 9, 1 (July 2004), 87--143.
[27]
B. Miller, F. Vahid, and T. Givargis. 2011. Application-specific codesign platform generation for digital mockups in cyber-physical systems. In Proceedings of the Electronic System Level Synthesis Conference (ESLsyn’11).
[28]
D. L. Mills. 1991. Internet time synchronization: The network time protocol. IEEE Trans. Comm. 39, 10 (October 1991), 1482--1493.
[29]
Modelisar 2016. Modelisar. Retrived at http://www.modelisar.org. (2016).
[30]
PXI 2016. What’s PXI. Retrived at http://www.ni.com/pxi/whatis/. (2016).
[31]
PXIPrice. 2016. PXI Sample Price. Retrived at http://sine.ni.com/nips/cds/view/p/lang/en/nid/210825. (2016).
[32]
Camille Alain Rabbath, M. Abdoune, and Jay Belanger. 2000. Real-time simulations: Effective real-time simulations of event-based systems. In Proceedings of the 32nd Conference on Winter Simulation. Society for Computer Simulation International, 232--238.
[33]
J. J. Sanchez-G., R. D’Aquila, W. W. Price, and J. J. Paserba. 1995. Variable time step, implicit integration for extended-term power system dynamic simulation. In Proceedings of the Conference on Power Industry Computer Applications (PICA’95).
[34]
Wei Yan, Yuan Xue, Xiaowei Li, Jiannian Weng, Timothy Busch, and Janos Sztipanovits. 2012. Integrated simulation and emulation platform for cyber-physical system security experimentation. In Proceedings of the 1st International Conference on High Confidence Networked Systems. ACM, 81--88.
[35]
Z. Zhang et al. 2013. Co-simulation framework for design of time-triggered cyber physical systems. In Proceedings of the International Conference on Cyber-Physical Systems (ICCPS’13).
[36]
X. Zheng, C. Julien, R. Podorozhny, and F. Cassez. 2015. BraceAssertion: Runtime Verification of Cyber-Physical Systems. In Proceedings of the Conference on Mobile Ad Hoc and Sensor Systems (MASS’15).
[37]
X. Zheng, D. E. Perry, and C. Julien. 2014. Braceforce: A middleware to enable sensing integration in mobile applications for novice programmers. In Proceedings of International Conference on Mobile Software Engineering and Systems. ACM, 8--17.

Cited By

View all
  • (2023)An Integrated Runtime Verification and Simulation Testbed for UAM Hazard Assessment2023 53rd Annual IEEE/IFIP International Conference on Dependable Systems and Networks - Supplemental Volume (DSN-S)10.1109/DSN-S58398.2023.00023(42-48)Online publication date: Jun-2023
  • (2022)Investigating the Prospect of Leveraging Blockchain and Machine Learning to Secure Vehicular Networks: A SurveyIEEE Transactions on Intelligent Transportation Systems10.1109/TITS.2020.301910123:2(683-700)Online publication date: Feb-2022
  • (2022)Real-Time Simulation Support for Real-Time SystemsHandbook of Real-Time Computing10.1007/978-981-287-251-7_40(591-604)Online publication date: 9-Aug-2022
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Transactions on Embedded Computing Systems
ACM Transactions on Embedded Computing Systems  Volume 16, Issue 4
Special Issue on Secure and Fault-Tolerant Embedded Computing and Regular Papers
November 2017
614 pages
ISSN:1539-9087
EISSN:1558-3465
DOI:10.1145/3092956
Issue’s Table of Contents
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Publisher

Association for Computing Machinery

New York, NY, United States

Journal Family

Publication History

Published: 11 May 2017
Accepted: 01 February 2017
Revised: 01 November 2016
Received: 01 July 2016
Published in TECS Volume 16, Issue 4

Permissions

Request permissions for this article.

Check for updates

Author Tag

  1. Runtime verification

Qualifiers

  • Research-article
  • Research
  • Refereed

Funding Sources

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)76
  • Downloads (Last 6 weeks)11
Reflects downloads up to 02 Sep 2024

Other Metrics

Citations

Cited By

View all
  • (2023)An Integrated Runtime Verification and Simulation Testbed for UAM Hazard Assessment2023 53rd Annual IEEE/IFIP International Conference on Dependable Systems and Networks - Supplemental Volume (DSN-S)10.1109/DSN-S58398.2023.00023(42-48)Online publication date: Jun-2023
  • (2022)Investigating the Prospect of Leveraging Blockchain and Machine Learning to Secure Vehicular Networks: A SurveyIEEE Transactions on Intelligent Transportation Systems10.1109/TITS.2020.301910123:2(683-700)Online publication date: Feb-2022
  • (2022)Real-Time Simulation Support for Real-Time SystemsHandbook of Real-Time Computing10.1007/978-981-287-251-7_40(591-604)Online publication date: 9-Aug-2022
  • (2021)Development of validation process on cryptography chip using System Verilog environmentPROCEEDINGS OF GREEN DESIGN AND MANUFACTURE 202010.1063/5.0048394(020010)Online publication date: 2021
  • (2020)Attacks and defences on intelligent connected vehicles: a surveyDigital Communications and Networks10.1016/j.dcan.2020.04.0076:4(399-421)Online publication date: Nov-2020
  • (2020)Real-Time Simulation Support for Real-Time SystemsHandbook of Real-Time Computing10.1007/978-981-4585-87-3_40-1(1-14)Online publication date: 26-Feb-2020
  • (2019)Edge-based Differenital Big Data Processing for Sensor-Cloud Systems2019 IEEE International Conference on Signal, Information and Data Processing (ICSIDP)10.1109/ICSIDP47821.2019.9173096(1-6)Online publication date: Dec-2019
  • (2018)A Hybrid Method Combining Markov Prediction and Fuzzy Classification for Driving Condition RecognitionIEEE Transactions on Vehicular Technology10.1109/TVT.2018.286896567:11(10411-10424)Online publication date: Nov-2018

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Get Access

Login options

Full Access

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media