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 条
  • [21] A novel integrated architecture to X-in-the-loop simulation applied to ASV navigation
    Ribeiro, Tiago Trindade
    Fernandes, Bianca
    Poleselo, Henrique
    Vidal, Vinicius
    Lopes, Vitor
    Ferreira, Mathaus
    Neto, Edvaldo
    Conceicao, Andre Gustavo Scolari
    Honorio, Leonardo de Mello
    ROBOTICA, 2024,
  • [22] Validation of Integrated EV Chassis Controller Using a Geographically Distributed X-in-the-loop Network
    Beliautsou, Viktar
    Alfonso, Jesus
    Giltay, Joris
    Buechner, Florian
    Shyrokau, Barys
    Castellanos, Jose A.
    Ivanov, Valentin
    2022 IEEE VEHICLE POWER AND PROPULSION CONFERENCE (VPPC), 2022,
  • [23] Co-simulation Framework for Blockchain Based Market Designs and Grid Simulations
    Coignard, Jonathan
    Munsing, Eric
    MacDonald, Jason
    Mather, Jonathan
    2018 IEEE POWER & ENERGY SOCIETY GENERAL MEETING (PESGM), 2018,
  • [24] Architecture of a Distributed Process Co-simulation Framework
    Wack, Thorsten
    Schroeder, Andreas
    Yildiz, Evren
    CHEMIE INGENIEUR TECHNIK, 2020, 92 (10) : 1618 - 1625
  • [25] ZerOBNL: A framework for distributed and reproducible co-simulation
    Puerto, Pablo
    Widl, Edmund
    Page, Jessen
    2019 7TH WORKSHOP ON MODELING AND SIMULATION OF CYBER-PHYSICAL ENERGY SYSTEMS (MSCPES), 2019,
  • [26] Distributed Co-simulation of Maritime Systems and Operations
    Sadjina, Severin
    Kyllingstad, Lars Tandle
    Rindaroy, Martin
    Skjong, Stian
    Aesoy, Vilmar
    Pedersen, Eilif
    JOURNAL OF OFFSHORE MECHANICS AND ARCTIC ENGINEERING-TRANSACTIONS OF THE ASME, 2019, 141 (01):
  • [27] Explicit co-simulation with interface Jacobian approximation
    Pu Li
    Qi Yuan
    Journal of Mechanical Science and Technology, 2022, 36 : 1103 - 1112
  • [28] Co-simulation of FMUs and Distributed Applications with SimGrid
    Camus, Benjamin
    Orgerie, Anne-Cecile
    Quinson, Martin
    SIGSIM-PADS'18: PROCEEDINGS OF THE 2018 ACM SIGSIM CONFERENCE ON PRINCIPLES OF ADVANCED DISCRETE SIMULATION, 2018, : 145 - 156
  • [29] TLM-Based Asynchronous Co-simulation with the Functional Mockup Interface
    Braun, Robert
    Hallqvist, Robert
    Fritzson, Dag
    IUTAM SYMPOSIUM ON SOLVER-COUPLING AND CO-SIMULATION, 2019, 35 : 27 - 41
  • [30] Explicit co-simulation with interface Jacobian approximation
    Li, Pu
    Yuan, Qi
    JOURNAL OF MECHANICAL SCIENCE AND TECHNOLOGY, 2022, 36 (03) : 1103 - 1112