Model-Based Development of Embedded Systems

Bernhard Schätz, Alexander Pretschner, Franz Huber, Jan PhilippsOois Workshops 2002

TL;DR

This paper argues that model-based development (MBD) is a paradigm orthogonal to specific development processes, emphasizing the explicit use of both product and process models. They propose that integrating these models within a CASE tool can lead to more efficient, higher-quality embedded systems development by enabling better traceability, automation, and formal verification.

What Problem Does This Paper Address?

The authors tackle the challenge of developing complex embedded systems efficiently and with high quality. They observe that while many tools claim to be "model-based," the concept is often reduced to using graphical domain-specific languages. This paper aims to provide a more robust understanding of MBD, defining it as a paradigm that relies on explicit, operational descriptions of both the system under development (product models) and the activities used to create it (process models). The core problem is the lack of a coherent metaphor and integrated approach to manage the complexity inherent in embedded systems development, leading to issues like tool coupling and difficulty in ensuring correctness.

Methods

The paper's core contribution lies in its conceptual framework for Model-Based Development (MBD). They propose a distinction between:

  • Product Models: These describe the system under development and its environment. They are further broken down into:
  • Conceptual Model: Defines the modeling concepts and their relationships (e.g., "component," "port," "state"). This is akin to the abstract syntax of a modeling language.
  • System Model: Provides the semantic interpretation of the conceptual model, enabling verification and analysis (e.g., "behavioral refinement," "temporal refinement").
  • Process Models: These describe the development activities and their dependencies. They are defined in terms of how they interact with and transform instances of the product model.

The authors advocate for integrating these models within a Computer-Aided Software Engineering (CASE) tool. This integration allows for:

  • Consistency Conditions: Invariant and variant conceptual consistency conditions help guide development and enforce rules. Semantic consistency conditions allow for checking properties like behavioral refinement.
  • Executable Activities: Process activities are defined as operations on the product model, enabling automation and formal verification.
  • Traceability: The explicit models facilitate tracing requirements to design and implementation.

They also argue that MBD is orthogonal to the rigor of a process, suggesting it can accommodate agile methodologies like Extreme Programming (XP) by incorporating XP's principles into the model-based framework.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • MBD is a Paradigm, Not Just Tools: The paper strongly emphasizes that MBD is a fundamental approach to development, not merely the use of graphical editors or domain-specific languages. The explicit existence of both product and process models is key.
  • Orthogonality to Process Rigor: A significant insight is that MBD can be applied to both rigorous and agile development processes. This challenges the common perception that MBD inherently implies highly formal and rigid methodologies.
  • Integration is Crucial: The true power of MBD, according to the authors, comes from the tight integration of product and process models, ideally within a CASE tool. This integration enables automation, verification, and traceability.
  • Explicit Models for Complexity Management: The authors posit that explicit product and process models provide a much-needed coherent metaphor to manage the inherent complexity of embedded systems development, addressing issues like tool coupling and ensuring correctness.
  • Abstraction and Restriction: MBD leverages abstraction to manage complexity and restriction to enforce correctness, similar to how higher-level programming languages restrict the "degrees of freedom" compared to assembly.

Key Results

The paper is primarily a conceptual framework and does not present quantitative results from empirical studies or experiments. Its key "results" are the articulation of the MBD paradigm and the proposed structure of product and process models. The authors believe that by adopting this approach, developers can achieve:

  • More efficient and sound development processes.
  • Higher quality software.
  • Improved traceability and documentation.
  • Enhanced support from CASE tools.

Limitations and Future Work

The authors acknowledge several limitations and areas for future work:

  • Seamlessness of Development: They are not entirely certain if a truly seamless development process from early design to final target code is feasible, as some design steps might require knowledge of environment properties that are difficult to formalize.
  • Target Platform Knowledge: Later phases of development may require precise knowledge of the target platform (e.g., device drivers, timing constraints), which can be challenging to formalize.
  • Pragmatic Problems: Issues like integrating legacy code, tailoring to customer-specific coding and certification standards, and dealing with compiler or operating system idiosyncrasies can hinder the ideal of a seamless process.
  • Domain Specificity: MBD is inherently domain-specific. Finding common vocabularies and notations to define conceptual, system, and product models is an ambitious goal that requires close cooperation with domain experts.
  • Industrial Scale Experience: While optimistic based on their experience with the AUTOFOCUS project, they admit to not yet having extensive experience with industrial-scale projects.

Future work would likely involve further developing and validating these models and their integration into CASE tools, particularly in addressing the pragmatic challenges and domain-specific aspects of embedded systems development.

Summary updated

BibTeX
@inproceedings{schatz2002model,
  author = {Bernhard Schätz and Alexander Pretschner and Franz Huber and Jan Philipps},
  title = {{Model-Based Development of Embedded Systems}},
  booktitle = {Oois Workshops},
  year = {2002},
  doi = {10.1007/3-540-46105-1\_34},
}

Loading related content...

Figure