Automotive

Active safety and driver assistance

How adaptive cruise, autonomous emergency braking and lane keeping actually decide to act, why false positives matter more than they sound, and what drive-by-wire has to guarantee underneath all of it.

IntermediateAutomotive

Standards referencedUN R152UN R157ISO 15622ISO 11270

Perception tells the vehicle what is out there. This topic is about the far harder second question — given that picture, and given that the picture is sometimes wrong, when should the vehicle actually take control away from the person driving it.

A test vehicle on a proving ground approaching an inflatable soft target car mounted on a low guided platform, with cones marking the lane and a line of instrumentation cases and a laptop on a folding table at the edge of the track, the test area otherwise empty under overcast sky.
A soft target on a proving ground. Every threshold in an emergency braking system is settled here, not in a specification.

Adaptive cruise control

Ordinary cruise control holds a set speed regardless of the world. Adaptive cruise adds an outer loop regulating the gap to the vehicle ahead.

That gap is held as a time, not a distance — typically 1.5 to 2.5 seconds. The reason is that the distance you need grows faster than linearly with speed. A fixed 30 metres would be suicidal at 100 km/h and absurd at 30. A two-second gap becomes roughly 17 metres at 30 km/h and 55 at 100, automatically.

Two nested loops:

  • The outer loop looks at the gap and the closing rate, and produces a target speed.
  • The inner loop achieves that speed through the drivetrain and, if needed, the brakes.

Comfort constrains both. The system could brake far harder than it does, but the point is to relieve the driver, not to alarm them, so ordinary operation is limited to gentle rates. When more is genuinely required, that is no longer cruise control’s job — it is emergency braking’s.

Autonomous emergency braking

A diagram of autonomous emergency braking. A chart shows time to collision falling as a vehicle closes on an obstacle, with three thresholds marked across it — a warning stage at the longest time to collision, partial braking below that, and full braking at the shortest. Each stage is annotated with what it costs if it turns out to be unnecessary, the warning costing almost nothing and full braking risking a collision from behind. A panel explains time to collision as the gap divided by the closing rate, turning a distance and a speed into one comparable number, with worked values showing ten metres being comfortable at walking pace and an emergency at motorway speed. A further panel contrasts a false positive, braking hard for nothing and destroying the driver's trust so that the system is switched off, against a false negative, failing to act when it should. A final panel notes that a system switched off protects nobody, which is why tuning always trades some late detection for far fewer spurious interventions.
A staged intervention buys confirmation time while leaving control with the driver as long as possible.

The core quantity is time to collision — the gap divided by the closing rate. It collapses a distance and a speed into one number that can be compared against a threshold.

Ten metres means nothing on its own. Ten metres at walking pace is comfortable; ten metres closing at 25 m/s is 0.4 seconds and already too late.

The intervention is deliberately staged:

Stage Roughly If it was unnecessary
Warning TTC below ~2.5 s Almost nothing — a chime and a light
Brake pre-fill Nothing the driver notices
Partial braking TTC below ~1.5 s Mild deceleration, mildly annoying
Full braking TTC below ~1.0 s Possible collision from behind

Each stage buys time for confirmation and leaves control with the driver as long as possible. Only the last is genuinely disruptive — and that is exactly the one whose threshold gets argued over.

Lane keeping

A diagram of lane keeping and path planning. On the left, lane departure warning is shown as a vehicle drifting across a marking with only an alert issued, contrasted with lane keeping assist which applies steering torque to influence the path, and lane centring which holds a continuous position in the middle of the lane. A panel explains that the applied torque is deliberately limited so the driver can always override it, noting that a system strong enough to win an argument with the driver would resist exactly the manoeuvres that matter most, such as avoiding debris or a cyclist. On the right, path planning is shown as a trajectory laid out through the next few seconds, drawn not against where other road users are now but against predicted positions, with a cyclist and a lorry shown at their current positions in grey and their predicted positions in colour. A lower panel shows the drive-by-wire chain with duplicated position sensors cross-checked against each other, separate power supplies, independent communication paths and a defined safe state, and notes that a sensor reporting a plausible but wrong value is more dangerous than one that stops reporting.
Planning against where things are now is planning against a world that has already moved on.

Three things often confused:

  • Lane departure warning — tells you, does nothing.
  • Lane keeping assist — applies steering torque when you approach a marking.
  • Lane centring — continuously holds a position in the middle of the lane.

The applied torque is deliberately limited, and this is the point that matters. The driver has reasons the system cannot know: debris in the lane, a cyclist, a pothole, a door about to open. A system strong enough to win an argument with the driver would resist exactly the manoeuvres that matter most.

So the limit is not a shortcoming of the motor. It is a safety requirement.

Planning, and why prediction comes with it

Path planning produces a trajectory through the next few seconds — a sequence of positions and speeds, not just a direction.

It cannot be laid out against where other road users are now, because by the time the vehicle gets there they will have moved. So motion prediction is not a separate step that precedes planning; it is an input planning cannot work without.

Prediction is genuinely hard because it depends on intent. A cyclist looking over their shoulder is probably about to pull out. A car edging forward at a junction is probably about to emerge. Humans read these signs constantly and barely notice doing it.

Drive-by-wire underneath

All of this assumes the vehicle will actually do what it is told. A mechanical linkage fails visibly and usually gradually. An electronic one can fail completely and instantly.

So the requirement is that no single failure leaves the vehicle uncontrollable:

  • Duplicated sensors, cross-checked. A steering angle sensor is read twice by independent means and the readings compared.
  • Separate power paths, so one supply failure does not take everything.
  • Independent communication, so a failed bus is not the end of it.
  • A defined safe state — what the system does when a disagreement is detected, decided in advance rather than improvised.

What to take away

  • Adaptive cruise holds a gap in seconds, not metres, so the distance scales with speed by itself.
  • Time to collision — gap divided by closing rate — is the number everything in AEB is built on.
  • The intervention is staged so each step buys confirmation time and only the last is disruptive.
  • A false positive risks a collision from behind and, worse, gets the system switched off.
  • Lane keeping torque is limited by design so the driver can always win. That is a requirement, not a limitation.
  • Planning works against predicted positions, so prediction is part of planning rather than prior to it.
  • Drive-by-wire must survive any single failure — duplicated sensing, separate supplies, and a safe state agreed in advance.

Next, what the vehicle can learn from beyond its own sensors — V2X communication.

Check your understanding

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

1What does adaptive cruise control regulate that ordinary cruise control does not?
2Why is a following gap set in seconds rather than metres?
3What is time to collision, and why is it the core quantity in AEB?
4Why does AEB usually warn before it brakes?
5Why is a false positive in AEB treated as so serious?
6How does lane keeping assist differ from lane departure warning?
7Why must lane keeping torque be limited rather than simply strong enough to hold the lane?
8What does path planning produce, and why is prediction part of it?
9What is the essential safety requirement of a drive-by-wire system?
10Why do assistance systems cross-check their own sensor inputs rather than trusting a single reading?

#vehicle systems#ADAS#adaptive cruise control#AEB#lane keeping#path planning#drive-by-wire#time to collision#redundancy