System Verification and Runtime Monitoring with Multiple Weakly-Hard Constraints

Yi-Ting Hsieh, Tzu-Tao Chang, Chen-Jun Tsai, Shih-Lun Wu, Ching-Yuan Bai, Kai-Chieh Chang, Chung-Wei Lin, Eunsuk Kang, Chao Huang, Qi Zhu

Abstract

A weakly-hard fault model can be captured by an (m,k) constraint, where 0≤ m≤ k, meaning that there are at most m bad events (faults) among any k consecutive events. In this article, we use a weakly-hard fault model to constrain the occurrences of faults in system inputs. We develop approaches to verify properties for all possible values of (m,k), where k is smaller than or equal to a given K, in an exact and efficient manner. By verifying all possible values of (m,k), we define weakly-hard requirements for the system environment and design a runtime monitor based on counting the number of faults in system inputs. If the system environment satisfies the weakly-hard requirements, then the satisfaction of desired properties is guaranteed; otherwise, the runtime monitor can notify the system to switch to a safe mode. This is especially essential for cyber-physical systems that need to provide guarantees with limited resources and the existence of faults. Experimental results with discrete second-order control, network routing, vehicle following, and lane changing demonstrate the generality and the efficiency of the proposed approaches.
BibTeX
@article{hsieh2023system,
  author = {Yi-Ting Hsieh and Tzu-Tao Chang and Chen-Jun Tsai and Shih-Lun Wu and Ching-Yuan Bai and Kai-Chieh Chang and Chung-Wei Lin and Eunsuk Kang and Chao Huang and Qi Zhu},
  title = {{System Verification and Runtime Monitoring with Multiple Weakly-Hard Constraints}},
  journal = {ACM Trans. Cyber Phys. Syst.},
  year = {2023},
  doi = {10.1145/3603380},
}

Loading related content...

Figure