SlideShare a Scribd company logo
1 of 25
Download to read offline
1
Model-Implemented Hybrid Fault Injection for
Simulink (Tool demonstration)
Mehrdad Moradi, Bert Van Acker, Ken Vanherpen and Joachim Denil
Oct. 5, 2018
CyPhy workshop
2 2
“It takes dozens of microprocessors running 100 million lines of code to get a premium
car out of the driveway, and this software is only going to get more complex”
http://www.real-programmer.com/interesting_things/IEEE%20SpectrumThisCarRunsOnCode.pdf
Fault
injection
Fault lib
MiL fault
injection
HiL fault
injection
Conclusion
Future
direction
3
Dependability Analysis
What to be checked?
• Robustness
• Determining failure modes
• Safety
• Etc….
How?
Fault injection
A testing technique that aids in understanding how [virtual/real]
system behaves when stressed in unusual ways
3
Fault
injection
Fault lib
MiL fault
injection
HiL fault
injection
Conclusion
Future
direction
4
Running example
Power window
4
Fault
injection
Fault lib
MiL fault
injection
HiL fault
injection
Conclusion
Future
direction
5
Terminology
5
• Fault
• Error
• Failure
• Yu, Y., et. al. : Fault Injection Techniques and Tools for Embedded Systems Reliability Evaluation
• A. Pecchia, M. Cinque and D. Cotroneo, "Event Logs for the Analysis of Software Failures: A Rule-Based Approach,"
in IEEE Transactions on Software Engineering, vol. 39, no. , pp. 806-821.
Fault
injection
Fault lib
MiL fault
injection
HiL fault
injection
Conclusion
Future
direction
6
Types of fault injection
6
Fault
injection
Fault lib
MiL fault
injection
HiL fault
injection
Conclusion
Future
direction
7
Fault injection environment
• Fault Injection Techniques and Tools
• J. Arlat, M. Aguera, L. Amat, Y. Crouzet, J.C. Fabre, J.-C. Laprie, E. Martins, D. Powell, Fault Injection for Dependability Validation: A
Methodology and some Applications, IEEE Transactions on Software Engineering, Vol. 16, No. 2, February 1990, pp. 166–182
7
FARM model:
1. the set of Faults to be injected,
2. the set of Activations exercised during the experiment,
3. the Readouts to define observers of system behavior,
4. the Measures dependability properties.
Fault
injection
Fault lib
MiL fault
injection
HiL fault
injection
Conclusion
Future
direction
8
Our contribution
Generative techniques: Model implemented Fault Injection by explicit
modelling of FARM in Simulink to setup the experiments both for
Model-in-the-Loop (MiL) and Hardware-in-the-Loop (HiL)
8
Embedded
Target
Real-Time
System
Fault
injection
Fault lib
MiL fault
injection
HiL fault
injection
Conclusion
Future
direction
Control Models Plant Models
MiL
HiL
9
Fault Library
• Hard- and software fault type
• Fault nature
• Categories
• Block insertion/drop
• Open link
• Data changing
• latency
9
Fault
injection
Fault lib
MiL fault
injection
HiL fault
injection
Conclusion
Future
direction
10
Why these faults?
Data changing
Latency
10
.
.
.
Fault
injection
Fault lib
MiL fault
injection
HiL fault
injection
Conclusion
Future
direction
11
Modeling faults
11
Annotation Block
Fault
injection
Fault lib
MiL fault
injection
HiL fault
injection
Conclusion
Future
direction
12
Modeling faults
12
Annotation Block
Fault
injection
Fault lib
MiL fault
injection
HiL fault
injection
Conclusion
Future
direction (FARM) User defines the set of Fault
13
How to inject faults?
13
Fault
injection
Fault lib
MiL fault
injection
HiL fault
injection
Conclusion
Future
direction
14
How to inject faults?
14
.
.
.
Fault
injection
Fault lib
MiL fault
injection
HiL fault
injection
Conclusion
Future
direction
Model
Transformation
15
When to inject?
15
Orchestrator
Fault
injection
Fault lib
MiL fault
injection
HiL fault
injection
Conclusion
Future
direction
(FARM) defining the Activation time
16
Model-in-the-Loop demo
16
Fault
injection
Fault lib
MiL fault
injection
HiL fault
injection
Conclusion
Future
direction
Control Models Plant Models
17
Model-in-the-Loop
17
Normal Simulation Faulty Simulation
Up
Down
Window
Position
External
Force
Fault
injection
Fault lib
MiL fault
injection
HiL fault
injection
Conclusion
Future
direction
18
Model-in-the-Loop to Hardware-in-the-Loop
18
Embedded Target
Real-Time System
Fault
injection
Fault lib
MiL fault
injection
HiL fault
injection
Conclusion
Future
direction
Control Models Plant Models
Code
Generation
Code
Generation
19
HiL Fault Injection
19
Fault
injection
Fault lib
MiL fault
injection
HiL fault
injection
Conclusion
Future
direction
20
Task0
DeadlineStart time
Execution time
Slack
Slack
20
• Use slack to save time
• Greedy approach
• Slack mapper
...
Fault
injection
Fault lib
MiL fault
injection
HiL fault
injection
Conclusion
Future
direction
21
Fault Injection Orchestrator
21
Fault
injection
Fault lib
MiL fault
injection
HiL fault
injection
Conclusion
Future
direction
22
Hardware-in-the-Loop Demo
22
Fault
injection
Fault lib
MiL fault
injection
HiL fault
injection
Conclusion
Future
direction
23
Conclusion
• The framework automated the FI process
• MiL
• Model level fault injection
• HiL
• Execution based fault injection
• Cover almost all of fault type
• Able to define scenario
23
Fault
injection
Fault lib
MiL fault
injection
HiL fault
injection
Conclusion
Future
direction
24
Future direction
▪ Complete FARM model
▪ Temporal Logic
▪ Efficient fault injection
▪ Increase fault coverage and speed
▪ Complex fault injection scenario
▪ Trace back from failure to fault
24
Fault
injection
Fault lib
MiL fault
injection
HiL fault
injection
Conclusion
Future
direction
25
Thank you for your attention
For watching Demo’s video: https://www.youtube.com/channel/UCvfwLU_G0FrbSl1Ef7fbHUg

More Related Content

Similar to Model implemented hybrid fault injection

Foutse_MSR Vision keynote.pptx
Foutse_MSR Vision keynote.pptxFoutse_MSR Vision keynote.pptx
Foutse_MSR Vision keynote.pptxFoutse Khomh
 
An Empirical Characterization of Software Bugs in Open-Source Cyber-Physical ...
An Empirical Characterization of Software Bugs in Open-Source Cyber-Physical ...An Empirical Characterization of Software Bugs in Open-Source Cyber-Physical ...
An Empirical Characterization of Software Bugs in Open-Source Cyber-Physical ...Sebastiano Panichella
 
Model-Based Risk Assessment in Multi-Disciplinary Systems Engineering
Model-Based Risk Assessment in Multi-Disciplinary Systems EngineeringModel-Based Risk Assessment in Multi-Disciplinary Systems Engineering
Model-Based Risk Assessment in Multi-Disciplinary Systems EngineeringEmanuel Mätzler
 
Just-in-time Detection of Protection-Impacting Changes on WordPress and Media...
Just-in-time Detection of Protection-Impacting Changes on WordPress and Media...Just-in-time Detection of Protection-Impacting Changes on WordPress and Media...
Just-in-time Detection of Protection-Impacting Changes on WordPress and Media...Amine Barrak
 
Defend against adversarial AI using Adversarial Robustness Toolbox
Defend against adversarial AI using Adversarial Robustness Toolbox Defend against adversarial AI using Adversarial Robustness Toolbox
Defend against adversarial AI using Adversarial Robustness Toolbox Animesh Singh
 
Model-driven Software Engineering in practice: Chapter 3 - MDSE Use cases
Model-driven Software Engineering in practice: Chapter 3 - MDSE Use casesModel-driven Software Engineering in practice: Chapter 3 - MDSE Use cases
Model-driven Software Engineering in practice: Chapter 3 - MDSE Use casesJordi Cabot
 
White paper - Robust firmware development for wind applications through HiL/S...
White paper - Robust firmware development for wind applications through HiL/S...White paper - Robust firmware development for wind applications through HiL/S...
White paper - Robust firmware development for wind applications through HiL/S...Ingeteam Wind Energy
 
Making Model-Driven Verification Practical and Scalable: Experiences and Less...
Making Model-Driven Verification Practical and Scalable: Experiences and Less...Making Model-Driven Verification Practical and Scalable: Experiences and Less...
Making Model-Driven Verification Practical and Scalable: Experiences and Less...Lionel Briand
 
Testing Autonomous Cars for Feature Interaction Failures using Many-Objective...
Testing Autonomous Cars for Feature Interaction Failures using Many-Objective...Testing Autonomous Cars for Feature Interaction Failures using Many-Objective...
Testing Autonomous Cars for Feature Interaction Failures using Many-Objective...Lionel Briand
 
Using Static Analysis Tools to Become a Superhero Programmer.pptx
Using Static Analysis Tools to Become a Superhero Programmer.pptxUsing Static Analysis Tools to Become a Superhero Programmer.pptx
Using Static Analysis Tools to Become a Superhero Programmer.pptxJamie Coleman
 
IRJET- Design of Fault Injection Technique for Digital HDL Models
IRJET-  	  Design of Fault Injection Technique for Digital HDL ModelsIRJET-  	  Design of Fault Injection Technique for Digital HDL Models
IRJET- Design of Fault Injection Technique for Digital HDL ModelsIRJET Journal
 
Optimizing fault injection in FMI co-simulation through sensitivity partitioning
Optimizing fault injection in FMI co-simulation through sensitivity partitioningOptimizing fault injection in FMI co-simulation through sensitivity partitioning
Optimizing fault injection in FMI co-simulation through sensitivity partitioningmehmor
 
"Deep Learning for Manufacturing Inspection Applications," a Presentation fro...
"Deep Learning for Manufacturing Inspection Applications," a Presentation fro..."Deep Learning for Manufacturing Inspection Applications," a Presentation fro...
"Deep Learning for Manufacturing Inspection Applications," a Presentation fro...Edge AI and Vision Alliance
 
The Past, Present, and Future of Machine Learning APIs
The Past, Present, and Future of Machine Learning APIsThe Past, Present, and Future of Machine Learning APIs
The Past, Present, and Future of Machine Learning APIsBigML, Inc
 
Cloud API Issues: an Empirical Study and Impact
Cloud API Issues: an Empirical Study and ImpactCloud API Issues: an Empirical Study and Impact
Cloud API Issues: an Empirical Study and ImpactLiming Zhu
 
Introduction to Mithril JS
Introduction to Mithril JSIntroduction to Mithril JS
Introduction to Mithril JSMohamed Mohsin K
 
Mocking vtcc3 - en
Mocking   vtcc3 - enMocking   vtcc3 - en
Mocking vtcc3 - envgrondin
 
Journey from Monolith to a Modularized Application - Approach and Key Learnin...
Journey from Monolith to a Modularized Application - Approach and Key Learnin...Journey from Monolith to a Modularized Application - Approach and Key Learnin...
Journey from Monolith to a Modularized Application - Approach and Key Learnin...mfrancis
 
Se ii unit1-se_ii_intorduction
Se ii unit1-se_ii_intorductionSe ii unit1-se_ii_intorduction
Se ii unit1-se_ii_intorductionAhmad sohail Kakar
 

Similar to Model implemented hybrid fault injection (20)

Foutse_MSR Vision keynote.pptx
Foutse_MSR Vision keynote.pptxFoutse_MSR Vision keynote.pptx
Foutse_MSR Vision keynote.pptx
 
An Empirical Characterization of Software Bugs in Open-Source Cyber-Physical ...
An Empirical Characterization of Software Bugs in Open-Source Cyber-Physical ...An Empirical Characterization of Software Bugs in Open-Source Cyber-Physical ...
An Empirical Characterization of Software Bugs in Open-Source Cyber-Physical ...
 
Model-Based Risk Assessment in Multi-Disciplinary Systems Engineering
Model-Based Risk Assessment in Multi-Disciplinary Systems EngineeringModel-Based Risk Assessment in Multi-Disciplinary Systems Engineering
Model-Based Risk Assessment in Multi-Disciplinary Systems Engineering
 
Just-in-time Detection of Protection-Impacting Changes on WordPress and Media...
Just-in-time Detection of Protection-Impacting Changes on WordPress and Media...Just-in-time Detection of Protection-Impacting Changes on WordPress and Media...
Just-in-time Detection of Protection-Impacting Changes on WordPress and Media...
 
Defend against adversarial AI using Adversarial Robustness Toolbox
Defend against adversarial AI using Adversarial Robustness Toolbox Defend against adversarial AI using Adversarial Robustness Toolbox
Defend against adversarial AI using Adversarial Robustness Toolbox
 
Model-driven Software Engineering in practice: Chapter 3 - MDSE Use cases
Model-driven Software Engineering in practice: Chapter 3 - MDSE Use casesModel-driven Software Engineering in practice: Chapter 3 - MDSE Use cases
Model-driven Software Engineering in practice: Chapter 3 - MDSE Use cases
 
White paper - Robust firmware development for wind applications through HiL/S...
White paper - Robust firmware development for wind applications through HiL/S...White paper - Robust firmware development for wind applications through HiL/S...
White paper - Robust firmware development for wind applications through HiL/S...
 
Making Model-Driven Verification Practical and Scalable: Experiences and Less...
Making Model-Driven Verification Practical and Scalable: Experiences and Less...Making Model-Driven Verification Practical and Scalable: Experiences and Less...
Making Model-Driven Verification Practical and Scalable: Experiences and Less...
 
Testing Autonomous Cars for Feature Interaction Failures using Many-Objective...
Testing Autonomous Cars for Feature Interaction Failures using Many-Objective...Testing Autonomous Cars for Feature Interaction Failures using Many-Objective...
Testing Autonomous Cars for Feature Interaction Failures using Many-Objective...
 
Using Static Analysis Tools to Become a Superhero Programmer.pptx
Using Static Analysis Tools to Become a Superhero Programmer.pptxUsing Static Analysis Tools to Become a Superhero Programmer.pptx
Using Static Analysis Tools to Become a Superhero Programmer.pptx
 
IRJET- Design of Fault Injection Technique for Digital HDL Models
IRJET-  	  Design of Fault Injection Technique for Digital HDL ModelsIRJET-  	  Design of Fault Injection Technique for Digital HDL Models
IRJET- Design of Fault Injection Technique for Digital HDL Models
 
Optimizing fault injection in FMI co-simulation through sensitivity partitioning
Optimizing fault injection in FMI co-simulation through sensitivity partitioningOptimizing fault injection in FMI co-simulation through sensitivity partitioning
Optimizing fault injection in FMI co-simulation through sensitivity partitioning
 
"Deep Learning for Manufacturing Inspection Applications," a Presentation fro...
"Deep Learning for Manufacturing Inspection Applications," a Presentation fro..."Deep Learning for Manufacturing Inspection Applications," a Presentation fro...
"Deep Learning for Manufacturing Inspection Applications," a Presentation fro...
 
The Past, Present, and Future of Machine Learning APIs
The Past, Present, and Future of Machine Learning APIsThe Past, Present, and Future of Machine Learning APIs
The Past, Present, and Future of Machine Learning APIs
 
Foutse_Khomh.pptx
Foutse_Khomh.pptxFoutse_Khomh.pptx
Foutse_Khomh.pptx
 
Cloud API Issues: an Empirical Study and Impact
Cloud API Issues: an Empirical Study and ImpactCloud API Issues: an Empirical Study and Impact
Cloud API Issues: an Empirical Study and Impact
 
Introduction to Mithril JS
Introduction to Mithril JSIntroduction to Mithril JS
Introduction to Mithril JS
 
Mocking vtcc3 - en
Mocking   vtcc3 - enMocking   vtcc3 - en
Mocking vtcc3 - en
 
Journey from Monolith to a Modularized Application - Approach and Key Learnin...
Journey from Monolith to a Modularized Application - Approach and Key Learnin...Journey from Monolith to a Modularized Application - Approach and Key Learnin...
Journey from Monolith to a Modularized Application - Approach and Key Learnin...
 
Se ii unit1-se_ii_intorduction
Se ii unit1-se_ii_intorductionSe ii unit1-se_ii_intorduction
Se ii unit1-se_ii_intorduction
 

Recently uploaded

data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationBhangaleSonal
 
Rums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfRums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfsmsksolar
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...soginsider
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesMayuraD1
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.Kamal Acharya
 
Learn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksLearn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksMagic Marks
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayEpec Engineered Technologies
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxmaisarahman1
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdfKamal Acharya
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersMairaAshraf6
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...Health
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...HenryBriggs2
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsvanyagupta248
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Servicemeghakumariji156
 

Recently uploaded (20)

data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
Rums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfRums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdf
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Learn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic MarksLearn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic Marks
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 

Model implemented hybrid fault injection

  • 1. 1 Model-Implemented Hybrid Fault Injection for Simulink (Tool demonstration) Mehrdad Moradi, Bert Van Acker, Ken Vanherpen and Joachim Denil Oct. 5, 2018 CyPhy workshop
  • 2. 2 2 “It takes dozens of microprocessors running 100 million lines of code to get a premium car out of the driveway, and this software is only going to get more complex” http://www.real-programmer.com/interesting_things/IEEE%20SpectrumThisCarRunsOnCode.pdf Fault injection Fault lib MiL fault injection HiL fault injection Conclusion Future direction
  • 3. 3 Dependability Analysis What to be checked? • Robustness • Determining failure modes • Safety • Etc…. How? Fault injection A testing technique that aids in understanding how [virtual/real] system behaves when stressed in unusual ways 3 Fault injection Fault lib MiL fault injection HiL fault injection Conclusion Future direction
  • 4. 4 Running example Power window 4 Fault injection Fault lib MiL fault injection HiL fault injection Conclusion Future direction
  • 5. 5 Terminology 5 • Fault • Error • Failure • Yu, Y., et. al. : Fault Injection Techniques and Tools for Embedded Systems Reliability Evaluation • A. Pecchia, M. Cinque and D. Cotroneo, "Event Logs for the Analysis of Software Failures: A Rule-Based Approach," in IEEE Transactions on Software Engineering, vol. 39, no. , pp. 806-821. Fault injection Fault lib MiL fault injection HiL fault injection Conclusion Future direction
  • 6. 6 Types of fault injection 6 Fault injection Fault lib MiL fault injection HiL fault injection Conclusion Future direction
  • 7. 7 Fault injection environment • Fault Injection Techniques and Tools • J. Arlat, M. Aguera, L. Amat, Y. Crouzet, J.C. Fabre, J.-C. Laprie, E. Martins, D. Powell, Fault Injection for Dependability Validation: A Methodology and some Applications, IEEE Transactions on Software Engineering, Vol. 16, No. 2, February 1990, pp. 166–182 7 FARM model: 1. the set of Faults to be injected, 2. the set of Activations exercised during the experiment, 3. the Readouts to define observers of system behavior, 4. the Measures dependability properties. Fault injection Fault lib MiL fault injection HiL fault injection Conclusion Future direction
  • 8. 8 Our contribution Generative techniques: Model implemented Fault Injection by explicit modelling of FARM in Simulink to setup the experiments both for Model-in-the-Loop (MiL) and Hardware-in-the-Loop (HiL) 8 Embedded Target Real-Time System Fault injection Fault lib MiL fault injection HiL fault injection Conclusion Future direction Control Models Plant Models MiL HiL
  • 9. 9 Fault Library • Hard- and software fault type • Fault nature • Categories • Block insertion/drop • Open link • Data changing • latency 9 Fault injection Fault lib MiL fault injection HiL fault injection Conclusion Future direction
  • 10. 10 Why these faults? Data changing Latency 10 . . . Fault injection Fault lib MiL fault injection HiL fault injection Conclusion Future direction
  • 11. 11 Modeling faults 11 Annotation Block Fault injection Fault lib MiL fault injection HiL fault injection Conclusion Future direction
  • 12. 12 Modeling faults 12 Annotation Block Fault injection Fault lib MiL fault injection HiL fault injection Conclusion Future direction (FARM) User defines the set of Fault
  • 13. 13 How to inject faults? 13 Fault injection Fault lib MiL fault injection HiL fault injection Conclusion Future direction
  • 14. 14 How to inject faults? 14 . . . Fault injection Fault lib MiL fault injection HiL fault injection Conclusion Future direction Model Transformation
  • 15. 15 When to inject? 15 Orchestrator Fault injection Fault lib MiL fault injection HiL fault injection Conclusion Future direction (FARM) defining the Activation time
  • 16. 16 Model-in-the-Loop demo 16 Fault injection Fault lib MiL fault injection HiL fault injection Conclusion Future direction Control Models Plant Models
  • 17. 17 Model-in-the-Loop 17 Normal Simulation Faulty Simulation Up Down Window Position External Force Fault injection Fault lib MiL fault injection HiL fault injection Conclusion Future direction
  • 18. 18 Model-in-the-Loop to Hardware-in-the-Loop 18 Embedded Target Real-Time System Fault injection Fault lib MiL fault injection HiL fault injection Conclusion Future direction Control Models Plant Models Code Generation Code Generation
  • 19. 19 HiL Fault Injection 19 Fault injection Fault lib MiL fault injection HiL fault injection Conclusion Future direction
  • 20. 20 Task0 DeadlineStart time Execution time Slack Slack 20 • Use slack to save time • Greedy approach • Slack mapper ... Fault injection Fault lib MiL fault injection HiL fault injection Conclusion Future direction
  • 21. 21 Fault Injection Orchestrator 21 Fault injection Fault lib MiL fault injection HiL fault injection Conclusion Future direction
  • 22. 22 Hardware-in-the-Loop Demo 22 Fault injection Fault lib MiL fault injection HiL fault injection Conclusion Future direction
  • 23. 23 Conclusion • The framework automated the FI process • MiL • Model level fault injection • HiL • Execution based fault injection • Cover almost all of fault type • Able to define scenario 23 Fault injection Fault lib MiL fault injection HiL fault injection Conclusion Future direction
  • 24. 24 Future direction ▪ Complete FARM model ▪ Temporal Logic ▪ Efficient fault injection ▪ Increase fault coverage and speed ▪ Complex fault injection scenario ▪ Trace back from failure to fault 24 Fault injection Fault lib MiL fault injection HiL fault injection Conclusion Future direction
  • 25. 25 Thank you for your attention For watching Demo’s video: https://www.youtube.com/channel/UCvfwLU_G0FrbSl1Ef7fbHUg