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

Arjan de Roo, Hasan Sözer, Mehmet Aksit

    Research output: Contribution to journalArticleAcademicpeer-review

    5 Citations (Scopus)
    60 Downloads (Pure)


    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.
    Original languageUndefined
    Pages (from-to)55-81
    Number of pages27
    JournalSoftware and systems modeling
    Issue number1
    Publication statusPublished - Feb 2014


    • EWI-22380
    • Domain specific languages Embedded systems Software composition Composition filters Aspect-oriented programming
    • IR-83372
    • METIS-296116

    Cite this