Black FridayUpgrade your career this Black Friday. Get up to ₹60,000 Scholarship on IIT programsUp to ₹60K Black Friday Scholarship52 seats leftOffer ends Fri, 27 Nov, 11:59 pm IST.

Black Friday Scholarship – IIT Jammu & IIT Roorkee

The best Black Friday deal isn't a gadget. It's your next career move.

Get up to ₹60,000 Black Friday Scholarship on our PG programs with IIT Jammu and iHUB DivyaSampark, IIT Roorkee. IIT certification, 12 live sessions with IIT faculty and 100% placement assistance.

Only 52 seats left. Offer ends Fri, 27 Nov, 11:59 pm IST

3,905 engineers placed since 2019 · 1,276 hiring companies

By submitting you agree to our Terms and Privacy Policy.

Your free demo class is requested

Browse courses

How Self-Driving Cars Detect and Avoid Obstacles: Sensors, Fusion, Braking

How self-driving cars and ADAS detect obstacles with cameras, radar, lidar and ultrasonic sensors, fuse them, and decide to brake or steer. Worked numbers for lidar timing, radar Doppler, sensor fusion and stopping distance, plus the AEB rules coming in the US (2029) and India (draft, 2030).

How Self-Driving Cars Detect and Avoid Obstacles: Sensors, Fusion, Braking

Self-driving cars detect obstacles with several sensors at once. Cameras recognise what an object is, radar measures its distance and closing speed, lidar maps its exact shape, and ultrasonic sensors cover the last few metres. Software fuses these readings into tracked objects, predicts where each one will move, and then plans to slow down, brake hard or steer around. Whether the car stops in time depends mostly on how quickly that chain runs, and on physics.

Key takeaways

  • Waymo's sixth-generation Driver, announced on 19 Aug 2024, carries 13 cameras, 4 lidars and 6 radars and sees up to 500 m (Waymo). Tesla went the other way: it dropped radar in 2021 and began removing ultrasonic sensors from Model 3 and Model Y in October 2022 (Electrek, 4 Oct 2022).
  • Lidar timing is unforgiving. Light takes 1.33 µs to reach an object 200 m away and come back, and a 1 ns timing error moves the point by 15 cm.
  • Fusion weights each sensor by how much it can be trusted. A camera range of 42.0 m (±2.0 m) and a radar range of 40.5 m (±0.3 m) fuse to 40.53 m (±0.30 m).
  • Reaction time dominates at city speeds. At 50 km/h, road-design values for a human driver give 63 m to stop. An automated system with an assumed 0.5 s latency and the same hard braking a driver could use (7 m/s²) needs 21 m.
  • Rules are arriving. The US requires automatic emergency braking (AEB) on new light vehicles from 1 Sep 2029. India's draft of 23 Oct 2026 proposes AEB on all new car models from 1 Oct 2030 and on all cars from 1 Oct 2032.

What happens between "obstacle ahead" and "brakes on"?

Every obstacle-avoidance system, from a budget car's AEB to a robotaxi, runs the same loop many times a second: sense, perceive, fuse and track, predict, plan, act. A mistake or delay at any stage carries through to the brakes. That is why engineers talk about the whole chain, not just "the sensor" or "the AI".

Six-stage obstacle avoidance pipeline: sense, perceive, fuse and track, predict, plan, act
The loop every driver-assistance and self-driving stack runs. Drawn by a Skill-Lync script.
  • Sense: raw data arrives. Camera frames, radar echoes, lidar point clouds and ultrasonic pings.
  • Perceive: neural networks and signal processing turn the raw data into objects with a class (car, pedestrian, cyclist, debris), a position and a size.
  • Fuse and track: detections from different sensors are matched to the same object, and a filter (usually a Kalman filter or one of its variants) estimates position and velocity over time.
  • Predict: the car estimates where each tracked object will be over the next few seconds. Will the pedestrian step off the kerb? Is the car ahead slowing?
  • Plan: the planner picks a path and speed profile that stays clear of every predicted object and obeys traffic rules.
  • Act: commands go to the brake, steering and powertrain controllers.

Which sensors do self-driving cars use, and what does each one measure?

Production driver-assistance cars mostly use cameras and radar. Robotaxis add lidar for precise 3D shape, and nearly every car keeps short-range ultrasonic or camera coverage for parking. Each sensor measures something the others can't, which is why most companies combine them. Tesla is the best-known exception: it now relies on cameras alone.

What each sensor contributes to obstacle detection
SensorMeasures directlyStrong atWeak at
CameraColour and texture (2D)Classifying objects; signs, lanes, signalsExact distance; glare, dark, heavy rain
Radar (76-81 GHz)Range, closing speed (Doppler), angleSpeed of other cars; fog, rain, nightFine shape; stopped car vs roadside sign
Lidar3D points from laser time of flightPrecise shape and position, day or nightCost; dense fog, heavy rain, snow
UltrasonicDistance to nearby surfacesParking and low-speed manoeuvresRange of a few metres only

Two current examples show the range of approaches. Waymo describes its sixth-generation Driver as "13 cameras, 4 lidar, 6 radar, and an array of external audio receivers", giving a view "up to 500 meters away, day and night, and in a range of weather conditions", with three sensing types so that one can cover for another (Waymo, 19 Aug 2024). Tesla calls its camera-only approach "Tesla Vision". Tesla dropped radar in 2021. In October 2022 it announced that ultrasonic sensors would come out of Model 3 and Model Y, rolling out globally over the following months, with Model S and Model X following in 2023 (Electrek, 4 Oct 2022). Park Assist, Autopark and Summon were marked "coming soon" on the cars without them.

Worked example: how does lidar measure distance?

Lidar fires a short laser pulse and times the echo. The light travels to the object and back, so distance is half the round trip:

A car 50 m away returns its echo in 0.33 µs. The flip side: a timing error of just 1 ns shifts the point by . So lidar receivers time echoes to well under a nanosecond, and millions of these timings per second build the point cloud.

Worked example: how does radar see speed and separate two objects?

Automotive radar uses frequency-modulated continuous-wave (FMCW) chirps in the 76-81 GHz band, where the wavelength is about 4 mm (Texas Instruments). Two numbers matter. Range resolution, the smallest gap at which two objects show up separately, depends only on the bandwidth the chirp sweeps:

That is for a 4 GHz sweep; the full 5 GHz of the band gives 3.0 cm. Speed comes from the Doppler shift of the echo, . At 77 GHz ( mm), a car closing at 20 m/s (72 km/h) shifts the echo by:

That works out to about 143 Hz per km/h. So radar measures closing speed directly in each frame, while a camera has to infer it from how an object grows between frames. That is the main reason radar stays in most AEB systems.

How does sensor fusion combine radar, camera and lidar?

Sensor fusion merges measurements of the same object into one estimate, weighting each by how uncertain it is. The more precise sensor gets more weight, and the fused estimate is more certain than either input. Over time, a Kalman filter repeats this every frame: it predicts where the object should be, then corrects the prediction with the new measurements.

Take a car ahead. The camera estimates 42.0 m with a standard deviation of 2.0 m, because depth from a single image is rough. The radar says 40.5 m with 0.3 m. Inverse-variance weighting, the same arithmetic as a single Kalman update, gives:

The camera gets only 2.2% of the weight for distance. It still matters, though: the camera is what says the object is a car and not a manhole cover, and it locates the object within the lane. Good fusion takes each sensor's best quantity. Range and speed come from radar, class and lane position from the camera, and shape from lidar where the car has one.

Probability curves: camera range 42.0 m with 2.0 m spread, radar 40.5 m with 0.3 m spread, fused estimate 40.53 m with 0.30 m spread
Fusing two range estimates: the fused curve sits almost on the radar's, because radar is far more certain about distance. Computed and drawn by a Skill-Lync script.

Fusion fails in predictable ways, and those failures are what engineers test for. Two sensors can disagree about whether an object exists at all: a radar return from an overhead gantry, or a camera fooled by a shadow. The system then has to decide which to believe. Brake on a false object and you get "phantom braking". Ignore a real one and you get a crash. Much of ADAS validation work is building scenarios that probe exactly this.

How does the car decide to brake or steer?

The planner checks how soon a collision would happen and how hard it would have to brake to avoid it. If the required deceleration is within the car's limits, it brakes. At higher speeds, steering around the obstacle can need less distance than stopping, but only if the next lane is clear. Driver-assistance systems usually warn first, then brake.

Time to collision and required deceleration

Suppose the gap to a stopped car is 30 m and you are closing at 50 km/h (13.9 m/s). Time to collision (TTC) and the deceleration needed to stop just in time are:

3.2 m/s² is firm but comfortable braking. Every fraction of a second the system waits, the gap shrinks and the required deceleration climbs. That is why AEB logic acts in stages: a warning, then partial braking, then full braking as TTC falls.

Why reaction time matters more than braking power

Stopping distance is distance covered during the reaction plus braking distance, . Road designers use a 2.5 s perception-reaction time and 3.4 m/s² deceleration. About 90% of drivers react faster than that, and about 90% brake harder (AASHTO design values). An automated system has no perception delay of that kind. We assume 0.5 s of total sensing, processing and brake build-up, with 7 m/s² of hard braking on a dry road. These are assumptions for illustration, not the specs of any car.

Stopping distance at 50 km/h: 63 m for a driver with road-design values, 49 m for a driver braking hard and 21 m for automated braking; at 100 km/h 183 m, 125 m and 69 m
Grey is distance travelled before braking starts. At 50 km/h, the road-design driver covers 34.7 m before the brakes act and 28.4 m while braking: 63.1 m, the same as the AASHTO formula gives. Computed by a Skill-Lync script.

Even a driver who brakes as hard as the machine still needs 49 m at 50 km/h, because 35 m pass before the foot reaches the pedal. Cutting that delay is the main benefit of automatic braking.

When does steering beat braking?

Braking distance grows with the square of speed, . Steering around an obstacle needs only enough forward distance to move sideways, , which grows linearly with speed. With 7 m/s² braking and a 1.8 m sideways move at 5 m/s² lateral acceleration (a simple model with assumed values), the two distances are equal at:

Below about 43 km/h, braking needs less distance. At 100 km/h, stopping needs 55 m but the swerve needs about 24 m. That is why highway systems consider evasive steering, and why they must first know the next lane is clear.

Distance needed to brake to a stop against distance needed to steer 1.8 m sideways: braking rises with speed squared, steering linearly; they cross at about 43 km/h and 10 m; at 100 km/h braking needs 55 m and steering 24 m
Brake or steer: above the crossover speed, a swerve needs less road than a stop. Simple point-mass model with assumed limits. Drawn by a Skill-Lync script.

Why do self-driving cars still miss obstacles?

Because every sensor has blind conditions, and software meets situations its training never covered. The hard cases are well known: low sun and glare for cameras, heavy rain and snow for lidar, stationary objects among roadside clutter for radar, partly hidden pedestrians for all of them. Add unusual objects, unpredictable road users and other drivers' mistakes.

Engineers handle this in three ways. They define where the system is allowed to operate (road types, speeds, weather). They add redundancy, so that losing one sensing type doesn't blind the car. And they validate against huge libraries of scenarios in simulation before road testing. None of this makes a system perfect. It is also why SAE J3016, the standard that defines Levels 0 to 5, is careful about who is responsible. At Level 2, the human is still driving and must watch the road even when the system steers and brakes.

What do the AEB rules say in the US and India?

Automatic emergency braking is moving from optional extra to legal requirement. The US rule is final, with compliance due by 1 Sep 2029. India's is a draft published in October 2026, with dates from 2030. Indian crash ratings don't yet score AEB.

Automatic emergency braking rules, status on 18 Nov 2026
MarketRuleKey requirementStatus
United StatesFMVSS No. 127 (NHTSA)AEB for lead vehicles and pedestrians on light vehicles up to 4,536 kg, day and night. Must operate up to 145 km/h for vehicles and 73 km/h for pedestriansFinal rule; compliance from 1 Sep 2029
India, cars (M1)MoRTH draft amendment to CMVR, AIS-185AEB on new models from 1 Oct 2030; on all models from 1 Oct 2032Draft, 30-day consultation (reported 23 Oct 2026)
India, crash ratingsBharat NCAP 2.0 draft (AIS-197 Rev 1)New protocol from Oct 2027; AEB optional, not scoredDraft (reported 24 Nov 2025)

NHTSA estimates its rule will save at least 362 lives and prevent 24,321 non-fatal injuries a year. In India, the same draft that proposes AEB for cars also sets dates for steering and lane-keeping standards (October 2027) and makes lane-keeping and driver-drowsiness warnings mandatory on taxis from October 2029, as reported by Autocar India. For how Indian cars are rated today, see our guide to Bharat NCAP ratings in 2026.

How do engineers build these systems, and how can you learn it?

ADAS teams split the work the way the pipeline does. Perception engineers train and test detection models. Fusion and tracking engineers write the filters. Controls engineers design the braking and steering logic, usually in MATLAB and Simulink. Validation engineers break all of it with scenarios.

Skill-Lync's most-attempted ADAS projects show what that looks like in practice. Learners have submitted 530 reports on building adaptive cruise control in Simulink from a requirements document, and 262 on a highway lane-changing assistant built as a Stateflow state machine (Skill-Lync project data, Nov 2026). For structured learning, compare all of Skill-Lync's ADAS and autonomous driving courses on fees, duration and projects. Or start with computer vision for autonomous vehicles or autonomous vehicle controls. Not sure which suits your degree? Talk to a Skill-Lync counsellor.

Frequently asked questions

Can self-driving cars see in the dark and in fog?

Partly. Radar works in darkness, fog and rain, and lidar works in the dark because it brings its own light, but dense fog, heavy rain and snow scatter lidar beams. Cameras struggle in low light and glare. This is why most systems combine sensors, and why many limit where and in what weather they operate.

Why doesn't Tesla use lidar or radar?

Tesla calls its camera-only approach "Tesla Vision". It dropped radar in 2021 and, from October 2022, began removing ultrasonic sensors from Model 3 and Model Y, with Model S and Model X following in 2023. Other companies, such as Waymo, keep cameras, radar and lidar together for redundancy. Both approaches are in use today.

What is sensor fusion in autonomous vehicles?

Sensor fusion combines readings from cameras, radar, lidar and other sensors into one estimate of each object's position, speed and type. Each reading is weighted by its uncertainty. Example: a camera range of 42.0 m (±2.0 m) and a radar range of 40.5 m (±0.3 m) fuse to 40.53 m (±0.30 m). Kalman filters repeat this update every frame.

How fast does automatic emergency braking react?

It depends on the system, and makers rarely publish exact figures. The benefit comes from removing human reaction time: road designers assume 2.5 s for a driver to perceive and react. With an assumed 0.5 s system latency and the same 7 m/s² braking, stopping distance at 50 km/h falls from 49 m to about 21 m.

Will AEB be mandatory in India?

It is proposed, not final. A draft amendment to the Central Motor Vehicles Rules, reported on 23 Oct 2026, would require AEB to standard AIS-185 on new passenger car models from 1 Oct 2030 and on all cars from 1 Oct 2032. The draft was open for 30 days of public comment, so the dates could change.

What should I learn for a career in ADAS?

Pick a layer of the pipeline. Computer vision and deep learning for perception, estimation and Kalman filters for fusion, control theory with MATLAB and Simulink for braking and steering features, or scenario-based testing for validation. Add C or C++ and model-based design, and build a project that runs end to end, such as adaptive cruise control.

Sources and further reading

Want this on your résumé?

Talk to a counsellor.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.

Talk to a career counsellor

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.