# Automatic Failure Explanation in CPS Models

**Authors:** Ezio Bartocci, Niveditha Manjunath, Leonardo Mariani, Cristinel, Mateis, Dejan Ni\v{c}kovi\'c

arXiv: 1903.12468 · 2020-10-14

## TL;DR

CPSDebug is an automated tool that combines testing, specification mining, and failure analysis to explain failures in complex CPS models, reducing manual debugging effort.

## Contribution

The paper introduces CPSDebug, a novel approach that automatically explains failures in Simulink/Stateflow models using combined testing and analysis techniques.

## Key findings

- Successfully explained failures in two case studies
- Demonstrated effectiveness across multiple fault types
- Reduced manual debugging effort

## Abstract

Debugging Cyber-Physical System (CPS) models can be extremely complex. Indeed, only the detection of a failure is insuffcient to know how to correct a faulty model. Faults can propagate in time and in space producing observable misbehaviours in locations completely different from the location of the fault. Understanding the reason of an observed failure is typically a challenging and laborious task left to the experience and domain knowledge of the designer. \n In this paper, we propose CPSDebug, a novel approach that by combining testing, specification mining, and failure analysis, can automatically explain failures in Simulink/Stateflow models. We evaluate CPSDebug on two case studies, involving two use scenarios and several classes of faults, demonstrating the potential value of our approach.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1903.12468/full.md

## Figures

9 figures with captions in the complete paper: https://tomesphere.com/paper/1903.12468/full.md

## References

24 references — full list in the complete paper: https://tomesphere.com/paper/1903.12468/full.md

---
Source: https://tomesphere.com/paper/1903.12468