STAMP Primer SeriesSTAMP PrimerModule 2 of 2Learning From AccidentsLesson 2 of 6Finding Problems EarlyLesson 2 of 5Finding Problems Early, With SecurityLesson 2 of 6The Whole SeriesLesson 2 of 10

STAMP Primer

How feedback and other information shape a controller’s decisions, and how an unsafe action can look reasonable given the information available and the local context.

Section 2.1 · Control Loops and Control Structures

The Control Loop Model

Builds on: Section 1.1, What is STAMP?

At the heart of STAMP is the concept of a control loop, which explains how decisions can be informed and how patterns emerge from the continuous interactions in a system. Within a control loop, a controller oversees a controlled process. The controller can be a human, an automated system, or an AI. The controlled process could be another controller, physical machinery, or a virtual process or data. Controllers make decisions based on their process model, which is their internal understanding of how the system is currently behaving. For the loop to function, the controller may rely on timely feedback to provide updated information about the process and its true state. Controllers often rely on feedback to update their process model. If the feedback is missing, delayed, or misinterpreted, the controller may issue an unsafe command that “makes sense” given their flawed information, leading to a loss.

ControllerCONTROLLERControllerDecisionMakingProcessModelControlActionsFeedbackControlled ProcessCONTROLLED PROCESSControlled Process

Choose an example to fill in the loop:

STAMP Terminology

Click a term to learn more.

Controller

An entity that makes decisions and provides control actions to controlled processes to achieve goals. Controllers include people, teams, organizations, software, AI, and hardware devices.

Control Actions

An action that may be provided by a controller to control or supervise a lower-level process.

Decision-Making (aka Control Algorithm)

Describes which control actions may be suitable based on the current process model or other factors.

Process Model

Represents a controller’s “beliefs” about the outside world that impact decision-making and may lead to Unsafe Control Actions. All controllers have a process model, including human, automated, and other controllers.

Feedback

Information provided to a controller about a lower-level process that they directly or indirectly control.

Controlled Process

Any process that is controlled, such as a physical process, data, or another controller.

Unsafe Control Action

A control action that leads to a hazard in a particular context. It can be unsafe to not provide a needed action, to provide one when it isn’t safe, to provide it too early, too late or out of order, or to apply it too long or stop it too soon.

CONTROLLERAutomated Driving SystemDecision MakingBrake if the pathis obstructedProcess ModelBelieves path aheadis obstructed bya pedestrianControlActionBrakeControlActionUnsafe: nobraking, ortoo lateFeedbackCamera andradar: objectaheadCONTROLLED PROCESSCar

For example, a controller in a car may be a human driver or an Automated Driving System (ADS). In either case, the controller may decide to issue a braking control action to prevent a collision with a pedestrian. This decision is only possible if the controller has an updated process model that recognizes a pedestrian is in the vehicle’s path. If the process model does not accurately reflect the true state of the environment, the controller will not be able to make safe decisions and provide safe control actions. The controller relies on feedback, such as visual observation or sensor data, to continuously update its process model. If any part of this control loop is out of sync or dysfunctional, the system can drift into a hazardous state.

CONTROLLERAutomated Driving SystemDecision MakingBrake if the pathis obstructedProcess ModelBelieves pathahead is clearControlActionNo brakingFeedbackCamera andradar: noobject aheadCONTROLLED PROCESSCarA small child is in the path
The sensors work as designed, but the child is below their view.

What if the pedestrian is outside the visible range, for example if they are a small child and the windshield or sensor is too high to notice the pedestrian? The feedback available may not be enough for the controller to form a correct process model that a pedestrian is in the vehicle’s path. As a result, the controller may provide an unsafe control action: maintaining the current speed (no braking) when a pedestrian is in the vehicle’s path. The resulting collision isn’t a failure of the brakes, but a poor system design and an unsafe decision that made sense given the controller’s flawed process model (belief) at the time.

The terminology so far, like unsafe control actions and missing feedback, applies whether or not a failure is involved. A sensor failure can result in poor or missing feedback, leading to an unsafe control action. A power failure can also cause unsafe control actions. More importantly, non-failure causes can have the same effect. For example, a missing software requirement can result in an unsafe control action. An intended feature operating as designed can inadvertently increase feedback delays in certain cases, resulting in delayed control actions that may be unsafe.

In STAMP, a failure is not the unit of analysis.

Instead, STAMP shifts the focus toward understanding how inadequate feedback, mismatched process models, and unsafe control actions can lead to losses, regardless of whether they originate from a component failure. In fact, many accidents in complex systems have been caused not by individual failures but by components and functions that interacted in unsafe ways while satisfying requirements and procedures that were flawed.

Section 2.2 · Control Loops and Control Structures

The Hierarchical Control Structure

Builds on: Section 2.1, The Control Loop Model

STAMP models the multiple layers of control in a system, from physical processes and frontline operators near the bottom to executive management and government regulators at the top. Each level in the hierarchy has a set of goals and issues control actions to the levels below to achieve those goals. The lower levels, in turn, may provide feedback to inform future decisions at the higher levels. Safety is not a property of a single part, but an emergent property that is maintained only when these interactions are properly designed and when together they align with overall goals of the system.

When an accident or loss occurs, it is rarely due to a single “failed” component or link. Instead, it is often because the control structure lacked the necessary means to enforce safety constraints under changing conditions. For example, an organization may have a formal safety policy at the management level, but without an effective feedback channel from the field, decision-makers may remain unaware that production pressures are systematically forcing operators to bypass those very protections.

Control Structure Model

Control, AuthorityHigh authorityLow authorityController AController BController CControlled Processes
STAMP models systems as hierarchical control structures with feedback loops.

Example: Aviation

Air Traffic ControlInstructions,ClearanceAcknowledgements,RequestsFlight CrewManualflightcontrolsInstrumentreadingsSet mode,Set targetsCurrent mode,Current targetsAircraft AutomationAutomatedflight controlsSensorreadingsPhysical Aircraft Processes

Choose an industry:

Section 2.3 · Control Loops and Control Structures

Four Conditions for Control

Builds on: Section 2.1, The Control Loop Model

Effective control, whether by a person, a piece of software, or an organization, requires four conditions. Accidents almost always involve one of these conditions being broken somewhere in the system.

Goal Condition

The controller has the right goals, and gives them the right priority.

In the diagram: Decision Making

Model Condition

The controller has a model of the process’s current state, and of how that state can change.

In the diagram: Process Model

ControllerDecisionMakingProcessModelControlActionsFeedbackControlled Process

Action Condition

The controller has the authority and the means to act on the process.

In the diagram: Control Actions

Observability Condition

The controller can find out the current state of the process.

In the diagram: Feedback

Section 2.4 · Control Loops and Control Structures

CAST and STPA

Builds on: Section 2.2, The Hierarchical Control Structure

STAMP is a model of how accidents and other losses emerge from the interactions between different parts of a system. CAST and STPA are step-by-step methods based on STAMP.

CAST looks back at a loss, an incident, or a near miss that has already happened. CAST explains why each decision made sense at the time, given what each controller believed and the information it had. CAST then develops effective recommendations that address the underlying causes and prevent similar losses. STPA is used to anticipate future losses, often while a new system or a change is still being planned. STPA identifies the unsafe control actions that could lead to a loss, and the scenarios in which those actions could happen, so that teams can put solutions in place early.

If your work starts from something that went wrong, such as an accident, a near miss, or a problem that keeps coming back, start with the CAST Primer. If you develop new systems or plan changes to a system already in use, start with the STPA Primer. Learning either method makes the other easier because both are based on STAMP, with the same terms and concepts like control structures, process models, and feedback.

Where to Go Next

Keep Learning

The introductions to the methods, the evidence for using them, and the industry pages are all free.

STAMP Resources

Take a Class

Learn at your own pace as you watch the instructor walk through each step on real systems and go over the mistakes students make most often. Certification is available.

See the classes

Get Help on a Project

We work alongside teams applying STPA or CAST to their own systems.

About project support

Questions? Email [email protected].