论文标题

Xronos:针对安全 - 临界分布式嵌入式系统的可预测协调

Xronos: Predictable Coordination for Safety-Critical Distributed Embedded Systems

论文作者

Bateni, Soroush, Lohstroh, Marten, Wong, Hou Seng, Tabish, Rohan, Kim, Hokeun, Lin, Shaokai, Menard, Christian, Liu, Cong, Lee, Edward A.

论文摘要

ROS和MQTT等分布式嵌入式系统的异步框架越来越多地用于安全至关重要的应用,例如自动驾驶,因为意外行为的成本很高。但是,这些框架中组成部分之间的协调机制导致了非确定性,在这种情况下,沟通时机等因素可以导致消息处理中的任意顺序。在本文中,我们在开源全堆栈的自动驾驶软件AutoWare.AUTO 1.0中证明了此问题的重要性,该软件依赖于ROS 2。我们提供了一个替代方案:Xronos,一个用于分布式嵌入式系统的开放源代码框架,用于具有清晰陈述假设下可预测的可预测性能的分布式嵌入式系统。如果违反了这些假设,则Xronos规定要调用特定于应用程序的故障处理程序。我们将AutoWare.Auto移植到Xronos,并表明它避免了端到端延迟的可管理成本所确定的问题。此外,我们将Xronos的最大吞吐量与ROS 2和MQTT进行比较,并在不同的设置下(包括在三种不同的硬件配置上)比较了MicroBenchs,并发现它可以在吞吐量方面匹配或超过这些框架。

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 coordination mechanism between the components in these frameworks, however, gives rise to nondeterminism, where factors such as communication timing can lead to arbitrary ordering in the handling of messages. In this paper, we demonstrate the significance of this problem in an open-source full-stack autonomous driving software, Autoware.Auto 1.0, which relies on ROS 2. We give an alternative: Xronos, an open-source framework for distributed embedded systems that has a novel coordination strategy with predictable properties under clearly stated assumptions. If these assumptions are violated, Xronos provides for application-specific fault handlers to be invoked. We port Autoware.Auto to Xronos and show that it avoids the identified problems with manageable cost in end-to-end latency. Furthermore, we compare the maximum throughput of Xronos to ROS 2 and MQTT using microbenchmarks under different settings, including on three different hardware configurations, and find that it can match or exceed those frameworks in terms of throughput.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源