SlideShare a Scribd company logo
Improving Dependability of Embedded
Software Systems using Fault Bypass
Modeling (FBM)
Rakesh Rana
Computer Science and Engineering
Chalmers | University of Gothenburg
Embedded Software
Image source: http://itsallaboutembedded.blogspot.com/2013/03/what-makes-embedded-system-called-as.html
This Car Runs on Code
“It takes dozens of mircroprocessors 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” -ieee spectrum
Ref: http://spectrum.ieee.org/green-tech/advanced-cars/this-car-runs-on-code
This Car Runs on Code
Size & Complexity: >1 GB of software distributed over ~100 ECUs.
Embedded Software
Image source: http://itsallaboutembedded.blogspot.com/2013/03/what-makes-embedded-system-called-as.html
Low Time
to Market
Vehicle
Requirements
System
Design
Sub-System
Design
ECU
Specification
Implementation,
SW on ECU
Unit
Testing
Sub-System
Integration & Testing
System Integration
& Verification
Vehicle
Validation
Automotive Software Development (V-model)
Vehicle
Requirements
System
Design
Sub-System
Design
ECU
Specification
Implementation,
SW on ECU
Unit
Testing
Sub-System
Integration & Testing
System Integration
& Verification
Vehicle
Validation
Automotive Software Development (V-model)
Fault Injection
• Fault injection is an important and widely used technique for
experimental dependability evaluation of computer systems.
• These techniques has been traditionally used for testing
dependability of the both hardware and software systems.
*Reliability and dependability are very important features of any
computer system.
*So how can we enhance reliability in automotive software?
Reliability
ISO 26262 recommendation for using
fault injection techniques
ISO/DIS 26262 Chapter Reference to recommendation
4 Hardware-software
integration and testing
•Table 5 — Correct implementation of technical safety requirements at the hardware-software
level.
•Table 8 — Effectiveness of a safety mechanism’s diagnostic coverage at the hardware-software
level.
System integration and
testing
•Table 10a — Correct implementation of functional safety and technical safety requirements at
the system level
•Table 13b — Effectiveness of a safety mechanism's failure coverage at the system level
Vehicle integration and
testing
•Table 15 — Correct implementation of the functional safety requirements at the vehicle level
•Table 18 — Effectiveness of a safety mechanism's failure coverage at the vehicle level
5 Hardware integration and
testing
•Table 11 — Hardware integration tests to verify the completeness and correctness of the safety
mechanisms implementation with respect to the hardware safety requirements
6 Software unit testing •Table 10 — Methods for software unit testing
Software integration and
testing
•Table 13 — Methods for software integration testing
Testing in open loop model configuration
Scripts are used to provide recorded data as input, while the output is saved as data file
and compared to reference/expected output.
The major limitation with such testing is that it’s limited by the availability of
recorded sensors data as well as need to have the correct output for reference
purposes.
Thus it cannot test systems under conditions where the input and output data is not
available
Or if a new functionality is developed or existing system configuration changed such
that the input/output data do not match to previous instance, this type of testing is
unfeasible.
Closed loop continuous models do not suffer from these limitations.
Testing in closed loop model configuration
Environment Model
SW system Model
Out_1
Output
Inp_2
Inp_1
Out_2
Natural/State
parameter(s)
FBM principle is described as following:
• “If a signal injected with faults or its derivative is
used to calculate/control any natural environment
parameter(s), the part of signal or its derivative
which is used to calculate/control the
environment parameter(s) should be made fault
free to break the unrealistic feedback loop”
Natural Environment Parameter here refers to such a parameter which is
not a property of system but needs correct value from system to define
its correct state/value.
Fault Bypass Principle
Case Study: Self-driving miniature vehicle
Sensor Layout
Vehicle Camera
Infrared
Ultra sonic
Infrared
Infrared
Camera: Logitech C525 HD
Ultra sonic: SRF08
Infra red: GP2D120
Accelerometer & gyro: Razor 9DoF (optional)
Odometer: Built-in (optional)
ODO
A&G
L
L
L
L
L
L
L
L
Model-based system-environment model capable of simulating
vehicle-environment model in virtual space
UDP
multicast
vehicleS CamGen irus
lanedetector
M
driverMmonitor
DesigntimeRun-time
A B
C D
Scenario
modeling GUI
Reference
vehicle
position
Generating
OpenGL
scene
Sensor
para-
meters
Generating
distances
from
obstacles
Miniature vehicle running in open/closed-loop condition
lanedetector
driverM
Camera
Vehicle Speed
Sensor Vi
θi
Steering
Wheel
Accelerator
/Brakes
Vd
θd
V0
θ0pos0
vehicleSCamGen
lanedetectorM
driverM
V0
θd
Vi
θi
V0
θ0pos0
Vd
Open Loop
Closed Loop (simulation mode)
Injecting fault into the system
Consider a simple scenario, where we simulate how the vehicle would
act in the case of a faulty speed sensor (sensor output is zero).
vehicleSCamGen
lanedetectorM
driverM
V0
θd
Vi
θi
V0
θ0pos0
Vd
0
Injecting fault into the system
Consider a simple scenario, where we simulate how the vehicle would
act in the case of a faulty speed sensor (sensor output is zero).
Vehicle simulation closed loop testing using FBM
vehicleSCamGen
lanedetectorM
driverM
V0
θd
Vi
θi
V0
θ0pos0
Vd
0
CASE: ABS (Anti-Lock Braking) System
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
0
10
20
30
40
50
60
70
Time in sec
SpeedinRPM
Vehicle and wheel speed with & without ABS
Vehicle Speed without ABS
Vehicle Speed with ABS
Wheel Speed without ABS
Wheel Speed with ABS
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
0
20
40
60
80
100
120
140
160
180
200
Time in sec
Distanceinm
Stopping distance with & without ABS
Without ABS
With ABS
CASE: ABS (Anti-Lock Braking) System
0 1 2 3 4 5 6 7 8 9 10
0
20
40
60
80
100
120
140
Time in sec
SpeedinRPM
Vehicle and wheel speed with fault injection
Vehicle Speed
Wheel Speed
Fig: ABS system-environment model representation in
Simulink with fault injector setup.
CASE: ABS (Anti-Lock Braking) System
Why ABS model breaks under Fault Injection setup?
ABS: modeling using FBM principle
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
0
10
20
30
40
50
60
Time in sec
SpeedinRPM
Vehicle and wheel speed with fault injection (FBM)
Vehicle Speed
Wheel Speed
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
0
20
40
60
80
100
120
140
160
Time in sec
Distanceinm
Stopping distance with & without fault injection (FBM)
ABS, without FI
ABS, with FI
Conclusions
• There is significant need for using closed loop testing of embedded software
systems in many domains and applications.
• Fault injection can be used to enhance the effectiveness of closed loop testing
(dependability evaluation of the system in early development stages.)
• But injecting faults into closed loop configurations can generate outputs that are
unreliable and unrealistic.
• To overcome this problem, a framework referred to as fault bypass modeling is
demonstrated with a simple case study.
• Although the example discussed here is very simple, the use of closed loop
testing is most often needed for testing of safety critical applications!
For more details
Contact: Rakesh Rana
rakesh.rana@gu.se

More Related Content

What's hot

IRJET- Recognition of Vehicle Number Plate using Raspberry PI
IRJET- Recognition of Vehicle Number Plate using Raspberry PIIRJET- Recognition of Vehicle Number Plate using Raspberry PI
IRJET- Recognition of Vehicle Number Plate using Raspberry PI
IRJET Journal
 
Automotive engineering design - Model Based Design
Automotive engineering design - Model Based DesignAutomotive engineering design - Model Based Design
Automotive engineering design - Model Based Design
Vinayagam Mariappan
 
Vehicle access control using anpr
Vehicle access control using anprVehicle access control using anpr
Vehicle access control using anpr
techlead-india
 
M b slides diagnostics 3-schmidgall_v7, 2010
M b slides diagnostics 3-schmidgall_v7, 2010M b slides diagnostics 3-schmidgall_v7, 2010
M b slides diagnostics 3-schmidgall_v7, 2010
goodgolier
 
Results of model-based testing in automotive
Results of model-based testing in automotiveResults of model-based testing in automotive
Results of model-based testing in automotive
Anthony Faucogney
 
Hardware in loop simulation
Hardware in loop simulationHardware in loop simulation
Hardware in loop simulation
Gowtham Subramanian
 
automatic number plate recognition
automatic number plate recognitionautomatic number plate recognition
automatic number plate recognition
Sairam Taduvai
 
To Perform SIL And PIL Testing on Fast Dynamic System using Economical AVR Co...
To Perform SIL And PIL Testing on Fast Dynamic System using Economical AVR Co...To Perform SIL And PIL Testing on Fast Dynamic System using Economical AVR Co...
To Perform SIL And PIL Testing on Fast Dynamic System using Economical AVR Co...ijsrd.com
 
Model based development(MBD)
Model based development(MBD) Model based development(MBD)
Model based development(MBD)
Shashi Kumar Mergu
 
ELDs and Hours of Service-FTA-PeopleNet
ELDs and Hours of Service-FTA-PeopleNetELDs and Hours of Service-FTA-PeopleNet
ELDs and Hours of Service-FTA-PeopleNet
Florida Trucking Association
 
IRJET- Features Extraction OCR Algorithm in Indian License Plates
IRJET- Features Extraction OCR Algorithm in Indian License PlatesIRJET- Features Extraction OCR Algorithm in Indian License Plates
IRJET- Features Extraction OCR Algorithm in Indian License Plates
IRJET Journal
 
What is HIL (HardWare In The Loop)
What is HIL (HardWare In The Loop)What is HIL (HardWare In The Loop)
What is HIL (HardWare In The Loop)
Tbrad
 
Carman I-300 to do list
Carman I-300 to do listCarman I-300 to do list
Carman I-300 to do list
interequip Pvt Ltd
 
Number plate recognition using ocr technique
Number plate recognition using ocr techniqueNumber plate recognition using ocr technique
Number plate recognition using ocr technique
eSAT Journals
 
ISOBUS Software Stack Integration Services
ISOBUS Software Stack Integration ServicesISOBUS Software Stack Integration Services
ISOBUS Software Stack Integration Services
Embitel Technologies (I) PVT LTD
 
PopcornSAR Specialized in AUTOSAR_Company profile
PopcornSAR Specialized in AUTOSAR_Company profilePopcornSAR Specialized in AUTOSAR_Company profile
PopcornSAR Specialized in AUTOSAR_Company profile
PopcornSAR
 
Keynote 4 cornelius_koetz_v04
Keynote 4 cornelius_koetz_v04Keynote 4 cornelius_koetz_v04
Keynote 4 cornelius_koetz_v04
goodgolier
 
Introduction to TTCN-3 and AUTOSAR Conformance Testing
Introduction to TTCN-3 and AUTOSAR Conformance TestingIntroduction to TTCN-3 and AUTOSAR Conformance Testing
Introduction to TTCN-3 and AUTOSAR Conformance Testing
Oak Systems
 
Acrobat document2
Acrobat document2Acrobat document2
Acrobat document2esregroup
 

What's hot (20)

IRJET- Recognition of Vehicle Number Plate using Raspberry PI
IRJET- Recognition of Vehicle Number Plate using Raspberry PIIRJET- Recognition of Vehicle Number Plate using Raspberry PI
IRJET- Recognition of Vehicle Number Plate using Raspberry PI
 
Automotive engineering design - Model Based Design
Automotive engineering design - Model Based DesignAutomotive engineering design - Model Based Design
Automotive engineering design - Model Based Design
 
Vehicle access control using anpr
Vehicle access control using anprVehicle access control using anpr
Vehicle access control using anpr
 
M b slides diagnostics 3-schmidgall_v7, 2010
M b slides diagnostics 3-schmidgall_v7, 2010M b slides diagnostics 3-schmidgall_v7, 2010
M b slides diagnostics 3-schmidgall_v7, 2010
 
Results of model-based testing in automotive
Results of model-based testing in automotiveResults of model-based testing in automotive
Results of model-based testing in automotive
 
Hardware in loop simulation
Hardware in loop simulationHardware in loop simulation
Hardware in loop simulation
 
AjishP-2016
AjishP-2016AjishP-2016
AjishP-2016
 
automatic number plate recognition
automatic number plate recognitionautomatic number plate recognition
automatic number plate recognition
 
To Perform SIL And PIL Testing on Fast Dynamic System using Economical AVR Co...
To Perform SIL And PIL Testing on Fast Dynamic System using Economical AVR Co...To Perform SIL And PIL Testing on Fast Dynamic System using Economical AVR Co...
To Perform SIL And PIL Testing on Fast Dynamic System using Economical AVR Co...
 
Model based development(MBD)
Model based development(MBD) Model based development(MBD)
Model based development(MBD)
 
ELDs and Hours of Service-FTA-PeopleNet
ELDs and Hours of Service-FTA-PeopleNetELDs and Hours of Service-FTA-PeopleNet
ELDs and Hours of Service-FTA-PeopleNet
 
IRJET- Features Extraction OCR Algorithm in Indian License Plates
IRJET- Features Extraction OCR Algorithm in Indian License PlatesIRJET- Features Extraction OCR Algorithm in Indian License Plates
IRJET- Features Extraction OCR Algorithm in Indian License Plates
 
What is HIL (HardWare In The Loop)
What is HIL (HardWare In The Loop)What is HIL (HardWare In The Loop)
What is HIL (HardWare In The Loop)
 
Carman I-300 to do list
Carman I-300 to do listCarman I-300 to do list
Carman I-300 to do list
 
Number plate recognition using ocr technique
Number plate recognition using ocr techniqueNumber plate recognition using ocr technique
Number plate recognition using ocr technique
 
ISOBUS Software Stack Integration Services
ISOBUS Software Stack Integration ServicesISOBUS Software Stack Integration Services
ISOBUS Software Stack Integration Services
 
PopcornSAR Specialized in AUTOSAR_Company profile
PopcornSAR Specialized in AUTOSAR_Company profilePopcornSAR Specialized in AUTOSAR_Company profile
PopcornSAR Specialized in AUTOSAR_Company profile
 
Keynote 4 cornelius_koetz_v04
Keynote 4 cornelius_koetz_v04Keynote 4 cornelius_koetz_v04
Keynote 4 cornelius_koetz_v04
 
Introduction to TTCN-3 and AUTOSAR Conformance Testing
Introduction to TTCN-3 and AUTOSAR Conformance TestingIntroduction to TTCN-3 and AUTOSAR Conformance Testing
Introduction to TTCN-3 and AUTOSAR Conformance Testing
 
Acrobat document2
Acrobat document2Acrobat document2
Acrobat document2
 

Similar to Improving Dependability of Embedded Software System

How to find defects early and increase the reliability of software systems
How to find defects early and increase the reliability of software systemsHow to find defects early and increase the reliability of software systems
How to find defects early and increase the reliability of software systems
RAKESH RANA
 
IRJET- Front View Identification of Vehicles by using Machine Learning Te...
IRJET-  	  Front View Identification of Vehicles by using Machine Learning Te...IRJET-  	  Front View Identification of Vehicles by using Machine Learning Te...
IRJET- Front View Identification of Vehicles by using Machine Learning Te...
IRJET Journal
 
virtual-system-integration-and-early-functional-validation-in-the-whole-vehic...
virtual-system-integration-and-early-functional-validation-in-the-whole-vehic...virtual-system-integration-and-early-functional-validation-in-the-whole-vehic...
virtual-system-integration-and-early-functional-validation-in-the-whole-vehic...
Uvaiz2
 
Vehicle Detection using Camera
Vehicle Detection using CameraVehicle Detection using Camera
Vehicle Detection using Camera
Shubham Agrahari
 
Webinar–Improving Fuzz Testing of Infotainment Systems and Telematics Units U...
Webinar–Improving Fuzz Testing of Infotainment Systems and Telematics Units U...Webinar–Improving Fuzz Testing of Infotainment Systems and Telematics Units U...
Webinar–Improving Fuzz Testing of Infotainment Systems and Telematics Units U...
Synopsys Software Integrity Group
 
Autonomous Industry Feedback
Autonomous Industry Feedback Autonomous Industry Feedback
Autonomous Industry Feedback
amitgangwar2010
 
Performance Traction Control (PTC)
Performance Traction Control (PTC)Performance Traction Control (PTC)
Performance Traction Control (PTC)
Enrico Busto
 
ECU software abnormal behavior detection based on Mahalanobis taguchi technique
ECU software abnormal behavior detection based on Mahalanobis taguchi techniqueECU software abnormal behavior detection based on Mahalanobis taguchi technique
ECU software abnormal behavior detection based on Mahalanobis taguchi technique
Yixin Chen
 
IRJET- Number Plate Extraction from Vehicle Front View Image using Image ...
IRJET-  	  Number Plate Extraction from Vehicle Front View Image using Image ...IRJET-  	  Number Plate Extraction from Vehicle Front View Image using Image ...
IRJET- Number Plate Extraction from Vehicle Front View Image using Image ...
IRJET Journal
 
In Automotive Environments - HU Michel
In Automotive Environments - HU MichelIn Automotive Environments - HU Michel
In Automotive Environments - HU Michel
mfrancis
 
Software defined vehicles,automotive standards (safety, security), agile cont...
Software defined vehicles,automotive standards (safety, security), agile cont...Software defined vehicles,automotive standards (safety, security), agile cont...
Software defined vehicles,automotive standards (safety, security), agile cont...
Dr. Anish Cheriyan (PhD)
 
Accelerating automotive test development may 2008
Accelerating automotive test development   may 2008Accelerating automotive test development   may 2008
Accelerating automotive test development may 2008
Thorsten MAYER
 
Obstacle Detection and Collision Avoidance System
Obstacle Detection and Collision Avoidance SystemObstacle Detection and Collision Avoidance System
Obstacle Detection and Collision Avoidance System
IRJET Journal
 
Vehicle Related Prevention Techniques: Pothole/Speedbreaker Detection and Ant...
Vehicle Related Prevention Techniques: Pothole/Speedbreaker Detection and Ant...Vehicle Related Prevention Techniques: Pothole/Speedbreaker Detection and Ant...
Vehicle Related Prevention Techniques: Pothole/Speedbreaker Detection and Ant...
IRJET Journal
 
A Novel Approach of Automation Test for Software Monitoring Solution - Tran S...
A Novel Approach of Automation Test for Software Monitoring Solution - Tran S...A Novel Approach of Automation Test for Software Monitoring Solution - Tran S...
A Novel Approach of Automation Test for Software Monitoring Solution - Tran S...
Ho Chi Minh City Software Testing Club
 
Project_Overview_ecopy
Project_Overview_ecopyProject_Overview_ecopy
Project_Overview_ecopyDavid Beck
 
Smart Parking Solution using Camera Networks and Real-time Computer Vision
Smart Parking Solution using Camera Networks and Real-time Computer VisionSmart Parking Solution using Camera Networks and Real-time Computer Vision
Smart Parking Solution using Camera Networks and Real-time Computer Vision
IRJET Journal
 
Foxwell i70-android-diagnostic-scanner-371
Foxwell i70-android-diagnostic-scanner-371Foxwell i70-android-diagnostic-scanner-371
Foxwell i70-android-diagnostic-scanner-371
ssuser46fe8f
 
Passenger Vehicle Speed Control using PID on Simulink Platform and Body Contr...
Passenger Vehicle Speed Control using PID on Simulink Platform and Body Contr...Passenger Vehicle Speed Control using PID on Simulink Platform and Body Contr...
Passenger Vehicle Speed Control using PID on Simulink Platform and Body Contr...
IRJET Journal
 
TraVis CTTHES3
TraVis CTTHES3TraVis CTTHES3
TraVis CTTHES3Ni Aguirre
 

Similar to Improving Dependability of Embedded Software System (20)

How to find defects early and increase the reliability of software systems
How to find defects early and increase the reliability of software systemsHow to find defects early and increase the reliability of software systems
How to find defects early and increase the reliability of software systems
 
IRJET- Front View Identification of Vehicles by using Machine Learning Te...
IRJET-  	  Front View Identification of Vehicles by using Machine Learning Te...IRJET-  	  Front View Identification of Vehicles by using Machine Learning Te...
IRJET- Front View Identification of Vehicles by using Machine Learning Te...
 
virtual-system-integration-and-early-functional-validation-in-the-whole-vehic...
virtual-system-integration-and-early-functional-validation-in-the-whole-vehic...virtual-system-integration-and-early-functional-validation-in-the-whole-vehic...
virtual-system-integration-and-early-functional-validation-in-the-whole-vehic...
 
Vehicle Detection using Camera
Vehicle Detection using CameraVehicle Detection using Camera
Vehicle Detection using Camera
 
Webinar–Improving Fuzz Testing of Infotainment Systems and Telematics Units U...
Webinar–Improving Fuzz Testing of Infotainment Systems and Telematics Units U...Webinar–Improving Fuzz Testing of Infotainment Systems and Telematics Units U...
Webinar–Improving Fuzz Testing of Infotainment Systems and Telematics Units U...
 
Autonomous Industry Feedback
Autonomous Industry Feedback Autonomous Industry Feedback
Autonomous Industry Feedback
 
Performance Traction Control (PTC)
Performance Traction Control (PTC)Performance Traction Control (PTC)
Performance Traction Control (PTC)
 
ECU software abnormal behavior detection based on Mahalanobis taguchi technique
ECU software abnormal behavior detection based on Mahalanobis taguchi techniqueECU software abnormal behavior detection based on Mahalanobis taguchi technique
ECU software abnormal behavior detection based on Mahalanobis taguchi technique
 
IRJET- Number Plate Extraction from Vehicle Front View Image using Image ...
IRJET-  	  Number Plate Extraction from Vehicle Front View Image using Image ...IRJET-  	  Number Plate Extraction from Vehicle Front View Image using Image ...
IRJET- Number Plate Extraction from Vehicle Front View Image using Image ...
 
In Automotive Environments - HU Michel
In Automotive Environments - HU MichelIn Automotive Environments - HU Michel
In Automotive Environments - HU Michel
 
Software defined vehicles,automotive standards (safety, security), agile cont...
Software defined vehicles,automotive standards (safety, security), agile cont...Software defined vehicles,automotive standards (safety, security), agile cont...
Software defined vehicles,automotive standards (safety, security), agile cont...
 
Accelerating automotive test development may 2008
Accelerating automotive test development   may 2008Accelerating automotive test development   may 2008
Accelerating automotive test development may 2008
 
Obstacle Detection and Collision Avoidance System
Obstacle Detection and Collision Avoidance SystemObstacle Detection and Collision Avoidance System
Obstacle Detection and Collision Avoidance System
 
Vehicle Related Prevention Techniques: Pothole/Speedbreaker Detection and Ant...
Vehicle Related Prevention Techniques: Pothole/Speedbreaker Detection and Ant...Vehicle Related Prevention Techniques: Pothole/Speedbreaker Detection and Ant...
Vehicle Related Prevention Techniques: Pothole/Speedbreaker Detection and Ant...
 
A Novel Approach of Automation Test for Software Monitoring Solution - Tran S...
A Novel Approach of Automation Test for Software Monitoring Solution - Tran S...A Novel Approach of Automation Test for Software Monitoring Solution - Tran S...
A Novel Approach of Automation Test for Software Monitoring Solution - Tran S...
 
Project_Overview_ecopy
Project_Overview_ecopyProject_Overview_ecopy
Project_Overview_ecopy
 
Smart Parking Solution using Camera Networks and Real-time Computer Vision
Smart Parking Solution using Camera Networks and Real-time Computer VisionSmart Parking Solution using Camera Networks and Real-time Computer Vision
Smart Parking Solution using Camera Networks and Real-time Computer Vision
 
Foxwell i70-android-diagnostic-scanner-371
Foxwell i70-android-diagnostic-scanner-371Foxwell i70-android-diagnostic-scanner-371
Foxwell i70-android-diagnostic-scanner-371
 
Passenger Vehicle Speed Control using PID on Simulink Platform and Body Contr...
Passenger Vehicle Speed Control using PID on Simulink Platform and Body Contr...Passenger Vehicle Speed Control using PID on Simulink Platform and Body Contr...
Passenger Vehicle Speed Control using PID on Simulink Platform and Body Contr...
 
TraVis CTTHES3
TraVis CTTHES3TraVis CTTHES3
TraVis CTTHES3
 

More from RAKESH RANA

When do software issues get reported in large open source software
When do software issues get reported in large open source softwareWhen do software issues get reported in large open source software
When do software issues get reported in large open source software
RAKESH RANA
 
On the Role of Cross-Disciplinary Research and SSE in Addressing the Challeng...
On the Role of Cross-Disciplinary Research and SSE in Addressing the Challeng...On the Role of Cross-Disciplinary Research and SSE in Addressing the Challeng...
On the Role of Cross-Disciplinary Research and SSE in Addressing the Challeng...
RAKESH RANA
 
Machine Learning Approach for Quality Assessment and Prediction in Large Soft...
Machine Learning Approach for Quality Assessmentand Prediction in Large Soft...Machine Learning Approach for Quality Assessmentand Prediction in Large Soft...
Machine Learning Approach for Quality Assessment and Prediction in Large Soft...
RAKESH RANA
 
Increasing Efficiency of ISO 26262 Verification and Validation by Combining F...
Increasing Efficiency of ISO 26262 Verification and Validation by Combining F...Increasing Efficiency of ISO 26262 Verification and Validation by Combining F...
Increasing Efficiency of ISO 26262 Verification and Validation by Combining F...
RAKESH RANA
 
Consequences of Mispredictions of Software Reliability
Consequences of Mispredictions of Software ReliabilityConsequences of Mispredictions of Software Reliability
Consequences of Mispredictions of Software Reliability
RAKESH RANA
 
Software Defect Prediction Techniques in the Automotive Domain: Evaluation, S...
Software Defect Prediction Techniques in the Automotive Domain: Evaluation, S...Software Defect Prediction Techniques in the Automotive Domain: Evaluation, S...
Software Defect Prediction Techniques in the Automotive Domain: Evaluation, S...
RAKESH RANA
 
The adoption of machine learning techniques for software defect prediction: A...
The adoption of machine learning techniques for software defect prediction: A...The adoption of machine learning techniques for software defect prediction: A...
The adoption of machine learning techniques for software defect prediction: A...
RAKESH RANA
 
Analysing Defect Inflow Distribution of Automotive & Large Software Projects
Analysing Defect Inflow Distribution of Automotive & Large Software ProjectsAnalysing Defect Inflow Distribution of Automotive & Large Software Projects
Analysing Defect Inflow Distribution of Automotive & Large Software Projects
RAKESH RANA
 
A framework for adoption of machine learning in industry for software defect ...
A framework for adoption of machine learning in industry for software defect ...A framework for adoption of machine learning in industry for software defect ...
A framework for adoption of machine learning in industry for software defect ...
RAKESH RANA
 
Defect Prediction Over Software Life Cycle in Automotive Domain
Defect Prediction Over Software Life Cycle   in Automotive DomainDefect Prediction Over Software Life Cycle   in Automotive Domain
Defect Prediction Over Software Life Cycle in Automotive Domain
RAKESH RANA
 
Predicting reliability of software systems under development
Predicting reliability of software systems under developmentPredicting reliability of software systems under development
Predicting reliability of software systems under development
RAKESH RANA
 
Defect Prediction & Prevention In Automotive Software Development
Defect Prediction & Prevention In Automotive Software DevelopmentDefect Prediction & Prevention In Automotive Software Development
Defect Prediction & Prevention In Automotive Software Development
RAKESH RANA
 
Evaluating long-term predictive power of standard reliability growth models o...
Evaluating long-term predictive power of standard reliability growth models o...Evaluating long-term predictive power of standard reliability growth models o...
Evaluating long-term predictive power of standard reliability growth models o...
RAKESH RANA
 
Evaluating SRGMs for Automotive Software Project
Evaluating SRGMs for Automotive Software ProjectEvaluating SRGMs for Automotive Software Project
Evaluating SRGMs for Automotive Software Project
RAKESH RANA
 
Comparing MLE Vs. NLR in context of Software Reliability Growth Modes (SRGMs)
Comparing MLE Vs. NLR in context of Software Reliability Growth Modes (SRGMs)Comparing MLE Vs. NLR in context of Software Reliability Growth Modes (SRGMs)
Comparing MLE Vs. NLR in context of Software Reliability Growth Modes (SRGMs)
RAKESH RANA
 

More from RAKESH RANA (15)

When do software issues get reported in large open source software
When do software issues get reported in large open source softwareWhen do software issues get reported in large open source software
When do software issues get reported in large open source software
 
On the Role of Cross-Disciplinary Research and SSE in Addressing the Challeng...
On the Role of Cross-Disciplinary Research and SSE in Addressing the Challeng...On the Role of Cross-Disciplinary Research and SSE in Addressing the Challeng...
On the Role of Cross-Disciplinary Research and SSE in Addressing the Challeng...
 
Machine Learning Approach for Quality Assessment and Prediction in Large Soft...
Machine Learning Approach for Quality Assessmentand Prediction in Large Soft...Machine Learning Approach for Quality Assessmentand Prediction in Large Soft...
Machine Learning Approach for Quality Assessment and Prediction in Large Soft...
 
Increasing Efficiency of ISO 26262 Verification and Validation by Combining F...
Increasing Efficiency of ISO 26262 Verification and Validation by Combining F...Increasing Efficiency of ISO 26262 Verification and Validation by Combining F...
Increasing Efficiency of ISO 26262 Verification and Validation by Combining F...
 
Consequences of Mispredictions of Software Reliability
Consequences of Mispredictions of Software ReliabilityConsequences of Mispredictions of Software Reliability
Consequences of Mispredictions of Software Reliability
 
Software Defect Prediction Techniques in the Automotive Domain: Evaluation, S...
Software Defect Prediction Techniques in the Automotive Domain: Evaluation, S...Software Defect Prediction Techniques in the Automotive Domain: Evaluation, S...
Software Defect Prediction Techniques in the Automotive Domain: Evaluation, S...
 
The adoption of machine learning techniques for software defect prediction: A...
The adoption of machine learning techniques for software defect prediction: A...The adoption of machine learning techniques for software defect prediction: A...
The adoption of machine learning techniques for software defect prediction: A...
 
Analysing Defect Inflow Distribution of Automotive & Large Software Projects
Analysing Defect Inflow Distribution of Automotive & Large Software ProjectsAnalysing Defect Inflow Distribution of Automotive & Large Software Projects
Analysing Defect Inflow Distribution of Automotive & Large Software Projects
 
A framework for adoption of machine learning in industry for software defect ...
A framework for adoption of machine learning in industry for software defect ...A framework for adoption of machine learning in industry for software defect ...
A framework for adoption of machine learning in industry for software defect ...
 
Defect Prediction Over Software Life Cycle in Automotive Domain
Defect Prediction Over Software Life Cycle   in Automotive DomainDefect Prediction Over Software Life Cycle   in Automotive Domain
Defect Prediction Over Software Life Cycle in Automotive Domain
 
Predicting reliability of software systems under development
Predicting reliability of software systems under developmentPredicting reliability of software systems under development
Predicting reliability of software systems under development
 
Defect Prediction & Prevention In Automotive Software Development
Defect Prediction & Prevention In Automotive Software DevelopmentDefect Prediction & Prevention In Automotive Software Development
Defect Prediction & Prevention In Automotive Software Development
 
Evaluating long-term predictive power of standard reliability growth models o...
Evaluating long-term predictive power of standard reliability growth models o...Evaluating long-term predictive power of standard reliability growth models o...
Evaluating long-term predictive power of standard reliability growth models o...
 
Evaluating SRGMs for Automotive Software Project
Evaluating SRGMs for Automotive Software ProjectEvaluating SRGMs for Automotive Software Project
Evaluating SRGMs for Automotive Software Project
 
Comparing MLE Vs. NLR in context of Software Reliability Growth Modes (SRGMs)
Comparing MLE Vs. NLR in context of Software Reliability Growth Modes (SRGMs)Comparing MLE Vs. NLR in context of Software Reliability Growth Modes (SRGMs)
Comparing MLE Vs. NLR in context of Software Reliability Growth Modes (SRGMs)
 

Recently uploaded

H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
zwunae
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
Jayaprasanna4
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
ongomchris
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
BrazilAccount1
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 

Recently uploaded (20)

H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 

Improving Dependability of Embedded Software System

  • 1. Improving Dependability of Embedded Software Systems using Fault Bypass Modeling (FBM) Rakesh Rana Computer Science and Engineering Chalmers | University of Gothenburg
  • 2. Embedded Software Image source: http://itsallaboutembedded.blogspot.com/2013/03/what-makes-embedded-system-called-as.html
  • 3. This Car Runs on Code “It takes dozens of mircroprocessors 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” -ieee spectrum Ref: http://spectrum.ieee.org/green-tech/advanced-cars/this-car-runs-on-code
  • 4. This Car Runs on Code Size & Complexity: >1 GB of software distributed over ~100 ECUs.
  • 5. Embedded Software Image source: http://itsallaboutembedded.blogspot.com/2013/03/what-makes-embedded-system-called-as.html Low Time to Market
  • 6. Vehicle Requirements System Design Sub-System Design ECU Specification Implementation, SW on ECU Unit Testing Sub-System Integration & Testing System Integration & Verification Vehicle Validation Automotive Software Development (V-model)
  • 7. Vehicle Requirements System Design Sub-System Design ECU Specification Implementation, SW on ECU Unit Testing Sub-System Integration & Testing System Integration & Verification Vehicle Validation Automotive Software Development (V-model)
  • 8. Fault Injection • Fault injection is an important and widely used technique for experimental dependability evaluation of computer systems. • These techniques has been traditionally used for testing dependability of the both hardware and software systems. *Reliability and dependability are very important features of any computer system. *So how can we enhance reliability in automotive software? Reliability
  • 9. ISO 26262 recommendation for using fault injection techniques ISO/DIS 26262 Chapter Reference to recommendation 4 Hardware-software integration and testing •Table 5 — Correct implementation of technical safety requirements at the hardware-software level. •Table 8 — Effectiveness of a safety mechanism’s diagnostic coverage at the hardware-software level. System integration and testing •Table 10a — Correct implementation of functional safety and technical safety requirements at the system level •Table 13b — Effectiveness of a safety mechanism's failure coverage at the system level Vehicle integration and testing •Table 15 — Correct implementation of the functional safety requirements at the vehicle level •Table 18 — Effectiveness of a safety mechanism's failure coverage at the vehicle level 5 Hardware integration and testing •Table 11 — Hardware integration tests to verify the completeness and correctness of the safety mechanisms implementation with respect to the hardware safety requirements 6 Software unit testing •Table 10 — Methods for software unit testing Software integration and testing •Table 13 — Methods for software integration testing
  • 10. Testing in open loop model configuration Scripts are used to provide recorded data as input, while the output is saved as data file and compared to reference/expected output. The major limitation with such testing is that it’s limited by the availability of recorded sensors data as well as need to have the correct output for reference purposes. Thus it cannot test systems under conditions where the input and output data is not available Or if a new functionality is developed or existing system configuration changed such that the input/output data do not match to previous instance, this type of testing is unfeasible. Closed loop continuous models do not suffer from these limitations.
  • 11. Testing in closed loop model configuration Environment Model SW system Model Out_1 Output Inp_2 Inp_1 Out_2 Natural/State parameter(s)
  • 12. FBM principle is described as following: • “If a signal injected with faults or its derivative is used to calculate/control any natural environment parameter(s), the part of signal or its derivative which is used to calculate/control the environment parameter(s) should be made fault free to break the unrealistic feedback loop” Natural Environment Parameter here refers to such a parameter which is not a property of system but needs correct value from system to define its correct state/value. Fault Bypass Principle
  • 13. Case Study: Self-driving miniature vehicle
  • 14. Sensor Layout Vehicle Camera Infrared Ultra sonic Infrared Infrared Camera: Logitech C525 HD Ultra sonic: SRF08 Infra red: GP2D120 Accelerometer & gyro: Razor 9DoF (optional) Odometer: Built-in (optional) ODO A&G L L L L L L L L
  • 15. Model-based system-environment model capable of simulating vehicle-environment model in virtual space UDP multicast vehicleS CamGen irus lanedetector M driverMmonitor DesigntimeRun-time A B C D Scenario modeling GUI Reference vehicle position Generating OpenGL scene Sensor para- meters Generating distances from obstacles
  • 16. Miniature vehicle running in open/closed-loop condition lanedetector driverM Camera Vehicle Speed Sensor Vi θi Steering Wheel Accelerator /Brakes Vd θd V0 θ0pos0 vehicleSCamGen lanedetectorM driverM V0 θd Vi θi V0 θ0pos0 Vd Open Loop Closed Loop (simulation mode)
  • 17. Injecting fault into the system Consider a simple scenario, where we simulate how the vehicle would act in the case of a faulty speed sensor (sensor output is zero). vehicleSCamGen lanedetectorM driverM V0 θd Vi θi V0 θ0pos0 Vd 0
  • 18. Injecting fault into the system Consider a simple scenario, where we simulate how the vehicle would act in the case of a faulty speed sensor (sensor output is zero).
  • 19. Vehicle simulation closed loop testing using FBM vehicleSCamGen lanedetectorM driverM V0 θd Vi θi V0 θ0pos0 Vd 0
  • 20. CASE: ABS (Anti-Lock Braking) System
  • 21. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 10 20 30 40 50 60 70 Time in sec SpeedinRPM Vehicle and wheel speed with & without ABS Vehicle Speed without ABS Vehicle Speed with ABS Wheel Speed without ABS Wheel Speed with ABS 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 20 40 60 80 100 120 140 160 180 200 Time in sec Distanceinm Stopping distance with & without ABS Without ABS With ABS CASE: ABS (Anti-Lock Braking) System
  • 22. 0 1 2 3 4 5 6 7 8 9 10 0 20 40 60 80 100 120 140 Time in sec SpeedinRPM Vehicle and wheel speed with fault injection Vehicle Speed Wheel Speed Fig: ABS system-environment model representation in Simulink with fault injector setup. CASE: ABS (Anti-Lock Braking) System
  • 23. Why ABS model breaks under Fault Injection setup?
  • 24. ABS: modeling using FBM principle 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 0 10 20 30 40 50 60 Time in sec SpeedinRPM Vehicle and wheel speed with fault injection (FBM) Vehicle Speed Wheel Speed 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 0 20 40 60 80 100 120 140 160 Time in sec Distanceinm Stopping distance with & without fault injection (FBM) ABS, without FI ABS, with FI
  • 25. Conclusions • There is significant need for using closed loop testing of embedded software systems in many domains and applications. • Fault injection can be used to enhance the effectiveness of closed loop testing (dependability evaluation of the system in early development stages.) • But injecting faults into closed loop configurations can generate outputs that are unreliable and unrealistic. • To overcome this problem, a framework referred to as fault bypass modeling is demonstrated with a simple case study. • Although the example discussed here is very simple, the use of closed loop testing is most often needed for testing of safety critical applications!
  • 26. For more details Contact: Rakesh Rana rakesh.rana@gu.se