skip to main content
10.1145/3576841.3585937acmconferencesArticle/Chapter ViewAbstractPublication PagesiccpsConference Proceedingsconference-collections
research-article

Monitoring Signal Temporal Logic in Distributed Cyber-physical Systems

Published: 09 May 2023 Publication History

Abstract

This paper solves the problem of runtime verification for signal temporal logic in distributed cyber-physical systems (CPS). We assume a partially synchronous setting, where a clock synchronization algorithm guarantees a bound on clock drifts among all signals. We introduce a formula progression and a signal retiming technique that allow reasoning about the correctness of formulas among continuous-time and continuous-valued signals that do not share a global view of time. The resulting problem is encoded as a satisfiability modulo theory (SMT) solving problem, and we introduce techniques to solve the SMT encoding efficiently. We also conduct two case studies on monitoring a network of aerial vehicles and a water distribution system.

References

[1]
Abbas, H., Mittelmann, H., Fainekos, G.: Formal property verification in a conformance testing framework. In: ACM-IEEE International Conference on Formal Methods and Models for System Design (MEMOCODE) (October 2014)
[2]
Bauer, A., Falcone, Y.: Decentralised LTL monitoring. Formal Methods in System Design 48(1--2), 46--93 (2016)
[3]
Benndorf, M., Haenselmann, T.: Time synchronization on android devices for mobile construction assessment. In: The Tenth International Conference on Sensor Technologies and Applications. Thinkmind (2016)
[4]
Chandy, K.M., Lamport, L.: Distributed snapshots: Determining global states of distributed systems. ACM Transactions on Computer Systems 3(1), 63--75 (1985)
[5]
Chauhan, H., Garg, V.K., Natarajan, A., Mittal, N.: A distributed abstraction algorithm for online predicate detection. In: Proceedings of the 32nd IEEE Symposium on Reliable Distributed Systems (SRDS). pp. 101--110 (2013)
[6]
Colombo, C., Falcone, Y.: Organising LTL monitors over distributed systems with a global clock. Formal Methods in System Design 49(1--2), 109--158 (2016)
[7]
Danielsson, L.M., Sánchez, C.: Decentralized stream runtime verification. In: Proceedings of the 19th International Conference on Runtime Verification (RV). pp. 185--201 (2019)
[8]
Dokhanchi, A., Hoxha, B., Fainekos, G.: Online monitoring for temporal logic robustness. In: Proc. of Runtime Verification (2014)
[9]
Donzé, A., Ferrère, T., Maler, O.: Efficient robust monitoring for STL. In: Proceedings of the 25th International Conference on Computer Aided Verification (CAV). pp.264--279 (2013)
[10]
Donzé, A., Maler, O.: Robust satisfaction of temporal logic over real-valued signals. In: Proceedings of the 8th International Conference on Formal Modeling and Analysis of Timed Systems (FORMATS). pp. 92--106 (2010)
[11]
Fainekos, G.E., Pappas, G.J.: Robust sampling for MITL specifications. In: Proceedings of 5th International Conference on the Formal Modeling and Analysis of Timed Systems (FORMATS). pp. 147--162 (2007)
[12]
Ganguly, R., Momtaz, A., Bonakdarpour, B.: Distributed runtime verification under partial asynchrony. In: Proceedings of the 24nd International Conference on Principles of Distributed Systems (OPODIS). pp. 20:1--20:17 (2020)
[13]
J, V.D., Donzé, A., Ghosh, S., Jin, X., Juniwal, G., Seshia, S.A.: Robust online monitoring of signal temporal logic. Formal Methods System Design 51(1), 5--30 (2017)
[14]
Lamport, L.: Time, clocks, and the ordering of events in a distributed system. Communications of the ACM 21(7), 558--565 (1978)
[15]
Maler, O., Nickovic, D.: Monitoring temporal properties of continuous signals. In: Proceedings of the Formal Techniques, Modelling and Analysis of Timed and Fault-Tolerant Systems (FORMATS/FTRTFT). pp. 152--166 (2004)
[16]
Medhat, R., Bonakdarpour, B., Kumar, D., Fischmeister, S.: Runtime monitoring of cyber-physical systems under timing and memory constraints. ACM Transactions of Embedded Computing Systems 14(4), 79:1--79:29 (2015)
[17]
Mills, D.: Network time protocol version 4: Protocol and algorithms specification. RFC 5905, RFC Editor (June 2010)
[18]
Mittal, N., Garg, V.K.: Techniques and applications of computation slicing. Distributed Computing 17(3), 251--277 (2005)
[19]
Momtaz, A., Basnet, N., Abbas, H., Bonakdarpour, B.: Predicate monitoring in distributed cyber-physical systems. In: Proceedings of the 21st International Conference on Runtime Verification (RV) 2021. pp. 3--22 (2021)
[20]
Mostafa, M., Bonakdarpour, B.: Decentralized runtime verification of LTL specifications in distributed systems. In: Proceedings of the 29th IEEE International Parallel and Distributed Processing Symposium (IPDPS). pp. 494--503 (2015)
[21]
de Moura, L.M., Bjørner, N.: Z3: An efficient SMT solver. In: Tools and Algorithms for the Construction and Analysis of Systems (TACAS). pp. 337--340 (2008)
[22]
Ogale, V.A., Garg, V.K.: Detecting temporal logic predicates on distributed computations. In: Proceedings of the 21st International Symposium on Distributed Computing (DISC). pp. 420--434 (2007)
[23]
Pant, Y.V., Abbas, H., Mangharam, R.: Smooth operator: Control using the smooth robustness of temporal logic. In: IEEE Conference on Control Technology and Applications,(2017)
[24]
Pereira, Carlos, J., Machado, N., Pinto, J.S.: Testing for race conditions in distributed systems via smt solving. In: International Conference on Tests and Proofs, Bergen, Norway, June 22--26, 2020, Proceedings. pp. 122--140 (2020)
[25]
Quesel, J.D.: Similarity, Logic, and Games: Bridging Modeling Layers of Hybrid Systems. Ph.D. thesis, Carl Von Ossietzky Universitat Oldenburg (July 2013), http://www.cs.cmu.edu/~jquesel/paper/diss.pdf
[26]
Sen, K., Vardhan, A., Agha, G., G.Rosu: Efficient decentralized monitoring of safety in distributed systems. In: ICSE (2004)
[27]
USNRC: Emergency core cooling systems (March 2021), https://www.nrc.gov/docs/ML1122/ML11223A220.pdf
[28]
USNRC: Pressurized water reactor systems (March 2021), https://www.nrc.gov/reading-rm/basic-ref/students/for-educators/04.pdf
[29]
Valapil, V.T., Yingchareonthawornchai, S., Kulkarni, S.S., Torng, E., Demirbas, M.: Monitoring partially synchronous distributed systems using SMT solvers. In: Runtime Verification - 17th International Conference, RV 2017, Seattle, WA, USA, September 13--16, 2017, Proceedings. pp. 277--293 (2017)

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
ICCPS '23: Proceedings of the ACM/IEEE 14th International Conference on Cyber-Physical Systems (with CPS-IoT Week 2023)
May 2023
291 pages
ISBN:9798400700361
DOI:10.1145/3576841
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 the author(s) 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].

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 09 May 2023

Permissions

Request permissions for this article.

Check for updates

Badges

Author Tags

  1. runtime verification
  2. distributed cyber-physical systems
  3. formal methods

Qualifiers

  • Research-article

Funding Sources

  • United States National Science Foundation (NSF) CCF: Software and Hardware Foundations (SHF)
  • United States National Science Foundation (NSF) CCF: Formal Methods in the Field (FMitF)

Conference

ICCPS '23
Sponsor:

Acceptance Rates

Overall Acceptance Rate 25 of 91 submissions, 27%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)46
  • Downloads (Last 6 weeks)4
Reflects downloads up to 15 Feb 2025

Other Metrics

Citations

Cited By

View all
  • (2025)Efficient interaction-based offline runtime verification of distributed systems with lifeline removalScience of Computer Programming10.1016/j.scico.2024.103230241:COnline publication date: 1-Apr-2025
  • (2024)Approximate Distributed Monitoring Under Partial Synchrony: Balancing Speed & AccuracyRuntime Verification10.1007/978-3-031-74234-7_18(282-301)Online publication date: 14-Oct-2024
  • (2023)Decentralized Stream Runtime Verification for Timed Asynchronous NetworksIEEE Access10.1109/ACCESS.2023.329832911(84091-84112)Online publication date: 2023
  • (2023)Decentralized Predicate Detection Over Partially Synchronous Continuous-Time SignalsRuntime Verification10.1007/978-3-031-44267-4_11(213-230)Online publication date: 3-Oct-2023

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media