Tobias Bellmann
Institute of System Dynamics and Control , German Aerospace Center (DLR), Germany
Fabian Buse
Institute of System Dynamics and Control , German Aerospace Center (DLR), Germany
Ladda ner artikelhttp://dx.doi.org/10.3384/ecp18148130Ingår i: Proceedings of the 2nd Japanese Modelica Conference, Tokyo, Japan, May 17-18, 2018
Linköping Electronic Conference Proceedings 148:19, s. 130-136
Publicerad: 2019-02-21
ISBN: 978-91-7685-266-8
ISSN: 1650-3686 (tryckt), 1650-3740 (online)
In this paper, a new concept to access real-time hardware from within Modelica via the EtherCAT bus is introduced and the implementation of a prototype library is demonstrated. The DLR EtherCAT library uses the open source EtherCAT library EtherLab to gather information about the connected bus slaves. Thereupon, the slave information is used in a code generation process to build native Modelica blocks providing the interfaces to their hardware counterparts. These blocks subsequently can be used to build real-time models, running on a Linux based real-time system and therefore controlling the hardware directly from the model. The application of the library is shown in a robotic testbed where a motor drive is controlled via EtherCAT.
Tobias Bellmann. Interactive simulations and advanced visualization with modelica. In Proceedings of the 7th International Modelica Conference; Como; Italy; 20-22 September 2009, number 043, pages 541–550. Linköping University Electronic Press, 2009.
Florian Pose. IgH Master 1.5. 0 Documentation. Ingenieurgemeinschaft IgH, 2013.
Andreas Hofmann, Nils Menager, Issam Belhaj, and Lars Mikelsons. Integrated Engineering based on Modelica. In Proceedings of the 11th International Modelica Conference, Versailles, France, September 21-23, 2015, number 118, pages 893–901. Linköping University Electronic Press, Linköpings universitet, 2015.
International Electrotechnical Commision. Industrial communication networks - Fieldbus specifications - Part 1: Overview and guidance for the IEC 61158 and IEC 61784 series. 5 2014. ISBN 9782832216309.
Christoph Nytsch Geusen, Alexander Inderfurth, Werne Kaul, Katharina Mucha, Jörg Rädler, Matthis Thorade, and Carles Ribas Tugores. Template based code generation of Modelica building energy simulation models. In Proceedings of the 12th International Modelica Conference, Prague, Czech Republic, May 15-17, 2017, number 132, pages 199–207. Linköping University Electronic Press, 2017.
Open EtherCAT Society. SOEM Reference manual. URL https://openethercatsociety.github.io/.
Richard Kuchar and Andreas Klöckner. Automatic flight code generation from multi-physics models. In ODAS 2015, 2015. URL http://elib.dlr.de/100124/.
Peter Ritzer, Michael Panzirsch, and Jonathan Brembeck. Robotisch bewegt-Interaktive Bewegungssimulation. dSPACE Magazin, (1/2016):52–57, 2016.
The EtherCAT Technology Group. EtherCAT - the Ethernet Fieldbus. Online, 7 2017. URL https://www.ethercat.org/download/documents/ETG_Brochure_EN.pdf.
Bernhard Thiele, Thomas Beutlich, Volker Waurich, Martin Sjölund, and Tobias Bellmann. Towards a Standard-Conform, Platform-Generic and Feature-Rich Modelica Device Drivers Library. In Proceedings of the 12th International Modelica Conference, Prague, Czech Republic, May 15-17, 2017, number 132, pages 713–723. Linköping University Electronic Press, 2017.