When the Watchdog Loses the Clock It Must Supervise

A redundant flight computer cannot take control if the circuitry granting takeover stops with the channel it supervises. In this hypothetical spacecraft command interface, a clock interruption freezes both command publication and its freshness monitor, leaving an obsolete command asserted while the standby computer remains healthy. The initiating event explains why execution stopped, but the shared timing dependency explains why redundancy did not contain the failure.

The command survives its producer

Consider a command interface implemented in a field programmable gate array, where an output register retains the last command and a validity flag until explicitly updated. A radiation induced upset in a susceptible clock control register disables the branch serving command publication, the freshness counter and the takeover arbiter, while the output circuitry remains powered. Publication stops, but the counter cannot advance toward expiration and the arbiter cannot transfer ownership, so the receiving equipment continues accepting a command whose validity flag has become meaningless. A software reset might appear to be the obvious recovery action, yet it cannot restore service if its request must traverse the same stopped logic. The decisive evidence would be an independently timed trace showing publication cease while command validity and ownership remain asserted, supported by fault injection that reproduces this behavior.

The assumption behind the timeout

The trigger is the upset that interrupts the clock, whereas the underlying design assumption is that the mechanism measuring command age and authorizing recovery remains operational whenever the command producer fails.

Give recovery an independent path

For an illustrative allocation, require the receiving equipment to reject stale commands within 20 ms of the last accepted fresh update, with detection, isolation and transfer all charged against that same allowance. Measure expiration at the receiver using an independent time source, and refresh the timer only when evidence of new command production arrives, because repeated reads of a retained validity flag prove nothing about progress. The expiry mechanism must be able to revoke primary ownership and either admit qualified standby commands or impose a defined safe output without waiting for the failed publisher to acknowledge release. Independence therefore has to extend through the clock distribution, reset behavior, output gating and transfer authority relevant to this failure, rather than ending at a separately instantiated watchdog block. The applicable decision rule is direct: credit a recovery path only when the fault disabling the producer cannot also disable the evidence, authority or actuation needed to contain its output. A shorter timeout reduces exposure to stale commands but increases nuisance transfers during legitimate scheduling delays, and standby admission still requires sufficiently current control state to avoid an unsafe command discontinuity.

Make the assurance claim match the boundary

The airborne development assurance framework covers software through DO-178C and electronic hardware through DO-254, as described in the FAA guidance for software assurance and hardware assurance; applying these processes to spacecraft does not by itself establish mission qualification. Modified condition and decision coverage can demonstrate the independence of conditions within an exercised software decision, but it cannot establish that the hardware clock needed to reach that decision survives the fault. Likewise, a formal recovery property expressed only over clocked transitions can conceal the defect if its model assumes that the relevant clock continues advancing, so the proof boundary must include clock cessation and an independently progressing observation of elapsed time. Verification should interrupt the actual shared timing dependency and observe command expiration and ownership transfer at the receiving boundary, since forcing a timeout flag exercises recovery logic while bypassing the assumption under examination. If containment cannot be demonstrated within the allocated interval, the remaining engineering choice is to provide independent receiver authority or restrict how long the controlled equipment may safely retain its last command.

Back to AerospaceCert · Domains

← Back to AerospaceCert
Engineering & Architecture Brief

When the Watchdog Loses the Clock It Must Supervise

A redundant flight computer cannot take control if the circuitry granting takeover stops with the channel it supervises. In this hypothetical spacecraft command interface, a clock interruption freezes both command publication and its freshness monitor, leaving an obsolete command asserted while the standby computer remains healthy. The initiating event explains why execution stopped, but the shared timing dependency explains why redundancy did not contain the failure.

The command survives its producer

Consider a command interface implemented in a field programmable gate array, where an output register retains the last command and a validity flag until explicitly updated. A radiation induced upset in a susceptible clock control register disables the branch serving command publication, the freshness counter and the takeover arbiter, while the output circuitry remains powered. Publication stops, but the counter cannot advance toward expiration and the arbiter cannot transfer ownership, so the receiving equipment continues accepting a command whose validity flag has become meaningless. A software reset might appear to be the obvious recovery action, yet it cannot restore service if its request must traverse the same stopped logic. The decisive evidence would be an independently timed trace showing publication cease while command validity and ownership remain asserted, supported by fault injection that reproduces this behavior.

The assumption behind the timeout

The trigger is the upset that interrupts the clock, whereas the underlying design assumption is that the mechanism measuring command age and authorizing recovery remains operational whenever the command producer fails.

Give recovery an independent path

For an illustrative allocation, require the receiving equipment to reject stale commands within 20 ms of the last accepted fresh update, with detection, isolation and transfer all charged against that same allowance. Measure expiration at the receiver using an independent time source, and refresh the timer only when evidence of new command production arrives, because repeated reads of a retained validity flag prove nothing about progress. The expiry mechanism must be able to revoke primary ownership and either admit qualified standby commands or impose a defined safe output without waiting for the failed publisher to acknowledge release. Independence therefore has to extend through the clock distribution, reset behavior, output gating and transfer authority relevant to this failure, rather than ending at a separately instantiated watchdog block. The applicable decision rule is direct: credit a recovery path only when the fault disabling the producer cannot also disable the evidence, authority or actuation needed to contain its output. A shorter timeout reduces exposure to stale commands but increases nuisance transfers during legitimate scheduling delays, and standby admission still requires sufficiently current control state to avoid an unsafe command discontinuity.

Make the assurance claim match the boundary

The airborne development assurance framework covers software through DO-178C and electronic hardware through DO-254, as described in the FAA guidance for software assurance and hardware assurance; applying these processes to spacecraft does not by itself establish mission qualification. Modified condition and decision coverage can demonstrate the independence of conditions within an exercised software decision, but it cannot establish that the hardware clock needed to reach that decision survives the fault. Likewise, a formal recovery property expressed only over clocked transitions can conceal the defect if its model assumes that the relevant clock continues advancing, so the proof boundary must include clock cessation and an independently progressing observation of elapsed time. Verification should interrupt the actual shared timing dependency and observe command expiration and ownership transfer at the receiving boundary, since forcing a timeout flag exercises recovery logic while bypassing the assumption under examination. If containment cannot be demonstrated within the allocated interval, the remaining engineering choice is to provide independent receiver authority or restrict how long the controlled equipment may safely retain its last command.

Related Architecture Specifications (NONTERRESTRIALNETWORK): satellitebackhaul.com · subthz.com · fsocommunication.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 →