SlideShare a Scribd company logo
29-Jul-2013
Increasing Efficiency of ISO 26262
Verification and Validation by Combining
Fault Injection and Mutation Testing with
Model Based Development
Rakesh Rana1, Miroslaw Staron1, Christian Berger1, Jörgen Hansson1,
Martin Nilsson2, Fredrik Törner2
1Computer Science & Engineering, Chalmers/ University of Gothenburg,
2Volvo Car Corporation, Gothenburg Sweden
This Car Runs on Code
Avionics & onboard systems:
F-22 Raptor: 1.7 mLOC; F-35 Joint Strike Fighter: 5.7 mLOC
Boeing’s 787 Dreamliner: 6.5 mLOC
Ref: http://spectrum.ieee.org/green-tech/advanced-cars/this-car-runs-on-code
S-class Mercedes-Benz: 20 mLOC (only for Radio & navigation systems)
“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”
• Software is today at the heart of automotive development.
• A typical premium car has up to 70 ECUs, connected by several
system buses to realize over 2000 functions (Broy, 2006).
• 90% of all innovations are driven by electronics and software
(Grimm, 2003).
• Many functions within automotive development are safety critical
Software in Automotive Domain
Images: Volov Cars; http://img.uphaa.com/uploads/777/uphaa-safety-funny_(12).jpg
Automotive Software Development
ISO 26262 - Road vehicles -- Functional safety
Automotive Software Development
Mellegard N, Staron M, Torner F. “A light-weight defect classification scheme for embedded automotive software
and its initial evaluation”. 23rd International Symposium on Software Reliability Engineering (ISSRE), 2012,
IEEE, 2012; 261–270.
Automotive Software Development
Model Based Development
Our Position for early defect detection
We contend that fault injection can be effectively used at the
model level to verify and validate the attainment or violation of
safety goals.
We also propose that it should be complemented with mutation
testing approach at the model level.
FI combined with Mutation testing can provide enough
statistical evidence for argumenting of fulfilment of safety goals
as per the ISO-26262 safety standard requirements.
ISO 26262 - Road vehicles -- Functional safety
ISO26262Chapter Referencetorecommendation
4 Hardware-softwareintegration
andtesting
•Table5—Correctimplementationoftechnicalsafetyrequirementsatthehardware-softwarelevel.
•Table8—Effectivenessofasafetymechanism’sdiagnosticcoverageatthehardware-softwarelevel.
Systemintegrationandtesting •Table10a—Correctimplementationoffunctionalsafetyandtechnicalsafetyrequirementsatthesystem
level
•Table13b—Effectivenessofasafetymechanism'sfailurecoverageatthesystemlevel
Vehicleintegrationandtesting •Table15—Correctimplementationofthefunctionalsafetyrequirementsatthevehiclelevel
•Table18—Effectivenessofasafetymechanism'sfailurecoverageatthevehiclelevel
5 Hardwareintegrationand
testing
•Table11—Hardwareintegrationteststoverifythecompletenessandcorrectnessofthesafetymechanisms
implementationwithrespecttothehardwaresafetyrequirements
6 Softwareunittesting •Table10—Methodsforsoftwareunittesting
Softwareintegrationand
testing
•Table13—Methodsforsoftwareintegrationtesting
Rana, R., Staron, M., Berger, C., Hansson, J., Nilsson, M., Törner, F., 2013. Improving Fault Injection in Automotive Model Based Development using Fault Bypass Modeling. Accepted: 2nd
Workshop on Software-Based Methods for Robust Embedded Systems, Informatik 2013, Koblenz, Germany
Fault Injection
Images: www.sp.se; www.generalcomics.com
Mutation Testing
http://muclipse.sourceforge.net/about.php
Road map for early defect detection
a) Assign technical safety requirements (TSRs) corresponding to the
functional safety requirements (FSRs) to function’s z outputs.
b) Use fault injection techniques to inject faults (similar to commonly
occurring defect)s and other possible fault conditions at the x inputs.
c) Fault scenarios leading to violation of TSRs/FSRs are identified; statistics
are built on faults leading to failures; fault propagation properties are
studied; fault tolerance system is strengthened.
d) Repeat steps (b) & (c) to test, correct and validate the given
system/function for its dependencies on other functions/components.
e) Cause mutations to the “n” basic blocks of given functional model and
asses the detection effectiveness of test suite/cases for possible
implementation bugs.
f) Examine mutants not killed by given set of test cases for their effect on
FSRs. If a given mutation violates the FSRs then a suitable test case is
created to detect/kill such mutants, i.e. detect such bugs in actual code.
Road map for early defect detection
Best Practices for early defect detection
a) Build and maintain models corresponding to each abstraction layer of
software architecture.
b) Specify and test these models for FSRs and TSR at the appropriate
abstraction level.
c) Identify different types of defects/faults and at what stage they could be
modelled/injected in the behavioural models.
Testing models for common faults at the earliest would lead to models/software
being build robust right from the start, instead of adding fault tolerance
properties in the later stages of development.
Conclusions
1. Software today play a critical role in the automotive product
development.
2. Software development in automotive domain has widely adopted the
paradigm of model based development (MBD).
3. Many of software function development are safety critical.
4. There are stringent quality requirements and need to adherence to
functional safety standards such as ISO 26262.
5. There exist some problems with late defect discovery.
6. Development of behavioural models in MBD offers significant opportunity
to do functional testing early in the development process.
7. FI and M.Testing in combination can be used effectively verify and
validate functional properties of a software functions EARLY @model
level.
Thank You

More Related Content

PDF
Qualification of Eclipse-based Tools according to ISO 26262
PPTX
ISO 26262 2nd Edition
PDF
Achieve iso 26262 certification
PPTX
HARA ISO 26262: What is HARA and Why is it Required?
PDF
20131216 cisec-standards-jp blanquart-jmastruc
PDF
TÜV SÜD on functional safety for multi-core architectures
PDF
Requirements of ISO 26262
PPTX
Automotive Functional Safety ISO 26262 Training Bootcamp : Tonex Training
Qualification of Eclipse-based Tools according to ISO 26262
ISO 26262 2nd Edition
Achieve iso 26262 certification
HARA ISO 26262: What is HARA and Why is it Required?
20131216 cisec-standards-jp blanquart-jmastruc
TÜV SÜD on functional safety for multi-core architectures
Requirements of ISO 26262
Automotive Functional Safety ISO 26262 Training Bootcamp : Tonex Training

What's hot (20)

PDF
MISRA Safety Case Guidelines -
PDF
ISO26262 Conference 2019
PPTX
ISO 26262 introduction
PPTX
Automotive functional safety iso 26262 training bootcamp 2019
PDF
Why safety plan is critical in development of iso 26262 complaint
PPTX
Automotive Functional Safety ISO 26262 Training Bootcamp - Tonex Training
PPTX
ISO 26262 Unit Testing | Functional Safety in Automotive
PDF
Iso26262 component reuse_webinar
PDF
Agile + ISO 26262: Using Agile in Automotive Development
PDF
Afry software safety ISO26262 (Embedded @ Gothenburg Meetup)
PPTX
An Introduction to MISRA C:2012
PDF
Software Requirements for Safety-related Systems
PDF
An integrative solution towards SOTIF and AV safety
PDF
An approach towards sotif with ansys medini analyze
PPTX
Autonomous Industry Feedback
PPTX
ISO 26262 Training: Automotive Safety
PPTX
FDA software compliance 2016
PPTX
Automotive Functional Safety and Hazard Analysis Training : Tonex Training
PPTX
ISO 62304 & TIR 45
PPTX
Frequently Asked Question (FAQ's) on ISO 26262 Functional Safety
MISRA Safety Case Guidelines -
ISO26262 Conference 2019
ISO 26262 introduction
Automotive functional safety iso 26262 training bootcamp 2019
Why safety plan is critical in development of iso 26262 complaint
Automotive Functional Safety ISO 26262 Training Bootcamp - Tonex Training
ISO 26262 Unit Testing | Functional Safety in Automotive
Iso26262 component reuse_webinar
Agile + ISO 26262: Using Agile in Automotive Development
Afry software safety ISO26262 (Embedded @ Gothenburg Meetup)
An Introduction to MISRA C:2012
Software Requirements for Safety-related Systems
An integrative solution towards SOTIF and AV safety
An approach towards sotif with ansys medini analyze
Autonomous Industry Feedback
ISO 26262 Training: Automotive Safety
FDA software compliance 2016
Automotive Functional Safety and Hazard Analysis Training : Tonex Training
ISO 62304 & TIR 45
Frequently Asked Question (FAQ's) on ISO 26262 Functional Safety
Ad

Viewers also liked (15)

PDF
ISO26262-6 Software development process (Ver 3.0)
PDF
ARP4754a, DO-178C 발표자료
PPT
091 Process Mapping
PDF
Introduction to arp4754a
PPT
PDF
ISO 26262 Approval of Automotive Software Components
PDF
Lean Six Sigma Mistake-Proofing Process Training Module
PDF
Risk Management by using FMEA
PDF
Dorner works do-254_information
PPTX
Jamil R. Mazzawi, Founder and CEO, Optima Design Automation
PDF
Volvo Presents: Support for ISO 26262 in the EAST-ADL/AUTOSAR Context
PPS
Narated mike bartley reqs signoff
PDF
ISApaperIEC61508_AMN_Final
PDF
DMAP's presentation
PPTX
Rtlws2013
ISO26262-6 Software development process (Ver 3.0)
ARP4754a, DO-178C 발표자료
091 Process Mapping
Introduction to arp4754a
ISO 26262 Approval of Automotive Software Components
Lean Six Sigma Mistake-Proofing Process Training Module
Risk Management by using FMEA
Dorner works do-254_information
Jamil R. Mazzawi, Founder and CEO, Optima Design Automation
Volvo Presents: Support for ISO 26262 in the EAST-ADL/AUTOSAR Context
Narated mike bartley reqs signoff
ISApaperIEC61508_AMN_Final
DMAP's presentation
Rtlws2013
Ad

Similar to Increasing Efficiency of ISO 26262 Verification and Validation by Combining Fault Injection and Mutation Testing with Model Based Development (20)

PDF
How to find defects early and increase the reliability of software systems
PDF
Verification of IVI Over-The-Air using UML/OCL
PPTX
Strategy Analytics - Automotive Cyber Security - Oct 2020.pptx
PPTX
Software defined vehicles,automotive standards (safety, security), agile cont...
PDF
Model_Based_Development_Overview_V_Cycle
PDF
Driving Risks Out of Embedded Automotive Software
PPTX
Highly dependable automotive software
PDF
IRJET- Development Operations for Continuous Delivery
PPTX
Highly dependable automotive software
DOCX
Software Engineering
PDF
Kovair Capabilities for Automotive Development with Kovair ALM – White Paper
PDF
Defect Prediction & Prevention In Automotive Software Development
PDF
Software testing
PDF
Welcome to International Journal of Engineering Research and Development (IJERD)
PPTX
ISO 26262: Automotive Functional Safety
PDF
Towards 0-bug software in the automotive industry
PDF
A New Generation Software Test Automation Framework – CIVIM
PPTX
Zero-bug Software, Mathematically Guaranteed
PPTX
CMAPS_KPIT_Siddharth Mishra.pptx
PPT
SOFWARE QUALITY, INTRODUCTION
How to find defects early and increase the reliability of software systems
Verification of IVI Over-The-Air using UML/OCL
Strategy Analytics - Automotive Cyber Security - Oct 2020.pptx
Software defined vehicles,automotive standards (safety, security), agile cont...
Model_Based_Development_Overview_V_Cycle
Driving Risks Out of Embedded Automotive Software
Highly dependable automotive software
IRJET- Development Operations for Continuous Delivery
Highly dependable automotive software
Software Engineering
Kovair Capabilities for Automotive Development with Kovair ALM – White Paper
Defect Prediction & Prevention In Automotive Software Development
Software testing
Welcome to International Journal of Engineering Research and Development (IJERD)
ISO 26262: Automotive Functional Safety
Towards 0-bug software in the automotive industry
A New Generation Software Test Automation Framework – CIVIM
Zero-bug Software, Mathematically Guaranteed
CMAPS_KPIT_Siddharth Mishra.pptx
SOFWARE QUALITY, INTRODUCTION

More from RAKESH RANA (14)

PPTX
When do software issues get reported in large open source software
PPTX
On the Role of Cross-Disciplinary Research and SSE in Addressing the Challeng...
PPTX
Machine Learning Approach for Quality Assessment and Prediction in Large Soft...
PPTX
Improving Dependability of Embedded Software System
PDF
Consequences of Mispredictions of Software Reliability
PDF
Software Defect Prediction Techniques in the Automotive Domain: Evaluation, S...
PDF
The adoption of machine learning techniques for software defect prediction: A...
PDF
Analysing Defect Inflow Distribution of Automotive & Large Software Projects
PDF
A framework for adoption of machine learning in industry for software defect ...
PDF
Defect Prediction Over Software Life Cycle in Automotive Domain
PDF
Predicting reliability of software systems under development
PDF
Evaluating long-term predictive power of standard reliability growth models o...
PDF
Evaluating SRGMs for Automotive Software Project
PDF
Comparing MLE Vs. NLR in context of Software Reliability Growth Modes (SRGMs)
When do software issues get reported in large open source software
On the Role of Cross-Disciplinary Research and SSE in Addressing the Challeng...
Machine Learning Approach for Quality Assessment and Prediction in Large Soft...
Improving Dependability of Embedded Software System
Consequences of Mispredictions of Software Reliability
Software Defect Prediction Techniques in the Automotive Domain: Evaluation, S...
The adoption of machine learning techniques for software defect prediction: A...
Analysing Defect Inflow Distribution of Automotive & Large Software Projects
A framework for adoption of machine learning in industry for software defect ...
Defect Prediction Over Software Life Cycle in Automotive Domain
Predicting reliability of software systems under development
Evaluating long-term predictive power of standard reliability growth models o...
Evaluating SRGMs for Automotive Software Project
Comparing MLE Vs. NLR in context of Software Reliability Growth Modes (SRGMs)

Recently uploaded (20)

PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PPTX
Operating system designcfffgfgggggggvggggggggg
PPTX
ai tools demonstartion for schools and inter college
PDF
Digital Strategies for Manufacturing Companies
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Understanding Forklifts - TECH EHS Solution
PPTX
Essential Infomation Tech presentation.pptx
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PPTX
history of c programming in notes for students .pptx
PDF
System and Network Administraation Chapter 3
How to Choose the Right IT Partner for Your Business in Malaysia
VVF-Customer-Presentation2025-Ver1.9.pptx
Design an Analysis of Algorithms I-SECS-1021-03
CHAPTER 2 - PM Management and IT Context
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Operating system designcfffgfgggggggvggggggggg
ai tools demonstartion for schools and inter college
Digital Strategies for Manufacturing Companies
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Design an Analysis of Algorithms II-SECS-1021-03
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Understanding Forklifts - TECH EHS Solution
Essential Infomation Tech presentation.pptx
Odoo Companies in India – Driving Business Transformation.pdf
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
2025 Textile ERP Trends: SAP, Odoo & Oracle
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
history of c programming in notes for students .pptx
System and Network Administraation Chapter 3

Increasing Efficiency of ISO 26262 Verification and Validation by Combining Fault Injection and Mutation Testing with Model Based Development

  • 1. 29-Jul-2013 Increasing Efficiency of ISO 26262 Verification and Validation by Combining Fault Injection and Mutation Testing with Model Based Development Rakesh Rana1, Miroslaw Staron1, Christian Berger1, Jörgen Hansson1, Martin Nilsson2, Fredrik Törner2 1Computer Science & Engineering, Chalmers/ University of Gothenburg, 2Volvo Car Corporation, Gothenburg Sweden
  • 2. This Car Runs on Code Avionics & onboard systems: F-22 Raptor: 1.7 mLOC; F-35 Joint Strike Fighter: 5.7 mLOC Boeing’s 787 Dreamliner: 6.5 mLOC Ref: http://spectrum.ieee.org/green-tech/advanced-cars/this-car-runs-on-code S-class Mercedes-Benz: 20 mLOC (only for Radio & navigation systems) “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”
  • 3. • Software is today at the heart of automotive development. • A typical premium car has up to 70 ECUs, connected by several system buses to realize over 2000 functions (Broy, 2006). • 90% of all innovations are driven by electronics and software (Grimm, 2003). • Many functions within automotive development are safety critical Software in Automotive Domain Images: Volov Cars; http://img.uphaa.com/uploads/777/uphaa-safety-funny_(12).jpg
  • 5. ISO 26262 - Road vehicles -- Functional safety
  • 6. Automotive Software Development Mellegard N, Staron M, Torner F. “A light-weight defect classification scheme for embedded automotive software and its initial evaluation”. 23rd International Symposium on Software Reliability Engineering (ISSRE), 2012, IEEE, 2012; 261–270.
  • 9. Our Position for early defect detection We contend that fault injection can be effectively used at the model level to verify and validate the attainment or violation of safety goals. We also propose that it should be complemented with mutation testing approach at the model level. FI combined with Mutation testing can provide enough statistical evidence for argumenting of fulfilment of safety goals as per the ISO-26262 safety standard requirements.
  • 10. ISO 26262 - Road vehicles -- Functional safety ISO26262Chapter Referencetorecommendation 4 Hardware-softwareintegration andtesting •Table5—Correctimplementationoftechnicalsafetyrequirementsatthehardware-softwarelevel. •Table8—Effectivenessofasafetymechanism’sdiagnosticcoverageatthehardware-softwarelevel. Systemintegrationandtesting •Table10a—Correctimplementationoffunctionalsafetyandtechnicalsafetyrequirementsatthesystem level •Table13b—Effectivenessofasafetymechanism'sfailurecoverageatthesystemlevel Vehicleintegrationandtesting •Table15—Correctimplementationofthefunctionalsafetyrequirementsatthevehiclelevel •Table18—Effectivenessofasafetymechanism'sfailurecoverageatthevehiclelevel 5 Hardwareintegrationand testing •Table11—Hardwareintegrationteststoverifythecompletenessandcorrectnessofthesafetymechanisms implementationwithrespecttothehardwaresafetyrequirements 6 Softwareunittesting •Table10—Methodsforsoftwareunittesting Softwareintegrationand testing •Table13—Methodsforsoftwareintegrationtesting Rana, R., Staron, M., Berger, C., Hansson, J., Nilsson, M., Törner, F., 2013. Improving Fault Injection in Automotive Model Based Development using Fault Bypass Modeling. Accepted: 2nd Workshop on Software-Based Methods for Robust Embedded Systems, Informatik 2013, Koblenz, Germany
  • 11. Fault Injection Images: www.sp.se; www.generalcomics.com
  • 13. Road map for early defect detection a) Assign technical safety requirements (TSRs) corresponding to the functional safety requirements (FSRs) to function’s z outputs. b) Use fault injection techniques to inject faults (similar to commonly occurring defect)s and other possible fault conditions at the x inputs. c) Fault scenarios leading to violation of TSRs/FSRs are identified; statistics are built on faults leading to failures; fault propagation properties are studied; fault tolerance system is strengthened. d) Repeat steps (b) & (c) to test, correct and validate the given system/function for its dependencies on other functions/components. e) Cause mutations to the “n” basic blocks of given functional model and asses the detection effectiveness of test suite/cases for possible implementation bugs. f) Examine mutants not killed by given set of test cases for their effect on FSRs. If a given mutation violates the FSRs then a suitable test case is created to detect/kill such mutants, i.e. detect such bugs in actual code.
  • 14. Road map for early defect detection
  • 15. Best Practices for early defect detection a) Build and maintain models corresponding to each abstraction layer of software architecture. b) Specify and test these models for FSRs and TSR at the appropriate abstraction level. c) Identify different types of defects/faults and at what stage they could be modelled/injected in the behavioural models. Testing models for common faults at the earliest would lead to models/software being build robust right from the start, instead of adding fault tolerance properties in the later stages of development.
  • 16. Conclusions 1. Software today play a critical role in the automotive product development. 2. Software development in automotive domain has widely adopted the paradigm of model based development (MBD). 3. Many of software function development are safety critical. 4. There are stringent quality requirements and need to adherence to functional safety standards such as ISO 26262. 5. There exist some problems with late defect discovery. 6. Development of behavioural models in MBD offers significant opportunity to do functional testing early in the development process. 7. FI and M.Testing in combination can be used effectively verify and validate functional properties of a software functions EARLY @model level.