Моделирование и анализ информационных систем (Dec 2020)

Temporal Logic for Programmable Logic Controllers

  • Natalia Olegovna Garanina,
  • Igor Sergeevich Anureev,
  • Vladimir Evgenyevich Zyubin,
  • Sergey Mikhailovich Staroletov,
  • Tatiana Victorovna Liakh,
  • Andrey Sergeevich Rozov,
  • Sergei Petrovich Gorlatch

DOI
https://doi.org/10.18255/1818-1015-2020-4-412-427
Journal volume & issue
Vol. 27, no. 4
pp. 412 – 427

Abstract

Read online

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