Software & Systems Modeling

, Volume 13, Issue 1, pp 55–81

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

Theme Section Paper

DOI: 10.1007/s10270-012-0283-7

Cite this article as:
de Roo, A., Sözer, H. & Akşit, M. Softw Syst Model (2014) 13: 55. doi:10.1007/s10270-012-0283-7
  • 330 Downloads

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.

Keywords

Domain specific languagesEmbedded systemsSoftware compositionComposition filtersAspect-oriented programming

Copyright information

© Springer-Verlag 2012

Authors and Affiliations

  1. 1.Software Engineering group, CS DepartmentUniversity of TwenteEnschedeThe Netherlands
  2. 2.Computer Science DepartmentÖzyeğin UniversityİstanbulTurkey