当前位置: X-MOL 学术Sci. Program. › 论文详情
Our official English website, www.x-mol.net, welcomes your feedback! (Note: you will need to create a separate account there.)
An Example of Modelica–LabVIEW Communication Usage to Implement Hardware-in-the-Loop Experiments
Scientific Programming ( IF 1.672 ) Pub Date : 2024-2-5 , DOI: 10.1155/2024/9648349
Massimo Ceraolo 1 , Mirko Marracci 1
Affiliation  

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 进行通信,而另一台 PC 又与硬件进行物理连接- 测试中。考虑到 UDP 通信带来的固有延迟时间,所获得的结果是令人满意的。
更新日期:2024-02-05
down
wechat
bug