[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
research-article

Predicate monitoring in distributed cyber-physical systems

Published: 02 November 2023 Publication History

Abstract

This paper solves the problem of detecting violations of predicates over distributed continuous-time and continuous-valued signals in cyber-physical systems (CPS). CPS often operate in a safety-critical context, where their correctness is crucially important. Large CPS that consist of many autonomous and communicating components distributed across a geographical area must maintain global correctness and safety. We assume a partially synchronous setting, where a clock synchronization algorithm guarantees a bound on clock drifts among all signals. We introduce a novel retiming method that allows reasoning about the correctness of predicates among continuous-time signals that do not share a global view of time. The resulting problem is encoded as an SMT problem and we introduce techniques to solve the SMT encoding efficiently. Leveraging simple knowledge of physical dynamics allows further runtime reductions. We fully implement our approach on three distributed CPS applications: monitoring of a network of autonomous ground vehicles, a network of aerial vehicles, and a water distribution system. The results show that in some cases it is even possible to monitor a distributed CPS sufficiently fast for online deployment on fleets of autonomous vehicles.

References

[1]
Abbas H., Mittelmann H., and Fainekos G. Formal property verification in a conformance testing framework 2014 Twelfth ACM/IEEE Conference on Formal Methods and Models for Codesign (MEMOCODE) 2014 155-164 IEEE
[2]
Alur R. and Dill D. A theory of timed automata Theor. Comput. Sci. 1994 126 2 183-235
[3]
Annapureddy Y.S.R., Liu C., Fainekos G.E., and Sankaranarayanan S. S-taliro: a tool for temporal logic falsification for hybrid systems Tools and Algorithms for the Construction and Analysis of Systems 2011 Berlin Springer 254-257
[4]
Bauer A. and Falcone Y. Decentralised LTL monitoring Form. Methods Syst. Des. 2016 48 1–2 46-93
[5]
Benndorf M. and Haenselmann T. Time synchronization on Android devices for mobile construction assessment The Tenth International Conference on Sensor Technologies and Applications. Thinkmind 2016
[6]
Bonakdarpour B., Fraigniaud P., Rajsbaum S., Rosenblueth D.A., and Travers C. Decentralized asynchronous crash-resilient runtime verification Proceedings of the 27th International Conference on Concurrency Theory (CONCUR) 2016 16:1-16:15
[7]
Chandy K.M. and Lamport L. Distributed snapshots: determining global states of distributed systems ACM Trans. Comput. Syst. 1985 3 1 63-75
[8]
Chauhan H., Garg V.K., Natarajan A., and Mittal N. A distributed abstraction algorithm for online predicate detection Proceedings of the 32nd IEEE Symposium on Reliable Distributed Systems (SRDS) 2013 101-110
[9]
Cimatti A., Tian C., and Tonetta S. Assumption-based runtime verification with partial observability and resets Runtime Verification: 19th International Conference, RV 2019, Porto, Portugal, October 8–11, 2019, Proceedings 2019 165-184 Springer
[10]
Colombo C. and Falcone Y. Organising LTL monitors over distributed systems with a global clock Form. Methods Syst. Des. 2016 49 1–2 109-158
[11]
Danielsson L.M. and Sánchez C. Decentralized stream runtime verification Proceedings of the 19th International Conference on Runtime Verification (RV) 2019 185-201
[12]
de Moura L.M. and Bjørner N. Z3: an efficient SMT solver Tools and Algorithms for the Construction and Analysis of Systems (TACAS) 2008 337-340
[13]
Deshmukh J.V., Donzé A., Ghosh S., Jin X., Juniwal G., and Seshia S.A. Robust online monitoring of signal temporal logic Form. Methods Syst. Des. 2017 51 1 5-30
[14]
Dokhanchi A., Hoxha B., and Fainekos G. On-line monitoring for temporal logic robustness Runtime Verification: 5th International Conference, RV 2014, Toronto, ON, Canada, September 22-25, 2014. Proceedings 5 2014 Berlin Springer 231-246
[15]
Donzé A. and Maler O. Robust satisfaction of temporal logic over real-valued signals Proceedings of the 8th International Conference on Formal Modeling and Analysis of Timed Systems (FORMATS) 2010 92-106
[16]
Donzé A., Ferrère T., and Maler O. Efficient robust monitoring for STL Proceedings of the 25th International Conference on Computer Aided Verification (CAV) 2013 264-279
[17]
Drone Life: FAA UTM project: Decentralized UAS traffic management demonstration, September 2019. https://dronelife.com/2019/09/09/decentralized-uas-traffic-management-demonstration
[19]
Fainekos G.E. and Pappas G.J. Robust sampling for MITL specifications Proceedings of 5th International Conference on the Formal Modeling and Analysis of Timed Systems (FORMATS) 2007 147-162
[20]
Fraigniaud P., Rajsbaum S., and Travers C. Locality and checkability in wait-free computing Distrib. Comput. 2013 26 4 223-242
[21]
Fraigniaud P., Rajsbaum S., and Travers C. A lower bound on the number of opinions needed for fault-tolerant decentralized run-time monitoring J. Appl. Comput. Topol. 2020 4 1 141-179
[22]
Ganguly R., Momtaz A., and Bonakdarpour B. Distributed runtime verification under partial asynchrony Proceedings of the 24th International Conference on Principles of Distributed Systems (OPODIS) 2020 20:1-20:17
[23]
Garg V.K. and Chase C. Distributed algorithms for detecting conjunctive predicates International Conference on Distributed Computing Systems 1995 423-430
[24]
Hendry-Brogan, M.: Global unmanned aerial vehicle (UAV) market report. Technical report, Technical report (May 2019)
[25]
Kazemloo S. and Bonakdarpour B. Crash-resilient decentralized synchronous runtime verification Proceedings of the 37th Symposium on Reliable Distributed Systems (SRDS) 2018 207-212
[26]
Lamport L. Time, clocks, and the ordering of events in a distributed system Commun. ACM 1978 21 7 558-565
[27]
Medhat R., Bonakdarpour B., Kumar D., and Fischmeister S. Runtime monitoring of cyber-physical systems under timing and memory constraints ACM Trans. Embed. Comput. Syst. 2015 14 4 79:1-79:29
[28]
Mills, D.: Network time protocol version 4: Protocol and algorithms specification. RFC 5905, RFC Editor, June 2010
[29]
Mittal N. and Garg V.K. Techniques and applications of computation slicing Distrib. Comput. 2005 17 3 251-277
[30]
Momtaz A., Basnet N., Abbas H., and Bonakdarpour B. Predicate monitoring in distributed cyber-physical systems Proceedings of the 21st International Conference on Runtime Verification (RV) 2021 3-22
[31]
Mostafa M. and Bonakdarpour B. Decentralized runtime verification of LTL specifications in distributed systems Proceedings of the 29th IEEE International Parallel and Distributed Processing Symposium (IPDPS) 2015 494-503
[32]
National Science Foundations: Revolutionizing how we keep track of time in cyber-physical systems, June 2014. https://nsf.gov/news/news_summ.jsp?cntn_id=131691
[33]
Ogale V.A. and Garg V.K. Detecting temporal logic predicates on distributed computations Proceedings of the 21st International Symposium on Distributed Computing (DISC) 2007 420-434
[34]
Pant Y.V., Abbas H., and Mangharam R. Smooth operator: control using the smooth robustness of temporal logic 2017 IEEE Conference on Control Technology and Applications (CCTA) 2017 1235-1240 IEEE
[35]
Pereira J.C., Machado N., and Sousa Pinto J. Testing for race conditions in distributed systems via SMT solving International Conference on Tests and Proofs, Bergen, Norway, June 22–26, 2020, Proceedings 2020 122-140
[36]
Quesel, J.-D.: Similarity, logic, and games: bridging modeling layers of hybrid systems. PhD thesis, Carl Von Ossietzky Universität Oldenburg (July 2013)
[37]
Sen K., Vardhan A., Agha G., and Rosu G. Efficient decentralized monitoring of safety in distributed systems Proceedings. 26th International Conference on Software Engineering 2004 418-427 IEEE
[38]
Tekken Valapil V., Yingchareonthawornchai S., Kulkarni S.S., Torng E., and Demirbas M. Monitoring partially synchronous distributed systems using SMT solvers Runtime Verification – 17th International Conference, RV 2017, Seattle, WA, USA, September 13–16, 2017, Proceedings 2017 277-293
[39]
USNRC: Emergency core cooling systems, March 2021. https://www.nrc.gov/docs/ML1122/ML11223A220.pdf
[40]
[41]
Zhang X., Leucker M., and Dong W. Runtime verification with predictive semantics NASA Formal Methods: 4th International Symposium, NFM 2012, Norfolk, VA, USA, April 3–5, 2012. Proceedings 4 2012 418-432 Springer

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image International Journal on Software Tools for Technology Transfer (STTT)
International Journal on Software Tools for Technology Transfer (STTT)  Volume 25, Issue 4
Aug 2023
184 pages
ISSN:1433-2779
EISSN:1433-2787
Issue’s Table of Contents

Publisher

Springer-Verlag

Berlin, Heidelberg

Publication History

Published: 02 November 2023
Accepted: 19 September 2023

Author Tags

  1. Runtime verification
  2. Cyber-physical systems
  3. Continuous signals
  4. Distributed systems

Qualifiers

  • Research-article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 0
    Total Downloads
  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 18 Dec 2024

Other Metrics

Citations

View Options

View options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media