Safe controllers design for industrial automation systems

https://doi.org/10.1016/j.cie.2010.12.020Get rights and content

Abstract

The design of safe industrial controllers is one of the most important domains related to Automation Systems research. To support it, synthesis and analysis techniques are available. Among the analysis techniques, two of the most important are Simulation and Formal Verification. In this paper these two techniques are used together in a complementary way. Understanding plant behaviour is essential for obtaining safe industrial systems controllers; hence, plant modelling is crucial to the success of these techniques. A two step approach is presented: first, the use of Simulation and, second, the use of Formal Verification of Industrial Systems Specifications. The specification and plant models used for each technique are described. Simulation and Formal Verification results are presented and discussed. The approach presented in the paper can be applied to real industrial systems, and obtain safe controllers for hybrid plants. The Modelica modelling language and Dymola simulation environment are used for Simulation purposes, and Timed Automata formalism and the UPPAAL real-time model-checker are used for Formal Verification purposes.

Introduction

Modern engineered systems have reached a high degree of complexity that requires systematic design methodologies, and model-based approaches to ensure correct and competitive performance. Regarding the use of software controlled devices such as digital controllers, evidence shows that small errors in their design may lead to catastrophic failures (Leveson and Turner, 1993, Nuseibeh, 1997).

Recent years have witnessed a significant growth of interest in the Modelling, Simulation and Formal Verification of physical systems (Schnakenbourg, Faure, & Lesage, 2002). A key factor in this growth was the development of efficient equation-based simulation languages, and formalisms and tools able to deal with the combinatorial explosion of discrete/timed/hybrid systems states.

Safety control has, as its main goal, the assurance of the reliability, availability, and maintainability requirements of automation systems. Because of its direct impact on people and goods safety, the reliability of critical systems (transports, space, nuclear, among others) has been mobilizing the scientific community’s efforts. Assuring system safety, demands the use of a global approach, guaranteeing that weaknesses do not exist. This approach must take into account, first the set of engineering activities used during development, and later, the set of activities of operational exploitation and maintenance. Thus, there is a continuous effort to develop methods and tools enabling the anticipation of possible malfunctioning, and to study how these different methods and tools might complement each other in the context of such a global approach.

Among the several techniques for analysis of industrial controllers: Identification (Klein, Litz, & Lesage, 2005), Simulation (Baresi, Mauri, Monti, & Pezzè, 2000), Formal Verification (Moon, 1994), Model-Based Testing (Cristiá & Monetti, 2009), and Diagnosis (Cabasino, Giua, & Seatzu, 2009); Simulation and Formal Verification are distinguished, by their utility. In the literature on industrial controller’s analysis, these two techniques are rarely used simultaneously. If Simulation is faster to execute, it has the limitation of considering only a subset of all the system behaviour evolution scenarios. Using Formal Verification has the advantage of analyzing all the possible evolution scenarios but it presents some limitations on the dimension and complexity of the models that can be analyzed. Such limitations arise due to the time and computational resources that become necessary for the attainment of Formal Verification results for very large models. This paper shows how it is possible, and desirable, to conciliate these two techniques in the analysis of industrial controllers. With the simultaneous use of these two techniques, the developed industrial controllers are more robust and not subject to errors. This paper is focused on the Formal Verification of real-time systems and considers also important aspects on the plant modelling tasks. The modelling of the plant is crucial for the development of safe controllers (Yalcin & Namballa, 2005).

There are several approaches to applying Formal Verification techniques on automation systems dependability: from Formal Verification by theorem proving (Roussel & Denis, 2002) to Formal Verification by model-checking (Rossi, 2004); and considering (Machado, Denis, & Lesage, 2006a), or not (Rossi, 2004), a plant model. The above approaches, however, do not consider timed aspects. In the Formal Verification of timed systems, several approaches can be used to increase the quality of the verification results. A distinction can be made between the work by Remelhe, Lohmann, Stursberg, and Engell (2004), where the translation of IEC 61131-3 Sequential Function Charts (SFC) into timed automata (Alur & Dill, 1990) is studied, and the work developed by Gaid, Bérard, and Smet (2005) where an approach for constructing the controller model is proposed. This latter work uses the initial approach proposed by Mader and Wupper (1999), and some work hypotheses related to the evolution of the controller model and time aspects, in order to increase the quality of Formal Verification results. In the present work the base system and the work hypothesis considered by Gaid et al. (2005) for the controller behaviour are adopted, and an approach to build timed plant models is proposed.

The paper is organized in eight sections. Section 1 presents the challenge being addressed in this work. Section 2 presents an overview of the most used analysis techniques for Industrial Controllers design, with special focus on Simulation and Formal Verification. Section 3 presents our proposal for the analysis of controllers design based on the complementary use of Simulation and Formal Verification. Section 4 is devoted to the presentation of a case study, involving a system with two tanks, a heating device, level control sensors, and valves to control the liquids’ flow. Section 5 is entirely devoted to plant modelling. Next, in Section 6, a set of properties over system’s behaviour is provided, as well as their formalization in Timed Computation Tree Logic (TCTL). Section 7 presents and discusses the results obtained from Simulation and Formal Verification of the case study’s specification. Finally, Section 8 presents the conclusions and future work.

Section snippets

Analysis techniques for industrial controllers software

This section discusses the two main classes of approaches: Simulation and Formal Verification, as applied to design of Industrial Controllers’ Software. Also the impact of plant modelling in the context of these techniques is discussed.

An approach to safe controllers design

Considering the analysis in section 2, it is clear that Simulation and Formal Verification techniques are usually not used in a complementary way. However, they have complementary characteristics that can considerably improve the development of safe industrial systems’ controllers. Another conclusion that can be reached, analysing section 2, is that plant modelling has a crucial impact on the results of applying these two techniques.

If we think in an automation system, it can easily be

Case study

In this section, a benchmark example is used to illustrate the application of our approach. This plant is a modified version of the benchmark example for an evaporator system, presented by Kowalewski, Stursberg, and Bauer (2001) and Huuck, Lukoschus, and Lakhnech (2001). The plant (Fig. 5) consists of two tanks (tank 1 is heated and mixed), a condenser, level sensors and on–off valves (Vi). In normal operation mode the system works as follows. Tank 1 is filled with two solutions by opening

Plant modelling

This section presents the plant model for the system described in Section 4. Following the approach proposed in Section 3.5, the plant modelling process consisted of two steps: first, modelling the plant using the Dymola software and the Modelica programming language, and, second, using the Modelica models as the basis for the development of the UPPAAL models which are used in the Formal Verification tasks.

System behaviour properties and properties formalization

This section presents some behaviour properties formalization concerning the system presented in Section 4.1. This formalization allows us to verify some system behaviours using Formal Verification. First, the properties are presented informally and then translated into formal language.

In the current case, we have chosen seven properties that, besides being considered relevant in the context of the case study, are also examples of the type of results that can be achieved through verification.

Obtained results

The results of Simulation and Formal Verification are presented in this section.

Conclusions

The development of timed Plant models (for Formal Verification purposes) as an abstraction of hybrid models (used in Simulation) is very interesting from the point of view of the performance that can be obtained in the Formal Verification tasks. Nowadays, Formal Verification of timed systems allows us to deal with high dimension cases, enabling us to study complex real world cases.

Another important aspect of the work is that, with the presented approach to building plant models (using first

Acknowledgements

This research was carried out in the context of the SCAPS Project supported by FCT, the Portuguese Foundation for Science and Technology, and FEDER, the European regional development fund, under Contract POCI/EME/61425/2004 that deals with safety control of automated production systems.

References (72)

  • A. Yalcin et al.

    An object-oriented simulation framework for real-time control of automated flexible manufacturing systems

    Computers & Industrial Engineering

    (2005)
  • Alur, R., & Dill, D.L. (1990). Automata for modeling real-time systems. In Proceedings of the 17th international...
  • J.V. Amerongen

    Mechatronic design

    Mechatronics

    (2003)
  • Baresi, L., Carmeli, S., Monti, A., & Pezzè, M. (1998). PLC programming languages: A formal approach. Automation 98,...
  • L. Baresi et al.

    PLCTOOLS: Design, formal validation, and code generation for programmable controllers

    Simulation Software

    (2000)
  • P. Barton et al.

    Modeling of combined discrete/continuous processes

    AIChE Journal

    (1994)
  • Basu, S., Pollack, R., & Roy, M. (2006). Algorithms in real algebraic geometry – Algorithms and computation in...
  • Behrmann, G., Larsen, K. G., Moller, O., David, A., Pettersson, P., & Yi, W. (2001). Uppaal – Present and future. In...
  • Behrmann, G., David, A., & Larsen, K. G. (2004). A tutorial on UPPAAL. In Proceedings of the 4th international school...
  • Bornot, S., Huuck, R., & Lukoschus, B. (2000). Verification of sequential function charts using SMV, at the PDPTA 2000...
  • Brenan, K. E., Campbell, S. L., & Petzold, L. R. (1996). Numerical solution of initial-value problems in...
  • Breunese, A. P., & Broenink, J. F. (1997). Modeling mechatronic systems using the SIDOPS+ language. In Proceedings of...
  • Burch, J., Clarke, E., Mcmillan, K., Dill, D., & Hwang, L. (1990). Symbolic model checking: 10^20 states and beyond. In...
  • Cabasino, M. P., Giua, A., & Seatzu, C. (2009). Diagnosis of discrete event systems using labeled Petri Nets. DCDS09:...
  • Campos, J. C., & Machado, J. (2009). Pattern-based analysis of automated production systems. The 13th IFAC symposium on...
  • Canet, G., Couffin, S., Lesage, J.-J., Petit, A., & Schnoebelen, P. (2000). Towards automatic verification of PLC...
  • E.M. Clarke et al.

    Automatic verification of finite state concurrent systems using temporal logic specifications

    ACM Transactions on Programming Languages and Systems

    (1986)
  • Cristiá, M., & Monetti, P. R. (2009). Implementing and applying the stocks-carrington framework for model-based...
  • Crow, J., Owre, S., Rushby, J., Shankar, N., & Srivas, M. (1995). A tutorial introduction to PVS. Workshop on...
  • M. Eben-Chaimea et al.

    An integrated architecture for simulation

    Computers & Industrial Engineering

    (2004)
  • Elmqvist, E., & Mattson, S. (1997). An introduction to the physical modelling language Modelica. In Proceedings of the...
  • EN (2002). European Standard 60848: SFC specification language for sequential function...
  • Frey, G., & Litz, L. (2000). Formal methods in PLC programming. In Proceedings of the IEEE Conference on Systems, Man...
  • P. Fritzson et al.

    High-level mathematical modeling and programming

    IEEE Software

    (1995)
  • M. Gaid et al.

    Verification of an evaporator system with UPPAAL

    European Journal of Automated Systems

    (2005)
  • Gouyon, D. (2001). Application de techniques de sysnthèse de la commande en ingéniérie d’automatisation. MSc Thesis;...
  • Cited by (22)

    • A design strategy for obtaining reliable controllers for critical mechanical systems

      2018, Mechatronics
      Citation Excerpt :

      However, as already discussed, while simulation is typically applied just to a limited number of evolution scenarios of a system’s behavior, formal verification, on the contrary, allows a systematic analysis of most possible evolutions of a system’s behavior at the expense of usually consuming more time in the analysis. Good results can be obtained by using simulation and formal verification in a complementary way [18]. It is usually advantageous to use formal methods to seek more complex operational errors that were not previously detected by simulation.

    • A Formal Approach to Testing Logical Reliablity of Intelligent Device in Home Energy Management System

      2018, Proceedings - 2018 IEEE PES Innovative Smart Grid Technologies Conference Europe, ISGT-Europe 2018
    • Timed cellular automata-based tool for the analysis of urban road traffic models

      2018, Intelligent Systems, Control and Automation: Science and Engineering
    View all citing articles on Scopus

    This manuscript was processed by Area Editor Satish Bukkapatnam.

    View full text