SITL-Based Formal Verification of Cyber-Physical Systems Software: Reliability Model, Method and Implementation
Preprint
- 12 March 2025
- preprint
- Published by MDPI AG in Preprints.org
Abstract
This study focuses on developing of a software verification method using SI (The International System of Units) - based Template Libraries (TL). It analyses and enhances the reliability of cyber-physical systems (CPS) and IoT software by addressing SI prefixes, units, and orientation errors in C/C++ programs without increasing memory usage. Such errors often go undetected by conventional methods, leading to critical issues. Inspired by Siano’s approach, the study extends the SI to include orientation metrics. The technique leverages C++ metaprogramming to enforce the correct use of SI units and prefixes through dimensional and orientational analysis, enabling precise control of physical object rotations. A reliable SI unit model was developed, demonstrating the advantages of the extended system. Verifying dimensions and orientations at compile-time allows early detection of potential software defects, reducing debugging time and costs. The SI-based template library enhances software safety and reliability, identifying 90% of incorrect variable usage and over 50% of erroneous operations in large-scale programs. It was validated through development and integration Euler's differential equations and formal software verification of CPS. This SITL-based approach significantly advances software development, improving compile-time and run-time verification across domains such as manufacturing, transport, space and other systems.Keywords
All Related Versions
This publication has 33 references indexed in Scilit:
- Cyber-Physical Systems in the Context of Industry 4.0: A Review, Categorization and OutlookInformation Systems Frontiers, 2022
- Extending the C++ Standard Library and the STL2021
- New Features in C++202021
- Principles and Applications of Dimensional Analysis and Similarity2021
- The Standard Template Library2020
- Programming at Compile Time2020
- New Data Types, Containers and Algorithms in C++ and Boost C++ Libraries2018
- C++ Numerics, IEEE 754 and Boost C++ Multiprecision2018
- The Verifying Compiler: A Grand Challenge for Computing ResearchLecture Notes in Computer Science, 2003
- Orientational analysis—a supplement to dimensional analysis—IJournal of the Franklin Institute, 1985