+ All Categories
Home > Documents > Systems Theoretic Process Analysis (STPA)

Systems Theoretic Process Analysis (STPA)

Date post: 02-Jan-2017
Category:
Upload: phamtuong
View: 227 times
Download: 3 times
Share this document with a friend
71
Systems Theoretic Process Analysis (STPA) Tutorial Dr. John Thomas MIT
Transcript
Page 1: Systems Theoretic Process Analysis (STPA)

Systems Theoretic Process Analysis (STPA)

Tutorial

Dr. John Thomas

MIT

Page 2: Systems Theoretic Process Analysis (STPA)

Systems approach to safety engineering (STAMP)

• Accidents are more than a chain of events, they involve complex dynamic processes.

• Treat accidents as a control problem, not a failure problem

• Prevent accidents by enforcing constraints on component behavior and interactions

• Captures more causes of accidents: – Component failure accidents – Unsafe interactions among components – Complex human, software behavior – Design errors – Flawed requirements

• esp. software-related accidents 2

STAMP Model

© Copyright John Thomas 2013

Page 3: Systems Theoretic Process Analysis (STPA)

Controlled Process

Process

Model

Control

Actions Feedback

STAMP

• Controllers use a process model to determine control actions

• Accidents often occur when the process model is incorrect

• Four types of hazardous control actions: 1) Control commands required for safety

are not given 2) Unsafe ones are given 3) Potentially safe commands but given too

early, too late 4) Control action stops too soon or applied

too long

Controller

3

Explains software errors, human errors, component interaction accidents, components failures …

© Copyright John Thomas 2013

Page 4: Systems Theoretic Process Analysis (STPA)

Example Safety Control Structure

Page 5: Systems Theoretic Process Analysis (STPA)

STAMP and STPA

Accidents are caused by inadequate control

5

STAMP Model

© Copyright John Thomas 2013

Page 6: Systems Theoretic Process Analysis (STPA)

STAMP and STPA

Accidents are caused by inadequate control

6

CAST Accident Analysis

How do we find inadequate control that caused the accident?

STAMP Model

© Copyright John Thomas 2013

Page 7: Systems Theoretic Process Analysis (STPA)

STAMP and STPA

Accidents are caused by inadequate control

7

CAST Accident Analysis

How do we find inadequate control in a design?

STPA Hazard

Analysis

STAMP Model

© Copyright John Thomas 2013

Page 8: Systems Theoretic Process Analysis (STPA)

Today’s Tutorials

• Basic STPA Tutorial 10:15am – 3pm, in 54-100

• CAST Tutorial 10:15am – 3pm, in 56-154

• Security Tutorial (STPA-Sec) 10:15am – noon, room 32-082 (Presentations 1:30-3pm)

• Experienced users meeting 10:15am – 3pm, room 56-114

Page 9: Systems Theoretic Process Analysis (STPA)

STPA Hazard Analysis

Page 10: Systems Theoretic Process Analysis (STPA)

STPA (System-Theoretic Process Analysis)

• Identify accidents and hazards

• Construct the control structure

• Step 1: Identify unsafe control actions

• Step 2: Identify causal factors and control flaws

10

Controlled process

Control Actions

Feedback

Controller

(Leveson, 2011)

STAMP Model

STPA Hazard Analysis

© Copyright John Thomas 2013

Can capture requirements flaws, software errors, human errors

Page 11: Systems Theoretic Process Analysis (STPA)

Definitions

• Accident (Loss)

– An undesired or unplanned event that results in a loss, including loss of human life or human injury, property damage, environmental pollution, mission loss, etc.

• Hazard

– A system state or set of conditions that, together with a particular set of worst-case environment conditions, will lead to an accident (loss).

Definitions from Engineering a Safer World

Page 12: Systems Theoretic Process Analysis (STPA)

Definitions • Accident (Loss)

– An undesired or unplanned event that results in a loss, including loss of human life or human injury, property damage, environmental pollution, mission loss, etc.

– May involve environmental factors outside our control

• Hazard

– A system state or set of conditions that, together with a particular set of worst-case environment conditions, will lead to an accident (loss).

– Something we can control in the design

Accident Hazard

Satellite becomes lost or unrecoverable

Satellite maneuvers out of orbit

People die from exposure to toxic chemicals

Toxic chemicals are released into the atmosphere

People die from radiation sickness

Nuclear power plant releases radioactive materials

People die from food poisoning Food products containing pathogens are sold

© Copyright John Thomas 2013

Page 13: Systems Theoretic Process Analysis (STPA)

Identify Accident, Hazards, Safety Constraints

• System-level Accidents (Losses)

– ?

• System-level Hazards

– ?

• System-level Safety Constraints

– ?

© Copyright John Thomas 2013

Page 14: Systems Theoretic Process Analysis (STPA)

Identify Accident, Hazards, Safety Constraints

• System-level Accident (Loss)

– Death, illness, or injury due to exposure to toxic chemicals.

• System-level Hazard

– Uncontrolled release of toxic chemicals

• System-level Safety Constraint

– Toxic chemicals must not be released

Additional hazards / constraints can be found in ESW p355 © Copyright John Thomas 2013

Page 15: Systems Theoretic Process Analysis (STPA)

Control Structure Examples

Page 16: Systems Theoretic Process Analysis (STPA)

Cyclotron

Proton Therapy Machine High-level Control Structure

Beam path and control elements

© Copyright John Thomas 2013

Gantry

Page 17: Systems Theoretic Process Analysis (STPA)

Proton Therapy Machine High-level Control Structure

© Copyright John Thomas 2013 Antoine PhD Thesis, 2012

Page 18: Systems Theoretic Process Analysis (STPA)

Proton Therapy Machine Control Structure

© Copyright John Thomas 2013 Antoine PhD Thesis, 2012

Page 19: Systems Theoretic Process Analysis (STPA)

Adaptive Cruise Control

Image from: http://www.audi.com/etc/medialib/ngw/efficiency/video_assets/fallback_videos.Par.0002.Image.jpg

Page 20: Systems Theoretic Process Analysis (STPA)

Qi Hommes

Page 21: Systems Theoretic Process Analysis (STPA)

Chemical Plant

Image from: http://www.cbgnetwork.org/2608.html

Page 22: Systems Theoretic Process Analysis (STPA)

Chemical Plant

ESW p354

Image from: http://www.cbgnetwork.org/2608.html

© Copyright John Thomas 2013

Page 23: Systems Theoretic Process Analysis (STPA)

U.S. pharmaceutical safety control

structure

Image from: http://www.kleantreatmentcenter.com/wp-content/uploads/2012/07/vioxx.jpeg

© Copyright John Thomas 2013

Page 25: Systems Theoretic Process Analysis (STPA)

STPA (System-Theoretic Process Analysis)

• Identify accidents and hazards

• Construct the control structure

• Step 1: Identify unsafe control actions

• Step 2: Identify causal factors and control flaws

25

Controlled process

Control Actions

Feedback

Controller

(Leveson, 2012) © Copyright John Thomas 2013

Page 26: Systems Theoretic Process Analysis (STPA)

STPA Step 1: Unsafe Control Actions (UCA)

Not providing causes hazard

Providing causes hazard

Incorrect Timing/ Order

Stopped Too Soon /

Applied too long

(Control Action)

Controlled process

Control Actions

Feedback

Controller

© Copyright John Thomas 2013

Page 27: Systems Theoretic Process Analysis (STPA)

Step 1: Identify Unsafe Control Actions

Control Action

Process Model

Variable 1

Process Model

Variable 2

Process Model

Variable 3

Hazardous?

(a more rigorous approach)

© Copyright John Thomas 2013

Page 28: Systems Theoretic Process Analysis (STPA)

STPA (System-Theoretic Process Analysis)

• Identify accidents and hazards

• Construct the control structure

• Step 1: Identify unsafe control actions

• Step 2: Identify causal factors and control flaws

28

Controlled process

Control Actions

Feedback

Controller

(Leveson, 2012) © Copyright John Thomas 2013

Page 29: Systems Theoretic Process Analysis (STPA)

Controlled Process

Control

Algorithm

Control

Actions Feedback

System Theoretic Process Analysis

• Explain why and how UCAs may occur

• Control actions are based on:

• Process model

• Control algorithm

• Feedback

• Flaws?

Controller

29

Process

Model

© Copyright John Thomas 2013

Page 30: Systems Theoretic Process Analysis (STPA)

STPA Step 2: Identify Control Flaws

30

Inadequate Control Algorithm

(Flaws in creation, process changes,

incorrect modification or adaptation)

Controller Process Model

(inconsistent, incomplete, or

incorrect)

Control input or external information wrong or missing

Actuator Inadequate operation

Inappropriate, ineffective, or

missing control action

Sensor Inadequate operation

Inadequate or missing feedback Feedback Delays

Component failures

Changes over time

Controlled Process

Unidentified or out-of-range disturbance

Controller

Process input missing or wrong Process output contributes to system hazard

Incorrect or no information provided

Measurement inaccuracies

Feedback delays

Delayed operation

Conflicting control actions

Missing or wrong communication with another controller

Controller

Page 31: Systems Theoretic Process Analysis (STPA)

STPA Examples

31

Page 32: Systems Theoretic Process Analysis (STPA)

ITP Exercise

a new in-trail procedure for trans-oceanic flights

32

Page 33: Systems Theoretic Process Analysis (STPA)

STPA Exercise

• Identify accidents and hazards

• Draw the control structure – Identify major components and controllers

– Label the control/feedback arrows

• Identify Unsafe Control Actions (UCAs) – Control Table:

Not providing causes hazard, Providing causes hazard, Stopped too soon

– Create corresponding safety constraints

• Identify causal factors – Identify controller process models

– Analyze controller, control path, feedback path, process

© Copyright John Thomas 2013

Page 34: Systems Theoretic Process Analysis (STPA)

Example System: Aviation

System-level Accident (Loss): ? © Copyright John Thomas 2013

Page 35: Systems Theoretic Process Analysis (STPA)

Example System: Aviation

System-level Accident (Loss): Two aircraft collide © Copyright John Thomas 2013

Page 36: Systems Theoretic Process Analysis (STPA)

System-level Accident (Loss): Two aircraft collide

System-level Hazard: ?

© Copyright John Thomas 2013

Page 37: Systems Theoretic Process Analysis (STPA)

Hazard • Definition: A system state or set of conditions

that, together with a particular set of worst-case environmental conditions, will lead to an accident (loss).

• Something we can control

• Examples: Accident Hazard

Satellite becomes lost or unrecoverable

Satellite maneuvers out of orbit

People die from exposure to toxic chemicals

Toxic chemicals are released into the atmosphere

People die from radiation sickness

Nuclear power plant releases radioactive materials

People die from food poisoning Food products containing pathogens are sold

© Copyright John Thomas 2013

Page 38: Systems Theoretic Process Analysis (STPA)

System-level Accident (Loss): Aircraft crashes

System-level Hazard: Two aircraft violate minimum separation

© Copyright John Thomas 2013

Page 39: Systems Theoretic Process Analysis (STPA)

Aviation Examples

• System-level Accident (loss)

– Two aircraft collide

– Aircraft crashes into terrain / ocean

• System-level Hazards

– Two aircraft violate minimum separation

– Aircraft enters unsafe atmospheric region

– Aircraft enters uncontrolled state

– Aircraft enters unsafe attitude

– Aircraft enters prohibited area

Page 40: Systems Theoretic Process Analysis (STPA)

STPA Exercise

• Identify accidents and hazards

• Draw the control structure – Identify major components and controllers

– Label the control/feedback arrows

• Identify Unsafe Control Actions (UCAs) – Control Table:

Not providing causes hazard, Providing causes hazard, Wrong timing, Stopped too soon

– Create corresponding safety constraints

• Identify causal factors – Identify controller process models

– Analyze controller, control path, feedback path, process

© Copyright John Thomas 2013

Page 41: Systems Theoretic Process Analysis (STPA)

North Atlantic Tracks

Page 42: Systems Theoretic Process Analysis (STPA)

STPA application: NextGen In-Trail Procedure (ITP) Current State

Proposed Change

• Pilots will have separation information

• Pilots decide when to request a passing maneuver

• Air Traffic Control approves/denies request

Page 43: Systems Theoretic Process Analysis (STPA)

STPA Analysis

• High-level (simple) Control Structure

– Main components and controllers?

? ? ?

© Copyright John Thomas 2013

Page 44: Systems Theoretic Process Analysis (STPA)

STPA Analysis

• High-level (simple) Control Structure

– Who controls who?

Flight Crew? Aircraft? Air Traffic

Controller?

© Copyright John Thomas 2013

Page 45: Systems Theoretic Process Analysis (STPA)

STPA Analysis

• High-level (simple) Control Structure

– What commands are sent?

Aircraft

Flight Crew

Air Traffic Control

?

?

?

?

© Copyright John Thomas 2013

Page 46: Systems Theoretic Process Analysis (STPA)

STPA Analysis

• High-level (simple) Control Structure

Aircraft

Flight Crew

Air Traffic Control

Issue clearance

to pass

Execute maneuver

Feedback?

Feedback?

© Copyright John Thomas 2013

Page 47: Systems Theoretic Process Analysis (STPA)

STPA Analysis

• More complex control structure

© Copyright John Thomas 2013

Page 48: Systems Theoretic Process Analysis (STPA)

FAA

Congress

ATC

Aircraft

Example High-level control structure

Pilots

Directives, funding

Regulations, procedures

Instructions

Execute maneuvers

Reports

Reports

Aircraft status, position, etc

Acknowledgement, requests

© Copyright John Thomas 2013

Page 49: Systems Theoretic Process Analysis (STPA)

ATC Ground Controller

Updates and acknowledgements

Aircraft

Instructions

Aircraft

Other Ground Controllers

ATC Front Line Manager (FLM)

Company Dispatch

ATC Radio

ACARS Text Messages

Instructions Status Updates

Instructions Status Updates

Instructions Status Updates

Status

Query

Instructions Status Updates

Aircraft Aircraft

Pilots Pilots Pilots Pilots Execute

maneuvers Execute

maneuvers Execute

maneuvers Execute

maneuvers

Air Traffic Control (ATC)

© Copyright John Thomas 2013

Page 50: Systems Theoretic Process Analysis (STPA)

STPA Exercise

• Identify accidents and hazards

• Draw the control structure – Identify major components and controllers

– Label the control/feedback arrows

• Identify Unsafe Control Actions (UCAs) – Control Table:

Not providing causes hazard, Providing causes hazard, Wrong timing, Stopped too soon

– Create corresponding safety constraints

• Identify causal factors – Identify controller process models

– Analyze controller, control path, feedback path, process

© Copyright John Thomas 2013

Page 51: Systems Theoretic Process Analysis (STPA)

Identify Unsafe Control Actions

Flight Crew Action (Role)

Not providing causes hazard

Providing Causes hazard

Incorrect Timing/ Order

Stopped Too Soon

Execute Passing

Maneuver

Pilots perform ITP when ITP

criteria are not met or request

has been refused

ATC

Pilots

Instructions

Execute maneuvers Aircraft status, position, etc

Acknowledgement, requests

Aircraft

Page 52: Systems Theoretic Process Analysis (STPA)

Structure of a Hazardous Control Action

Four parts of a hazardous control action – Source Controller: the controller that can provide the control action – Type: whether the control action was provided or not provided – Control Action: the controller’s command that was provided /

missing – Context: conditions for the hazard to occur

• (system or environmental state in which command is provided)

52

Source Controller

Example: “Pilots provide ITP maneuver when ITP criteria not met”

Type

Control Action Context

© Copyright John Thomas 2013

Page 53: Systems Theoretic Process Analysis (STPA)

Defining Safety Constraints

Unsafe Control Action Safety Constraint

Pilot does not execute maneuver once it is approved

Pilot must execute maneuver once it is approved

Pilot performs ITP when ITP criteria are not met or request has been refused

Pilot must not perform ITP when criteria are not met or request has been refused

Pilot starts maneuver late after having re-verified ITP criteria

Pilot must start maneuver within X minutes of re-verifying ITP criteria

© Copyright John Thomas 2013

Page 54: Systems Theoretic Process Analysis (STPA)

STPA Exercise

• Identify accidents and hazards

• Draw the control structure – Identify major components and controllers

– Label the control/feedback arrows

• Identify Unsafe Control Actions (UCAs) – Control Table:

Not providing causes hazard, Providing causes hazard, Wrong timing, Stopped too soon

– Create corresponding safety constraints

• Identify causal factors – Identify controller process models

– Analyze controller, control path, feedback path, process

© Copyright John Thomas 2013

Page 55: Systems Theoretic Process Analysis (STPA)

STPA Analysis: Causal Factors

Process Model

UCA: Pilots perform ITP when ITP criteria are not met

• How could this action be caused by: – Process model

– Feedback

– Sensors

– Etc?

• Also consider control action not followed Controlled

Process

© Copyright John Thomas 2013

Page 56: Systems Theoretic Process Analysis (STPA)

Hint: Causal Factors

Page 57: Systems Theoretic Process Analysis (STPA)

STPA Analysis: Causal Factors

© Copyright John Thomas 2013

Page 58: Systems Theoretic Process Analysis (STPA)

Traffic Collision Avoidance System (TCAS)

Page 59: Systems Theoretic Process Analysis (STPA)

Traffic Collision Avoidance System (TCAS)

• Monitors airspace around aircraft

• Can provide advisories to warn pilot of potential collision

• System-level Accidents?

• System-level Hazards?

TCAS

Instructions Instructions

ATC

Instructions

TCAS

Instructions

© Copyright John Thomas 2013

Page 60: Systems Theoretic Process Analysis (STPA)

Accident • Definition: An undesired or unplanned event that

results in a loss, including loss of human life or human injury, property damage, environmental pollution, mission loss, etc.

• May involve environmental factors outside our control

• Examples:

Accident Hazard

Satellite becomes lost or unrecoverable

Satellite maneuvers out of orbit

People die from exposure to toxic chemicals

Toxic chemicals are released into the atmosphere

People die from radiation sickness

Nuclear power plant releases radioactive materials

People die from food poisoning Food products containing pathogens are sold

© Copyright John Thomas 2013

Page 61: Systems Theoretic Process Analysis (STPA)

Traffic Collision Avoidance System (TCAS)

• Aircraft Accident: Two or more aircraft collide

• Aircraft Hazard: Near Mid Air Collision (NMAC)

• TCAS Hazard: TCAS causes or does not prevent NMAC

© Copyright John Thomas 2013

Page 62: Systems Theoretic Process Analysis (STPA)

Traffic Collision Avoidance System (TCAS)

• Monitors airspace around aircraft

• Can provide advisories to warn pilot of potential collision

Create control structure

© Copyright John Thomas 2013

Page 63: Systems Theoretic Process Analysis (STPA)

Traffic Collision Avoidance System (TCAS) Example Control Structure:

FAA

Local ATC Ops Mgmt.

Air Traffic Control

TCAS

Pilot Pilot

A/C A/C

Radar

Flight Data

Processor

TCAS

© Copyright John Thomas 2013

Page 64: Systems Theoretic Process Analysis (STPA)

STPA (System-Theoretic Process Analysis)

• Identify accidents and hazards

• Construct the control structure

• Step 1: Identify unsafe control actions

• Step 2: Identify causal factors and control flaws

64

Controlled process

Control Actions

Feedback

Controller

(Leveson, 2012) © Copyright John Thomas 2013

Page 65: Systems Theoretic Process Analysis (STPA)

TCAS

Not providing causes hazard

Providing causes hazard

Incorrect Timing/ Order

Stopped Too Soon / Applied too long

Resolution Advisory (RA)

TCAS does not provide an RA when collision imminent

Identify Unsafe Control Actions

Example Control Structure FAA

Local ATC Ops Mgmt.

Air Traffic Control

TCAS

Pilot Pilot

A/C A/C

Radar

Flight Data

Processor

TCAS

© Copyright John Thomas 2013

Page 66: Systems Theoretic Process Analysis (STPA)

Structure of a Hazardous Control Action

Four parts of a hazardous control action – Source Controller: the controller that can provide the control action – Type: whether the control action was provided or not provided – Control Action: the controller’s command that was provided /

missing – Context: conditions for the hazard to occur

• (system or environmental state in which command is provided)

66

Source Controller (SC)

Example: “TCAS does not provide RA when collision imminent”

Type (T)

Control Action (CA) Context (Co)

© Copyright John Thomas 2013

Page 67: Systems Theoretic Process Analysis (STPA)

STPA (System-Theoretic Process Analysis)

• Identify accidents and hazards

• Construct the control structure

• Step 1: Identify unsafe control actions

• Step 2: Identify causal factors and control flaws

67

Controlled process

Control Actions

Feedback

Controller

(Leveson, 2012) © Copyright John Thomas 2013

Page 68: Systems Theoretic Process Analysis (STPA)

TCAS

Identify Causal Factors

UCA1: TCAS does not provide an RA when collision imminent SC1: TCAS must always provide necessary RA to prevent imminent NMAC (<25 sec to collision)

• What might violate this safety constraint? • Process model flaws? • Control algorithm

flaws? • Poor feedback? • Component failures?

Control Structure

FAA

Local ATC Ops Mgmt.

Air Traffic Control

TCAS

Pilot Pilot

A/C A/C

Radar

Flight Data

Processor

TCAS

© Copyright John Thomas 2013

Page 69: Systems Theoretic Process Analysis (STPA)

STPA Step 2: Identify Control Flaws

69

Inadequate Control Algorithm

(Flaws in creation, process changes,

incorrect modification or adaptation)

Controller Process Model

(inconsistent, incomplete, or

incorrect)

Control input or external information wrong or missing

Actuator Inadequate operation

Inappropriate, ineffective, or

missing control action

Sensor Inadequate operation

Inadequate or missing feedback Feedback Delays

Component failures

Changes over time

Controlled Process

Unidentified or out-of-range disturbance

Controller

Process input missing or wrong Process output contributes to system hazard

Incorrect or no information provided

Measurement inaccuracies

Feedback delays

Delayed operation

Conflicting control actions

Missing or wrong communication with another controller

Controller

© Copyright John Thomas 2013

UCA1: TCAS does not provide an RA when collision imminent SC1: TCAS must always provide necessary RA to prevent imminent NMAC (<25 sec to collision)

Page 70: Systems Theoretic Process Analysis (STPA)

STPA Primer

• Written for industry to provide guidance in learning STPA

– Not a book or academic paper

– “living” document

– Google “STPA Primer”

© Copyright John Thomas 2013

Page 71: Systems Theoretic Process Analysis (STPA)

Group Exercise: JAXA H-II Transfer Vehicle (HTV)


Recommended