Título
A Generic Interface for x-in-the-Loop Simulations Based on Distributed Co-Simulation ProtocolAutor-a
Otras instituciones
IkerlanUniversidad del País Vasco/Euskal Herriko Unibertsitatea (UPV/EHU)
Versión
Version publicada
Derechos
© 2023 IEEEAcceso
Acceso abiertoVersión del editor
https://doi.org/10.1109/ACCESS.2023.3237075Publicado en
IEEE Access Vol. 11Editor
IEEEPalabras clave
Control systems
Computational modeling
Software packages
Real-time systems ... [+]
Computational modeling
Software packages
Real-time systems ... [+]
Control systems
Computational modeling
Software packages
Real-time systems
Mathematical models
Codes
Synchronization [-]
Computational modeling
Software packages
Real-time systems
Mathematical models
Codes
Synchronization [-]
Resumen
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 mo ... [+]
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. [-]
Colecciones
- Artículos - Ingeniería [684]