When the Voter Trusts Timing: Tracing a Redundancy Loss to Its Fault Model

A dual-channel flight computer isolated a healthy channel, lost its second channel to the same condition shortly after, and the redundancy manager did exactly what its requirements said. Nothing broke in the hardware. What failed was a belief written into the comparator: that two channels disagreeing means one of them is faulty. That belief held for years, until a change that was correct in every local sense made it false.

The trigger, stated narrowly

The trigger was a telemetry logging task added to the flight software in a routine build. In one operating mode, when a payload reboot flooded the housekeeping queue, the task pushed inertial data sampling later in the minor frame on whichever channel serviced the burst first. The FPGA redundancy manager expects both channels to sample within a skew tolerance of 250 microseconds from the shared sync pulse. Channel A exceeded it, the comparator declared a miscompare, and the fault isolation logic latched channel A out. Channel B ran identical code against the same queue burst, so its sampling slid by the same mechanism, and with no partner left to compare against, the system dropped to safe mode. Removing the logging task makes the symptom disappear, which is exactly why it must not go into the report as the root cause.

The assumption that stopped holding

The comparator encoded a fault model in which channel disagreement is evidence of a random hardware fault in one channel: a radiation upset, a stuck bit, a drifting oscillator. Under that model, isolating the channel that strays is correct, because the other channel is independent and therefore trustworthy. The model was sound when it was written, since the skew budget had generous headroom and software timing was treated as a fixed property of each build. What it quietly assumed was that nothing common to both channels could push them outside the window, and identical software consuming an identical input stream is the textbook common-mode source. Once software timing became part of the detection criterion, the channels stopped being independent in the one dimension the voter was measuring.

Why verification passed

Structural coverage under the airborne software and hardware assurance family, DO-178C and DO-254 alongside their ECSS counterparts for space programmes, exercised every voter decision to MC/DC and closed every software requirement, yet the skew budget lived in the hardware requirements while worst-case execution time lived in software verification, so the one quantity linking them had no owner and no test.

What actually keeps the system flying

Redundancy survives a single failure only when its detection criterion can tell a local fault from a shared one. The decision rule we now apply is direct: if a condition affecting every channel identically can violate a fault detection criterion, that criterion may raise an alarm but must never select which channel to isolate. Isolation needs a dissimilar check, such as an independent sensor, a dissimilar monitor, or a hardware built-in test that has no dependency on software timing. Here the miscompare is now reported and debounced, and isolation requires confirmation from that hardware test. The cost is slower detection of genuine single-channel faults, an estimated two to three additional frames, which the system safety assessment had to absorb and justify. Keeping the logging task was the easy decision; the harder one is that every future timing change now needs an explicit review against the voter's budget, owned by someone accountable for both sides of the interface.

Would dissimilar software on the two channels have prevented this?

It would have decorrelated the timing, but probably not removed the exposure: dissimilar builds still share the input stream that produced the burst, and they double development and verification effort. The cheaper and more direct correction is to stop letting any shared condition decide isolation, then judge dissimilarity on its own merits.

Back to AerospaceCert · Domains

← Back to AerospaceCert
Engineering & Architecture Brief

When the Voter Trusts Timing: Tracing a Redundancy Loss to Its Fault Model

A dual-channel flight computer isolated a healthy channel, lost its second channel to the same condition shortly after, and the redundancy manager did exactly what its requirements said. Nothing broke in the hardware. What failed was a belief written into the comparator: that two channels disagreeing means one of them is faulty. That belief held for years, until a change that was correct in every local sense made it false.

The trigger, stated narrowly

The trigger was a telemetry logging task added to the flight software in a routine build. In one operating mode, when a payload reboot flooded the housekeeping queue, the task pushed inertial data sampling later in the minor frame on whichever channel serviced the burst first. The FPGA redundancy manager expects both channels to sample within a skew tolerance of 250 microseconds from the shared sync pulse. Channel A exceeded it, the comparator declared a miscompare, and the fault isolation logic latched channel A out. Channel B ran identical code against the same queue burst, so its sampling slid by the same mechanism, and with no partner left to compare against, the system dropped to safe mode. Removing the logging task makes the symptom disappear, which is exactly why it must not go into the report as the root cause.

The assumption that stopped holding

The comparator encoded a fault model in which channel disagreement is evidence of a random hardware fault in one channel: a radiation upset, a stuck bit, a drifting oscillator. Under that model, isolating the channel that strays is correct, because the other channel is independent and therefore trustworthy. The model was sound when it was written, since the skew budget had generous headroom and software timing was treated as a fixed property of each build. What it quietly assumed was that nothing common to both channels could push them outside the window, and identical software consuming an identical input stream is the textbook common-mode source. Once software timing became part of the detection criterion, the channels stopped being independent in the one dimension the voter was measuring.

Why verification passed

Structural coverage under the airborne software and hardware assurance family, DO-178C and DO-254 alongside their ECSS counterparts for space programmes, exercised every voter decision to MC/DC and closed every software requirement, yet the skew budget lived in the hardware requirements while worst-case execution time lived in software verification, so the one quantity linking them had no owner and no test.

What actually keeps the system flying

Redundancy survives a single failure only when its detection criterion can tell a local fault from a shared one. The decision rule we now apply is direct: if a condition affecting every channel identically can violate a fault detection criterion, that criterion may raise an alarm but must never select which channel to isolate. Isolation needs a dissimilar check, such as an independent sensor, a dissimilar monitor, or a hardware built-in test that has no dependency on software timing. Here the miscompare is now reported and debounced, and isolation requires confirmation from that hardware test. The cost is slower detection of genuine single-channel faults, an estimated two to three additional frames, which the system safety assessment had to absorb and justify. Keeping the logging task was the easy decision; the harder one is that every future timing change now needs an explicit review against the voter's budget, owned by someone accountable for both sides of the interface.

Technical FAQ: Would dissimilar software on the two channels have prevented this?

It would have decorrelated the timing, but probably not removed the exposure: dissimilar builds still share the input stream that produced the burst, and they double development and verification effort. The cheaper and more direct correction is to stop letting any shared condition decide isolation, then judge dissimilarity on its own merits.

Related Architecture Specifications (NONTERRESTRIALNETWORK): isamnet.com · ntnantenna.com · ntnecosystem.com

More Technical Articles on aerospacecert.com

Achieving Deterministic MC/DC Object-Code Coverage in Space Flight Software →DO-254 Design Assurance for Radiation-Tolerant Spaceborne FPGAs →When the Watchdog Loses the Clock It Must Supervise →