The Watchdog Timeout That Passes Review and Quietly Breaks Your Fault Budget

In a safety-relevant release, the riskiest change is often one integer: a supervision tolerance loosened in one ECU configuration to stop a spurious reset. The diff is one line, the value looks reasonable and the pipeline goes green. Nobody checks that this value is one term in a sum that has to stay below the fault-tolerant time interval of a function spread across several controllers. When the sum goes over, nothing crashes. The redundancy just stops arriving in time.

Why the reviewer cannot see it

Code review checks a diff against local intent, while timing configuration is a global invariant scattered across files owned by different teams. In a zonal architecture, the fault reaction chain for a steer-by-wire path has several links. It runs through the zone controller's end-to-end protection timeout, then the alive supervision of the central compute partition's watchdog, then the health monitor that decides to degrade, and finally the switchover to the redundant actuator path. Each link lives in its own ARXML or YAML fragment, generated by its own tool and approved by its own owner. Relax one watchdog tolerance to a more forgiving value and the change reads as noise reduction, which is exactly how it gets justified. The functional safety concept still claims that detection plus reaction fits inside an FTTI of 100 ms, but no artifact recomputes that claim when one of its inputs moves.

What failure looks like in the fleet

The vehicle keeps running, and that is the problem. With the looser tolerance, a hung task on the primary partition is detected late. The degradation request arrives after the actuator has already acted on stale commands, and the redundant channel takes over outside the window the safety case was built on. Nothing logs an error, because every timer behaved exactly as configured. In the field this shows up as rare, unreproducible steering or braking anomalies, each closed as a sensor glitch, and it is the repeat incident you know well: the fix was never in the part that failed, it was in the arithmetic between parts. The edit also shipped over the air, so it falls under the same mix of rules that governs it everywhere else: functional safety standards, UNECE cybersecurity and software update regulations, and process assessment models such as ASPICE. Together they expect that edit to trigger an impact assessment against the safety-relevant software identification, and in practice it never does.

A check you can run today

Start with history, not tooling. Run git diff between your last released tag and HEAD, pipe it through grep "Timeout\|Cycle\|Tolerance\|Deadline", and you get every timing parameter that moved since the safety case was last argued. Then make that a gate. A short CI script parses the configuration of every element on each safety path and works out the worst-case detection latency: supervision cycle times tolerated misses, plus one cycle of phase offset. It adds the documented reaction and switchover times, and it fails the build when the total exceeds the FTTI minus a declared margin. The script needs a path manifest, a small hand-maintained file that maps each safety goal to the configuration elements on its chain. Building it usually exposes chains nobody had written down. My estimate is that a first manifest for one ASIL D function costs a team a few days, most of it spent arguing about which timer is authoritative.

The rule to enforce

Treat any change to a value on a fault reaction chain as a change to the safety case itself: the pull request must carry the recomputed budget and a sign-off from the safety owner, not just the component owner, and the cost you accept is friction on exactly the tuning changes teams make most often under schedule pressure.

Why not rely on hardware-in-the-loop tests to catch this?

HIL campaigns inject the faults someone scripted, usually at nominal timing. A late detection that still lands before the test's pass threshold looks like a pass. The static budget check catches the drift on every commit, and the same result every time. HIL is still where you prove the documented reaction times are true, because the budget check is only as honest as the numbers in its manifest.

Back to AutomotiveCert · Domains

← Back to AutomotiveCert
Engineering & Architecture Brief

The Watchdog Timeout That Passes Review and Quietly Breaks Your Fault Budget

In a safety-relevant release, the riskiest change is often one integer: a supervision tolerance loosened in one ECU configuration to stop a spurious reset. The diff is one line, the value looks reasonable and the pipeline goes green. Nobody checks that this value is one term in a sum that has to stay below the fault-tolerant time interval of a function spread across several controllers. When the sum goes over, nothing crashes. The redundancy just stops arriving in time.

Why the reviewer cannot see it

Code review checks a diff against local intent, while timing configuration is a global invariant scattered across files owned by different teams. In a zonal architecture, the fault reaction chain for a steer-by-wire path has several links. It runs through the zone controller's end-to-end protection timeout, then the alive supervision of the central compute partition's watchdog, then the health monitor that decides to degrade, and finally the switchover to the redundant actuator path. Each link lives in its own ARXML or YAML fragment, generated by its own tool and approved by its own owner. Relax one watchdog tolerance to a more forgiving value and the change reads as noise reduction, which is exactly how it gets justified. The functional safety concept still claims that detection plus reaction fits inside an FTTI of 100 ms, but no artifact recomputes that claim when one of its inputs moves.

What failure looks like in the fleet

The vehicle keeps running, and that is the problem. With the looser tolerance, a hung task on the primary partition is detected late. The degradation request arrives after the actuator has already acted on stale commands, and the redundant channel takes over outside the window the safety case was built on. Nothing logs an error, because every timer behaved exactly as configured. In the field this shows up as rare, unreproducible steering or braking anomalies, each closed as a sensor glitch, and it is the repeat incident you know well: the fix was never in the part that failed, it was in the arithmetic between parts. The edit also shipped over the air, so it falls under the same mix of rules that governs it everywhere else: functional safety standards, UNECE cybersecurity and software update regulations, and process assessment models such as ASPICE. Together they expect that edit to trigger an impact assessment against the safety-relevant software identification, and in practice it never does.

A check you can run today

Start with history, not tooling. Run git diff between your last released tag and HEAD, pipe it through grep "Timeout\|Cycle\|Tolerance\|Deadline", and you get every timing parameter that moved since the safety case was last argued. Then make that a gate. A short CI script parses the configuration of every element on each safety path and works out the worst-case detection latency: supervision cycle times tolerated misses, plus one cycle of phase offset. It adds the documented reaction and switchover times, and it fails the build when the total exceeds the FTTI minus a declared margin. The script needs a path manifest, a small hand-maintained file that maps each safety goal to the configuration elements on its chain. Building it usually exposes chains nobody had written down. My estimate is that a first manifest for one ASIL D function costs a team a few days, most of it spent arguing about which timer is authoritative.

The rule to enforce

Treat any change to a value on a fault reaction chain as a change to the safety case itself: the pull request must carry the recomputed budget and a sign-off from the safety owner, not just the component owner, and the cost you accept is friction on exactly the tuning changes teams make most often under schedule pressure.

Technical FAQ: Why not rely on hardware-in-the-loop tests to catch this?

HIL campaigns inject the faults someone scripted, usually at nominal timing. A late detection that still lands before the test's pass threshold looks like a pass. The static budget check catches the drift on every commit, and the same result every time. HIL is still where you prove the documented reaction times are true, because the budget check is only as honest as the numbers in its manifest.

Related Architecture Specifications (AUTOMOTIVESDV): realtimebattery.com · sdvhypervisor.com · sdvsafety.com

More Technical Articles on automotivecert.com

Converging Functional Safety and Cybersecurity into a Unified Safety Case →Migrating Automotive Engineering Pipelines to ASPICE PAM 4.0 →Catching the Watchdog Configuration Drift That Breaks Zonal Failover →