Professional Documents
Culture Documents
5
© Copyright Nancy Leveson, June 2011
Why do we need something new?
General Special
Purpose
+ Software = Purpose
Machine Machine
Advantages
– Machines that were physically impossible or impractical to build
become feasible
– Design can be changed without retooling or manufacturing
– Can concentrate on steps to be achieved without worrying about how
steps will be realized physically
12
Warsaw A320 Accident
13
2. The role of software in accidents almost
always involves flawed requirements
– Incomplete or wrong assumptions about operation of controlled
system or required operation of computer
– Unhandled controlled-system states and environmental
conditions
Autopilot
Expert
Requirements Software
Design
of
Engineer
Autopilot
Autopilot
Expert
Requirements Software
Design
of
Engineer
Autopilot
Autopilot
Expert Requirements Software
Design
of
Engineer
Autopilot
17
© Copyright John Thomas 2016
Boeing 787 Lithium Battery Fires
19
Safe or Unsafe?
Safety Depends on Context
Reliability is NOT equal to safety
in complex,
software-intensive systems
Confusing Safety and Reliability
Scenarios Unsafe
involving failures scenarios
A C B
25
© Copyright John Thomas 2016
Another Accident Involving Thrust Reversers
26
© Copyright John Thomas 2016
Another Accident Involving Thrust Reversers
30
© Copyright Nancy Leveson, June 2011
Not enough attention on integrated
system as a whole
31
© Copyright Nancy Leveson, June 2011
What is STAMP and how does it
differ from what people do now?
• Analytic Reduction
• Statistics
• Systems Theory
34
Analytic Reduction (“Divide and Conquer”)
C2
C1
C5 Components interact
In direct ways
C3
C4
35
© Copyright Nancy Leveson, June 2011
Analytic Reduction (2)
C1 C2
E1 E2 E3 E4 E5
C5
C3
C4
37
Traditional Approach to Safety
• Reductionist
– Divide system into components
45
© Copyright Nancy Leveson, June 2011
Systems Theory
• Developed for systems that are
– Too complex for complete analysis
• Separation into (interacting) subsystems distorts the results
• The most important properties are emergent
• Emergent properties
– Some properties can only be treated adequately in their
entirety, taking into account all social and technical aspects
“The whole is greater than the sum of the parts”
Degree of
Organized Complexity
Randomness
Organized
Simplicity
(can use analytic
reduction)
Degree of Coupling
Process
Process
Process
Process
or through process
– Manufacturing processes and procedures
– Maintenance processes
– Operations
58
Role of Process Models in Control
59
59
(Leveson, 2003); (Leveson, 2011) © Copyright Nancy Leveson, June 2011
Identifying Causal Scenarios for Unsafe Control
Control input or external
information wrong or
missing Controller
Controller Missing or wrong
communication with
another controller
Inadequate Control
Algorithm Process Model
(inconsistent, Inadequate or
Inappropriate, (Flaws in creation,
incomplete, or missing feedback
ineffective, or process changes,
incorrect)
missing control incorrect modification
action or adaptation) Feedback Delays
Actuator Sensor
Inadequate Inadequate
operation operation
Incorrect or no information
Delayed
operation
provided
Measurement inaccuracies
Controller
Controlled Process Feedback delays
• A change in emphasis:
“prevent failures”
Tools
Accident Analysis Hazard Analysis Early Concept Anal. MBSE
CAST STPA STECA SpecTRM
High Attack/Accident
Response
Cyber
Security/Safety
“Bolt-on”
Cost of Fix
Systems
Engineering
System
Safety/Secure Safety/Security
Systems Requirements
Thinking
Low
67
© Copyright Nancy Leveson, June 2011
Uses Beyond Traditional System Safety
• Quality
• Producibility (of aircraft)
• Nuclear security
• Banking and finance
• Engineering process optimization
• Organizational culture
• Workplace safety
• Einstein:
“Progress in science (moving from one
paradigm to another) is like climbing a
mountain”
DC-10:
Cargo Causes Floor Causes Hydraulics Causes Airplane
door fails collapses fail crashes
Event-based
© Copyright©Nancy Leveson,
Copyright June 2011
John Thomas 2013
Event Chain
• E1: Worker washes pipes without inserting a slip blind.
• E2: Water leaks into MIC tank
• E3: Gauges do not work
• E4: Operator does not open valve to relief tank
• E3: Explosion occurs
• E4: Relief valve opens
• E5: Flare tower, vent scrubber, water curtain do not work
• E5: MIC vented into air
• E6: Wind carries MIC into populated area around plant.
97
© Copyright Nancy Leveson, June 2011
It’s still hungry … and I’ve been stuffing worms into it all day.
Interceptor
Launch Station
Simulator
Abort
Arm
Acknowledgements BIT Command
BIT Results Acknowledgements
Task Load
Health & Status BIT Results
Launch
Health & Status
Operating Mode
Power
Flight Safe
Software Updates
Computer
Breakwires
Safe & Arm Status
Voltages Arm
BIT Info
Safe
Safe & Arm Status
Ignite
8/2/2006 101
Interceptor
© Copyright Nancy Leveson, June 2011 H/W
Example Hazard Scenarios Found
Process
Process
Process
110
© Copyright Nancy Leveson, June 2011
Comparison with Analytic Reduction (SAE ARP
4761)
111
Ground System Control
112
© Copyright Nancy Leveson, June 2011
Wheel Brake System Control Structure
113
© Copyright Nancy Leveson, June 2011
Domino “Chain of events” Model
DC-10:
Cargo Causes Floor Causes Hydraulics Causes Airplane
door fails collapses fail crashes