Stress Testing of Design Assumptions in Cyper-Physical Systems: A Control Theory-Based Approach

02/27/2023
by   Claudio Mandrioli, et al.
0

Cyber-Physical Systems (CPS) are most of the time safety-critical and expected to perform in uncertain environments. Therefore the identification of scenarios that prevent a CPS from performing according to its requirements is of fundamental importance. However, the multidisciplinary nature of CPS can make it difficult to identify such scenarios. In this article, we investigate the testing of CPS developed using control theory. In such systems, the software is developed collaboratively by control engineers and software engineers. When testing, it is important to account for this multidisciplinary development context. In particular, control engineers make design assumptions when contributing to system development in order to leverage control-theory and obtain guarantees on the CPS behaviour. However, such assumptions are not always satisfied in the implemented system and their falsification can lead to the loss of the control-theoretical guarantees. We define the problem of generating and identifying test cases that falsify such design assumptions as the stress testing of control-based CPS. Among the types of assumptions listed in the article, we focus on the use of linearised models of the physics. To generate test cases that falsify such assumptions, we leverage control theory to develop a qualitative characterisation of the input space of the control layer in CPS. We then propose a novel test case parametrisation for control-based CPS and use it together with the proposed characterisation to develop a testing approach aiming at falsifying the targeted assumptions. We evaluate our testing approach on six case studies including drone position control and continuous current motor control. Our results show that the proposed testing approach is effective at falsifying the linearity design assumption and the stress test cases can be used to highlight the causes of assumption violations.

READ FULL TEXT

page 14

page 37

page 38

page 41

research
09/14/2023

Test Case Generation and Test Oracle Support for Testing CPSs using Hybrid Models

Cyber-Physical Systems (CPSs) play a central role in the behavior of a w...
research
08/17/2021

Requirements-Aided Automatic Test Case Generation for Industrial Cyber-physical Systems

Industrial cyber-physical systems require complex distributed software t...
research
06/02/2020

Kaya: A Testing Framework for Blockchain-based Decentralized Applications

In recent years, many decentralized applications based on blockchain (DA...
research
02/23/2021

Data Driven Testing of Cyber Physical Systems

Consumer grade cyber-physical systems (CPS) are becoming an integral par...
research
02/12/2019

Time-aware Test Case Execution Scheduling for Cyber-Physical Systems

Testing cyber-physical systems involves the execution of test cases on t...
research
11/03/2021

Confidence Composition for Monitors of Verification Assumptions

Closed-loop verification of cyber-physical systems with neural network c...
research
10/20/2021

Part-X: A Family of Stochastic Algorithms for Search-Based Test Generation with Probabilistic Guarantees

Requirements driven search-based testing (also known as falsification) h...

Please sign up or login with your details

Forgot password? Click here to reset