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
相关论文
共 50 条
  • [31] Network-Centric Co-Simulation Framework for Software-In-the-Loop Testing of Geographically Distributed Simulation Components
    Pieper, Tobias
    Obermaisser, Roman
    2018 21ST IEEE INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE AND ENGINEERING (CSE 2018), 2018, : 104 - 111
  • [32] Real-Sim Interface: Enabling Multi-resolution Simulation and X-in-the-Loop Development for Connected and Automated Vehicles
    Shao, Yunli
    Deter, Dean
    Cook, Adian
    Wang, Chieh
    Thompson, Bradley
    Perry, Nolan
    SAE INTERNATIONAL JOURNAL OF CONNECTED AND AUTOMATED VEHICLES, 2024, 5 (04):
  • [33] Electrified Powertrain Development: Distributed Co-Simulation Protocol Extension for Coupled Test Bench Operations
    Rautenberg, Philip
    Weber, Philipp
    Degel, Jan Philipp
    Haehnlein, Stefan
    Gauterin, Frank
    Koch, Thomas
    Doppelbauer, Martin
    Gohl, Marcus
    APPLIED SCIENCES-BASEL, 2023, 13 (04):
  • [34] A Hardware-in-the-loop Co-Simulation for the Energy Internet Based on SDH Network
    Tong, Heqin
    Ni, Ming
    Gong, Peng
    2017 IEEE CONFERENCE ON ENERGY INTERNET AND ENERGY SYSTEM INTEGRATION (EI2), 2017,
  • [35] Co-simulation of distributed control system based on JADE for smart distribution networks with distributed generations
    Duan, Yilong
    Luo, Longfu
    Li, Yong
    Cao, Yijia
    Rehtanz, Christian
    Kuech, Markus
    IET GENERATION TRANSMISSION & DISTRIBUTION, 2017, 11 (12) : 3097 - 3105
  • [36] Design of Data Distributed Service-Based Distributed Co-Simulation Platform of Power Systems
    Wen, Jianfeng
    Jiang, Lin
    Chen, Yuying
    Chu, Chia-Chi
    Zhu, Jietong
    Qiu, Zitian
    IEEE TRANSACTIONS ON INDUSTRY APPLICATIONS, 2024, 60 (06) : 8115 - 8127
  • [37] Application of Waveform Relaxation in Distributed Process Co-Simulation
    Wack, Thorsten
    Schlueter, Stefan
    Hennig, Torsten
    Wagner, Henning
    Diekmann, Andreas
    Zheng, Qinghua
    Grundler, Jonas
    CHEMIE INGENIEUR TECHNIK, 2018, 90 (10) : 1559 - 1567
  • [38] CyDER - an FMI-based co-simulation platform for distributed energy resources
    Nouidui, Thierry S.
    Coignard, Jonathan
    Gehbauer, Christoph
    Wetter, Michael
    Joo, Jhi-Young
    Vrettos, Evangelos
    JOURNAL OF BUILDING PERFORMANCE SIMULATION, 2019, 12 (05) : 566 - 579
  • [39] Heterogeneous co-simulation with SDL and SystemC for protocol modeling
    Jozawa, T
    Huang, LP
    Sakai, T
    Takeuchi, S
    Kasslin, M
    2006 IEEE RADIO AND WIRELESS SYMPOSIUM, PROCEEDINGS, 2006, : 603 - 606
  • [40] Co-simulation perspective on evaluating the simulation with the engine test bench in the loop
    Glumac, Slaven
    Varga, Nikola
    Raos, Fran
    Kovacic, Zdenko
    AUTOMATIKA, 2022, 63 (02) : 275 - 287