Stress Testing Control Loops in Cyber-Physical Systems
- URL: http://arxiv.org/abs/2302.13913v4
- Date: Mon, 18 Sep 2023 10:03:12 GMT
- Title: Stress Testing Control Loops in Cyber-Physical Systems
- Authors: Claudio Mandrioli, Seung Yeob Shin, Martina Maggio, Domenico
Bianculli, Lionel Briand
- Abstract summary: We investigate the testing of control-based CPSs, where control and software engineers develop the software collaboratively.
We define stress testing of control-based CPSs as generating tests to falsify such design assumptions.
We evaluate our approach on three case study systems, including a drone, a continuous-current motor, and an aircraft.
- Score: 2.195923771201972
- License: http://creativecommons.org/licenses/by-nc-nd/4.0/
- Abstract: Cyber-Physical Systems (CPSs) are often safety-critical and deployed in
uncertain environments. Identifying scenarios where CPSs do not comply with
requirements is fundamental but difficult due to the multidisciplinary nature
of CPSs. We investigate the testing of control-based CPSs, where control and
software engineers develop the software collaboratively. Control engineers make
design assumptions during system development to leverage control theory and
obtain guarantees on CPS behaviour. In the implemented system, however, such
assumptions are not always satisfied, and their falsification can lead to loss
of guarantees. We define stress testing of control-based CPSs as generating
tests to falsify such design assumptions. We highlight different types of
assumptions, focusing on the use of linearised physics models. To generate
stress tests falsifying such assumptions, we leverage control theory to
qualitatively characterise the input space of a control-based CPS. We propose a
novel test parametrisation for control-based CPSs and use it with the input
space characterisation to develop a stress testing approach. We evaluate our
approach on three case study systems, including a drone, a continuous-current
motor (in five configurations), and an aircraft.Our results show the
effectiveness of the proposed testing approach in falsifying the design
assumptions and highlighting the causes of assumption violations.
Related papers
- Automated Repair of Cyber-Physical Systems [4.314956204483074]
This project aims to develop scalable APR techniques for CPSs.
It addresses problems of fault localization, long test execution times, and fitness function limitations.
A new method combining spectrum-based fault localization with patch generation and advanced artificial intelligence techniques will be investigated.
arXiv Detail & Related papers (2025-01-29T14:36:04Z) - Testing CPS with Design Assumptions-Based Metamorphic Relations and Genetic Programming [2.195923771201972]
Cyber-Physical Systems (CPSs) software is used to enforce desired behaviours on physical systems.
CPS requirements describe how closely the actual physical traces should track the desired traces.
Our work proposes an approach to testing CPS using control-theoretical design assumptions instead of requirements.
arXiv Detail & Related papers (2024-12-04T13:59:48Z) - Automatically Adaptive Conformal Risk Control [49.95190019041905]
We propose a methodology for achieving approximate conditional control of statistical risks by adapting to the difficulty of test samples.
Our framework goes beyond traditional conditional risk control based on user-provided conditioning events to the algorithmic, data-driven determination of appropriate function classes for conditioning.
arXiv Detail & Related papers (2024-06-25T08:29:32Z) - The Pitfalls and Promise of Conformal Inference Under Adversarial Attacks [90.52808174102157]
In safety-critical applications such as medical imaging and autonomous driving, it is imperative to maintain both high adversarial robustness to protect against potential adversarial attacks.
A notable knowledge gap remains concerning the uncertainty inherent in adversarially trained models.
This study investigates the uncertainty of deep learning models by examining the performance of conformal prediction (CP) in the context of standard adversarial attacks.
arXiv Detail & Related papers (2024-05-14T18:05:19Z) - Coupled Requirements-driven Testing of CPS: From Simulation To Reality [5.7736484832934325]
Failures in safety-critical Cyber-Physical Systems (CPS) can lead to severe incidents impacting physical infrastructure or even harming humans.
Current simulation and field testing practices, particularly in the domain of small Unmanned Aerial Systems (sUAS), are ad-hoc and lack a thorough, structured testing process.
We have developed an initial framework for validating CPS, specifically focusing on sUAS and robotic applications.
arXiv Detail & Related papers (2024-03-24T20:32:12Z) - Investigating Robustness in Cyber-Physical Systems: Specification-Centric Analysis in the face of System Deviations [8.8690305802668]
A critical attribute of cyber-physical systems (CPS) is robustness, denoting its capacity to operate safely.
This paper proposes a novel specification-based robustness, which characterizes the effectiveness of a controller in meeting a specified system requirement.
We present an innovative two-layer simulation-based analysis framework designed to identify subtle robustness violations.
arXiv Detail & Related papers (2023-11-13T16:44:43Z) - Test Case Generation and Test Oracle Support for Testing CPSs using
Hybrid Models [2.6166087473624313]
Cyber-Physical Systems (CPSs) play a central role in the behavior of a wide range of autonomous physical systems.
CPSs are often specified iteratively as a sequence of models at different levels that can be tested via simulation systems.
One such model is a hybrid automaton; these are used frequently for CPS applications and have the advantage of encapsulating both continuous and discrete CPS behaviors.
arXiv Detail & Related papers (2023-09-14T19:08:09Z) - Recursively Feasible Probabilistic Safe Online Learning with Control Barrier Functions [60.26921219698514]
We introduce a model-uncertainty-aware reformulation of CBF-based safety-critical controllers.
We then present the pointwise feasibility conditions of the resulting safety controller.
We use these conditions to devise an event-triggered online data collection strategy.
arXiv Detail & Related papers (2022-08-23T05:02:09Z) - Sparsity in Partially Controllable Linear Systems [56.142264865866636]
We study partially controllable linear dynamical systems specified by an underlying sparsity pattern.
Our results characterize those state variables which are irrelevant for optimal control.
arXiv Detail & Related papers (2021-10-12T16:41:47Z) - Pointwise Feasibility of Gaussian Process-based Safety-Critical Control
under Model Uncertainty [77.18483084440182]
Control Barrier Functions (CBFs) and Control Lyapunov Functions (CLFs) are popular tools for enforcing safety and stability of a controlled system, respectively.
We present a Gaussian Process (GP)-based approach to tackle the problem of model uncertainty in safety-critical controllers that use CBFs and CLFs.
arXiv Detail & Related papers (2021-06-13T23:08:49Z) - Reinforcement Learning for Safety-Critical Control under Model
Uncertainty, using Control Lyapunov Functions and Control Barrier Functions [96.63967125746747]
Reinforcement learning framework learns the model uncertainty present in the CBF and CLF constraints.
RL-CBF-CLF-QP addresses the problem of model uncertainty in the safety constraints.
arXiv Detail & Related papers (2020-04-16T10:51:33Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.