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
相关论文
共 43 条
  • [31] A Co-simulation Approach based on ADAMS-SIMULINK for Development of Manipulator Position Controller
    Song Hongjun
    Rong Xuewen
    Li Yibin
    2013 32ND CHINESE CONTROL CONFERENCE (CCC), 2013, : 8648 - 8652
  • [32] High-Performance Computing-Based Open-Source Power Transmission and Distribution Grid Co-Simulation
    Zheng, Lei
    Cui, Yuxin
    Jin, Shuangshuang
    Chen, Yousu
    IEEE TRANSACTIONS ON POWER SYSTEMS, 2024, 39 (05) : 6144 - 6153
  • [33] A Coordinator-Event-Axis-Based Time Synchronization Strategy for Cyber-Physical Power System Co-Simulation
    Wang, Ziyu
    Wang, Jingyu
    Duan, Xianzhong
    Shi, Dongyuan
    IEEE TRANSACTIONS ON SMART GRID, 2024, 15 (04) : 4090 - 4103
  • [34] Functional Reliability Simulation Analysis For Electronic Throttle Control System Based on Saber-Simulink Co-simulation
    Yan, Haoping
    Wang, Tao
    Liu, Chunzh
    Zhang, Hui
    2015 PROGNOSTICS AND SYSTEM HEALTH MANAGEMENT CONFERENCE (PHM), 2015,
  • [35] Research on control strategy of seven-DOF vehicle active suspension system based on co-simulation
    Ma, Shuo
    Li, Yongming
    Tong, Shaocheng
    MEASUREMENT & CONTROL, 2023, 56 (7-8) : 1251 - 1260
  • [36] Co-simulation and hardware realization of PMSG-WECS based on current source inverter for grid synchronization
    Senthilnathan, Karthikrajan
    Annapoorani, Iyswarya
    Samikannu, Ravi
    WIND ENGINEERING, 2021, 45 (06) : 1662 - 1679
  • [37] Rapid Control Prototyping and PIL Co-Simulation of a Quadrotor UAV Based on NI myRIO-1900 Board
    Bouallegue, Soufiene
    Fessi, Rabii
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2016, 7 (06) : 26 - 35
  • [38] Co-Simulation of a Dynamic Process Simulator And an Event-Based Control System: Case District Heating System
    Nikula, Heikki
    Vesaoja, Eero
    Sierla, Seppo
    Karhela, Tommi
    Flikkema, Paul G.
    Aikala, Antti
    Miettinen, Tuomas
    Yang, Chen-Wei
    2014 IEEE EMERGING TECHNOLOGY AND FACTORY AUTOMATION (ETFA), 2014,
  • [39] Based on Linear Quadratic Regulator optimal control of single inverted pendulum system Co-simulation of ADAMS and SIMULINK
    Xu Zhao-Yang
    Huang Xiao-Diao
    MANUFACTURING SCIENCE AND TECHNOLOGY, PTS 1-8, 2012, 383-390 : 7258 - 7264
  • [40] A Fast Timing-Accurate MPSoC HW/SW Co-Simulation Platform based on a Novel Synchronization Scheme
    Yu, Mingyan
    Song, Junjie
    Fu, Fangfa
    Sun, Siyue
    Liu, Bo
    INTERNATIONAL MULTICONFERENCE OF ENGINEERS AND COMPUTER SCIENTISTS (IMECS 2010), VOLS I-III, 2010, : 1396 - 1400