arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.09555cs.DC
收藏

Xronos:安全关键分布式嵌入式系统的可预测协调

Xronos: Predictable Coordination for Safety-Critical Distributed Embedded Systems

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

摘要:

分布式嵌入式系统的异步框架,如ROS和MQTT,越来越多地用于安全关键型应用,如自动驾驶,其中意外行为的成本很高。然而,这些框架中组件之间的协调机制会导致不确定性,其中通信时间等因素可能导致消息处理中的任意顺序。在本文中,我们在一个依赖于ROS2的开源全栈自动驾驶软件Autoware.Auto1.0中展示了这个问题的重要性。我们给出一个替代方案:Xronos是一个分布式嵌入式系统的开源框架,它具有一种新颖的协调策略,在明确的假设下具有可预测的属性。如果违反了这些假设,Xronos提供了要调用的特定于应用程序的故障处理程序。我们将Autoware.Auto移植到Xronos上,并表明它避免了识别出的问题,并且在端到端延迟方面具有可管理的成本。此外,我们在不同的设置下,包括在三种不同的硬件配置下,使用微基准测试,比较了Xronos与ROS 2和MQTT的最大吞吐量,发现它在吞吐量方面可以匹配或超过这些框架。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑