|
Theory of computing
Temporal logic for programmable logic controllers
N. O. Garaninaa, I. S. Anureeva, V. E. Zyubinb, S. M. Staroletovc, T. V. Liakhb, A. S. Rozovb, S. P. Gorlatchd a A. P. Ershov Institute of Informatics Systems (IIS), Siberian Branch of the Russian Academy of Sciences, 6, Acad. Lavrentjev ave.,
Novosibirsk 630090, Russia
b Institute of Automation and Electrometry SB RAS, 1 Academician Koptyug ave., Novosibirsk 630090, Russia
c Polzunov Altai State Technical University, 46 Lenina ave., Barnaul 656038, Russia
d University of Munster, 2 Schlossplatz, Munster 48149, Germany
Abstract:
We address the formal verification of the control software of critical systems, i.e., ensuring the absence of design errors in a system with respect to requirements. Control systems are usually based on industrial controllers, also known as Programmable Logic Controllers (PLCs). A specific feature of a PLC is a scan cycle: 1) the inputs are read, 2) the PLC states change, and 3) the outputs are written. Therefore, in order to formally verify PLC, e.g., by model checking, it is necessary to describe the transition system taking into account this specificity and reason both in terms of state transitions within a cycle and in terms of larger state transitions according to the scan-cyclic semantics. We propose a formal PLC model as a hyperprocess transition system and temporal cycle-LTL logic based on LTL logic for formulating PLC property. A feature of the cycle-LTL logic is the possibility of viewing the scan cycle in two ways: as the effect of the environment (in particular, the control object) on the control system and as the effect of the control system on the environment. For both cases we introduce modified LTL temporal operators. We also define special modified LTL temporal operators to specify inside properties of scan cycles. We describe the translation of formulas of cycle-LTL into formulas of LTL, and prove its correctness. This implies the possibility ofmodel checking requirements expressed in logic cycle-LTL, by using well-known model checking tools with LTL as specification logic, e.g., Spin. We give the illustrative examples of requirements expressed in the cycle-LTL logic.
Keywords:
formal verification, temporal logics, transition systems, programmable logic controllers (PLC).
Received: 12.11.2020 Revised: 12.12.2020 Accepted: 16.12.2020
Citation:
N. O. Garanina, I. S. Anureev, V. E. Zyubin, S. M. Staroletov, T. V. Liakh, A. S. Rozov, S. P. Gorlatch, “Temporal logic for programmable logic controllers”, Model. Anal. Inform. Sist., 27:4 (2020), 412–427
Linking options:
https://www.mathnet.ru/eng/mais725 https://www.mathnet.ru/eng/mais/v27/i4/p412
|
Statistics & downloads: |
Abstract page: | 72 | Full-text PDF : | 43 | References: | 11 |
|