Conference Paper

Model Checking PLC Software Written in Function Block Diagram

Mobility Div., Siemens, Braunschweig, Germany
DOI: 10.1109/ICST.2010.10 Conference: Proceedings Third International Conference on Software Testing, Verification and Validation (ICST), At IEEE
Source: IEEE Xplore

ABSTRACT

The development of Programmable Logic Controllers (PLCs) in the last years has made it possible to apply them in ever more complex tasks. Many systems based on these controllers are safety-critical, the certification of which entails a great effort. Therefore, there is a big demand for tools for analyzing and verifying PLC applications. Among the PLC-specific languages proposed in the standard IEC 61131-3, FBD(Function Block Diagram) is a graphical one widely used in rail automation. In this paper, a process of verifying FBDs by the NuSMV model checker is described. It consists of three transformation steps: FBD→TextFBD→tFBD→NuSMV. the novel step introduced here is the second one: it reduces the state space dramatically so that realistic application components can be verified. The process has been developed and tested in the area of rail automation, in particular interlocking systems. As a part of the interlocking software, a typical point logic has been used as a test case.

Download full-text

Full-text

Available from: Hans-Dieter Ehrich
  • Source
    • "The formal verification of PLC programs has been tackled by a plethora of work in the last two decades [18]. Most work has been done with regard to the formalization of PLC code according to IEC 61131-3 [19], e.g. for ladder diagrams (LD) [20]–[22], instruction lists (IL) [23]–[25], function block diagrams (FBD) [26], and sequential function charts (SFC) [27]–[30]. More recently, also model-based approaches to the verification of PLCs gained interest [31]– [33]. "
    [Show abstract] [Hide abstract]
    ABSTRACT: The design of correctly implemented controls in material handling systems (MHS) is time consuming and cumbersome. The developer has to deal with an ever increasing complexity and heterogeneity of MHS on the one hand, but also with short development cycles and high demands to MHS on the other hand. For baggage handling systems (BHS) at airports, the error-free implementation of routing strategies is especially of importance, as these strategies are critical to safety. This paper proposes a compositional approach to the formal verification of routing in MHS. The approach is based on the theory of assume-guarantee reasoning, where proofs of the overall system are derived from proofs of subsystems. Moreover, the approach has been implemented in a tool that automatically carries out the verification. A real-world example is discussed in this paper, showing the benefits and scalability of the presented approach.
    Full-text · Article · Sep 2013 · IEEE Transactions on Automation Science and Engineering
  • Source
    • "Programmable Logic Controllers (PLC) are products which are more and more integrated in automated systems, even to perform critical functions; this explains why validation of PLC is gaining an always increasing interest. A possible solution to meet this objective is to apply formal verification techniques ([2]) on the specification of the control logic ([4], [13]) or the PLC code that implements this logic ([1], [5], [6], [9], [12]). These techniques are based on an exhaustive analysis of a state space which represents the specification or the PLC code according to the verification objective. "
    [Show abstract] [Hide abstract]
    ABSTRACT: Validation of the behavior of a Programmable Logic Controller (PLC) by comparison of observed I/O se-quences to sequences built from a formal specification model requires that the consequences of the PLC I/O scan-ning cycle be considered. This paper proposes a method based on an enforcement technique to interpret observed I/O sequences so that the result of this comparison be meaningful.
    Full-text · Conference Paper · Sep 2013
  • Source
    • "Often the industrial applicability of existing approaches is very limited, primarily due to state space explosion problems. Various solutions to this problem have been attempted [25]. While some of these approaches attempt to verify control applications written in only one language (among the different IEC 61131-3 languages), there are few approaches which work on more than one language [26]. "
    [Show abstract] [Hide abstract]
    ABSTRACT: In order to maximize cost and quality gains, industrial automation systems need to incorporate the best practices of software engineering in their application development process. However, this requires the right set of tools and methodologies that cater to the needs of the automation domain. While there have been a few efforts towards applying state-of-the-art software engineering tools and techniques to the automation domain, these have not been universally adopted. This paper discusses some of the challenges in adopting software engineering principles for industrial automation application development. Further, the paper presents a case for research activities to look for more practical solutions for industrial applications.
    Full-text · Conference Paper · Jul 2013
Show more