Automotive

Sensor fusion and autonomy levels

How separate sensor views become one picture, what a Kalman filter is actually doing, where learned perception differs from hand-written rules, and what the SAE levels really divide on.

IntermediateAutomotive

Standards referencedSAE J3016ISO 26262ISO 21448UN R157

Four sensors produce four partial, differently timed, partly contradictory accounts of the same road. The vehicle has to act on one. Everything in this topic is about how that reconciliation is done, and what it lets the vehicle be trusted to do.

An ADAS calibration bay, with a large patterned calibration target board suspended in an aluminium profile frame on castors, positioned squarely in front of a car whose nose is just behind it, a green laser alignment line running along the floor and up through the centre of the frame, and a rugged laptop on a wheeled trolley to one side trailing a cable across the workshop floor.
A calibration bay. Everything downstream assumes the sensors agree about where straight ahead is.

The problem

Each sensor:

  • sees part of the scene,
  • reports at its own rate, so no two observations are quite simultaneous,
  • has its own error characteristics, systematic as well as random,
  • and will sometimes be wrong in ways it cannot report.

A controller cannot act on four disagreeing accounts. Fusion produces a single estimate — with an honest statement of how confident that estimate is, which turns out to matter as much as the estimate.

Early and late fusion

A diagram of the sensor fusion pipeline. The late fusion path is shown with each sensor independently producing its own list of detected objects, the lists then being reconciled into a single set of tracks, described as simple and modular and degrading gracefully when a sensor drops out, but discarding information at each sensor before combination. The early fusion path is shown with raw measurements from all sensors combined before interpretation, described as retaining information and able to detect objects no single sensor was confident about, at the cost of heavy computation and tight time synchronisation. Beneath, the tracking loop is drawn as a cycle of predict, associate, update and manage, with data association highlighted as the difficult step and a note that a wrong association corrupts a track rather than merely delaying it. A final panel shows a Kalman filter update as a prediction with a wide uncertainty and a measurement with a narrower one combining into an estimate narrower than either.
Late fusion is easier to build and reason about. Early fusion keeps what late fusion throws away.

Late fusion. Each sensor produces its own object list — the radar says “something at 40 m closing at 8 m/s”, the camera says “a car, slightly left”. Those lists are then reconciled.

Simple, modular, and it degrades gracefully: lose a sensor and the rest still work. But every sensor has already discarded information to produce its list. A faint radar return and a weak camera detection might each fall below their own thresholds while together being conclusive — and late fusion has already thrown both away.

Early fusion. Raw measurements are combined before interpretation. Nothing is discarded, so exactly those weak-but-corroborating cases can be caught.

The price is heavy computation and tight synchronisation. At 100 km/h a vehicle moves nearly three metres in a tenth of a second, so combining raw data means knowing, to a millisecond, when each observation was taken.

Most production systems sit somewhere between the two.

Tracking, and the Kalman filter

Detecting something in one frame is not enough. The vehicle needs to know that this object is the same one it saw a moment ago, and where it is going.

The loop is: predict, associate, update, manage.

A Kalman filter carries two things — an estimate, and how uncertain that estimate is.

  1. Predict. Where should this object be now, given where it was and how it was moving? The uncertainty grows, because prediction is guesswork.
  2. Update. A measurement arrives. Combine it with the prediction in proportion to which is currently trusted more. A precise measurement pulls the estimate hard; a noisy one barely moves it. The uncertainty shrinks, because we now know more.

That weighting is the entire mechanism. It is not averaging — it is averaging with the weights set by relative confidence, recomputed at every step.

The extended Kalman filter exists because the plain one assumes linearity. A radar measures range and bearing while the track is held in x and y, and that conversion is trigonometric. The extended version linearises locally around the current estimate. It works well when the estimate is close and degrades when it is not.

Learned perception

Nobody can write down rules that reliably separate a pedestrian from a lamp post across every pose, every lighting condition and every partial occlusion. Hand-written rules are brittle in exactly the situations that matter.

A learned model derives those rules from labelled examples instead, and does the job far better.

Two consequences follow, and both are uncomfortable:

  • Its competence is bounded by its training data, in ways not visible from outside. A model that has never seen a horse-drawn cart has no way to tell you that.
  • Failures cannot be traced to a faulty line. There is no line. Diagnosis becomes a question about data and distributions rather than about code.

The SAE levels

A diagram of the SAE J3016 levels of driving automation. Levels zero to five are shown as a column, with levels zero, one and two grouped as driver support where the human is driving and monitoring at all times, and levels three, four and five grouped as automated driving where the system drives when engaged. A heavy line is drawn between level two and level three and labelled as the point where responsibility transfers, noted as a legal threshold rather than a technical one. Each level carries a short description and an example. Beside them, the operational design domain is illustrated as a bounded region of road type, speed, weather and lighting, with the system operating inside it and required to hand back or reach a safe state on approaching the edge. A lower panel shows the handover timeline, with the system recognising the approaching limit, issuing a warning several seconds ahead, the driver rebuilding situational awareness, and a minimal risk manoeuvre if nobody responds.
The line that matters is between 2 and 3, and it is about responsibility rather than capability.
Level Who is driving What it means
0 The driver Warnings only, no sustained control
1 The driver Steering or speed assisted, not both
2 The driver Both assisted together — but the driver monitors continuously and is responsible
3 The system, when engaged The system monitors and is responsible within its domain; the driver may disengage but must resume when asked
4 The system, when engaged No expectation of a driver resuming — the system reaches a safe state itself
5 The system Anywhere a competent human could drive. Does not exist

The step from 2 to 3 is the one that matters, and it is not about capability. A Level 2 system may steer and brake beautifully while the driver remains liable throughout. A Level 3 system accepts that responsibility. That is a legal and insurance threshold, which is why it is approached so cautiously by manufacturers whose engineering is already capable of more.

Operational design domain

Nothing is simply “Level 3”. It is Level 3 within a stated domain — perhaps divided motorways, below 60 km/h, daylight, clear weather, with lane markings present.

The domain is as much part of the specification as the level. And recognising that its edge is approaching — fog thickening, the motorway ending, markings disappearing under roadworks — is a substantial part of what the system must do.

Handover

A driver who has been legitimately permitted to disengage cannot resume instantly. Rebuilding awareness of surrounding traffic takes seconds, not moments.

So the system must:

  • recognise the approaching limit early enough to give several seconds of warning,
  • escalate that warning if there is no response,
  • and, failing all of it, perform a minimal risk manoeuvre by itself — decelerating in lane or pulling onto the hard shoulder.

That last requirement is what makes Level 3 genuinely hard. The system must be able to finish the job alone, which means it must be nearly good enough for Level 4 in order to be honest about being Level 3.

What to take away

  • Fusion turns several partial, differently timed, disagreeing accounts into one estimate with a stated confidence.
  • Late fusion is modular and robust but discards information at each sensor; early fusion keeps it at the cost of computation and synchronisation.
  • A Kalman filter weights prediction against measurement by relative confidence. That is all it is.
  • Association — which measurement belongs to which track — is where tracking usually fails.
  • Learned perception handles messy reality far better and is bounded by its training data in ways you cannot see.
  • ISO 21448 covers the case where nothing is broken and the design was simply inadequate. That is the dominant risk.
  • Levels 2 and 3 differ on responsibility, not capability, and every level is only meaningful alongside its operational design domain.

Next, what these systems actually do with the picture — active safety and driver assistance.

Check your understanding

10 questions. Nothing is recorded — this is just for you.

1What problem does sensor fusion exist to solve?
2What is the difference between early and late fusion?
3What is a Kalman filter fundamentally doing?
4Why is the extended Kalman filter needed rather than the plain one?
5What is data association, and why is it the hard part of tracking?
6How does a learned perception pipeline differ from a hand-written one?
7What does ISO 21448 address that ISO 26262 does not?
8What actually separates SAE Level 2 from Level 3?
9What is an operational design domain?
10Why is the handover from a Level 3 system to a driver considered a difficult problem?

#vehicle systems#sensor fusion#Kalman filter#EKF#perception#SAE J3016#autonomy levels#ODD#tracking