Sub-Nanosecond Time of Flight on Commercial Wi-Fi Cards

Deepak Vasisht, Swarun Kumar, Dina Katabi

Introduction

Indoor localization has long been considered the "holy grail" of mobile networking. While GPS provides reliable positioning outdoors, it fails indoors due to signal attenuation and multipath interference. Standard Wi-Fi-based Time-of-Flight (ToF) measurements are typically hindered by limited time granularity (resolving only to tens of nanoseconds), variable packet detection delays, and the presence of multiple signal paths bouncing off walls and furniture.

The Chronos System

Chronos is a software-only system that enables decimeter-level indoor localization using off-the-shelf Wi-Fi cards. By overcoming hardware limitations through advanced signal processing, it achieves sub-nanosecond ToF accuracy. This allows two devices to locate each other without any pre-existing infrastructure or synchronized access points.

Virtual Wideband via Frequency Hopping

To achieve high-resolution timing, a wide bandwidth is necessary. While a single Wi-Fi channel is narrow (20 MHz), the total available Wi-Fi spectrum across the 2.4 GHz and 5 GHz bands spans nearly 1 GHz. Chronos leverages this by making the transmitter and receiver hop across 35 different bands.

The fragmented Wi-Fi spectrum bands used by Chronos to create a virtual wideband signal.

By applying the Chinese Remainder Theorem, Chronos "stitches" phase measurements from these non-contiguous bands together. This creates the illusion of a 1 GHz wideband radio, providing the resolution needed for decimeter-level accuracy.

Stitching phase measurements across multiple Wi-Fi channels to resolve the true Time-of-Flight (τ).

Algorithmic Innovations

Beyond frequency hopping, Chronos introduces several key techniques to ensure accuracy on commodity hardware:

  • Eliminating Detection Delay: Chronos uses a "Zero-Subcarrier Trick." By interpolating the phase of the center (zero) subcarrier, which is mathematically immune to hardware detection delays, the system removes a major source of timing error.
  • Multipath Mitigation: To distinguish the direct path from reflections, the authors apply a sparsity constraint (L1-minimization) to the channel state information, resolving the multipath profile at a much higher resolution than standard methods.
  • CFO Cancellation: To handle Carrier Frequency Offset (CFO) between unsynchronized clocks, Chronos measures the channel in both directions (Data and ACK) to cancel out the error through reciprocity.

Experimental Results

The researchers evaluated Chronos in a 20m x 20m office environment using standard Intel 5300 Wi-Fi cards.

  • ToF Accuracy: The system achieved a median error of 0.47 ns in Line-of-Sight (LOS) and 0.69 ns in Non-Line-of-Sight (NLOS) conditions.
  • Localization: With a standard laptop, the median localization error was 65 cm. When emulating an Access Point with wider antenna separation, this error dropped to 35 cm.
  • Drone Application: In a "follow-me" test using an AscTec Hummingbird quadrotor, the drone maintained its distance from a moving user with a root-mean-squared error of just 4.2 cm.

Conclusion

Chronos demonstrates that high-precision localization is possible without specialized hardware or dense infrastructure. By modifying only the Wi-Fi driver, the system turns existing consumer devices into high-accuracy ranging tools, opening new possibilities for indoor navigation and autonomous systems.

Summary updated

BibTeX
@inproceedings{vasisht2015sub,
  author = {Deepak Vasisht and Swarun Kumar and Dina Katabi},
  title = {{Sub-Nanosecond Time of Flight on Commercial Wi-Fi Cards}},
  booktitle = {SIGCOMM},
  year = {2015},
  doi = {10.1145/2785956.2790043},
}
Figure