Dynamically detecting invariants for automatic testing PLC programs

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

1 Scopus citations

Abstract

Since programmable logic controllers (PLCs) control safety-critical infrastructures, examining the PLC software satisfies the high-reliability specifications necessary to ensure the safeness of PLCs. However, prior works have limitations in finding defects in the PLC source code. Static verification techniques suffer from notable false positives without capturing runtime behavior. The symbolic execution and conformance testing technique captures the relations of inputs and outputs. It is not sufficient to consider only the data constraints as the PLC operates in real-time. In this paper, we propose a novel approach in the detection of the runtime behavior of PLC programs with incorporated time constraints. This testing approach automatically finds implementation errors in PLC programs by mining invariants from runtime traces. As the existing tools mine only data or time invariants which are inadequate to test PLC programs, our approach focuses on the interplay of data and time invariants. Dynamically detected data-time invariants are then checked with the safety specifications. We evaluate the usefulness of our approach in a real-life case. The experimental results show that the proposed approach can find errors in PLC programs effectively.

Original languageEnglish
Title of host publicationProceedings - SEKE 2021
Subtitle of host publication33rd International Conference on Software Engineering and Knowledge Engineering
PublisherKnowledge Systems Institute Graduate School
Pages532-537
Number of pages6
ISBN (Electronic)1891706527
DOIs
StatePublished - 2021
Event33rd International Conference on Software Engineering and Knowledge Engineering, SEKE 2021 - Pittsburgh, United States
Duration: 1 Jul 202110 Jul 2021

Publication series

NameProceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE
Volume2021-July
ISSN (Print)2325-9000
ISSN (Electronic)2325-9086

Conference

Conference33rd International Conference on Software Engineering and Knowledge Engineering, SEKE 2021
Country/TerritoryUnited States
CityPittsburgh
Period1/07/2110/07/21

Keywords

  • Interplay
  • Program invariant
  • Programmable logic controller
  • Real-time system

Fingerprint

Dive into the research topics of 'Dynamically detecting invariants for automatic testing PLC programs'. Together they form a unique fingerprint.

Cite this