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 条
  • [1] A REST based co-simulation interface for distributed simulations
    Vogt, Mike
    Marten, Frank
    Montoya, Juan
    Ttibermann, Christian
    Braun, Martin
    2019 IEEE MILAN POWERTECH, 2019,
  • [2] Configuration of Slaves Based on the Distributed Co-Simulation Protocol
    Krammer, Martin
    Benedikt, Martin
    2018 IEEE 23RD INTERNATIONAL CONFERENCE ON EMERGING TECHNOLOGIES AND FACTORY AUTOMATION (ETFA), 2018, : 195 - 202
  • [3] TOWARDS THE IMPLEMENTATION OF A REAL-TIME CO-SIMULATION ARCHITECTURE BASED ON DISTRIBUTED CO-SIMULATION PROTOCOL
    Segura, Mikel
    Poggi, Tomaso
    Barcena, Rafael
    MODELLING AND SIMULATION 2021: 35TH ANNUAL EUROPEAN SIMULATION AND MODELLING CONFERENCE 2021 (ESM 2021), 2021, : 155 - 162
  • [4] Master for Simulation Control using the Distributed Co-Simulation Protocol
    Krammer, Martin
    Benedikt, Martin
    2018 IEEE 16TH INTERNATIONAL CONFERENCE ON INDUSTRIAL INFORMATICS (INDIN), 2018, : 329 - 334
  • [5] Clock Synchronization in Context of the Distributed Co-Simulation Protocol
    Krammer, Martin
    Ferner, Philipp
    Watzenig, Daniel
    2019 8TH IEEE INTERNATIONAL CONFERENCE ON CONNECTED VEHICLES AND EXPO (IIEEE CCVE), 2019,
  • [6] Interface Jacobian-based Co-Simulation
    Sicklinger, S.
    Belsky, V.
    Engelmann, B.
    Elmqvist, H.
    Olsson, H.
    Wuechner, R.
    Bletzinger, K. -U.
    INTERNATIONAL JOURNAL FOR NUMERICAL METHODS IN ENGINEERING, 2014, 98 (06) : 418 - 444
  • [7] Improvements to the Co-simulation Interface for Geographically Distributed Real-time Simulation
    Vogel, Steffen
    Rajkumar, Vetrivel Subramaniam
    Ha Thi Nguyen
    Stevic, Marija
    Bhandia, Rishabh
    Heussen, Kai
    Palensky, Peter
    Monti, Antonello
    45TH ANNUAL CONFERENCE OF THE IEEE INDUSTRIAL ELECTRONICS SOCIETY (IECON 2019), 2019, : 6655 - 6662
  • [8] MODBUS BASED PROTOCOL FOR COMMUNICATION BETWEEN A DISTRIBUTED CO-SIMULATION BACKBONE AND REAL ELEMENTS FOR SIMULATION MATTERS
    Chaves, Tales Marchesan
    de Mello, Braulio Adriano
    Betencourt, Paulo
    EMSS 2009: 21ST EUROPEAN MODELING AND SIMULATION SYMPOSIUM, VOL I, 2009, : 80 - +
  • [9] X-in-the-Loop Simulation Environment for Electric Vehicles ECUs
    Sainz, Inaki
    Arteta, Benat
    Coupeau, Alvaro
    Prieto, Pablo
    2021 IEEE VEHICLE POWER AND PROPULSION CONFERENCE (VPPC), 2021,
  • [10] Simulator Coupled with Distributed Co-Simulation Protocol for Automated Driving Tests
    Meyer, Max-Arno
    Sauter, Lina
    Granrath, Christian
    Hadj-Amor, Hassen
    Andert, Jakob
    AUTOMOTIVE INNOVATION, 2021, 4 (04) : 373 - 389