skip to main content
research-article

MSYNC: A Generalized Formal Design Pattern for Virtually Synchronous Multirate Cyber-physical Systems

Published: 17 September 2021 Publication History

Abstract

TTA and PALS are two prominent formal design patterns—with different strengths and weaknesses—for virtually synchronous distributed cyber-physical systems (CPSs). They greatly simplify the design and verification of such systems by allowing us to design and verify their underlying synchronous designs. In this paper we introduce and verify MSYNC as a formal design (and verification) pattern/synchronizer for hierarchical multirate CPSs that generalizes, and combines the advantages of, both TTA and (single-rate and multirate) PALS. We also define an extension of TTA to multirate CPSs as a special case. We show that MSYNC outperforms both TTA and PALS in terms of allowing shorter periods, and illustrate the MSYNC design and verification approach with a case study on a fault-tolerant distributed control system for turning an airplane.

References

[1]
Jean-Raymond Abrial, Egon Börger, and Hans Langmaack (Eds.). 1996. Formal Methods for Industrial Applications: Specifying and Programming the Steam Boiler Control. LNCS, Vol. 1165. Springer.
[2]
Abdullah Al-Nayeem, Lui Sha, Darren D. Cofer, and Steven M. Miller. 2012. Pattern-based composition and analysis of virtually synchronized real-time distributed systems. In ICCPS. IEEE, 65–74.
[3]
Abdullah Al-Nayeem, Mu Sun, Xiaokang Qiu, Lui Sha, Steven P. Miller, and Darren D. Cofer. 2009. A formal architecture pattern for real-time distributed systems. In RTSS. IEEE, 161–170.
[4]
David Arney, Raoul Jetley, Paul Jones, Insup Lee, and Oleg Sokolsky. 2007. Formal methods based development of a PCA infusion pump reference model: Generic infusion pump (GIP) project. In HCMDSS-MDPnP. IEEE, 23–33.
[5]
Baruch Awerbuch. 1985. Complexity of network synchronization. J. ACM 32, 4 (1985), 804–823.
[6]
Kyungmin Bae, Joshua Krisiloff, José Meseguer, and Peter Csaba Ölveczky. 2015. Designing and verifying distributed cyber-physical systems using Multirate PALS: An airplane turning control system case study. Science of Computer Programming 103 (2015), 13–50.
[7]
Kyungmin Bae, José Meseguer, and Peter Csaba Ölveczky. 2014. Formal patterns for multirate distributed real-time systems. Science of Computer Programming 91 (2014), 3–44.
[8]
Kyungmin Bae, Peter Csaba Ölveczky, Soonho Kong, Sicun Gao, and Edmund M. Clarke. 2016. SMT-based analysis of virtually synchronous distributed hybrid systems. In Proc. HSCC 2016. ACM, 145–154.
[9]
Guillaume Baudart, Albert Benveniste, and Timothy Bourke. 2016. Loosely time-triggered architectures: Improvements and comparisons. ACM Transactions on Embedded Computing Systems (TECS) 15, 4 (2016), 1–26.
[10]
Guillaume Baudart, Timothy Bourke, and Marc Pouzet. 2016. Soundness of the quasi-synchronous abstraction. In Proc. FMCAD 2016. IEEE, 9–16.
[11]
Albert Benveniste, Anne Bouillard, and Paul Caspi. 2010. A unifying view of loosely time-triggered architectures. In Proc. EMSOFT 2010. ACM, 189–198.
[12]
Paul Caspi, Christine Mazuet, and Natacha Reynaud Paligot. 2001. About the design of distributed control systems: the quasi-synchronous approach. In Proc. SAFECOMP 2001(LNCS, Vol. 2187). Springer, 215–226.
[13]
M. Clavel, F. Durán, S. Eker, J. Meseguer, P. Lincoln, N. Martí-Oliet, and C. Talcott. 2007. All About Maude – A High-Performance Logical Framework. Lecture Notes in Computer Science, Vol. 4350. Springer.
[14]
Ankush Desai, Sanjit A. Seshia, Shaz Qadeer, David Broman, and John C. Eidson. 2015. Approximate Synchrony: An abstraction for distributed almost-synchronous systems. In Proc. CAV 2015(LNCS, Vol. 9207). Springer, 429–448.
[15]
Alain Girault and Clément Ménier. 2002. Automatic production of globally asynchronous locally synchronous systems. In Proc. EMSOFT 2002(LNCS, Vol. 2491). Springer, 266–281.
[16]
Cheolgi Kim, Mu Sun, Sibin Mohan, Heechul Yun, Lui Sha, and Tarek F Abdelzaher. 2010. A framework for the safe interoperability of medical devices in the presence of network failures. In ICCPS. 149–158.
[17]
Hermann Kopetz and Günther Bauer. 2003. The time-triggered architecture. Proc. IEEE 91, 1 (2003), 112–126.
[18]
Leslie Lamport and P. Michael Melliar-Smith. 1985. Synchronizing clocks in the presence of faults. Journal of the ACM (JACM) 32, 1 (1985), 52–78.
[19]
Gabriel Leen, Donal Heffernan, and Alan Dunne. 1999. Digital networks in the automotive vehicle. Computing & Control Engineering Journal 10, 6 (1999), 257–266.
[20]
José Meseguer and Peter Csaba Ölveczky. 2012. Formalization and correctness of the PALS architectural pattern for distributed real-time systems. Theoretical Computer Science 451 (2012), 1–37.
[21]
Steven P. Miller, Darren D. Cofer, Lui Sha, Jose Meseguer, and Abdullah Al-Nayeem. 2009. Implementing logical synchrony in integrated modular avionics. In 2009 IEEE/AIAA 28th Digital Avionics Systems Conference. IEEE, 1–A.
[22]
Roman Obermaisser. 2018. Time-triggered communication. CRC Press.
[23]
Lee Pike. 2006. A note on inconsistent axioms in Rushby’s “systematic formal verification for fault-tolerant time-triggered algorithms”. IEEE Transactions on Software Engineering 32, 5 (2006), 347–348.
[24]
John Rushby. 1999. Systematic formal verification for fault-tolerant time-triggered algorithms. IEEE Transactions on Software Engineering 25, 5 (1999), 651–660.
[25]
Wilfried Steiner, Günther Bauer, Brendan Hall, Michael Paulitsch, and Srivatsan Varadarajan. 2009. TTEthernet dataflow concept. In 2009 Eighth IEEE International Symposium on Network Computing and Applications. IEEE, 319–322.
[26]
Wilfried Steiner and John Rushby. 2011. TTA and PALS: Formally verified design patterns for distributed cyber-physical systems. In 2011 IEEE/AIAA 30th Digital Avionics Systems Conference. IEEE, 7B5–1.
[27]
Stavros Tripakis, Claudio Pinello, Albert Benveniste, Alberto L. Sangiovanni-Vincentelli, Paul Caspi, and Marco Di Natale. 2008. Implementing synchronous models on loosely time triggered architectures. IEEE Trans. Computers 57, 10 (2008), 1300–1314.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Transactions on Embedded Computing Systems
ACM Transactions on Embedded Computing Systems  Volume 20, Issue 5s
Special Issue ESWEEK 2021, CASES 2021, CODES+ISSS 2021 and EMSOFT 2021
October 2021
1367 pages
ISSN:1539-9087
EISSN:1558-3465
DOI:10.1145/3481713
  • Editor:
  • Tulika Mitra
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: 17 September 2021
Accepted: 01 July 2021
Revised: 01 June 2021
Received: 01 April 2021
Published in TECS Volume 20, Issue 5s

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Virtual synchrony
  2. synchronizers
  3. time-triggered architecture
  4. PALS

Qualifiers

  • Research-article
  • Refereed

Funding Sources

  • National Research Foundation of Korea
  • Korea government (MSIT)

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)8
  • Downloads (Last 6 weeks)0
Reflects downloads up to 13 Jan 2025

Other Metrics

Citations

Cited By

View all

View Options

Login options

Full Access

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

HTML Format

View this article in HTML Format.

HTML Format

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media