HyPLC:混合可编程逻辑控制器程序翻译验证
HyPLC: Hybrid Programmable Logic Controller Program Translation for Verification
摘要:
可编程逻辑控制器(PLC)为安全关键型工业控制系统提供了一个突出的实施平台选择。形式化验证提供了建立正确性保证的方法,这对于这样的安全关键应用是非常重要的。但是,由于PLC代码不包括系统工厂的分析模型,其验证仅限于离散属性。在本文中,我们,因此,开始周围的混合程序,包括连续的植物模型,除了离散控制算法的其他方式。甚至混合程序的深层正确性属性也可以在定理证明器KeYmaera X中正式验证,该定理证明器实现了混合程序的微分动态逻辑dL。在验证了混合程序后,我们现在提出了一种将混合程序转换为PLC代码的方法。新的工具,HyPLC,实现这种翻译的离散控制代码的验证混合程序模型的PLC控制器代码,反之亦然,翻译现有的PLC代码到离散控制动作的混合程序给定一个额外的输入的连续动态的系统进行验证。这种方法允许生成真实的控制器代码,同时通过编译来保持有效和经验证的混合程序的正确性。PLC是安全关键型工业控制应用的常见网络物理接口,HyPLC作为一种实用的工具,用于在混合程序的算法级与具体PLC实现的执行层上桥接复杂网络物理系统的形式化验证。
英文摘要:
Programmable Logic Controllers (PLCs) provide a prominent choice of implementation platform for safety-critical industrial control systems. Formal verification provides ways of establishing correctness guarantees, which can be quite important for such safety-critical applications. But since PLC code does not include an analytic model of the system plant, their verification is limited to discrete properties. In this paper, we, thus, start the other way around with hybrid programs that include continuous plant models in addition to discrete control algorithms. Even deep correctness properties of hybrid programs can be formally verified in the theorem prover KeYmaera X that implements differential dynamic logic, dL, for hybrid programs. After verifying the hybrid program, we now present an approach for translating hybrid programs into PLC code. The new tool, HyPLC, implements this translation of discrete control code of verified hybrid program models to PLC controller code and, vice versa, the translation of existing PLC code into the discrete control actions for a hybrid program given an additional input of the continuous dynamics of the system to be verified. This approach allows for the generation of real controller code while preserving, by compilation, the correctness of a valid and verified hybrid program. PLCs are common cyber-physical interfaces for safety-critical industrial control applications, and HyPLC serves as a pragmatic tool for bridging formal verification of complex cyber-physical systems at the algorithmic level of hybrid programs with the execution layer of concrete PLC implementations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。