Model based development aims to facilitate the development of embedded control systems by emphasizing the separation of the design level from the implementation level. Model based design involves the use of multiple models that represent different views of a system, having different semantics of abstract system descriptions. Usually, in mechatronics systems, design proceeds by iterating model construction, model analysis, and model transformation. Constructing a MATLAB/Simulink model, a plant and controller behavior is simulated using graphical blocks to represent mathematical and logical constructs and process flow, then software code is generated. A Simulink model is a representation of the design or implementation of a physical system that satisfies a set of requirements. A software component-based system aims to organize system architecture and behaviour as a means of computation, communication and constraints, using computational blocks and aggregates for both discrete and continuous behaviour, different interconnection and execution disciplines for event-based and time-based controllers, and so on, to encompass the demands to more functionality, at even lower prices, and with opposite constraints. COMDES (Componentbased Design of Software for Distributed Embedded Systems) is such a component-based system framework developed by the software engineering group of Mads Clausen Institute for Product Innovation (MCI), University of Southern Denmark. The paper describes a safe translation of a restricted set of MATLAB/Simulink blocks to COMDES software components, both for continuous and discrete behaviour. The automated model transformation is the ultimate goal of metamodel-based design, leading to unified modelling techniques of heterogeneous models. Implications of the adopted modelling transformation approaches are discussed in the context of understanding of relationships between various models.
[1]
Thomas A. Henzinger,et al.
From control models to real-time code using Giotto
,
2003
.
[2]
Christo Angelov,et al.
A Component-Based Framework for Distributed Control Systems
,
2006,
32nd EUROMICRO Conference on Software Engineering and Advanced Applications (EUROMICRO'06).
[3]
Stavros Tripakis,et al.
Defining and translating a "safe" subset of simulink/stateflow into lustre
,
2004,
EMSOFT '04.
[4]
Philip B. Clayton,et al.
CLawZ: cost-effective formal verification for control systems
,
2005,
24th Digital Avionics Systems Conference.
[5]
Annegret Habel,et al.
Graph Transformation for Specification and Programming
,
1999,
Sci. Comput. Program..
[6]
Gabor Karsai,et al.
Semantic Translation of Simulink/Stateflow Models to Hybrid Automata Using Graph Transformations
,
2004,
GT-VMT@ETAPS.
[7]
Stavros Tripakis,et al.
Translating discrete-time simulink to lustre
,
2003,
TECS.