Testing Abstractions for Cyber-Physical Control Systems

被引:2
|
作者
Mandrioli, Claudio [1 ]
Carlsson, Max Nyberg [2 ]
Maggio, Martina [3 ]
机构
[1] Univ Luxembourg, Ave JF Kennedy 29, L-1855 Luxembourg, Luxembourg
[2] Lund Univ, Ole Romers Vag 1, SE-22363 Lund, Sweden
[3] Saarland Univ, Saarbrucken Campus, D-66123 Saarbrucken, Germany
关键词
Cyber-physical systems; software testing; X-in-the-loop testing; VERIFICATION;
D O I
10.1145/3617170
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Control systems are ubiquitous and often at the core of Cyber-Physical Systems, like cars and aeroplanes. They are implemented as embedded software that interacts in closed loop with the physical world through sensors and actuators. As a consequence, the software cannot just be tested in isolation. To close the loop in a testing environment and root causing failure generated by different parts of the system, executable models are used to abstract specific components. Different testing setups can be implemented by abstracting different elements: The most common ones are model-in-the-loop, software-in-the-loop, hardware-in-the-loop, and real-physics-in-the-loop. In this article, we discuss the properties of these setups and the types of faults they can expose. We develop a comprehensive case study using the Crazyflie, a drone whose software and hardware are open source. We implement all the most common testing setups and ensure the consistent injection of faults in each of them. We inject faults in the control system and we compare with the nominal performance of the non-faulty software. Our results show the specific capabilities of the different setups in exposing faults. Contrary to intuition and previous literature, we show that the setups do not belong to a strict hierarchy, and they are best designed to maximize the differences across them rather than to be as close as possible to reality.
引用
收藏
页数:32
相关论文
共 50 条
  • [1] Cyber-physical operating systems - What are the right abstractions?
    Troeger, Peter
    Werner, Matthias
    Richling, Jan
    2015 4TH MEDITERRANEAN CONFERENCE ON EMBEDDED COMPUTING (MECO), 2015, : 13 - 16
  • [2] Software Abstractions and Architectures for Smart Cyber-Physical Systems
    Hnetynka, Petr
    2017 IEEE/ACIS 15TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING RESEARCH, MANAGEMENT AND APPLICATIONS (SERA), 2017, : 3 - 3
  • [3] Stress Testing Control Loops in Cyber-physical Systems
    Mandrioli, Claudio
    Shin, Seung Yeob
    Maggio, Martina
    Bianculli, Domenico
    Briand, Lionel
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2024, 33 (02)
  • [4] Models, Abstractions, and Architectures: The Missing Links in Cyber-Physical Systems
    Balaji, Bharathan
    Al Faruque, Mohammad Abdullah
    Dutt, Nikil
    Gupta, Rajesh
    Agarwal, Yuvraj
    2015 52ND ACM/EDAC/IEEE DESIGN AUTOMATION CONFERENCE (DAC), 2015,
  • [5] Conformance Testing for Cyber-Physical Systems
    Woehrle, Matthias
    Lampka, Kai
    Thiele, Lothar
    ACM TRANSACTIONS ON EMBEDDED COMPUTING SYSTEMS, 2012, 11 (04)
  • [6] Distributed Control for Cyber-Physical Systems
    Mangharam, Rahul
    Pajic, Miroslav
    JOURNAL OF THE INDIAN INSTITUTE OF SCIENCE, 2013, 93 (03) : 353 - 387
  • [7] Egocentric abstractions for modeling and safety verification of distributed cyber-physical systems
    Jeon, Sung Woo
    Mitra, Sayan
    2021 IEEE SYMPOSIUM ON SECURITY AND PRIVACY WORKSHOPS (SPW 2021), 2021, : 268 - 276
  • [8] On The Economic Control of Cyber-physical Systems
    Agarwal, Shaurya
    Kachroo, Pushkin
    2017 IEEE 7TH ANNUAL INTERNATIONAL CONFERENCE ON CYBER TECHNOLOGY IN AUTOMATION, CONTROL, AND INTELLIGENT SYSTEMS (CYBER), 2017, : 86 - 90
  • [9] On the Economic Control of Cyber-physical Systems
    Agarwal, Shaurya
    Kachroo, Pushkin
    2017 IEEE 7th Annual International Conference on CYBER Technology in Automation, Control, and Intelligent Systems, CYBER 2017, 2018, : 86 - 90
  • [10] Predictive Control of Cyber-Physical Systems
    Maestre J.M.
    Chanfreut P.
    Martín J.G.
    Masero E.
    Inoue M.
    Camacho E.F.
    RIAI - Revista Iberoamericana de Automatica e Informatica Industrial, 2021, 19 (01): : 1 - 12