Software verification may yield spurious failures when environment assumptions are not accounted for. Environment assumptions are the expectations that a system or a component makes about its operational environment and are often specified in terms of conditions over the inputs of that system or component. In this article, we propose an approach to automatically infer environment assumptions for Cyber-Physical Systems (CPS). Our approach improves the state-of-the-art in three different ways: First, we learn assumptions for complex CPS models involving signal and numeric variables; second, the learned assumptions include arithmetic expressions defined over multiple variables; third, we identify the trade-off between soundness and informativeness of environment assumptions and demonstrate the flexibility of our approach in prioritizing either of these criteria. We evaluate our approach using a public domain benchmark of CPS models from Lockheed Martin and a component of a satellite control system from LuxSpace, a satellite system provider. The results show that our approach outperforms state-of-the-art techniques on learning assumptions for CPS models, and further, when applied to our industrial CPS model, our approach is able to learn assumptions that are sufficiently close to the assumptions manually developed by engineers to be of practical value.
翻译:环境假设是指一个系统或一个组成部分对其操作环境产生的期望,并且往往以该系统或组成部分投入的条件来说明。在本条中,我们提议了一种办法,自动推断网络物理系统的环境假设。我们的方法以三种不同的方式改进了最新技术:第一,我们学习了涉及信号和数字变量的复杂CPS模型的假设;第二,所学的假设包括了对多种变量界定的算术表达;第三,我们查明了环境假设的健全性和信息性之间的权衡,并显示了我们在确定这些标准中任一标准的优先次序方面采取的方法的灵活性。我们用洛克希德·马丁的CPS模型的公共域基准和卫星系统供应商LuxSpace的卫星控制系统的一个组成部分来评估我们的方法。结果显示,我们的方法在学习CPS模型时超越了最新技术,而且在应用我们的工业CPS模型时,我们的方法能够了解与实际价值的假设相当接近。