Conference article

Modelica as a design tool for hardware-in-the-loop simulation

Marco Bonvini
Dipartimento di Elettronica e Informazione, Politecnico di Milano, Italy

Filippo Donido
Dipartimento di Elettronica e Informazione, Politecnico di Milano, Italy

Alberto Leva
Dipartimento di Elettronica e Informazione, Politecnico di Milano, Italy

Download articlehttp://dx.doi.org/10.3384/ecp09430087

Published in: Proceedings of the 7th International Modelica Conference; Como; Italy; 20-22 September 2009

Linköping Electronic Conference Proceedings 43:42, p. 378-385

Show more +

Published: 2009-12-29

ISBN: 978-91-7393-513-5

ISSN: 1650-3686 (print), 1650-3740 (online)

Abstract

This paper focuses on the automatic generation of microcontroller code for hardware-in-the-loop simulation using Modelica models. In this work a test is presented and commented in which Modelica is used to specify a control system; the inline integration code is obtained from the Modelica model and executed part on a PC; and part on a microcontroller board. The presented application; albeit created basically for educational purposes; covers quite different scenarii; therefore evidencing the usefulness of Modelica in the addressed context; and providing as a consequence some future research directions.

The contribution aspect of this work is twofold: on one side the entire cross-compilator software chain is built within the same framework; on the other hand; all the involved software tools are opensource (mainly GPL) licensed; making the application extremely modular and extensible. Furthermore this work will be included in the next release of the open source Modelica environment SimForge; thus enriching its Modelica back-ends support.

Keywords

No keywords available

References

No references available

Citations in Crossref