Controller Design for a Magnetic Levitation Kit using OpenModelica’s Integration with the Julia Language

Bernhard Thiele
Institute of System Dynamics and Control, DLR, Germany

Bernt Lie
University of South-Eastern Norway

Martin Sjölund
PELAB, Linköping University, Sweden

Adrian Pop
PELAB, Linköping University, Sweden

Peter Fritzson
PELAB, Linköping University, Sweden

Ladda ner artikelhttp://dx.doi.org/10.3384/ecp19157303

Ingår i: Proceedings of the 13th International Modelica Conference, Regensburg, Germany, March 4–6, 2019

Linköping Electronic Conference Proceedings 157:31, s. 10

Visa mer +

Publicerad: 2019-02-01

ISBN: 978-91-7685-122-7

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


This paper presents a practical application of computer aided control systems design using a new OpenModelica API (OMJulia) which allows to conveniently operate on Modelica models from the Julia language. Julia is a rather young language (Julia 1.0 was released in August 2018) designed to address the needs of numerical analysis and computational science, in particular it already has decent support for the control community. The magnetic levitation application at hand demonstrates how control system design can benefit from a suitable integration between Julia and Modelica. It is based on a commercially available control education kit in which the original controller is replaced by our own digital controller developed in this work. There exists an accompanying but independent paper which introduces the complete OMJulia API.


OpenModelica, OMJulia, control, magnetic levitation, Arduino, Julia, Modelica


Inga referenser tillgängliga

Citeringar i Crossref