使用 Modelica-LabVIEW 通信实现硬件在环实验的示例

4区 计算机科学 Q3 Computer Science Scientific Programming Pub Date : 2024-02-05 DOI:10.1155/2024/9648349
Massimo Ceraolo, Mirko Marracci
{"title":"使用 Modelica-LabVIEW 通信实现硬件在环实验的示例","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":"{\"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}","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

摘要

Modelica 是一种非常强大的语言,可以模拟包括电气、热、机械、流体、控制在内的大量系统,并已被广泛用于多种用途,多次 Modelica 会议就是最好的证明。尽管有如此多的文献,但似乎还没有关于 Modelica 用于实时应用或硬件在环 (HIL) 的论文。在这一领域的应用可能会硕果累累。本文展示了通过结合 Modelica 程序、相关仿真工具、LabVIEW 程序和相应硬件,创建软硬件混合体验(即 HIL)的可能性。该演示以在独立 PC 中运行的电动汽车部分模拟器为例,该模拟器通过用户数据报协议(UDP)数据包与另一台运行 LabVIEW 程序的 PC 进行通信,而 LabVIEW 程序又与被测硬件进行物理连接。考虑到 UDP 通信固有的延迟时间,所获得的结果令人满意。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
An Example of Modelica–LabVIEW Communication Usage to Implement Hardware-in-the-Loop Experiments
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.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
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.
期刊最新文献
Recognition of Hotspot Words for Disease Symptoms Incorporating Contextual Weight and Co-Occurrence Degree An Example of Modelica–LabVIEW Communication Usage to Implement Hardware-in-the-Loop Experiments Deep Neural Network-Based Cloth Collision Detection Algorithm Study on Contribution of Different Journal Evaluation Indicators to Impact Factor Based on Machine Learning Image Segmentation of Triple-Negative Breast Cancer by Incorporating Multiscale and Parallel Attention Mechanisms
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1