Model-Based Design V Process System Deployment

4

Houssam

Requirements / Specifications

3

High-fidelity engine model

Conformance Testing as Falsification for Cyber-Physical Systems Abbas(1),

Bardh

Hoxha(1),

Georgios

Fainekos(1),

56 state variables and black boxes

System Calibration

Jyotirmoy Deshmukh(2), James Kapinski(2) and Koichi Ueda(2)

1

Modeling from physics first principles

1 Model Design

2

Hardware in the Loop (HIL)

(2)

(1) Model

Automatic Code Generation

LUTs, FSMs and regression models

Input signal

Implementation

Problem: • How to formalize the notion that the outputs of the Implementation (right-hand side) “look like” those of the Model (left-hand side), both in signal values and timing characteristics? • How to compute such a closeness measure? • What can we infer about satisfied properties?

Sponsors:

Nonlinear dynamics

CNS 1116136, CNS 1319560, IIP-0856090

LUTs and FSMs

(𝑇, 𝐽, 𝜏, 𝜀)-closeness MathWorks® Automatic Transmission model

Consider two trajectories 𝒚, and 𝒚′ of Σ and Σ′, respectively. Given 𝑇 > 0, 𝐽 > 0, 𝜏 > 0, and 𝜀 > 0, we say 𝒚 and 𝒚′ are (𝑇, 𝐽, 𝜏, 𝜀)–close if:

A generic conformance notion In general, determining that the outputs of the Model and the Implementation are “close enough”, i.e. conformant, is application-dependent and relies on expertise and ad-hoc rules.

a) For all (𝑡, 𝑗) in the support of 𝒚 s.t. 𝑡 ≤ 𝑇 and 𝑗 ≤ 𝐽 , there exists (𝑠, 𝑗) in the support of 𝒚′, such that 𝑡 − 𝑠 < 𝜏 and 𝑦 𝑡, 𝑗 − 𝑦 ′ 𝑠, 𝑗 < 𝜀

Conformance testing results

b) For all (𝑡, 𝑗) in the support of 𝒚′, s.t. 𝑡 ≤ 𝑇 and 𝑗 ≤ 𝐽, there exists (𝑠, 𝑗) in the support of 𝒚, such that 𝑡 − 𝑠 < 𝜏 and 𝑦′ 𝑡, 𝑗 − 𝑦 𝑠, 𝑗 < 𝜀

The (𝜏, 𝜀) pairs are partially ordered, so must fix one parameter and optimize the other. We fix 𝜏 and maximize 𝜀, for pre-defined values of the horizon (𝑇, 𝐽).

𝜏 𝜀

J

We propose (𝑇, 𝐽, 𝜏, 𝜀)-closeness as a generic conformance notion. This notion is appropriate for continuous-time, discrete-time, and hybrid-time systems. Benefits of (𝑇, 𝐽, 𝜏, 𝜀)-closeness as a generic notion of conformance: • Only requires the ability to simulate the system – black boxes O.K. • Can be tested early in the design cycle before all the instrumentation is in place for more targeted testing. • Captures differences in timing characteristics as well as signal values • Real-valued: can speak of a conformance degree and rank Implementations based on how well they conform to the Model.

SimuQuest® engine model

We use Simulated Annealing to maximize 𝜀: it is a stochastic, global, derivative-free optimizer. It converges in probability to the global maximum with known bounds on the convergence rate. H. Haario and E. Saksman. Simulated annealing in general state space. Advances in Applied Probability, 23:866–893, 1991.

T

The largest (𝜏, 𝜀) such that all trajectories of Σ and Σ′ are (𝑇, 𝐽, 𝜏, 𝜀)–close is the conformance degree between Σ and Σ′. R. Goebel and A.R. Teel. Solutions to hybrid inclusions via set and graphical convergence with stability theory applications. Automatica, 2006. R. G. Sanfelice and A. R. Teel. Dynamical properties of hybrid systems simulators. Automatica, 2010.

Implemented in the S-TaLiRo Toolbox Related work: distance between systems • Input-Output Conformance (Tretmans) for discrete Labeled Transition Systems and Hybrid IOCO (Van Osch) for Hybrid Transition Systems. • Woehrle et al. verify conformance to a specification (and not between systems) • Modeling by Discrete Action Systems (Brandl et al.) • Directional Haussdorf distance (Abate et al.) • 𝜏, 𝜀 -similar traces (Quesel) • Skorokhod metrics with bijective re-timings (Caspi et al.) or set-valued retimings (Davoren) • Approximate synchronization and bisimulation (Julius et al.) J.-D. Quesel. Similarity, Logic, and Games: Bridging Modeling Layers of Hybrid Systems. PhD thesis, Carl Von Ossietzky Universitat Oldenburg, 2013. A.A. Julius and G.J. Pappas. Approximate equivalence and approximate synchronization of metric transition systems, CDC 2006

Sample result: the two systems are (104, 𝐽𝑀𝐴𝑋 , 5 ∗ 10−4 , 1)–close with high probability. This constitutes a lower bound on the true conformance degree.

www.tinyurl.com/Staliro

Conformance Testing as Falsification for Cyber-Physical Systems

appropriate for continuous-time, discrete-time, and hybrid-time systems. High-fidelity ... Can be tested early in the design cycle before all the instrumentation is in.

1MB Sizes 0 Downloads 151 Views

Recommend Documents

Conformance Testing as Falsification for Cyber-Physical Systems
High-fidelity engine model. Implemented in the S-TaLiRo Toolbox ... Real-valued: can speak of a conformance degree and rank. Implementations based on how ...

Vacuity Aware Falsification for MTL Request ... - public.asu.edu
by an MTL monitor [15]. The process is ... time window of I, see [11] for more details. .... Xeon CPU (2.5GHz) with 64-GB RAM and Windows Server. 2012.

Vacuity Aware Falsification for MTL Request ... - public.asu.edu
1319560 and IIP-1361926, and the NSF I/UCRC Center for Embedded. Systems. ... We call the framework Vacuity Aware. Falsification (VAF). We have ...... overview of traditional and advanced modeling, testing, and verifica- tion techniques.

COLLADA Conformance Test Suite and ... - Khronos Group
best solution for developers with regard to COLLADA. The WG agreed ... COLLADA Conformance Test Suite (CTS) should support OpenCOLLADA plugins for. MAX and ... MAYA plugins based on Feeling software FCOLLADA API. The core ...

Automated Laboratory Testing Systems for Soil, Rock, and ... - Geocomp
new products and publications to provide upgrades as testing technology advances. All systems ...... WiFi network or through a 3G/4G wireless modem.

Testing Model-Processing Tools for Embedded Systems
based development, as popularized by companies like The ... Model-processors are complex software, the design of ...... [10] N. Heintze and J. Jaffar. A decision ...

Testing Model-Processing Tools for Embedded Systems
Model-based development is increasingly becoming the method of choice for developing embedded systems for applications in automotive and aerospace ...

Automated Laboratory Testing Systems for Soil, Rock, and ... - Geocomp
30 years by government agencies, universities, and private companies worldwide. ..... software performs all required calculations and permits users a variety of.

Testing Model-Processing Tools for Embedded Systems
Bangalore. {p.sampath, rajeev.c, ... based development, as popularized by companies like The. Mathworks [16] .... SOS [19] semantics and big-step natural semantics are ex- pressible in the form ..... Generating test data with enhanced context-.

TestFul: using a hybrid evolutionary algorithm for testing stateful systems
This paper introduces TestFul, a framework for testing state- ful systems and focuses on object-oriented software. TestFul employs a hybrid multi-objective evolutionary algorithm, to explore the space of feasible tests efficiently, and novel qual- it

Local Descent for Temporal Logic Falsification of Cyber ...
Physical Systems (CPS), a variety of search-based falsification methods has been ... systems. The extension is nontrivial since as discussed later in the paper, the sensitivity analysis is challenging in the case of hybrid systems. In particular, ...

Hybrid Approximate Gradient and Stochastic Descent for Falsification ...
able. In this section, we show that a number of system linearizations along the trajectory will help us approximate the descent directions. 1 s xo. X2dot sin.

Falsification cueing in collective reasoning - Maria Augustinova
processing at the group level involves a high degree of social sharedness (Tindale ...... Hogg, & R. S. Tindale (Eds.), Blackwell handbook in social psychology: ...

Testing for Multiple Bubbles∗
Dec 23, 2011 - the test significantly improves discriminatory power and leads to distinct power gains when .... market exuberance arising from a variety of sources, including ... An alternative sequential implementation of the PWY procedure is.

WinguMD DICOM Conformance Statement_II.pdf
Page 2 of 24. WinguMD One Server DICOM Conformance Statement Version 1.0. 2. WinguMD, Inc. Palo Alto, California, Part Number 01.01.01a (1.0) 16 November 2014. 1 CONFORMANCE STATEMENT OVERVIEW. WinguMD One Server product provides raw image storage of

COLLADA Conformance Test Suite and ... - Khronos Group
Other company and product names may be trademarks of the respective ... MAYA plugins based on Feeling software FCOLLADA API. .... Budget: $15K (US) ... framework, and of any test development you have previously performed in this.

Falsification cueing in collective reasoning - Maria Augustinova
the rule), or else they choose the p property card alone (Wason, 1966). ..... effect of cue distribution was controlled (Я = 0.36, p = .008); and crucially, the direct ...

the falsification of history john hamer pdf
hamer pdf. Download now. Click here if your download doesn't start automatically. Page 1 of 1. the falsification of history john hamer pdf. the falsification of ...

It's Testing Time! Patterns for Testing Software
Jun 18, 2001 - One way to improve software quality on the functional level is to have good tests in place. This paper does not cover everything ... these patterns in order to allow for new perspectives on how to test software. The first pattern Separ

Predictive Testing for Huntington's Disease
If you inherit the 'good' gene, you won't ... feel is being put on you by health care professionals, employers or insurance companies. ... list of these centres is given at the end of this leaflet. .... Tel: 0151 331 5444 or Email: [email protected].