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

Avis:无人机现场模型检验

Avis: In-Situ Model Checking for Unmanned Aerial Vehicles

Max Taylor, Haicheng Chen, Feng Qin, Christopher Stewart

摘要:

无人机(UAV)中的控制固件使用传感器来建模和管理飞行操作,从起飞到着陆再到在航路点之间飞行。然而,传感器在飞行过程中随时可能发生故障。如果控制固件错误处理传感器故障,无人机可能坠毁,飞走,或遭受其他不安全的条件。现场模型检验通过系统地使传感器失效来发现可能导致不安全状况的传感器失效。然而,传感器故障的类型及其在飞行中的时间影响其表现,从而产生大的搜索空间。我们建议Avis,一个原位模型检查器,以快速发现无人机传感器故障,导致不安全的条件。广泛使用的控制固件已经支持操作模式。Avis会在控制固件在模式之间转换时注入传感器故障-这是一个关键的执行点,处理不当的软件异常可能会触发不安全的条件。我们实现了Avis并将其应用于ArduPilot和PX4。Avis发现不安全条件的速度比领先的最先进方法Bayesian Fault Injection快2.4倍。在ArduPilot和PX4的当前代码库中,Avis发现了10个以前未知的软件错误,这些错误导致了不安全的情况。此外,我们重新插入了5个已知的错误,导致严重的,不安全的条件和阿维斯正确地报告了所有这些错误。

英文摘要:

Control firmware in unmanned aerial vehicles (UAVs) uses sensors to model and manage flight operations, from takeoff to landing to flying between waypoints. However, sensors can fail at any time during a flight. If control firmware mishandles sensor failures, UAVs can crash, fly away, or suffer other unsafe conditions. In-situ model checking finds sensor failures that could lead to unsafe conditions by systematically failing sensors. However, the type of sensor failure and its timing within a flight affect its manifestation, creating a large search space. We propose Avis, an in-situ model checker to quickly uncover UAV sensor failures that lead to unsafe conditions. Widely used control firmware already support operating modes. Avis injects sensor failures as the control firmware transitions between modes - a key execution point where mishandled software exceptions can trigger unsafe conditions. We implemented Avis and applied it to ArduPilot and PX4. Avis found unsafe conditions 2.4X faster than Bayesian Fault Injection, the leading, state-of-the-art approach. Within the current code base of ArduPilot and PX4, Avis discovered 10 previously unknown software bugs that lead to unsafe conditions. Additionally, we reinserted 5 known bugs that caused serious, unsafe conditions and Avis correctly reported all of them.

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

↑