Title :
Model-Based Design of Embedded Control Systems by Means of a Synchronous Intermediate Model
Author :
Alras, Mouaiad ; Caspi, Paul ; Girault, Alain ; Raymond, Pascal
Author_Institution :
Verimag-CNRS, Univ. of Grenoble, Grenoble
Abstract :
Model-based design (MBD) involves designing a model of a control system, simulating and debugging it with dedicated tools, and finally generating automatically code corresponding to this model. In the domain of embedded systems, it offers the huge advantage of avoiding the time-consuming and error-prone final coding phase. The main issue raised by MBD is the faithfulness of the generated code with respect to the initial model, the latter being defined by the simulation semantics. To bridge the gap between the high-level model and the low-level implementation, we use the synchronous programming language Lustre as an intermediate formal model. Concretely, starting from a high-level model specified in the de-facto standard Simulink, we first generate Lustre code along with some structured "glue code", and then we generate embedded real-time code for the Xenomai RTOS. Thanks to Lustre\´s clean mathematical semantics, we are able to guarantee the faithfulness of the generated multi-tasked real-time code.
Keywords :
control system CAD; digital simulation; embedded systems; formal specification; operating systems (computers); program compilers; program debugging; Lustre synchronous programming language; Simulink; Xenomai RTOS; automatic code generation; code debugging; embedded control system; model-based design; synchronous intermediate model; Automatic control; Automatic generation control; Bridges; Clocks; Computational modeling; Control system synthesis; Debugging; Embedded software; Embedded system; Synchronous generators; Model-based design; code generation; embedded systems; real-time systems; synchronous languages;
Conference_Titel :
Embedded Software and Systems, 2009. ICESS '09. International Conference on
Conference_Location :
Zhejiang
Print_ISBN :
978-1-4244-4359-8
DOI :
10.1109/ICESS.2009.36