safety-critical systems 7 summary t 79.5303. v - lifecycle model system acceptance system...

22
Safety-Critical Systems 7 Summary T 79.5303

Upload: isabella-dorsey

Post on 05-Jan-2016

217 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Safety-Critical Systems 7 Summary T 79.5303. V - Lifecycle model System Acceptance System Integration & Test Module Integration & Test Requirements Analysis

Safety-Critical Systems 7Summary

T 79.5303

Page 2: Safety-Critical Systems 7 Summary T 79.5303. V - Lifecycle model System Acceptance System Integration & Test Module Integration & Test Requirements Analysis

V - Lifecycle model

SystemAcceptance

System Integration & Test

Module Integration & Test

Requirements Analysis

Requirements Model

Test Scenarios Test Scenarios

SoftwareImplementation

& Unit Test

SoftwareDesign

Requirements Document

Systems Analysis &

Design

Functional / Architechural - Model

Specification Document K

now

led

ge B

ase

** Configuration controlled Knowledge that is increasing in Understanding until Completion of the System:

• Requirements Documentation• Requirements Traceability• Model Data/Parameters• Test Definition/Vectors

Page 3: Safety-Critical Systems 7 Summary T 79.5303. V - Lifecycle model System Acceptance System Integration & Test Module Integration & Test Requirements Analysis

1. - Requirements

• Requirements are stakeholders (customer) demands – what they want the system to do.

• Not defining how !!! => specification

• Safety requirements are defining what the system must do and must not do in order to ensure safety. Both positive and negative functionality.

 

Page 4: Safety-Critical Systems 7 Summary T 79.5303. V - Lifecycle model System Acceptance System Integration & Test Module Integration & Test Requirements Analysis

1. - Requirement Engineering Right Requirements

• Ways to better Requirements - complete – use linking to hazards (possible

dangerous events)- correct – validating with tests & model- consistent – use semi/formal language- unambiguous – use terms and sentences which

are understandable

 

Page 5: Safety-Critical Systems 7 Summary T 79.5303. V - Lifecycle model System Acceptance System Integration & Test Module Integration & Test Requirements Analysis

1. - Hazard Analysis

• A Hazard is situation in which there is actual or potential danger to people or to environment.

• Analytical techniques: - Failure modes and effects analysis (FMEA) - Failure modes, effects and criticality analysis (FMECA) - Hazard and operability studies (HAZOP) - Event tree analysis (ETA) - Fault tree analysis (FTA)

Page 6: Safety-Critical Systems 7 Summary T 79.5303. V - Lifecycle model System Acceptance System Integration & Test Module Integration & Test Requirements Analysis

1. - Hazard formalisation

hazardous state undesired state(damage)

undesired event(accident occurence)

safe state

i.e. protection process

a

p

Page 7: Safety-Critical Systems 7 Summary T 79.5303. V - Lifecycle model System Acceptance System Integration & Test Module Integration & Test Requirements Analysis

1. – Multiple Hazards

condition 1

condition 2

condition 3

Situation/Szenario A hazardous state 1 undesired state(damage 1)

undesired event(accident occurence)

safe state

i.e. protection process

a

p

hazard occurence 1

hazardous state 2 undesired state(damage 2)

undesired event(accident occurence)

safe state

i.e. protection process

a

p

hazard occurence 2

condition 4

Situation/Szenario B

HAZARD B

HAZARD A

Page 8: Safety-Critical Systems 7 Summary T 79.5303. V - Lifecycle model System Acceptance System Integration & Test Module Integration & Test Requirements Analysis

1. - Risk Analysis

• Risk is a combination of the severity (class) and frequency (probability) of the hazardous event.

• Risk Analysis is a process of evaluating the probability of hazardous events.

Page 9: Safety-Critical Systems 7 Summary T 79.5303. V - Lifecycle model System Acceptance System Integration & Test Module Integration & Test Requirements Analysis

2. - Safety Design

• Faults groups:

- requirement/specification errors

- random component failures

- systematic faults in design (software)• Approaches to tackle problems

- right system architecture (fault-tolerant)

- reliability engineering (component, system)

- quality management (designing and producing processes)

Page 10: Safety-Critical Systems 7 Summary T 79.5303. V - Lifecycle model System Acceptance System Integration & Test Module Integration & Test Requirements Analysis

2. - Safety Design• Hierarchical design

- simple modules, encapsulated functionality- separated safety kernel – safety critical functions

• Maintainability- preventative versa corrective maintenance- scheduled maintenance routines for whole lifecycle - easy to find faults and repair – short MTTR mean time to repair

• Human error- Proper HMI

Page 11: Safety-Critical Systems 7 Summary T 79.5303. V - Lifecycle model System Acceptance System Integration & Test Module Integration & Test Requirements Analysis

• Fault tolerance hardware- Achieved mainly by redundancy Redundancy- Adds cost, weight, power consumption, complexityOther means:- Improved maintenance, single system with better materials (higher MTBF)

2.Safety Design – Fault Tolerance

Page 12: Safety-Critical Systems 7 Summary T 79.5303. V - Lifecycle model System Acceptance System Integration & Test Module Integration & Test Requirements Analysis

3. Safety-Critical Software Correct Program:- Normally iteration is needed to develop a working solution. (writing code, testing and modification).- In non-critical environment code is accepted, when tests are passed.- Testing is not enough for safety-critical application – Needs an assessment process: dynamic/static testing, simulation, code analysis and formal verification.

Page 13: Safety-Critical Systems 7 Summary T 79.5303. V - Lifecycle model System Acceptance System Integration & Test Module Integration & Test Requirements Analysis

3. Safety-Critical Software

Dependable Software :

- Process for development

- Work discipline

- Well documented

- Quality management

- Validated/verificated

Page 14: Safety-Critical Systems 7 Summary T 79.5303. V - Lifecycle model System Acceptance System Integration & Test Module Integration & Test Requirements Analysis

3. Safety-Critical Software

Designing Principles- Use hardware interlocks together with computer/software solutions- New software features add complexity, try to keep software simple - Plan for avoiding human error – unambigious human-computer interface- Remove unused code or modules

Page 15: Safety-Critical Systems 7 Summary T 79.5303. V - Lifecycle model System Acceptance System Integration & Test Module Integration & Test Requirements Analysis

3. Safety-Critical Software

Designing Principles- Add barriers: hard/software locks for critical parts- Minimise single point failures: increase safety margins, exploit redundancy and allow recovery.- Isolate failures: module integrity- Fail-safe: panic shut-downs, watchdog code- Avoid common mode failures: Use diversity – different programmers, n-version programming

Page 16: Safety-Critical Systems 7 Summary T 79.5303. V - Lifecycle model System Acceptance System Integration & Test Module Integration & Test Requirements Analysis

3. Safety-Critical Software

Designing Principles:

- Fault tolerance: Recovery blocks – if one module fails, execute alternative module.

- Don‘t relay on run-time operating systems on time critical solutions

Page 17: Safety-Critical Systems 7 Summary T 79.5303. V - Lifecycle model System Acceptance System Integration & Test Module Integration & Test Requirements Analysis

3. Safety-Critical Software

Reduction of Hazardous Conditions -summary- Simplify: Code contains only minimum features and no unnecessary or undocumented features or unused executable code- Diversity: Data and control redundancy - Multi-version programming: shared specification leads to common-mode failures, but synchronisation code increases complexity

Page 18: Safety-Critical Systems 7 Summary T 79.5303. V - Lifecycle model System Acceptance System Integration & Test Module Integration & Test Requirements Analysis

Verified software process

Page 19: Safety-Critical Systems 7 Summary T 79.5303. V - Lifecycle model System Acceptance System Integration & Test Module Integration & Test Requirements Analysis

4. TestingTesting is a process used to verify or validate system or its components.- Module testing – evaluation of a small function of the hardware/software.- System integration testing – investigates correct interaction of modules.- System validation testing – a complete system satisfies its requirements.

Page 20: Safety-Critical Systems 7 Summary T 79.5303. V - Lifecycle model System Acceptance System Integration & Test Module Integration & Test Requirements Analysis

5. Safety Management

Page 21: Safety-Critical Systems 7 Summary T 79.5303. V - Lifecycle model System Acceptance System Integration & Test Module Integration & Test Requirements Analysis

6. Certification

• Process to indicate conformance with a standard – checked by an authorised body.

• National Safety Authority, Minister of Transportation

• International institutes and certified /notified bodies in EU

• Follow given guidelines, like DO-178B, IEC 61508 or CENELEC norms.

Page 22: Safety-Critical Systems 7 Summary T 79.5303. V - Lifecycle model System Acceptance System Integration & Test Module Integration & Test Requirements Analysis

Safety-Critical Systems

• Further information:- ERCIM working group on Formal Methods for

Industrial Critical System FMICS www.inrialpes.fr/vasy/fmics/

- International Conference on Computer Safety, Reliability and Security www.safecomp.org.

Please email your addtional home assignments by 15 May 2008 to [email protected] References: OFFIS, I-Logix, KnowGravity