Design a Car Crash Detection & SOS

Medium45 min
1 / 30
System design answer

Design a Car Crash Detection & SOS

Medium45 min30 sections
understanding•10 min read

Problem Statement: A Safety-Critical Detection and Dispatch Pipeline

Frames crash detection and SOS as a latency-bound emergency pipeline split across four planes, not a feature bolted onto a driving app.

Problem statement

Design a crash detection and SOS platform that detects likely vehicle collisions from phone or in-car device sensors (accelerometer, gyroscope, barometer, microphone, GPS), confirms the event with the occupant within seconds, and — if the occupant is unresponsive or confirms — automatically notifies emergency services with precise location, severity, and medical context, while notifying next of kin. The occupant must be able to cancel a false alarm during a short countdown.

This is not a messaging feature. It is a safety-critical, latency-bound pipeline where a false negative can cost a life and a false positive floods an emergency dispatch center with phantom calls. The design therefore separates four planes:

  1. Detection plane (device): samples motion sensors at 50-100 Hz, filters noise, detects impact signatures, and estimates confidence — entirely on-device, because network availability after a crash cannot be assumed.
  2. Confirmation plane (device): runs a countdown UI with haptics, voice, and lock-screen interaction so an injured but conscious occupant can cancel, and an unconscious one cannot block escalation.
  3. Dispatch plane (cloud): receives escalated alerts, deduplicates multi-device reports from one vehicle, enriches with location and medical context, and orchestrates notification to emergency gateways and contacts.
  4. Responder plane (external): PSAP call takers, NG911 data channels, telematics advisors, and emergency contacts who consume the alert payload.

Why the problem is distinctive

A normal driving app tolerates seconds of latency and eventual consistency. Crash response tolerates neither on the critical path: Apple publicly describes Crash Detection (iPhone 14, 2022) as triggering Emergency SOS with roughly a 20-second confirmation window before auto-dialing, and NHTSA FARS data shows roughly 42,500 US traffic deaths and about 6.7 million police-reported crashes in recent years — the volume of real events is enormous, and EMS literature commonly cites median urban response times around 7-8 minutes, much longer in rural areas. Minutes of detection delay directly compete with the golden hour of trauma care, and WHO estimates about 1.19 million road deaths globally per year.

The hardest tension is precision versus recall under commodity hardware. A phone has no airbag signal; its accelerometer is mounted loosely in a cupholder or pocket. The system must distinguish a 35 g frontal impact from a phone dropped on asphalt, a door slam, a pothole, or — a documented real-world failure — a roller coaster, while still catching low-speed but medically serious events like a side impact on an elderly occupant.

Public operating baseline

Public evidence establishes the category: Apple ships Crash Detection on iPhone 14+ and Apple Watch Series 8+ using a high-g accelerometer (measuring up to 256 g per Apple's published materials), gyroscope, barometer, GPS, and microphone. Google ships Car Crash Detection for Pixel devices, asking 'Are you OK?' after a suspected crash before calling 911 and notifying emergency contacts. GM's OnStar has run built-in Automatic Crash Response since 2000, and the EU mandated eCall in all new car types from 2018 under Regulation (EU) 2015/758. These cited company figures are context; every uncited number in this answer is an explicit design assumption.

The four planes in one rule

The device owns detection and confirmation. The cloud owns enrichment, deduplication, dispatch orchestration, and audit. The cloud never decides a crash happened — and it never becomes the only path through which help is summoned. If the backend is unreachable, the device must still be able to place a native emergency call.

Key Highlights

  • •The device detects and confirms; the cloud enriches, dedupes, and dispatches — detection never depends on a round trip.
  • •Public anchors: NHTSA reports ~6.7M police-reported crashes and ~42,500 deaths per year in the US; WHO estimates ~1.19M road deaths globally.
  • •Apple Crash Detection, Google Pixel Car Crash Detection, OnStar Automatic Crash Response, and EU eCall prove the category is operationally real.
  • •False positives are a public-safety harm, not just an annoyance: they consume finite PSAP capacity.
  • •If the backend is unreachable, the device must still place a native 911/112 call with last-known location.
Lead With the Device/Cloud Boundary
State in the first two minutes that detection and confirmation run on-device and that the device can still dial emergency services without any backend. That instantly separates a safety architecture from a notification feature.
Do Not Treat False Positives as an Annoyance
Every escalated false alert consumes PSAP call-taker time and ambulance capacity. Precision is a public-safety requirement, not a UX nicety.

Section Rescue Kit

Buzzwords to use:

Impact SignatureStore-and-Forward

Safe statements:

  • "I will separate crash detection from dispatch orchestration before choosing any technology."
  • "The device owns the safety decision; the cloud owns scale, enrichment, and audit."
Design a Car Crash Detection & SOS - System Design | WinJob | WinJob