Composing domain-specific physical models with general-purpose software modules in embedded control software

  • Authors:
  • Arjan Roo;Hasan Sözer;Mehmet Akşit

  • Affiliations:
  • Software Engineering group, CS Department, University of Twente, Enschede, The Netherlands;Computer Science Department, Özyeğin University, İstanbul, Turkey;Software Engineering group, CS Department, University of Twente, Enschede, The Netherlands

  • Venue:
  • Software and Systems Modeling (SoSyM)
  • Year:
  • 2014

Quantified Score

Hi-index 0.00

Visualization

Abstract

A considerable portion of software systems today are adopted in the embedded control domain. Embedded control software deals with controlling a physical system, and as such models of physical characteristics become part of the embedded control software. In current practices, usually general-purpose languages (GPL), such as C/C++ are used for embedded systems development. Although a GPL is suitable for expressing general-purpose computation, it falls short in expressing the models of physical characteristics as desired. This reduces not only the readability of the code but also hampers reuse due to the lack of dedicated abstractions and composition operators. Moreover, domain-specific static and dynamic checks may not be applied effectively. There exist domain-specific modeling languages (DSML) and tools to specify models of physical characteristics. Although they are commonly used for simulation and documentation of physical systems, they are often not used to implement embedded control software. This is due to the fact that these DSMLs are not suitable to express the general-purpose computation and they cannot be easily composed with other software modules that are implemented in GPL. This paper presents a novel approach to combine a DSML to model physical characteristics and a GPL to implement general-purpose computation. The composition filters model is used to compose models specified in the DSML with modules specified in the GPL at the abstraction level of both languages. As such, this approach combines the benefits of using a DSML to model physical characteristics with the freedom of a GPL to implement general-purpose computation. The approach is illustrated using two industrial case studies from the printing systems domain.