Failure state

What Is a Failure State?

A failure state is the condition a system occupies when it is no longer delivering a required function correctly. In systems engineering the term is used in a specific, state-based sense: the behavior of a system is modeled as a set of discrete states with defined transitions between them, and the states are partitioned into those in which service meets specification and those in which it does not. A system enters a failure state at the instant of failure and remains there until repair, reconfiguration, or replacement returns it to an operational state. The concept underpins reliability prediction, safety analysis, and the design of fault-tolerant architectures, because a system cannot be engineered to survive a condition that has never been enumerated.

Precision about the vocabulary matters, since fault, error, and failure are routinely conflated. The taxonomy set out in Avizienis and colleagues' treatment of dependable and secure computing defines a fault as the adjudged cause of an error, an error as the part of system state that may lead to failure, and a failure as the event in which delivered service deviates from correct service. Under that framing the failure state is what follows the failure event, and much of dependability engineering is the work of preventing a latent fault from propagating into an error and then into a service failure.

The Fault, Error, and Failure Chain

A dormant fault causes nothing until it is activated by a workload or environmental condition that exercises the affected element. Activation produces an error, which is an incorrect internal state that may still be invisible from outside. Failure occurs only when that erroneous state reaches the service interface. The chain matters practically because it identifies three separate places to intervene: fault prevention during design and manufacture, error detection and recovery at runtime, and failure containment at the boundary so that one subsystem's failure state does not become another's fault. Field studies of deployed software, including an exploratory study of field failures in production systems, consistently find that a large share of failures require specific environmental conditions to activate, which is why they escape testing.

State-Space Reliability Models

Quantitative reliability analysis represents a system as a Markov chain or a similar state-space model in which each state describes which components are working. Non-repairable systems place failure states as absorbing states, and the expected time to reach one is the mean time to failure. Repairable systems allow transitions back to operational states at a repair rate, and the long-run fraction of time spent outside failure states is the steady-state availability. Between fully working and fully failed sit degraded states, in which the system delivers reduced capability, and these are what distinguish a graceful degradation design from a brittle one. Fault trees, reliability block diagrams, and failure modes and effects analysis all feed the same purpose: enumerating the component-level conditions that map onto a system-level failure state.

Fail-Safe, Fail-Operational, and Safe Modes

How a system behaves once it reaches a failure state is itself a design choice. A fail-safe design moves to a state whose consequences are acceptable, such as a railway signal defaulting to stop. A fail-silent design stops producing output rather than producing wrong output, which simplifies detection by downstream components. A fail-operational design continues delivering full function through redundancy, which is required where no safe stopped state exists. Automotive work has formalized these distinctions, as a taxonomy unifying fault tolerance regimes for automotive systems sets out. Spacecraft use an equivalent construct: the NASA Fault Management Handbook describes autonomous safing that configures a vehicle into a power-positive, ground-commandable mode when onboard monitors detect a condition threatening vehicle health.

Applications

Failure state analysis is applied in fields including:

  • Aerospace and spacecraft fault protection design
  • Automotive functional safety under ISO 26262
  • Industrial process control and safety instrumented systems
  • Electric power grid contingency and restoration planning
  • Distributed computing, where failure detectors classify nodes as up or down
  • Medical device risk analysis and regulatory submission
Loading…