When the MAP Outlives the Signal Plan: Tracing a Wrong Green Countdown Back to Its Assumption

A green countdown that ends in a yellow light is rarely a decoding bug. In the case traced here, every message parsed cleanly and every field was in range. Even so, the vehicle told its planner it had several seconds of green on an approach where the controller had already started clearance. The fault sat in an assumption the stack never wrote down: that a MAP and a SPaT broadcast by the same roadside unit always describe the same intersection.

Symptom first, trigger second

Field reports clustered at a single intersection over a few days. Drivers saw a confident green countdown while the signal head in front of them was already amber, and the longitudinal planner had held speed instead of preparing to stop. The trigger was routine operations. The agency had moved a left turn from protected-permissive to protected-only operation and renumbered signal groups in the controller. The roadside unit started broadcasting SPaT under the new numbering immediately, but the MAP payload came from a separate map workflow and kept the old lane connections until the next scheduled publication. For a short window the lane the vehicle had matched still pointed, through its connection, to a signal group number that now belonged to a different movement.

The assumption that stopped holding

The stack keyed its intersection cache by intersection ID alone, treated MAP as quasi-static geometry, and joined SPaT movement states to lanes by signal group number with no further check. That join is valid only if MAP and SPaT are authored against the same signal plan, and nothing in the SAE J2735 message dictionary or its companion intersection safety profiles requires the two to change together. Timing interpretation was correct, which made the failure harder to see: the stack resolved the TimeMark fields, counted in units of 0.1 s from the top of the UTC hour, against a disciplined clock, so the countdown was precise and plausible. It was just the countdown for someone else's movement. Fixing the parser, the clock or the lane matcher would have changed nothing, because each of them did exactly what it was specified to do.

The controller engineers, the map maintainers and the vehicle software team each acted correctly against an interface contract that never said MAP and SPaT have to change in lockstep, so the root cause is the missing contract and not any person's decision.

Keeping the function alive when one input lies

Resilience here comes from treating V2I as one witness among several, never as the sole authority on signal state. The first defence is a coverage check: every signal group referenced by the matched lane's connections must be present in the current SPaT, and the set of groups in SPaT should match the set the MAP references, because a renumbered plan almost always breaks that symmetry. The second is a sequence check, since a movement that jumps from protected green to red with no clearance interval, and with no preemption indicated, is reporting something that is not physically happening at that approach. The third is a cross-check against onboard perception of the signal head whenever the camera has a clear view. The decision rule we now apply is simple: SPaT may shape longitudinal planning only while coverage, sequence and perception all agree, and if any one of them fails, the stack keeps MAP geometry for the stop line, drops the countdown entirely and hands signal state back to perception. The trade-off that remains is uncomfortable, because perception is weakest exactly where V2I earns its keep, behind trucks, in low sun and around curves. That leaves the next decision with the program and not the code: whether to push mismatch telemetry back to the infrastructure owner, so the MAP and SPaT contract gets fixed at the source instead of being policed one vehicle at a time.

Why not rely on the MAP revision counter to catch this?

The revision counter tells you that someone edited the MAP. It cannot tell you that the signal plan changed underneath an unedited MAP, and in this case the MAP was untouched while the controller numbering moved. Only a check that compares the signal groups the MAP references with the ones SPaT actually carries catches that divergence.

Back to V2IStack · Domains

← Back to V2IStack
Engineering & Architecture Brief

When the MAP Outlives the Signal Plan: Tracing a Wrong Green Countdown Back to Its Assumption

A green countdown that ends in a yellow light is rarely a decoding bug. In the case traced here, every message parsed cleanly and every field was in range. Even so, the vehicle told its planner it had several seconds of green on an approach where the controller had already started clearance. The fault sat in an assumption the stack never wrote down: that a MAP and a SPaT broadcast by the same roadside unit always describe the same intersection.

Symptom first, trigger second

Field reports clustered at a single intersection over a few days. Drivers saw a confident green countdown while the signal head in front of them was already amber, and the longitudinal planner had held speed instead of preparing to stop. The trigger was routine operations. The agency had moved a left turn from protected-permissive to protected-only operation and renumbered signal groups in the controller. The roadside unit started broadcasting SPaT under the new numbering immediately, but the MAP payload came from a separate map workflow and kept the old lane connections until the next scheduled publication. For a short window the lane the vehicle had matched still pointed, through its connection, to a signal group number that now belonged to a different movement.

The assumption that stopped holding

The stack keyed its intersection cache by intersection ID alone, treated MAP as quasi-static geometry, and joined SPaT movement states to lanes by signal group number with no further check. That join is valid only if MAP and SPaT are authored against the same signal plan, and nothing in the SAE J2735 message dictionary or its companion intersection safety profiles requires the two to change together. Timing interpretation was correct, which made the failure harder to see: the stack resolved the TimeMark fields, counted in units of 0.1 s from the top of the UTC hour, against a disciplined clock, so the countdown was precise and plausible. It was just the countdown for someone else's movement. Fixing the parser, the clock or the lane matcher would have changed nothing, because each of them did exactly what it was specified to do.

The controller engineers, the map maintainers and the vehicle software team each acted correctly against an interface contract that never said MAP and SPaT have to change in lockstep, so the root cause is the missing contract and not any person's decision.

Keeping the function alive when one input lies

Resilience here comes from treating V2I as one witness among several, never as the sole authority on signal state. The first defence is a coverage check: every signal group referenced by the matched lane's connections must be present in the current SPaT, and the set of groups in SPaT should match the set the MAP references, because a renumbered plan almost always breaks that symmetry. The second is a sequence check, since a movement that jumps from protected green to red with no clearance interval, and with no preemption indicated, is reporting something that is not physically happening at that approach. The third is a cross-check against onboard perception of the signal head whenever the camera has a clear view. The decision rule we now apply is simple: SPaT may shape longitudinal planning only while coverage, sequence and perception all agree, and if any one of them fails, the stack keeps MAP geometry for the stop line, drops the countdown entirely and hands signal state back to perception. The trade-off that remains is uncomfortable, because perception is weakest exactly where V2I earns its keep, behind trucks, in low sun and around curves. That leaves the next decision with the program and not the code: whether to push mismatch telemetry back to the infrastructure owner, so the MAP and SPaT contract gets fixed at the source instead of being policed one vehicle at a time.

Technical FAQ: Why not rely on the MAP revision counter to catch this?

The revision counter tells you that someone edited the MAP. It cannot tell you that the signal plan changed underneath an unedited MAP, and in this case the MAP was untouched while the controller numbering moved. Only a check that compares the signal groups the MAP references with the ones SPaT actually carries catches that divergence.

Related Architecture Specifications (AUTOMOTIVESDV): batterycoordination.com · caredetection.com · chargingos.com

More Technical Articles on automotivev2i.com

Building a Production SPaT Decoder for Green Light Optimal Speed Advisory →Fusing MAP Messages with Onboard Localization for Intersection Movement Assist →The Signal Group That Moved: Tracing a Phantom Green Back to a Cached MAP →When SPaT Phase Binding Fails Under Urban Map Drift →