The xSAP Safety Analysis Platform

Benjamin Bittner, Marco Bozzano, Roberto Cavada, Alessandro Cimatti, Marco Gario, Alberto Griggio, Cristian Mattarei, Andrea Micheli, Gianni ZampedriarXiv 2015

TL;DR

xSAP is a powerful Model-Based Safety Analysis (MBSA) platform that automates the generation of critical safety artifacts like Fault Trees and FMEA tables. By leveraging state-of-the-art symbolic model checking, it allows engineers to rigorously assess the safety of complex, large-scale industrial systems—such as those in aerospace—far more efficiently than traditional manual methods.

What Problem Does This Paper Address?

In the world of safety-critical systems (think avionics, space exploration, or nuclear power), proving a system is safe is just as important as building it. Traditionally, safety assessment is a manual, tedious, and error-prone process. Engineers often have to manually "draw" Fault Trees or fill out Failure Mode and Effects Analysis (FMEA) tables based on their understanding of the system.

As systems become more complex and software-intensive, these manual methods struggle to keep up. There is a high risk of inconsistency between the actual design and the safety analysis. xSAP addresses this by providing a unified platform for Model-Based Safety Analysis (MBSA), where safety artifacts are automatically generated directly from a formal model of the system.

Methods

The core of xSAP is built upon the nuXmv symbolic model checker, which provides the engine for analyzing both finite- and infinite-state systems. The platform follows a structured workflow to bridge the gap between design and safety engineering:

  1. Model Extension: Users start with a "nominal model" (how the system works when everything is fine). xSAP then uses a Fault Library and specific instructions to automatically inject faulty behaviors into this model, creating an "Extended Model."
  2. Formal Analysis: The platform applies advanced routines—including Binary Decision Diagrams (BDD), SAT-based, and SMT-based techniques—to explore the extended model.
  3. Artifact Generation: Based on this analysis, xSAP automatically produces standard safety artifacts:
  4. Fault Trees (FTs) and Dynamic Fault Trees (DFTs): Graphical representations of what combinations of failures lead to a system-level hazard.
  5. FMEA Tables: Tabular summaries of how specific component faults affect the overall system.
  6. Timed Failure Propagation Graphs (TFPGs): Models that capture how failures spread through a system over time, accounting for delays and operational modes.
Fig. 1. The XSAP main flow.

Datasets

While xSAP is a tool rather than a machine learning model, its effectiveness has been validated through several high-profile industrial "datasets" or case studies:

  • ESA Projects: It has served as the verification back-end for European Space Agency projects like COMPASS, AUTOGEF, FAME, and HASDEL.
  • Boeing: The platform was evaluated in a joint R&D project with The Boeing Company, specifically applied to an industrial-size case study involving the AIR6110 Wheel Brake System.

Key Insights and Ideas

  • Automation Reduces Human Error: By generating Fault Trees from a formal model rather than drawing them by hand, xSAP ensures that the safety analysis is always mathematically consistent with the system design.
  • Handling Infinite States: Unlike its predecessor (FSAP), xSAP can handle infinite-state systems. This is a major leap forward, as it allows for the analysis of systems with continuous variables (like time or pressure), which are common in modern engineering.
  • Symbolic Probability: xSAP doesn't just provide a single probability number for a failure; it can generate a symbolic formula. This allows engineers to export the logic to Python or Matlab to see how the total system risk changes as individual component reliabilities fluctuate.
Fig. 2. An example FT and the associated symbolic probability.
  • Granular Failure Modeling: Through TFPGs, xSAP offers a more detailed view of failure than traditional trees, showing exactly how and when a fault propagates through sensors and logic gates.
Fig. 3. An example TFPG.

Key Results

  • Industrial Scalability: The paper highlights that xSAP's symbolic technologies provide significant advances in scalability, outperforming other MBSA platforms in head-to-head comparisons.
  • Unified Toolset: It successfully integrates a wide range of analyses—FTA, FMEA, Common Cause Analysis (CCA), and failure propagation—into a single, cohesive environment.
  • Real-World Adoption: The tool is currently distributed with a free license for academic and non-commercial use and has been integrated into the workflows of major aerospace entities.

Limitations and Future Work

The authors identify several areas for expansion:

  • Contract-Based Safety: They plan to incorporate "contracts" to enable the generation of hierarchical Fault Trees that better match complex, modular design structures.
  • FDIR Analysis: Future versions aim to better support Fault Detection, Isolation, and Recovery (FDIR) analysis, helping systems not just identify failures but react to them autonomously.
  • Observability: A significant planned extension involves defining "observability information" within the model to improve diagnosability analysis.

Summary updated

BibTeX
@misc{bittner2015xsap,
  author = {Benjamin Bittner and Marco Bozzano and Roberto Cavada and Alessandro Cimatti and Marco Gario and Alberto Griggio and Cristian Mattarei and Andrea Micheli and Gianni Zampedri},
  title = {{The xSAP Safety Analysis Platform}},
  year = {2015},
  eprint = {1504.07513},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1504.07513},
}
Figure