Safety Issues in Automotive Software



Similar documents
Safety in Automotive Software: an Overview of Current Practices

ASSESSMENT OF THE ISO STANDARD, ROAD VEHICLES FUNCTIONAL SAFETY

Safety and security related features in AUTOSAR

ISO Introduction

Reduce Medical Device Compliance Costs with Best Practices.

How to Upgrade SPICE-Compliant Processes for Functional Safety

Safety Lifecycle illustrated with exemplified EPS

Intelligent development tools Design methods and tools Functional safety

Software Production. Industrialized integration and validation of TargetLink models for series production

Dr. Brian Murray March 4, 2011

Introduction of ISO/DIS (ISO 26262) Parts of ISO ASIL Levels Part 6 : Product Development Software Level

Effective Application of Software Safety Techniques for Automotive Embedded Control Systems SAE TECHNICAL PAPER SERIES

Do AUTOSAR and functional safety rule each other out?

Functional Safety with ISO Principles and Practice Dr. Christof Ebert, Dr. Arnulf Braatz Vector Consulting Services

Customer Experience. Silicon. Support & Professional Eng. Services. Freescale Provided SW & Solutions

Software in safety critical systems

System Safety Process Applied to Automotive High Voltage Propulsion Systems

TÜ V Rheinland Industrie Service

Virtual Integration and Consistent Testing of Advanced Driver Assistance Functions

Real Time Embedded Software Development Using Agile Technology An Experience Report

When COTS is not SOUP Commercial Off-the-Shelf Software in Medical Systems. Chris Hobbs, Senior Developer, Safe Systems

TESSY Automated dynamic module/unit and. CTE Classification Tree Editor. integration testing of embedded applications. for test case specifications

ISO Functional Safety Draft International Standard for Road Vehicles: Background, Status, and Overview

Validation & Verification of Safety Critical Systems in the Aerospace Domain.

Testing of safety-critical software some principles

Developing software for Autonomous Vehicle Applications; a Look Into the Software Development Process

Hardware in the Loop (HIL) Testing VU 2.0, , WS 2008/09

Software Health Management An Introduction. Gabor Karsai Vanderbilt University/ISIS

Safety-Critical Systems: Processes, Standards and Certification

Impact of Safety Standards to Processes and Methodologies. Dr. Herbert Eichfeld

What is Automotive Software Engineering? What is Automotive Software Engineering? What is Automotive Software Engineering?

IEC Functional Safety Assessment. Project: K-TEK Corporation AT100, AT100S, AT200 Magnetostrictive Level Transmitter.

Vetting Smart Instruments for the Nuclear Industry

Safety Critical & High Availability Systems

IBM Rational Rhapsody

Software Engineering Compiled By: Roshani Ghimire Page 1

Development of AUTOSAR Software Components within Model-Based Design

Automotive Black Box Data Recovery Systems

ELECTROTECHNIQUE IEC INTERNATIONALE INTERNATIONAL ELECTROTECHNICAL

Open Source Software

IEC Overview Report

CSC 408F/CSC2105F Lecture Notes

Automotive Software Engineering at Hella KGaA. Software Engineering for Software Intensive Systems,

Advanced Electronic Platform Technologies Supporting Development of Complicated Vehicle Control Software

Vehicle Electronics. Services and Solutions to Manage the Complexity

CS 1632 SOFTWARE QUALITY ASSURANCE. 2 Marks. Sample Questions and Answers

Introduction into IEC Software life cycle for medical devices

Your Software Quality is Our Business. INDEPENDENT VERIFICATION AND VALIDATION (IV&V) WHITE PAPER Prepared by Adnet, Inc.

Chap 1. Software Quality Management

Fundamentals of Measurements

JEREMY SALINGER Innovation Program Manager Electrical & Control Systems Research Lab GM Global Research & Development

Meeting DO-178B Software Verification Guidelines with Coverity Integrity Center

Estimating Software Reliability In the Absence of Data

FSW QA Testing Levels Definitions

CC Family of Data Collectors

Adaptive Cruise Control System Overview

SOFTWARE PERFORMANCE TESTING SERVICE

Darshan Institute of Engineering & Technology Unit : 7

The Problem: Automotive safety recalls, Control Systems Diagnostics, Stability Control, Traction Control, Anti-lock Braking, Adaptive Cruise Control

Created by: Austin Davis Neel Iyer Darcie Jones Sascha Schwarz

Efficient and Faster PLC Software Development Process for Automotive industry. Demetrio Cortese IVECO Embedded Software Design

Electronic Power Control

Agile Model-Based Systems Engineering (ambse)

Software Engineering for Real- Time Systems.

Embedded Systems Lecture 9: Reliability & Fault Tolerance. Björn Franke University of Edinburgh

Application of software product quality international standards through software development life cycle

SAFE SOFTWARE FOR SPACE APPLICATIONS: BUILDING ON THE DO-178 EXPERIENCE. Cheryl A. Dorsey Digital Flight / Solutions cadorsey@df-solutions.

Software testing. Objectives

Challenges for the European Automotive Software Industry

RAMS Software Techniques in European Space Projects

ELEC 5260/6260/6266 Embedded Computing Systems

A Comprehensive Safety Engineering Approach for Software Intensive Systems based on STPA

Industrial Application of MultiPARTES

ISOLATING UNTRUSTED SOFTWARE ON SECURE SYSTEMS HYPERVISOR CASE STUDY

Procedia Computer Science

Automotive Software Development Challenges Virtualisation and Embedded Security

Why SIL3? Josse Brys TUV Engineer

Wiederverwendung von Testfällen bei der modellbasierten SW-Entwicklung

Safety Certification of Software-Intensive Systems with Reusable Components

Selecting Sensors for Safety Instrumented Systems per IEC (ISA )

A Case Study of Application Development and Production Code Generation for a Telematics ECU with Full Unified Diagnostics Services

Automotive System and Software Architecture

Safe-E. Safe-E Introduction. Coordination: Andreas ECKEL TTTech Computertechnik AG

How CMMI contributes to Software Testing

INTERACTIVE DISTANCE LEARNING ANTI-LOCK BRAKE SPECIALIST: KELSEY HAYES REAR WHEEL ANTI-LOCK BRAKING SYSTEMS (RWAL/RABS)

Best Practices for Verification, Validation, and Test in Model- Based Design

Embedded OS. Product Information

Intecs S.p.A. AUTOSAR Conformance Testing: an overview

Dr. Alexander Walsch IN 2244 Part V WS 2013/14 Technische Universität München

Logic solver application software and operator interface

SOFTWARE DEVELOPMENT STANDARD FOR SPACECRAFT

Safe Automotive software architecture (SAFE) WP3 Deliverable D3.6.b: Safety Code Generator Specification

Sample Testing Using Cleanroom

Satisfying ASIL Requirements with Parasoft C++test Achieving Functional Safety in the Automotive Industry

Service Manual Trucks

A Safety Methodology for ADAS Designs in FPGAs

MOCET A Certification Scaffold for Critical Software

System Aware Cyber Security

SAFETY LIFE-CYCLE HOW TO IMPLEMENT A

SOFTWARE VERIFICATION RESEARCH CENTRE SCHOOL OF INFORMATION TECHNOLOGY THE UNIVERSITY OF QUEENSLAND. Queensland 4072 Australia TECHNICAL REPORT

Transcription:

Safety Issues in Automotive Software Paolo Panaroni, Giovanni Sartori INTECS S.p.A. SAFEWARE 1

INTECS & Safety A very large number of safety software development, V&V activities and research project on safety, since 1974 (defense, space, nuclear, railway, automotive) SW RAMS Methods for the European Space Agengy, ECSS standards contribution (on board sw) Software Reliability Modeling (with Center for Software Reliability, UK) International Workshop on Software Reuse and Safety, Turin, June 2006 (Program Organization) 2

Common misconceptions Software per-se does not harm anybody (but it can order to harm!) Software Safety = Software Reliability ( a car that does not start is safe ) Nancy Leveson 3

Safety vs. Reliability Reliability has to cope with MTBF while safety has to cope with failure occurences, consequences and severity A number of safety protective measures may even adversely affect reliability (in suspect => fail safe). 4

Quantitative Analysis The application of quantitative analysis to automotive software is generally considered impractical since it is not possible to quantify the probability of software failure An increasing level of rigour is applied, instead, to the development and verification process (e.g. ASIL A,B,C,D) 5

Automotive safeware examples ABS (Anti-lock Braking Systems) ACC (Adaptive Cruise Control) ESC (Electronic Stability Control) BBW, EPB SBW Airbags, light control, dashboard Tyre pressure, lane departure warning etc. 6

Automotive Safety Standards IEC 61508 Part 3 (generic, cross domain) MISRA Integrity Guidelines MISRA C:2004 WD 26262 part 6 (work in progress, started Nov. 2005) MIL STD 882D, DO 178B, ECSS Q30/Q40, DEF STAN Studies/Projects (examples) DRIVE Safely PASSPORT EASIS 7

Safety relevant functions software function output => system malfunction => driver loss of control => accident => harm if a software function output may lead to an harm that software function is said safety relevant (safety critical) 8

Safety Integrity Level Safety relevant software function implies to: 1. Verify that what is specified is safe 2. Ensure implementation meets specification: adopt a rigorous (high integrity) process for its development and verification 3. Develop anyhow protective measure (either HW or SW or both) (includes Fault Detection, Isolation and Recovery - FDIR) 9

Software Failure Modes Omission (output is not provided) Commission (output is provided when not required) Late Early Wrong Value coarse (detectable/not palusible) Wrong Value subtle (undetectable/plausible) Stuck (Value does not change) 10

FAILURE TOLERANCE FAIL FAIL SILENT FAIL SAFE FAIL DEGRADATED/FAIL REDUCED FAIL (FULL) OPERATIONAL 11

FAULT TREATMENTS FAULT PREVENTION FAULT REMOVAL FAULT DETECTION/RECOGNITION FAULT ISOLATION/CONTAINMENT FAULT RECOVERY 12

FAULT PREVENTION Mature and rigorous software process (e.g. SPICE, CMMI) Software life cycle (e.g V life cycle) Simplicity (KISS), FMEA Semi-formal methods (e.g. UML, Simulink) Standard architectures (AutoSAR) MISRA C, Certified compilers, kernels, libs (e.g. OSEK) Dual programming Metrics conformances (e.g. nesting depth, cyclomatic complexity, also at Model level) Schedulability Analysys (WCETA) Memory Usage Analysis (WCMUA) Safety oriented organization (independence, competence, planning, verification, assessment, suppliers control) 13

FAULT REMOVAL Peer Reviews/Code inspections Static Analysis Tools (on code*, on models) Unit test (100% MD/MC, branch coverage) Re-run the test with no instrumentation and on the target Boundary value and Equivalence class Partitioning tests Integration test (100% call-pair coverage) Validation test (100% requirement coverage) Defects seeding/fault injection (*) Tools like polyspace perform an extensive analysis capable to intercept typical run time errors. Run time errors may be as high as 30%- 40% of total errors 14

FAULT DETECTION Plausibility checks/defensive programming/assertions/pre-post conditions Checksum Data redundancy Watchdog Intelligent watch dog (Reference value check Q/A game) Redundant/diversified function 15

ISOLATION/CONTAINMENT Damage assessment Fault region identification Confinement Prevent propagation/cascade 16

FAULT RECOVERY/HANDLING REMAIN SILENT / SEND ERROR CODE/STORE Diagnostic Trouble Code CORRECT (e.g. parity checks) RESET/RETRY ALTERNATIVE SAFE (e.g. switch to mechanical link) ALTERNATIVE DEGRADATED (e.g. simplified break control based only on the pedal stroke value) ALTERNATIVE OPERATIONAL (diversified programming/n version programming) 17

Software Safety Architectures an overview 18

Simplex approach control software hardware sensors actuators 19

Software checks Hardware control software HW check hardware sensors actuators 20

Self checking software control software HW check monitoring software hardware sensors actuators 21

Watchdog WatchDog hardware WD Primary control software HW check monitoring software hardware Inhibitor sensors actuators 22

Asymmetric/Intelligent Watchdog Secondary monitoring software hardware Primary control software HW check monitoring software hardware Inhibitor/Degradated sensors actuators 23

Duplex/Dual redundant diversified control software HW check hardware monitoring software control software HW check monitoring software hardware Comparator 2oo2 (2 out of 2) or the single survived sensors actuators 24

Triplex/Triple Redundant diversified control software control control monitoring software software HW check software monitoring monitoring HW check software HW hardware check software hardware hardware majority voter 2oo3 (2 out of 3) sensors actuators It is not proven that the effort required to develop diversified software versions provides better results than building a single roboust software version (golden version) Common Mode failures may be very high 25