Safety-Critical Systems 2 Requirement Engineering T- 79.5303 Spring 2008 Ilkka Herttua.

Slides:



Advertisements
Similar presentations
T Safety Critical Systems (4 cr)
Advertisements

ITIL: Service Transition
Safety-Critical Systems 2 Requirement Engineering T Spring 2006 Ilkka Herttua.
Integrated Messaging and Process Analysis Control Techniques  SEA Inc. Proprietary Data – Please Protect Accordingly 6100 Uptown Blvd., NE, Suite 700,
Safety-Critical Systems 2 T Risk analysis and design for safety Ilkka Herttua.
1 Solution proposal Exam 19. Mai 2000 No help tools allowed.
The Architecture Design Process
Helfried Rybin 1 AUTOMOBILENTWICKLUNG / ENGINEERING Safety Demands for Automotive Hydrogen Storage Systems Helfried Rybin.
CSC 402, Fall Requirements Analysis for Special Properties Systems Engineering (def?) –why? increasing complexity –ICBM’s (then TMI, Therac, Challenger...)
Chapter 2 - Overview of the Systems Engineering Design Process1 Aerospace Systems Engineering Chapter 2 - Overview of the Systems Engineering Design Process.
Tony Gould Quality Risk Management. 2 | PQ Workshop, Abu Dhabi | October 2010 Introduction Risk management is not new – we do it informally all the time.
Hazards Analysis & Risks Assessment By Sebastien A. Daleyden Vincent M. Goussen.
Testing safety-critical software systems
Romaric GUILLERM Hamid DEMMOU LAAS-CNRS Nabil SADOU SUPELEC/IETR ESM'2009, October 26-28, 2009, Holiday Inn Leicester, Leicester, United Kingdom.
Safety-Critical Systems 2 T Ilkka Herttua.
Telecom and Informatics 1 PSAM6, San Juan, Puerto Rico, USA - June 2002 ALLOCATING SAFETY INTEGRITY LEVELS IN PRACTICE Odd Nordland SINTEF, Trondheim,
Software Dependability CIS 376 Bruce R. Maxim UM-Dearborn.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 23 Slide 1 Software testing.
What is Business Analysis Planning & Monitoring?
Safety-Critical Systems 6 Quality Management and Certification T
Romaric GUILLERM Hamid DEMMOU LAAS-CNRS Nabil SADOU SUPELEC/IETR.
Software Testing Verification and validation planning Software inspections Software Inspection vs. Testing Automated static analysis Cleanroom software.
Chapter 7 Requirement Modeling : Flow, Behaviour, Patterns And WebApps.
ANSALDO: BACKGROUND experience in dependable Signalling Automation Systems experience in dependable Management Automation Systems experience in installation,
EE551 Real-Time Operating Systems
Introduction to RUP Spring Sharif Univ. of Tech.2 Outlines What is RUP? RUP Phases –Inception –Elaboration –Construction –Transition.
Safety-Critical Systems 6 Certification
Views from different perspectives
Engineering System Design
Effective Requirements Management – an overview Kristian Persson Field Product Manager, Telelogic Asia/Pacific.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 3 Slide 1 Critical Systems 1.
Essentials of Machine Safety Standards in Perspective.
Safety Critical Systems ITV Model-based Analysis and Design of Embedded Software Techniques and methods for Critical Software Anders P. Ravn Aalborg University.
FAULT TREE ANALYSIS (FTA). QUANTITATIVE RISK ANALYSIS Some of the commonly used quantitative risk assessment methods are; 1.Fault tree analysis (FTA)
Telecom and Informatics Odd Nordland, SINTEF Frank Renpenning, SIEMENS 1 PSAM6, San Juan, Puerto Rico, USA - June 2002 RISK ACCEPTABILITY CRITERIA FOR.
Safety-Critical Systems T Ilkka Herttua. Safety Context Diagram HUMANPROCESS SYSTEM - Hardware - Software - Operating Rules.
QUALITY RISK MANAGEMENT RASHID MAHMOOD MSc. Analytical Chemistry MS in Total Quality Management Senior Manager Quality Assurance Nabiqasim Group of Industries.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 22 Slide 1 Software Verification, Validation and Testing.
Safety-Critical Systems T Ilkka Herttua. Safety Context Diagram HUMANPROCESS SYSTEM - Hardware - Software - Operating Rules.
J1879 Robustness Validation Hand Book A Joint SAE, ZVEI, JSAE, AEC Automotive Electronics Robustness Validation Plan The current qualification and verification.
Software Engineering Prof. Ing. Ivo Vondrak, CSc. Dept. of Computer Science Technical University of Ostrava
Historical Aspects Origin of software engineering –NATO study group coined the term in 1967 Software crisis –Low quality, schedule delay, and cost overrun.
Safety Critical Systems 5 Testing T Safety Critical Systems.
Safety-Critical Systems 5 Testing and V&V T
Safety-Critical Systems 7 Summary T V - Lifecycle model System Acceptance System Integration & Test Module Integration & Test Requirements Analysis.
6 July 2000CSAM Team1 CERN Safety Alarm Monitoring Invitation to Tender Strategy CERN Safety Alarm System Supervisory Board 3st meeting CSAM project team.
Over View of CENELC Standards for Signalling Applications
Chapter 1: Fundamental of Testing Systems Testing & Evaluation (MNN1063)
Software Engineering1  Verification: The software should conform to its specification  Validation: The software should do what the user really requires.
Smart Home Technologies
SAFEWARE System Safety and Computers Chap18:Verification of Safety Author : Nancy G. Leveson University of Washington 1995 by Addison-Wesley Publishing.
Attributes Availability Reliability Safety Confidentiality Integrity Maintainability Dependability Means Fault Prevention Fault Tolerance Fault Removal.
1. 2 An Introduction to Software Engineering 3 What is software? Computer programs and associated documentation such as requirements, design models and.
Failure Modes and Effects Analysis (FMEA)
Safety-Critical Systems 3 T Designing Safety Software Ilkka Herttua.
Toward a New ATM Software Safety Assessment Methodology dott. Francesca Matarese.
ON “SOFTWARE ENGINEERING” SUBJECT TOPIC “RISK ANALYSIS AND MANAGEMENT” MASTER OF COMPUTER APPLICATION (5th Semester) Presented by: ANOOP GANGWAR SRMSCET,
Introduction to Safety Engineering for Safety-Critical Systems Seo Ryong Koo Dept. of Nuclear and Quantum Engineering KAIST Lab. Seminar.
ITIL: Service Transition
SYSTEM SAFETY AND THE TECHNICAL AUTHOR
Chapter 1- Introduction
Software Requirements
Quality Risk Management
J1879 Robustness Validation Hand Book A Joint SAE, ZVEI, JSAE, AEC Automotive Electronics Robustness Validation Plan Robustness Diagram Trends and Challenges.
Software testing.
Transmitted by the expert from ISO
PSS0 Configuration Management,
Hazards Analysis & Risks Assessment
A New Concept for Laboratory Quality Management Systems
Presentation transcript:

Safety-Critical Systems 2 Requirement Engineering T Spring 2008 Ilkka Herttua

Critical Applications Computer based systems used in transportation, chemical process and nuclear power plants. A failure in the system endangers human lives directly or through environment pollution. Also preferable approach for systems, which have large scale economic influence. (telecom, space)

Examples of computer failures in critical systems

Safety Context Diagram HUMANPROCESS SYSTEM - Hardware - Software - Technology - Operating Rules - Physical Facts - Designing - Operating

Current situation / critical systems Based on the data on recent failures of critical systems, the following can be concluded: a)Failures become more and more distributed and often nation-wide (e.g. air traffic control and commercial systems like credit card denial of authorisation) b)The source of failure is more rarely in hardware (physical faults), and more frequently in system design or end-user operation / interaction (software). c)The harm caused by failures is mostly economical, but sometimes health and safety concerns are also involved. d)Failures can impact many different aspects of dependability (dependability = ability to deliver service that can justifiably be trusted).

Safety Definition Safety: Safety is a property of a system that it will not endanger human life or the environment. Safety-Critical System: A system that is intended to achieve, on its own, the necessary level of safety integrity for the implementation of the required safety functions.

V - Lifecycle model System Acceptance System Integration & Test Module Integration & Test Requirements Analysis Requirements Model Test Scenarios Software Implementation & Unit Test Software Design Requirements Document Systems Analysis & Design Functional / Architechural - Model Specification Document Knowledge Base * * Configuration controlled Knowledge that is increasing in Understanding until Completion of the System: Requirements Documentation Requirements Traceability Model Data/Parameters Test Definition/Vectors

Overall safety lifecycle

Developing safety-related systems To achieve safety: 1. safety requirements (avoid possible hazards, risks) 2. quality management (follow up process) 3. design / system architecture (reliability) 4. defined design/manufacture processes 5. certification and approval processes (testing, proving) 6. known behaviour of the system in all conditions (modelling, formal verification)

1. Define the Problem Context Understanding the whole context –The problem context, and –The problem Setting the boundary –The application domain –The system –Their boundary Describing the context –Traditional context diagrams –The importance of showing the whole domain

Track vacan- cy proving ATP/ATOPoints Level crossings RadioSignals User specific objects Train ERTMS/ETCS Line block INTER- LOCKIN G X Data. Prep. system Installation rules and track layout MaintenanceEnvironmentHuman National rules Power source Traffic control system Diagnostics system Boundary 2 RBC Power Supply Route Setting Control Boundary 3 Locking Object Controller EURO-INTERLOCKING Context diagram working draft,

Safety 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.

Specification Supplier instructions how to build the system. Derived from the required functionality = Requirements. Requirements R + Domain Knowledge D => Specification S

Where do we go wrong? Many system failures are not failures to understand R requirements ; they are mistakes in D domain knowledge –A NYC subway train crashed into the rear end of another train on 5th June The motorman ran through a red light. The safety system did apply the emergency brakes. However the...signal spacing was set in 1918, when trains were shorter, lighter and slower, and the emergency brake system could not stop the train in time. Are you sure?

Requirement Engineering Right Requirements Ways to refine Requirements - complete – linking to hazards (possible dangerous events) - correct – testing & modelling - consistent – semi/formal language - unambiguous – text in real English

Requirement Engineering Tools – Doors (Telelogic) -Data base and configuration management -History, traceability and linking

Furnish Railway requirements Consultants KnowGravity Euro-Interlocking Core Team DOORS Requirements Database Railway Domain Experts Requirements Simulation Requirements Validation via Simulation Capture requirements Project Development Process Requirements Modelling

Traceability in DOORS RequirementSpecification Architectural Design Test Plan Follow Customer Ammendments through all the Documentation

Traceability - Requirements from Scenarios Goal hierarchy user requirements traceability Two people shall be able to lift the boat onto the roof of the average saloon car. The sailor shall be able to contact the coastguard when the boat is capsized. The sailor shall be able to perform a tacking manoeuvre. To have sailed and survived Ready to sail Sailed Returned home Boat loaded Boat lifted Boat unloaded Boat rigged Boat on car Mast rigged Center-plate rigged Rudder rigged Gibed Boat manoeuvred Tacked Cruised Boat capsized Gone ashore Boat righted Coast guard contacted

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. The Value of life?? Value of life is estimated between 0.75M –2,5M Euro. USA numbers higher.

Risk Analysis Classes: - Catastrophic – multiple deaths >10 - Critical – a death or severe injuries - Marginal – a severe injury - Insignificant – a minor injury Frequency Categories: Frequent 0,1 events/year Probable0,01 Occasional0,001 Remote0,0001 Improbable0,00001 Incredible0,000001

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)

Fault Tree Analysis 1 The diagram shows a heater controller for a tank of toxic liquid. The computer controls the heater using a power switch on the basis of information obtained from a temperature sensor. The sensor is connected to the computer via an electronic interface that supplies a binary signal indicating when the liquid is up to its required temperature. The top event of the fault tree is the liquid being heated above its required temperature.

Fault event not fully traced to its source Basic event, input Fault event resulting from other events OR connection

Risk acceptability National/international decision – level of an acceptable loss (ethical, political and economical) Risk Analysis Evaluation: ALARP – as low as reasonable practical (UK, USA) “Societal risk has to be examined when there is a possibility of a catastrophe involving a large number of casualties” GAMAB – Globalement Au Moins Aussi Bon = not greater than before (France) “All new systems must offer a level of risk globally at least as good as the one offered by any equivalent existing system” MEM – minimum endogenous mortality “Hazard due to a new system would not significantly augment the figure of the minimum endogenous mortality for an individual”

Risk acceptability Tolerable hazard rate (THR) – A hazard rate which guarantees that the resulting risk does not exceed a target individual risk SIL 4 = < THR < per hour and per function SIL 3 = < THR < SIL 2 = < THR < SIL 1 =10 -6 < THR < Potential Loss of Life (PLL) expected number of casualties per year SIL = safety integrity level

V - Lifecycle model System Acceptance System Integration & Test Module Integration & Test Requirements Analysis Requirements Model Test Scenarios Software Implementation & Unit Test Software Design Requirements Document Systems Analysis & Design Functional / Architechural - Model Specification Document Knowledge Base * * Configuration controlled Knowledge that is increasing in Understanding until Completion of the System: Requirements Documentation Requirements Traceability Model Data/Parameters Test Definition/Vectors

Additional home assignments From Neil Storey’s book Safety Critical Computer Systems 1.12 (Please define primary, functional and indirect safety) 2.4 (Please define unavailability) by 14 February to