Risk and Mitigation of Nondeterminism in Distributed Cyber-Physical Systems
Open Access
- 21 September 2023
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1-11
Abstract
Asynchronous frameworks for distributed embedded systems, like ROS and MQTT, are increasingly used in safety-critical applications such as autonomous driving, where the cost of unintended behavior is high. The loose coordination between the components in these frameworks gives rise to nondeterminism, where factors such as communication timing can lead to arbitrary ordering in the handling of messages. In this paper, we show that this problem compromises safety and complicates system design in Autoware.Auto 1.0, a popular open-source autonomous driving framework based on ROS 2. We extend the Lingua Franca coordination language to support distributed execution, port Autoware.Auto to Lingua Franca, and show that our solution avoids the identified problems. We assess the performance of our federated runtime implementation and show that it is competitive for this application. We also compare our achievable throughput to ROS 2 and MQTT using microbench-marks and find that we can match or exceed the throughput of those frameworks while preserving determinism.Keywords
Funding Information
- National Science Foundation (CNS-2233769)
This publication has 14 references indexed in Scilit:
- Loosely Time-Triggered ArchitecturesACM Transactions on Embedded Computing Systems, 2016
- CAP twelve years later: How the "rules" have changedComputer, 2012
- The Logical Execution Time Paradigm2011
- Implementing Synchronous Models on Loosely Time Triggered ArchitecturesIEEE Transactions on Computers, 2008
- The time-triggered architectureProceedings of the IEEE, 2003
- The DEVS environment for high-performance modeling and simulationIEEE Computational Science and Engineering, 1997
- The synchronous approach to reactive and real-time systemsProceedings of the IEEE, 1991
- Virtual timeACM Transactions on Programming Languages and Systems, 1985
- Using Time Instead of Timeout for Fault-Tolerant Distributed Systems.ACM Transactions on Programming Languages and Systems, 1984
- Distributed Simulation: A Case Study in Design and Verification of Distributed ProgramsIEEE Transactions on Software Engineering, 1979