arrow
Return

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

delete2023-01-01
delete5
delete
OA
AI
M
Mikel Segura *
T
Tomaso Poggi
R
Rafael Bárcena
DOI:10.1109/ACCESS.2023.3237075delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
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.
Keywords:
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

Journal

IEEE Access cover
IEEE Access
IF:
3.6
Papers:
9.8W
Citations:
29.4W

Organization

M
mondragon unibertsitatea
Scholars:
1.2K
Papers: 767
Citations: 4
U
university of basque country
Scholars:
1.9W
Papers: 1.6W
Citations: 17
Cited Papers

Cited Papers

Quantum dot-antibody and aptamer conjugates shift fluorescence upon binding bacteria
err2004-12-01
err0
PREAI
errSulatha Dwarakanath; John G. Bruno; Anant Shastry; Taylor Phillips; Ashely John; Ashok Kumar; Larry D. Stephenson
errShare
errSave
Interfacing Issues in Multi-Domain Simulation Tools
err2012-01-01
err22
PREAI
errFaruque, M. O.; Dinavahi, V.; Steurer, M.; Monti, A.; Strunz, K.; Martinez, J. A.; Chang, G. W.; Jatskevich, J.; Iravani, R.; Davoudi, A.
errShare
errSave
Simulator Coupled with Distributed Co-Simulation Protocol for Automated Driving Tests
err2021-10-16
err9
errOAAI
errMeyer, Max-Arno; Sauter, Lina; Granrath, Christian; Hadj-Amor, Hassen; Andert, Jakob
errShare
errSave
Co-Simulation of Distributed Smart Grid Software Using Direct-Execution Simulation
err2018-01-01
err23
errOAAI
errShum, Chong; Lau, Wing-Hong; Mao, Tian; Chung, Henry Shu-Hung; Tsang, Kim-Fung; Tse, Norman Chung-Fai; Lai, Loi Lei
errShare
errSave
An empirical survey on co-simulation: Promising standards, challenges and research needs
err2019-09-01
err59
errOAAI
errSchweiger, G.; Gomes, C.; Engel, G.; Hafner, I; Schoeggl, J.; Posch, A.; Nouidui, T.
errShare
errSave
researcher View more