Systems Theoretic Process Analysis (STPA)

How Systems Theoretic Process Analysis (STPA) identifies hazards and missing requirements, applied to an electric propulsion system, an energy storage system, and an optionally piloted eVTOL aircraft.

Systems Theoretic Process Analysis (STPA) is a hazard analysis technique based on control theory. It identifies hazards and missing requirements, including those arising from human factors and from interactions between systems, that component failure analyses can miss. It complements the safety assessment process of SAE ARP4761 and ARP4761A.

The STPA process

  1. Define the purpose of the analysis: the losses, hazards, and system-level safety constraints.
  2. Model the control structure: abstractly, with its control actions, process models, and states.
  3. Identify unsafe control actions. There are four types:
    • The control action is not provided.
    • The control action is provided incorrectly.
    • A potentially safe control action is provided too early, too late, or in the wrong order.
    • The control action is stopped too soon or applied too long.
  4. Identify causal scenarios that link control actions and unsafe control actions to system states.
  5. Restate the safety constraints as safety requirements.
ControllerControlalgorithmProcessmodelControl actionsFeedbackControlled process

Hazards and safety constraints

A hazard is stated as a system, an unsafe condition, and its link to losses. A safety constraint states what must be done to prevent or minimize the loss if the hazard occurs:

ElementFormExample
LossesA loss to stakeholdersL1: Fatalities. L2: Damage to aircraft.
HazardSystem, unsafe condition, and link to lossesH1: Aircraft violate minimum separation standards [L1, L2].
Safety constraintIf the hazard occurs, then what must be done to prevent or minimize a lossSC1: If aircraft violate minimum separation standards, then the violation must be detected and measures taken to prevent collision.

Unsafe control actions are then linked to the hazards identified in the Functional Hazard Assessment (FHA). In this context, “hazard” rather than “failure condition” is the appropriate term. STPA defines a hazard as a system state or set of conditions that, together with worst-case environmental conditions, will lead to a loss. A system is a set of components that act together as a whole to achieve a common goal, and may contain subsystems or be part of a larger system.

Electric Propulsion System (EPS)

Control structure

Motor controllerMotor controllerProcess modelMotor: Running, Shutdown, LockVibration limiter: Over vibration alert, Overvibration protecting, NormalTemperature limiter: Over temperature alert,Over temperature protecting, NormalOver torque limiter: Max. torque limiting,NormalOver speed limiter: Max. torque limiting,NormalSource over voltage compensation: Max.modulated voltage limiting, NormalSource under voltage compensation: Max. speedlimiting, NormalInrush current limiter: Inrush currentlimiting, NormalCurrent limiter: Over current protecting,NormalInverterSensorsMotormotion observationcommandsource voltage measurementfeedbackfaulted statemodulated voltageadjustmentmodulatedvoltagespeed measurementtorque measurementcurrent measurementtemperature measurementvibration measurementmotiontemperaturevibration

Hazards generated by STPA

Unsafe control actionFailure condition
No motor shutdown by aircrew when over-temperature alertOvertemperature
No motor shutdown by aircrew when over-vibration alertUnbalanced motor
No motor shutdown by aircrew when over-speed alertOverspeed
No motor shutdown by aircrew when over-torque alertOvertorque
No motor shutdown by aircrew when over-current alertOvertemperature
No voltage modulation when motor runningLoss of thrust
Incorrect voltage modulation when motor shut downUncommanded thrust
Incorrect voltage modulation when motor lockedUncommanded thrust

Safety constraints

Control action safety constraintUnsafe control action safety constraintHazard
Vibration measurement shall occur when Vibration limiter = Over vibration alertIncorrect vibration measurement above actual shall not occur when Vibration limiter = Over vibration alertUnbalanced motor
Temperature measurement shall occur when Temperature limiter = Over temperature protectingIncorrect temperature measurement above actual shall not occur when Temperature limiter = Over temperature protectingLoss of thrust
Temperature measurement shall occur when Temperature limiter = Over temperature protectingIncorrect temperature measurement below actual shall not occur when Temperature limiter = Over temperature protectingLoss of thrust
Modulated voltage adjustment shall occur when Motor = RunningLoss of modulated voltage adjustment shall not occur when Motor = RunningLoss of thrust

Energy Storage System (ESS)

Control structure

Battery controller (BMS)Battery controller (BMS)Process modelCharger: Charging, ShutdownSwitch: Connected, DisconnectedBattery SoC: Charged, Discharged, Partial SoCBattery SoH: Healthy, Not healthyOver voltage limiter: Over voltage protecting,NormalUnder voltage limiter: Under voltageprotecting, NormalCell balancer: Battery cell balancing,BalancedCell deviation limiter: Cell deviation frommean alert, NormalModule deviation limiter: Module deviationfrom mean alert, NormalCurrent limiter: Over current protecting,NormalChargerSwitchSensorsBatterythermal runaway observationcommandfeedbackstate of charge indicationstate of health indicationcharging faulted stateswitching faulted statecharge voltageadjustmentchargevoltagedisconnect battery signalconnect battery signaldisconnect batteryconnect batterycurrent measurementvoltage measurementtemperature measurementcurrentvoltagetemperature

Hazards generated by STPA

Unsafe control actionFailure condition
No charger shutdown by BMS when battery chargedUncontained thermal runaway
No switch disconnect by BMS when battery dischargedUncontained thermal runaway
Charger shutdown too early by BMS when battery dischargedLoss of thrust
Switch disconnect too early by BMS when battery chargedLoss of thrust
No cell deviation limiting when cell deviation from mean alertUncontained thermal runaway
No module deviation limiting when module deviation from mean alertUncontained thermal runaway
No emergency procedure by aircrew when battery unhealthyLoss of thrust

Safety constraints

Control action safety constraintUnsafe control action safety constraintHazard
State of health indication shall occur when Battery SoH = Not healthyIncorrect state of health indication shall not occur when Battery SoH = Not healthyUncontained battery cell thermal runaway
Temperature measurement shall occur when Charger = ChargingTemperature measurement above actual shall not occur when Charger = ChargingUninterrupted battery charging below minimum temperature
Temperature measurement shall occur when Charger = ChargingTemperature measurement below actual shall not occur when Charger = ChargingUninterrupted battery charging above maximum temperature

For the fault tree analysis of the same battery system, see our DO-311A battery safety analysis.

Optionally piloted eVTOL aircraft

At aircraft level, STPA is applied in tiers. Tier 1 models the aircraft, the aircrew, and the airspace. Tiers 2 and 3 integrate Detect and Avoid (DAA), first with the other airspace users and then with the aircraft’s sensors and flight control system.

Tier 1

AircraftAir traffic controlIntruder aircraftGround stationAircrew or pilotDetect and avoidRadioInceptorDisplays and controlsCommand andcontrol radioAutomationFlight control systemclearancereadbackclearancereadbackclearancereadbackpilot inputtactile feedbackpilot inputflight informationand alertstrafficwaypointownship statusevasive maneuvertrafficmodeinceptor inputtactile feedbackcontrols inputflight informationand alertswaypointwaypoint
Control action or feedbackRadio communication or observationVoice

Tier 2: DAA integration

AircraftAir traffic control centerGround operation centerIntruder aircraftTakeoff and landing areaPassengersBirdsDronesCommand andcontrol radioDetect and avoidRadioTransponder or interrogatorAutomationFlight control systemclearancereadbackclearancereadbackflightpathownship statusclearancereadback, go or no goresponserequestsrequestsresponseground trafficair trafficbirddronetraffic,squawk codeownship status,squawk codeflightpathownship statusevasive maneuverownship statustrafficownship statuswaypointpitch, roll, yaw, heading
Control action or feedbackCommunication or observation

Tier 3: DAA integration

LidarRadarTransponder orinterrogatorCamerasDetect and avoidProcess modelLidar target acquisition: Traffic, No trafficRadar target acquisition: Traffic, No trafficADS-B target acquisition: Traffic, No trafficCameras: Traffic, No trafficAutomationProcess modelNavigation solution: Calculating, CompleteTakeoff solution: Calculating, CompleteLanding solution: Calculating, CompleteEnvelope protection: LimitingGNSS receivers: Agree, DisagreePrimary IMU and GNSS receivers: Agree, DisagreeGNSS receiversPrimary IMUFlight control systemProcess modelWaypoint prioritization: CalculatingUnified control solution: CalculatingEnvelope protection: Limiting, Not limitingIMUs: Agree, DegradedAir data sensors: Agree, DegradedControl surface motors: No fault, Fault message registered, LostcommsPropulsion motors: No fault, Faulted, Lost commsTilt actuators: No fault, Faulted, Lost commsVariable pitch actuators: No fault, Faulted, Lost commsSecondary IMUsAir data sensorInvertersControl surface motorsPropulsion motorsTilt actuatorsVariable pitch actuatorsSensorstraffic orbird indicationtraffic orbird indicationtraffic,squawk codesownship status,squawk codetraffic orbird indicationevasive maneuverownship statusownship status;pitch, roll, yawownship status;pitch, roll, yawwaypointpitch, roll, yaw, headingpitch, roll, yawspeed, altitudemodulated voltageadjustmentmodulated voltagemotionmotion measurement
Control action or feedback

Conclusion

STPA is a Model-Based Safety Assessment (MBSA) technique that identifies hazards and missing requirements. It complements ARP4761 and ARP4761A, and is part of the holistic safety analysis approach.

Designing a certifiable aircraft?

Summarize your requirements, including SWaP budget and certifiable aircraft type. Our engineering team will contact you shortly.