A Generic Interface for x-in-the-Loop Simulations Based on Distributed Co-Simulation Protocol

被引:3
|
作者
Segura, Mikel [1 ]
Poggi, Tomaso [2 ]
Barcena, Rafael [3 ]
机构
[1] IKERLAN, Embedded Syst Grp, Arrasate Mondragon 20500, Basque Country, Spain
[2] Mondragon Unibertsitatea, Arrasate Mondragon 20500, Basque Country, Spain
[3] Univ Basque Country UPV EHU, Dept Elect Technol, Bilbao 48013, Basque Country, Spain
关键词
Control systems; Computational modeling; Software packages; Real-time systems; Mathematical models; Codes; Synchronization; co-simulation interface; distributed co-simulation protocol; model-based design; model testing; simulink; x-in-the-loop;
D O I
10.1109/ACCESS.2023.3237075
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Co-simulation is a key step in the development of today's complex cyber-physical systems (CPS), specially in the integration and validation activities. However, performing a co-simulation involving models developed in different environments and possibly deployed in different platforms with mixed real-time and non real-time constraints is a challenging engineering task. A promising technology that could help overcome communication and synchronisation difficulties is the non-proprietary standard Distributed Co-simulation Protocol (DCP). This standard defines an application-level communication protocol, independent of the platform and the communication medium, that regulates the exchange of information between the co-simulation entities. This paper presents a co-simulation interface based on the DCP standard. It offers a novel approach to apply the DCP standard. Instead of using it as a model encapsulation mechanism, having to develop an specific DCP slave for each application, it is proposed to use it as a generic co-simulation interface. To this end, a Simulink library has been developed, allowing to connect models developed in Simulink with the outside world in an standardised way. Moreover, by exploiting the code generation potential of Simulink, a wide variety of devices become accessible, thus enabling x-in-the-loop simulations, which are commonly used tests in the verification and validation process of CPSs. This library has been tested in a soft real-time co-simulation application between a Simulink instance and an application running on a Xilinx Zynq Ultrascale+ System-on-Chip. As an additional contribution, an analysis of DCP synchronisation problems when simulating closed-loop systems composed of two slaves is performed. Finding that the main causes are the occurrence of random delays and that the simulations of the two slaves start at an arbitrary time. A possible solution to this problem is also presented.
引用
收藏
页码:5578 / 5595
页数:18
相关论文
共 43 条
  • [21] Transmission-and-Distribution Dynamic Co-Simulation Framework for Distributed Energy Resource Frequency Response
    Wang, Wenbo
    Fang, Xin
    Cui, Hantao
    Li, Fangxing
    Liu, Yijing
    Overbye, Thomas J.
    IEEE TRANSACTIONS ON SMART GRID, 2022, 13 (01) : 482 - 495
  • [22] Co-simulation Between Trnsys and Simulink Based on Type155
    Engel, Georg
    Chakkaravarthy, Ajay Sathya
    Schweiger, Gerald
    SOFTWARE ENGINEERING AND FORMAL METHODS, SEFM 2017, 2018, 10729 : 315 - 329
  • [23] A framework for FMI-based co-simulation of human–machine interfaces
    Maurizio Palmieri
    Cinzia Bernardeschi
    Paolo Masci
    Software and Systems Modeling, 2020, 19 : 601 - 623
  • [24] Virtual Hardware-in-the-Loop FMU Co-Simulation Based Digital Twins for Heating, Ventilation, and Air-Conditioning (HVAC) Systems
    Abrazeh, Saber
    Mohseni, Saeid-Reza
    Zeitouni, Meisam Jahanshahi
    Parvaresh, Ahmad
    Fathollahi, Arman
    Gheisarnejad, Meysam
    Khooban, Mohammad-Hassan
    IEEE TRANSACTIONS ON EMERGING TOPICS IN COMPUTATIONAL INTELLIGENCE, 2023, 7 (01): : 65 - 75
  • [25] A framework for FMI-based co-simulation of human-machine interfaces
    Palmieri, Maurizio
    Bernardeschi, Cinzia
    Masci, Paolo
    SOFTWARE AND SYSTEMS MODELING, 2020, 19 (03) : 601 - 623
  • [26] Co-simulation of Energy regulation based variable-speed electrohydraulic drive
    Xu, Ming
    Ni, Jing
    Chen, Guo-jin
    CEIS 2011, 2011, 15
  • [27] Co-simulation of Saber and Simulink-based PPT satellite power controller
    Wang P.-P.
    Li F.
    Zhao J.-H.
    Yuhang Xuebao/Journal of Astronautics, 2010, 31 (12): : 2818 - 2823
  • [28] Adaptive Synchronization Interface With Key-Frame Prediction Method for Accelerating Power Electronics Co-Simulation
    Liu, Weicheng
    Zhao, Zhengming
    Zeng, Yangbin
    Zheng, Jialin
    Xu, Han
    Shi, Bochen
    Mou, Di
    Li, Hong
    IEEE JOURNAL OF EMERGING AND SELECTED TOPICS IN POWER ELECTRONICS, 2024, 12 (06) : 6017 - 6027
  • [29] Co-Simulation of Low-Frequency Electromagnetic Device Coupled With Complex Electrical Circuit Based on the PGD Approach
    Tomezyk, J.
    Henneron, T.
    IEEE TRANSACTIONS ON MAGNETICS, 2024, 60 (12)
  • [30] USING CO-SIMULATION TRUCKSIM - SIMULINK TO IMPLEMENT FINE-GRAINED SOIL VEHICLE TERRAIN INTERFACE ALGORITHMS
    Rosca, P.
    Ciobotaru, T.
    Marmureanu, M.
    Oancea, D.
    Turcanu, D.
    ROMANIAN JOURNAL OF PHYSICS, 2019, 64 (5-6):