Conference article

Modelica for Embedded Systems

Hilding Elmqvist
Dassault Systèmes, Lund, Sweden

Martin Otter
German Aerospace Centre (DLR), Institute for Robotics and Mechatronics, Germany

Dan Henriksson
Dassault Systèmes, Lund, Sweden

Bernhard Thiele
German Aerospace Centre (DLR), Institute for Robotics and Mechatronics, Germany

Sven Erik Matsson
Dassault Systèmes, Lund, Sweden

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

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

Linköping Electronic Conference Proceedings 43:40, s. 354-363

Show more +

Published: 2009-12-29

ISBN: 978-91-7393-513-5

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

Abstract

New language elements are introduced in Modelica 3.1 to facilitate use Modelica models in embedded systems; e.g.; as controllers. Models can be conveniently configured by marking the borders of the respective controller parts and by defining the mapping of the marked parts to target processors and target tasks.

This approach allows to define a “logical” model from which all different “real” controller configurations for Model-; Software-; Hardware-in-the-Loop (MiL; SiL; HiL); rapid prototyping; and production code for multi-processing/multi-tasking are automatically derived by setting configuration options. Furthermore; a new; free library - Modelica_EmbeddedSystems - is presented that provides a convenient user interface to the new language elements. In summary; the power of Modelica in the area of realtime control is improved significantly.

Keywords

Embedded systems; real-time control; Multi-tasking; multi-core; multi-rate; model parallelization; Model-in-the-Loop; Software-in-the-Loop; Hardware-in-the-Loop; rapid prototyping

References

Akesson J.; Nordström U.; Elmqvist H. (2009): Dymola and Modelica_EmbeddedSystems in Teaching – Experiences from a Project Course. In: F. Casella (editor): Proc. of the. 7th Int. Modelica Conference; Como. www.modelica.org/events/modelica2009

Bauschat; M.; Mönnich; W.; Willemsen; D.; and Looye; G. (2001): Flight testing Robust Autoland Control Laws. In Proceedings of the AIAA Guidance; Navigation and Control Conference; Montreal CA.

Comedi (2009). Linux Control and Measurement Device Interface. www.comedi.org.

Dymola (2009). Dymola Version 7.3. Dassault Systèmes; Lund; Sweden (Dynasim). Homepage: www.dymola.com.

Franke R.; Babji B.S.; Antoine M.; Isaksson A. (2008): Model-based online applications in the ABB Dynamic Optimization framework. In: B. Bachmann (editor): Proc. of the 6th Int. Modelica Conference; Bielefeld. www.modelica.org/events/-modelica2008/Proceedings/sessions/session3b1.pdf

Looye G.; Thümmel M.; Kurze M.; Otter M.; Bals J. (2005): Nonlinear Inverse Models for Control. In: G. Schmitz (editor): Proc. of the 4th Int. Modelica Conference; Hamburg. www.modelica.org/events/Conference2005/online_proceedings/Session3/Session3c3.pdf

Modelica (2009). Modelica Language Specification 3.1. www.modelica.org/documents/ModelicaSpec31.pdf

Pantelides C. (1988): The consistent initialization of differential-algebraic systems. SIAM Journal of Scientific and Statistical Computing; pp. 213-231.

Schäuffele J. and T. Zurawka (2005): Automotive Software Engineering – Principles; Processes; Methods and Tools. SAE International. ISBN-10 0-7680-1490-5.

Thümmel M.; Otter M.; Bals J. (2005): Vibration Control of Elastic Joint Robots by Inverse Dynamics Models. H. Ulbrich; W. Günthner (editors): IUTAM Symposium on Vibration Control of Nonlinear Mechanisms and Structures; München; ISBN 978-1-4020-4160-0; pp. 343-353. doi: 10.1007/1-4020-4161-6_31.

Citations in Crossref