Model-Based Codesign of Critical Embedded Systems

Marco Bozzano, Alessandro Cimatti, Joost-Pieter Katoen, Viet Yen Nguyen, Thomas Noll, Marco Roveri

Introduction

The design of critical embedded systems—such as flight control software or medical devices—presents a significant engineering challenge. These systems must integrate heterogeneous hardware and software components while adhering to strict real-time constraints and complex failure modes. Traditionally, the design process is fragmented: functional verification, reliability calculations, and safety audits (like Fault Tree Analysis) are often performed in silos by different teams. This lack of integration frequently leads to inconsistencies, overlooked requirements, and costly late-stage design revisions.

To address these issues, this research introduces a comprehensive methodology and toolset developed under the COMPASS project. By utilizing a specialized architectural language called SLIM, the framework unifies functional modeling with error behavior, enabling automated safety, performance, and correctness analysis within a single integrated environment.

Methodology: The SLIM Language and COMPASS Toolset

The core of this approach is the SLIM (System-Level Integrated Modeling) language. Inspired by the industry-standard Architecture Analysis and Design Language (AADL), SLIM allows developers to model both "nominal" behavior (standard operation) and "error" behavior (failure modes). It supports timed and hybrid behavior, such as continuous dynamics like temperature or pressure, alongside probabilistic error propagation.

A key technique employed is Model Extension, where a nominal model is automatically integrated with an error model through fault injection. This creates a holistic system model that accounts for various degraded modes of operation.

The methodology is realized through the COMPASS toolset, which integrates several state-of-the-art formal verification engines into a unified workflow.

Architecture of the COMPASS toolset and its integrated analysis workflows.

As shown in the architecture diagram, the toolset pipes data between different formal engines:

  • NuSMV: A symbolic model checker used for functional correctness and safety analysis, capable of generating Fault Trees and FMEA tables.
  • MRMC: A probabilistic model checker used to evaluate "performability"—the system's performance level when components are failing.
  • RAT (Requirements Analysis Tool): Utilized at the beginning of the design cycle to ensure that requirements are logically consistent and not contradictory.

Key Insights

The framework's strength lies in its Unified Semantics. Unlike purely descriptive architectural languages, SLIM is built on a formal mathematical foundation of event-data automata. This allows models to be mathematically proven correct.

Furthermore, the framework emphasizes Diagnosability Analysis. It doesn't just check if a system can fail; it evaluates whether the system's sensor suite is sufficient to detect and identify those failures at runtime—a critical component of Fault Detection, Identification, and Recovery (FDIR) strategies. Finally, the inclusion of the RAT tool allows for Requirements Validation before design begins, preventing the pursuit of mathematically impossible design goals.

Results and Impact

The COMPASS methodology demonstrates that a single SLIM model can support a vast range of analyses, including requirements validation, functional verification, safety assessment (FTA/FMEA), performability, and diagnosability. This "one-stop-shop" for formal verification has proven feasible for complex aerospace systems.

The impact of this work extends to industry standards; modifications and improvements made to AADL during the development of SLIM have been proposed to AADL standardization bodies for potential inclusion in future international standards. The methodology is currently being evaluated on industrial-size case studies from the aerospace domain, specifically within the context of European Space Agency (ESA) projects.

Limitations and Future Work

Despite its comprehensive nature, an implementation gap remains. The current methodology focuses on the architectural level and needs to be complemented by implementation-level languages to handle the specific details of code generation. Additionally, scalability remains a challenge; the computational cost of model checking (the "state space explosion" problem) is a persistent hurdle for very large, complex hybrid systems. Future work will involve a more thorough experimental evaluation across a wider variety of industrial case studies to further refine the toolset’s effectiveness.

Summary updated

BibTeX
@inproceedings{bozzano2009model,
  author = {Marco Bozzano and Alessandro Cimatti and Joost-Pieter Katoen and Viet Yen Nguyen and Thomas Noll and Marco Roveri},
  title = {{Model-Based Codesign of Critical Embedded Systems}},
  booktitle = {Aces-mb@models},
  year = {2009},
}
Figure