EE551 Real-Time Operating Systems

Slides:



Advertisements
Similar presentations
Ways to Improve the Hazard Management Process
Advertisements

Medical Device Software Development
11. Practical fault-tolerant system design Reliable System Design 2005 by: Amir M. Rahmani.
Annex I: Methods & Tools prepared by some members of the ICH Q9 EWG for example only; not an official policy/guidance July 2006, slide 1 ICH Q9 QUALITY.
Risk Analysis for Testing Based on Chapter 9 of Text Based on the article “ A Test Manager’s Guide to Risks Analysis and Management” by Rex Black published.
Chapter 21: Product Issues Design of Biomedical Devices and Systems By: Paul H. King Richard C. Fries.
Overview Lesson 10,11 - Software Quality Assurance
1 Solution proposal Exam 19. Mai 2000 No help tools allowed.
1 Software Testing and Quality Assurance Lecture 38 – Software Quality Assurance.
1 Software Testing and Quality Assurance Lecture 37 – Software Quality Assurance.
SWE Introduction to Software Engineering
CSC 402, Fall Requirements Analysis for Special Properties Systems Engineering (def?) –why? increasing complexity –ICBM’s (then TMI, Therac, Challenger...)
Title slide PIPELINE QRA SEMINAR. PIPELINE RISK ASSESSMENT INTRODUCTION TO RISK IDENTIFICATION 2.
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.
Planning and Tracking Software Quality Yordan Dimitrov Telerik Corporation
Chapter 11: Testing The dynamic verification of the behavior of a program on a finite set of test cases, suitable selected from the usually infinite execution.
©Ian Sommerville 2006Critical Systems Slide 1 Critical Systems Engineering l Processes and techniques for developing critical systems.
CIS 376 Bruce R. Maxim UM-Dearborn
Quality Risk Management ICH Q9 Annex I: Methods & Tools
Testing safety-critical software systems
DELIVERING SAFE & RELIABLE OPERATION
Software Project Management
System Testing There are several steps in testing the system: –Function testing –Performance testing –Acceptance testing –Installation testing.
Annex I: Methods & Tools prepared by some members of the ICH Q9 EWG for example only; not an official policy/guidance July 2006, slide 1 ICH Q9 QUALITY.
Quality in Product and Process Design Pertemuan 13-14
Quality Risk Management Methodology Anthony Cumberlege SAPRAA meeting - Randpark golf club, 20 March 2009.
Planning and Tracking Software Quality.  What Is Software Quality?  Causes of Software Defects  What is Quality Assurance?  Improving the Software.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 9 Slide 1 Critical Systems Specification 2.
WHAT IS SYSTEM SAFETY? The field of safety analysis in which systems are evaluated using a number of different techniques to improve safety. There are.
Safety-Critical Systems 6 Certification
Software Safety CS3300 Fall Failures are costly ● Bhopal 1984 – 3000 dead and injured ● Therac – 6 dead ● Chernobyl / Three Mile.
CSE 403 Lecture 14 Safety and Security Requirements.
Topic (1)Software Engineering (601321)1 Introduction Complex and large SW. SW crises Expensive HW. Custom SW. Batch execution.
1 Software Testing and Quality Assurance Lecture 33 – Software Quality Assurance.
FAULT TREE ANALYSIS (FTA). QUANTITATIVE RISK ANALYSIS Some of the commonly used quantitative risk assessment methods are; 1.Fault tree analysis (FTA)
Blaine Best David Mette Katie Kodrich Allie Pitchler Kyle Killam “An error doesn’t become a mistake until you refuse to correct it.” - Orlando A. Battista.
© 2008 Wayne Wolf Overheads for Computers as Components 2nd ed. System design techniques Quality assurance. 1.
M. Frize, Winter 2003 Reliability and Medical Devices Prof. Monique Frize, P. Eng., O.C. ELG5123/ February 2003.
Safety-Critical Systems T Ilkka Herttua. Safety Context Diagram HUMANPROCESS SYSTEM - Hardware - Software - Operating Rules.
Software Testing and Quality Assurance Software Quality Assurance 1.
Hazard Analysis. 2 Lecture Topics Hazards and Accidents Hazard Analysis.
1 Safety - definitions Accident - an unanticipated loss of life, injury, or other cost beyond a pre-determined threshhold.  If you expect it, it’s not.
Quality Assurance.
Safety-Critical Systems 7 Summary T V - Lifecycle model System Acceptance System Integration & Test Module Integration & Test Requirements Analysis.
CS551 - Lecture 5 1 CS551 Lecture 5: Quality Attributes Yugi Lee FH #555 (816)
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 9 Slide 1 Critical Systems Specification 1.
Objectives Students will be able to:
Chapter 1: Fundamental of Testing Systems Testing & Evaluation (MNN1063)
RLV Reliability Analysis Guidelines Terry Hardy AST-300/Systems Engineering and Training Division October 26, 2004.
SAFEWARE System Safety and Computers Chap18:Verification of Safety Author : Nancy G. Leveson University of Washington 1995 by Addison-Wesley Publishing.
CSE 403, Software Engineering Lecture 6
Software Engineering Lecture 8: Quality Assurance.
Stan O’Neill Managing Director, The Compliance Group.
1 Software Testing and Quality Assurance Lecture 38 – Software Quality Assurance.
Failure Modes, Effects and Criticality Analysis
Risk Assessment: A Practical Guide to Assessing Operational Risk
ON “SOFTWARE ENGINEERING” SUBJECT TOPIC “RISK ANALYSIS AND MANAGEMENT” MASTER OF COMPUTER APPLICATION (5th Semester) Presented by: ANOOP GANGWAR SRMSCET,
Process Safety Management Soft Skills Programme Nexus Alliance Ltd.
Introduction to Safety Engineering for Safety-Critical Systems Seo Ryong Koo Dept. of Nuclear and Quantum Engineering KAIST Lab. Seminar.
KEVIN BEDAL LISA CARLIN MATT CARROLL ERIN NICHOLS Product Safety & Failure Analysis.
Medical Device Software Development
Software Development and Safety Critical Decisions
Software Quality Assurance
Quality Risk Management
יוסי שדמתי רק איכות מניהול סיכונים לאימות ותיקוף תהליכי הרכבה From Risk Management to Processes Validation יוסי.
Software Engineering for Safety: a Roadmap
Overview Dependability: "[..] the trustworthiness of a computing system which allows reliance to be justifiably placed on the service it delivers [..]"
A New Concept for Laboratory Quality Management Systems
ISO and TR Update for FDA Regulated Industries
Presentation transcript:

EE551 Real-Time Operating Systems Safety Critical Systems Analysis Course originally developed by Maj Ron Smith

Safety Critical Software Systems – ilities of Systems Software safety is one of the “ilities” of that is part of non-functional requirements specifies criteria that can be used to judge the operation of a system, rather than specific behaviors What separates safety critical software from other kinds of software is the potential that it has to contribute to hazardous system states. Hazards in a system are contributing factors in the risks of accidents that can lead to the following:

Safety Critical Software Systems – ilities of Systems Execution Qualities Usability and Operability Security Reliability Safety Fault Tolerance Evolution Qualities Maintainbility, Understandability and Modifiability Supportability (Integrated Logistics Support) Testability Portability Scalability and Extensibility Integrity – often used to encompass other ilities What separates safety critical software from other kinds of software is the potential that it has to contribute to hazardous system states. Hazards in a system are contributing factors in the risks of accidents that can lead to the following:

Safety Critical Software Systems – ilities of Systems Safety and reliability are often misinterpreted There is a school of thought that states that safety is a subset of reliability What separates safety critical software from other kinds of software is the potential that it has to contribute to hazardous system states. Hazards in a system are contributing factors in the risks of accidents that can lead to the following:

Major RW Smith Software Reliability (part1) - 5 reliability, R(t) - the probability that, when operating under stated environmental conditions, a system will perform its intended function adequately for a specified interval of time. a measure of the success with which a system conforms to some authoritative specification of its behavior most frequent hardware metric - MTBF failure rate is more universal in software probability that a program will operate correctly in a specified environment for a specified length of time. 21-Apr-17 Major RW Smith Software Reliability (part1) - 5

Safeware: System Safety and Computers Nancy G. Leveson Safety Critical Software Systems – Authoritative text Safeware: System Safety and Computers Nancy G. Leveson ISBN-10: 0201119722 | ISBN-13: 978-0201119725

Safety Critical Software Systems Potential of the software to lead to hazardous system states Hazards can lead to accidents and: Death Serious Injuries Damage to environment Significant loss of material Loss of strategic advantage What separates safety critical software from other kinds of software is the potential that it has to contribute to hazardous system states. Hazards in a system are contributing factors in the risks of accidents that can lead to the following:

Safety Critical Systems

Safety Critical Systems

Safety Critical Systems

Safety Critical Systems

Examples of failures: Medical Therac-25 (1985-87)(extreme case) Bloodbank software released over 1M “failed” plasma units on the market. Pacemakers reset to unsafe parameters due to external radiation sources (antitheft devices, microwaves,…) Infusion pumps delivering the wrong rate of medicine. The literature is full of examples of accidents involving safety critical systems. Here these examples list a few examples studied by the FDA.

Safety Critical Software Systems Safety Critical Software cannot be verified and validated using “traditional” methods to derive test cases Must use risk management and hazard analysis techniques Root Cause Analysis It is important to know that Safety Critical Software cannot be verified and validated using traditional V&V methods We must use risk management and hazard analysis techniques to prove the system safe.

Safety Critical Software Systems Hazard Analysis techniques Hazard list from similar devices Hazard and Operability (HAZOP) Analysis Fault Tree Analysis (FTA) Event Tree Analysis (ETA) Failure Modes and Effects Analysis (FMEA) Failure Modes, Effects and Criticality Analysis (FMECA) Here is a list of hazard analysis techniques that have been successfully used on safety critical software in the past. In the next few of slides, we will take a brief look at each of the methods.

Safety Critical Systems - Hazard Analysis – Hazard List Known hazards lists or reports from previous similar devices Lessons Learned DB (internal to companies) Recall notices (general public – industry wide) Food and Drug Administration Web Site (MAUDE) http://www.accessdata.fda.gov/scripts/cdrh/cfdocs/cfmaude/search.cfm Federal Aviation Agency http://www.faa.gov/data_research/accident_incident/ Transport Canada (CADORS) http://wwwapps.tc.gc.ca/Saf-Sec-Sur/2/CADORS-SCREAQ/m.aspx?lang=eng The simplest hazard analysis method consists of looking at known hazards list from previous similar devices. These lists can come from lessons learned, recall notices or obtained from the FDA If there are no similar systems, then a brainstorming session can be conducted. Generic lists such as the one found in Annex D of ISO 14 971 can be also be used.

Safety Critical Systems - Hazard Analysis – Hazard List Brainstorming session Generic lists (ISO 14971 Annex D) The simplest hazard analysis method consists of looking at known hazards list from previous similar devices. These lists can come from lessons learned, recall notices or obtained from the FDA If there are no similar systems, then a brainstorming session can be conducted. Generic lists such as the one found in Annex D of ISO 14 971 can be also be used.

Safety Critical Systems - Hazard Analysis – HAZOP Hazard and Operability Study Process oriented is a structured and systematic examination of a planned or existing process or operation to identify and evaluate problems that may represent risks to personnel, equipment or environment Originates from Chemical Industry The next method is HAZOP. HAZOP is ideal for process based systems. It has been widely applied for safety analysis of chemical plants. Hazop is used to identify hazards that may occur while operating a system outside of its original intent.

Safety Critical Systems - Hazard Analysis – HAZOP Analyze the behavior of a system based on operating deviations from original design or intent Decomposition of system into sub-processes or items (systems, subsystems, components) Parameters (flow, temperature, pressure,…) Systematic qualitative analysis with Guide words (less, more, inverse, too high, too low, before…) Hazop decomposes a system into items or sub-processes. Each process is described by a set of parameters. The expected behavior of the system is analyzed systematically with the use of defined guide words.

Safety Critical Systems - Hazard Analysis - FTA Fault Tree Analysis is the most used of all Hazard analysis methods for safety critical software. Each hazard is analyzed using a deductive or backward approach. You start with the hazard then you trace back to the possible events that could cause it. The resulting analysis is in the form of a Boolean tree. The interesting part of this technique is that the leaves of the tree form a test case generation oracle. The weakness of FTA is that there is no chronological ordering to the events displayed.

Safety Critical Systems - Hazard Analysis - ETA Control measures Event Tree Analysis use a forward or inductive approach to hazard analysis. The ETA tree is similar to a binary decision tree. The protection mechanisms are listed at the top of the tree. The tree starts with an event that can lead to a hazard. At each level, the tree will branch for successful and failure of the protection measure.S

Safety Critical Systems - Hazard Analysis – FME(C)A Item Failure Mode Causes Effects Criticality Prob Control measures Registration RMS error too large a. Bad configuration b. Markers too close c. Handling errors d. Tracking error e. Transformation error Cannot use IIGS Critical N/A Operator training Documentation Failure Modes, Effects and Criticality Analysis can take the form of a tree or table. Tables representations are more common due to the compact representation. Each component or subcomponent including software is analyzed. The question we are trying to ascertain is what is going to happen if this component fails. The down side of such an analysis is that it only looks at single points of failure.

Safety Critical Software Systems State Based Analysis methods Markov Chain Models Petri Nets Software Cost Reduction Methods David Parnas and Constance L. Heitmeyer Formal mathematical approach to specifications Apart from using hazard analysis methods, We can also use techniques that use state or modes and transitions to perform a safety analysis. I will not go into detail here due to time restrictions.