在PLC领域建立形式化验证和归纳代码综合
Towards establishing formal verification and inductive code synthesis in the PLC domain
摘要:
如今,形式化方法被用于各种领域,用于程序的验证或用于从模型生成代码生成,以提高软件的质量并降低成本。然而,仍然有一些领域,其中正式的方法没有被广泛采用,尽管提供了大量的可能的好处。这是可编程逻辑控制器(PLC)领域的情况。本文的目的是评估PLC开发的背景下,形式化方法的潜力。为此,形式化方法的一般概念,首先介绍,然后转移到PLC领域,从而在工程为导向的描述的技术是基于PLC开发的共同概念。基于此描述,我们采访了具有不同经验的PLC专业人员,以了解他们对该主题的看法,并确定PLC领域中可能的用例。调查结果表明,该技术在PLC领域具有很高的潜力,无论是作为直接支持开发人员的工具,还是作为基于模型的系统工程工具链中的关键元素。调查结果的评估是在演示应用程序的帮助下进行的,该应用程序与西门子的全集成自动化门户进行通信,并通过基于模型的开源代码生成器Fastsynth生成程序。基于行业相关PLC项目的基准测试显示出令人满意的合成时间,并成功集成到PLC开发人员的工作流程中。
英文摘要:
Nowadays, formal methods are used in various areas for the verification of programs or for code generation from models in order to increase the quality of software and to reduce costs. However, there are still fields in which formal methods have not been widely adopted, despite the large set of possible benefits offered. This is the case for the area of programmable logic controllers (PLC). This article aims to evaluate the potential of formal methods in the context of PLC development. For this purpose, the general concepts of formal methods are first introduced and then transferred to the PLC area, resulting in an engineering-oriented description of the technology that is based on common concepts from PLC development. Based on this description, PLC professionals with varying degrees of experience were interviewed for their perspective on the topic and to identify possible use cases within the PLC domain. The survey results indicate the technology's high potential in the PLC area, either as a tool to directly support the developer or as a key element within a model-based systems engineering toolchain. The evaluation of the survey results is performed with the aid of a demo application that communicates with the Totally Integrated Automation Portal from Siemens and generates programs via Fastsynth, a model-based open source code generator. Benchmarks based on an industry-related PLC project show satisfactory synthesis times and a successful integration into the workflow of a PLC developer.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。