An Example of Modelica–LabVIEW Communication Usage to Implement Hardware-in-the-Loop Experiments

4区 计算机科学 Q3 Computer Science
Massimo Ceraolo, Mirko Marracci
{"title":"An Example of Modelica–LabVIEW Communication Usage to Implement Hardware-in-the-Loop Experiments","authors":"Massimo Ceraolo, Mirko Marracci","doi":"10.1155/2024/9648349","DOIUrl":null,"url":null,"abstract":"Modelica is a very powerful language to simulate a very large set of systems, including electrical, thermal, mechanical, fluidic, control, and has already been used very extensively for several purposes, as the several Modelica conferences testify. Despite of this large literature, no paper seems to be available regarding the use of Modelica for real-time applications or hardware-in-the loop (HIL). This is a field where applications may be very fruitful. In this paper, the possibility of creating mixed software–hardware experiences (i.e., HIL), through combination of a Modelica program, the related simulation tool, a LabVIEW program, and the corresponding hardware is demonstrated. This demonstration is made using as an example a partial simulator of an electric vehicle running in a stand-alone PC, which communicates via User Datagram Protocol (UDP) packets with another PC running the LabVIEW program, which in turn is physically connected with the hardware-under-test. The obtained results are satisfying, given the inherent delay times due to the UDP communication.","PeriodicalId":22091,"journal":{"name":"Scientific Programming","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2024-02-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Scientific Programming","FirstCategoryId":"94","ListUrlMain":"https://doi.org/10.1155/2024/9648349","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"Computer Science","Score":null,"Total":0}
引用次数: 0

Abstract

Modelica is a very powerful language to simulate a very large set of systems, including electrical, thermal, mechanical, fluidic, control, and has already been used very extensively for several purposes, as the several Modelica conferences testify. Despite of this large literature, no paper seems to be available regarding the use of Modelica for real-time applications or hardware-in-the loop (HIL). This is a field where applications may be very fruitful. In this paper, the possibility of creating mixed software–hardware experiences (i.e., HIL), through combination of a Modelica program, the related simulation tool, a LabVIEW program, and the corresponding hardware is demonstrated. This demonstration is made using as an example a partial simulator of an electric vehicle running in a stand-alone PC, which communicates via User Datagram Protocol (UDP) packets with another PC running the LabVIEW program, which in turn is physically connected with the hardware-under-test. The obtained results are satisfying, given the inherent delay times due to the UDP communication.
使用 Modelica-LabVIEW 通信实现硬件在环实验的示例
Modelica 是一种非常强大的语言,可以模拟包括电气、热、机械、流体、控制在内的大量系统,并已被广泛用于多种用途,多次 Modelica 会议就是最好的证明。尽管有如此多的文献,但似乎还没有关于 Modelica 用于实时应用或硬件在环 (HIL) 的论文。在这一领域的应用可能会硕果累累。本文展示了通过结合 Modelica 程序、相关仿真工具、LabVIEW 程序和相应硬件,创建软硬件混合体验(即 HIL)的可能性。该演示以在独立 PC 中运行的电动汽车部分模拟器为例,该模拟器通过用户数据报协议(UDP)数据包与另一台运行 LabVIEW 程序的 PC 进行通信,而 LabVIEW 程序又与被测硬件进行物理连接。考虑到 UDP 通信固有的延迟时间,所获得的结果令人满意。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Scientific Programming
Scientific Programming 工程技术-计算机:软件工程
自引率
0.00%
发文量
1059
审稿时长
>12 weeks
期刊介绍: Scientific Programming is a peer-reviewed, open access journal that provides a meeting ground for research results in, and practical experience with, software engineering environments, tools, languages, and models of computation aimed specifically at supporting scientific and engineering computing. The journal publishes papers on language, compiler, and programming environment issues for scientific computing. Of particular interest are contributions to programming and software engineering for grid computing, high performance computing, processing very large data sets, supercomputing, visualization, and parallel computing. All languages used in scientific programming as well as scientific programming libraries are within the scope of the journal.
×
引用
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学术官方微信