Inferensys

Glossary

Fault Tolerance (FT)

An operational design where a secondary redundant system executes in lockstep with the primary controller, enabling instantaneous, bumpless takeover without any loss of state or data upon hardware failure.
Data scientist building training data pipeline on laptop, data preprocessing visible, technical workspace.
HIGH-AVAILABILITY CONTROL ARCHITECTURE

What is Fault Tolerance (FT)?

Fault Tolerance (FT) is an operational design where a secondary redundant system executes in lockstep with the primary controller, enabling instantaneous, bumpless takeover without any loss of state or data upon hardware failure.

Fault Tolerance (FT) is a high-availability architecture in which a secondary, redundant controller executes identical instructions in strict lockstep synchronization with the primary controller. This parallel execution ensures that the standby system maintains an exact mirror of the primary's processor state, memory contents, and I/O status at every clock cycle, enabling a bumpless transfer of control authority.

Unlike high-availability failover models that require application restart or state reloading, true FT provides zero-downtime continuity with no loss of in-flight data or session context. This is critical for mixed-criticality systems and virtualized Programmable Logic Controllers (PLCs) where even a single cycle of interruption is unacceptable. The architecture relies on a dedicated deterministic synchronization channel between the redundant compute nodes to compare outputs and detect discrepancies instantly.

ARCHITECTURAL PILLARS

Key Characteristics of Fault-Tolerant Industrial Systems

Fault tolerance in industrial control is not merely about having a backup; it requires a deterministic, synchronized architecture that guarantees stateful continuity during a failure. The following characteristics define a system capable of bumpless transfer and zero-data-loss recovery.

01

Lockstep Execution

The primary and secondary controllers execute identical instruction streams on a cycle-by-cycle basis, strictly synchronized by a common clock signal. This is not simple standby redundancy; both systems process the same inputs simultaneously.

  • Cycle-accurate logic: Outputs are compared at the end of each scan cycle.
  • Immediate fault detection: Any divergence in state triggers an instantaneous alarm.
  • Hardware-enforced: Often relies on specialized lockstep cores within a system-on-chip.
02

Bumpless Transfer

The mechanism by which control authority switches from a failed primary to a healthy secondary without any perturbation in the physical process. The output signal must not glitch, spike, or drop to a default state during the transition.

  • Output smoothing: Analog values are maintained at the last known good value during the switchover.
  • Sub-millisecond takeover: The failover is completed within a single control cycle to prevent watchdog timeouts.
  • Critical for motion control: Prevents servo motors from experiencing a momentary loss of torque command.
03

Hot Standby with State Mirroring

A redundancy model where the backup system is fully powered, running, and maintains a real-time, bitwise-identical copy of the primary's dynamic memory. This includes the process image, timers, counters, and internal relays.

  • Continuous synchronization: Data is transferred over a dedicated high-speed fiber link.
  • No re-initialization: The standby does not need to reboot or reload the program upon takeover.
  • Contrasts with warm standby: Warm standby only syncs at program boundaries, risking data loss.
04

Deterministic Fault Detection

The system must identify a failure within a strictly bounded time interval, typically a single maximum cycle time. This is achieved through a combination of hardware watchdogs and software heartbeat monitoring.

  • Hardware watchdog timers: Independent circuits that must be toggled by the controller within a defined window.
  • Heartbeat packets: Periodic UDP frames sent between redundant units to confirm liveness.
  • Failure modes covered: Power loss, CPU halt, memory corruption, and I/O bus failure.
05

Diverse Redundancy

An advanced fault tolerance technique that protects against common-cause failures by using dissimilar hardware or software in the redundant channels. A bug in a specific CPU stepping or compiler version will not affect both channels simultaneously.

  • N-version programming: Independently developed software executing the same specification.
  • Dissimilar hardware: Using processors from different vendors for the primary and secondary.
  • Defeats systematic faults: Prevents a single design flaw from bringing down the entire redundant pair.
06

Triple Modular Redundancy (TMR)

A fault masking architecture where three identical systems process the same data, and a majority voter selects the correct output. A single faulty channel is automatically outvoted, providing uninterrupted operation without any switchover delay.

  • Instant fault masking: No detection or reconfiguration time is required.
  • Common in aerospace and safety-critical process industries.
  • 2-out-of-3 (2oo3) voting: The system tolerates one fault while maintaining safe operation.
FAULT TOLERANCE

Frequently Asked Questions

Explore the critical architectural patterns and operational mechanisms that enable industrial control systems to survive hardware failures without interrupting production or losing state.

Fault Tolerance (FT) is an operational design pattern where a secondary redundant system executes in lockstep with the primary controller, enabling instantaneous, bumpless takeover without any loss of state or data upon hardware failure. Unlike high-availability approaches that may involve brief switchover delays or session re-establishment, true FT ensures that the backup system is always an exact, cycle-accurate replica of the primary. In virtualized PLC environments, this is achieved by replicating every CPU instruction, memory write, and I/O operation to a standby virtual machine running on separate physical hardware. If the primary host experiences a power supply failure, memory corruption, or CPU fault, the secondary assumes control within the same clock cycle, maintaining deterministic execution of IEC 61131-3 control logic. This architecture is essential for processes where even a single scan cycle of downtime could result in catastrophic equipment damage, product loss, or safety incidents.

RESILIENCE STRATEGY COMPARISON

Fault Tolerance vs. High Availability vs. Disaster Recovery

A technical comparison of three distinct operational resilience strategies, delineating their mechanisms, recovery objectives, and architectural implications for industrial control systems.

FeatureFault ToleranceHigh AvailabilityDisaster Recovery

Primary Objective

Zero interruption of service and state during a component failure

Minimize service downtime through rapid automated failover

Restore operations at a secondary site after a catastrophic event

Recovery Time Objective (RTO)

0 seconds (instantaneous)

Seconds to minutes

Hours to days

Recovery Point Objective (RPO)

0 (zero data loss)

Near-zero (minimal in-flight transaction loss)

Minutes to hours (acceptable data loss window)

State Preservation

Full state maintained via lockstep execution

State may require re-synchronization or session re-establishment

State restored from last backup or replica

Redundancy Mechanism

Parallel redundant components executing identical operations simultaneously

Standby redundant components with automated health monitoring and failover triggers

Geographically isolated cold, warm, or hot standby sites

Failure Detection

Implicit via voting logic or lockstep divergence

Explicit via heartbeat signals and health checks

Manual declaration or automated site-level health monitoring

Typical Implementation

Triple Modular Redundancy (TMR) hardware or lockstep virtual machines

Clustered servers with virtual IP failover and shared storage

Off-site data replication and pre-provisioned cloud infrastructure

Scope of Protection

Single component or subsystem failure

Server, application, or local network failure

Entire site or regional failure

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.