Design of safe PLC programs by using Petri nets and formal methods

  • Authors:
  • Eugen Ioan Gergely;Laura Coroiu;Alexandru Gacsadi

  • Affiliations:
  • Department of Electrical Drives and Automation, University of Oradea, Oradea, Romania;Department of Electrical Drives and Automation, University of Oradea, Oradea, Romania;Department of Electronics, University of Oradea, Oradea, Romania

  • Venue:
  • ICAI'10 Proceedings of the 11th WSEAS international conference on Automation & information
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

The paper presents an approach which combines the formalism of Petri Nets and of model checking in order to deliver correct and dependable PLC programs. Based on SIPNs, a variant of PNs, the complete controller development process from an informal specification to the final implementation on a PLC is discussed. The SIPN formalized according to corresponding plant model enables the derivation of standard functional properties and the specific functional properties of the PLC control algorithm. These properties are verified and validated with the model checker tool Cadence SMV. In order to do this, the SIPN is translated into SMV input code, in which there are inserted the functional properties to be verified and validated, expressed by using Temporal Logic formulae. This correct SIPN is used as a basis for implementation. For the realization there are used standard PLC programming languages according to IEC 61131. It resulted that the approach provides correctness of the resulting PLC programs, which makes them much more dependable than direct implemented PLC code. In order to illustrate the approach steps a working example was used.