Optimizing Fault Injection in FMI Co-Simulation through Sensitivity Partitioning
Mehrdad Moradi, Cláudio Gomes, Bentley James Oakes and Joachim Denil Summersim 2019 July 22, 2019 Berlin, Germany
Optimizing Fault Injection in FMI Co-Simulation through Sensitivity - - PowerPoint PPT Presentation
Optimizing Fault Injection in FMI Co-Simulation through Sensitivity Partitioning Mehrdad Moradi, Cludio Gomes, Bentley James Oakes and Joachim Denil Summersim 2019 July 22, 2019 Berlin, Germany Outline Introduction Context and
Mehrdad Moradi, Cláudio Gomes, Bentley James Oakes and Joachim Denil Summersim 2019 July 22, 2019 Berlin, Germany
2
Cyber-Physical System (CPS)
Error prone and critical
3 https://bit.ly/2zO8l2G
Why?
What?
Testing method which aids in understanding how [virtual/real] system behaves when stressed in unusual ways
4
How?
Research problem
Benso, A. and Prinetto, P. eds., 2003. Fault injection techniques and tools for embedded systems reliability evaluation (Vol. 23). Springer Science & Business Media.
Power window
7
Safety-critical system due to possibility of object being crushed Specifications:
present should be less than 100 [N]
8
https://www.mathworks.com/help/simulink/ug/power-window-example-case-study.html
Without Object With Object
Ctrl ignores spike
Current Position
10
Object detected
Holding the up switch
Specifications:
present should be less than 100 [N]
A power window is affected when the rubber slips into the window
Uncertainty in: when the rubber falls; and how much friction there is.
11
Friction parameter p is in [100%, 200%] Different values of p lead to different behaviors of the window
Window Position Time Top
p=100% p=140% p=160% p=180%
12
4 s
adoption by industry
13
Co-simulation - defined in Functional Mock-up Interface (FMI)
https://fmi-standard.org/
affect the behavior
15
Controller Window Switch
results
Fault Specification p
16
when an object is present should be less than 100 [N] Virtual FMU doStop() setReal() getReal()
Interval partitioning Sensitivity analysis
Assumption: Stable and accurate master algorithm
Example naive procedure:
[100%,200%]
sequence of modes to form equivalence classes of continuity 4.
Window Position Time Top UpDownUpDown Mode Sequence Up Mode Sequence
17
Fault
p
p in [100%,150%) When p is (150%, 200%], behavior changes due to faulty object detection
Specification
F
Fault
p + Delta p ... Want to determine how a change in our fault parameter affects the output of the specification Within the same equivalence interval
19
Specification Output
p
150%
Specification Violation
200%
100% - 150% 150% - 200%
p
To crush the object
20
21
Armature current Window’s position Force Rubber friction
22
Armature current Window’s position Force Rubber friction
23
Armature current Window’s position Force Rubber friction
24
Armature current Window’s position Force Rubber friction
25
Armature current Window’s position Force Rubber friction
26
Armature current Window’s position Force Rubber friction
27
Armature current Window’s position Force Rubber friction
28
Armature current Window’s position Force Rubber friction
29
Armature current Window’s position Force Rubber friction
30
Armature current Window’s position Force Rubber friction
31
standard
32