The DLR EtherCAT Library - A template based code-generation scheme for accessing real-time hardware from Modelica

Tobias Bellmann, Fabian Buse
{"title":"The DLR EtherCAT Library - A template based code-generation scheme for accessing real-time hardware from Modelica","authors":"Tobias Bellmann, Fabian Buse","doi":"10.3384/ECP18148130","DOIUrl":null,"url":null,"abstract":"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 \ndemonstrated. The DLR EtherCAT library uses the open \nsource EtherCAT library EtherLab to gather information \nabout the connected bus slaves. Thereupon, the slave information is used in a code generation process to build \nnative Modelica blocks providing the interfaces to their \nhardware counterparts. These blocks subsequently can be \nused to build real-time models, running on a Linux based \nreal-time system and therefore controlling the hardware \ndirectly from the model. The application of the library \nis shown in a robotic testbed where a motor drive is controlled via EtherCAT","PeriodicalId":378465,"journal":{"name":"Proceedings of the 2nd Japanese Modelica Conference Tokyo, Japan, May 17-18, 2018","volume":"24 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-02-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 2nd Japanese Modelica Conference Tokyo, Japan, May 17-18, 2018","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3384/ECP18148130","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

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
DLR EtherCAT库——一个基于模板的代码生成方案,用于从Modelica访问实时硬件
本文介绍了一个通过EtherCAT总线从Modelica内部访问实时硬件的新概念,并演示了一个原型库的实现。DLR EtherCAT库使用开源EtherCAT库EtherLab来收集有关连接的总线从机的信息。因此,在代码生成过程中使用从属信息来构建本地Modelica块,为它们的硬件对应物提供接口。这些模块随后可用于构建实时模型,在基于Linux的实时系统上运行,因此可以直接从模型控制硬件。该库的应用在一个机器人试验台中展示,其中电机驱动器通过EtherCAT控制
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信