首页> 外文会议>International Symposium on NASA Formal Methods >Extracting Hybrid Automata from Control Code
【24h】

Extracting Hybrid Automata from Control Code

机译:从控制代码中提取混合自动机

获取原文

摘要

Formal methods - and abstract interpretation in particular - can assist in the development of correct control code. However, current approaches to deploying formal methods do not always match the way practicing engineers develop real control code. Engineers tend to think in code first - not formal models. Standard practice is for engineers to develop their control code and then build a model like a hybrid automaton from which to verify properties. Since the construction of this model is manual, it leaves open the possibility of error. Existing formal approaches, on the other hand, tend to focus on synthesizing control code from a verified formal model. We propose a method for synthesizing a hybrid automaton from the control code directly. Specifically, we use abstract interpretation to create an abstract state transition system, and from this we systematically extract a hybrid automaton. Not only does this eliminate the introduction of error into the model based on the code, it fits with common practice in engineering cyberphysical systems. We test the technique on a couple examples - control code for a thermostat and a nuclear reactor. We then pass the generated automata to the HyTech model-checker to verify safety and liveness properties.
机译:正式方法 - 特别是摘要解释 - 可以帮助开发正确的控制代码。但是,目前部署正式方法的方法并不总是匹配练习工程师开发真实控制代码的方式。工程师倾向于在代码中思考 - 不是正式模型。标准做法是制造商开发控件代码,然后构建像混合自动机的模型,从中验证属性。由于该模型的构造是手动,因此它留下了误差的可能性。另一方面,现有的正式方法倾向于专注于从经过验证的正式模型综合控制代码。我们提出了一种方法,用于直接从控制代码合成混合自动机。具体而言,我们使用抽象解释来创建抽象状态转换系统,从而从此系统地提取混合自动机。这不仅会根据代码消除误差引入到模型中,它适合工程控制器系统的常见做法。我们在夫妻示例上测试该技术 - 恒温器和核反应堆的控制代码。然后,我们将生成的自动机传递给Hytech模型检查器以验证安全性和活动属性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号