Measuring distance with radio: UWB, Bluetooth Channel Sounding, and the alternatives
Some products only need to know one thing: how far away is the other device? A tag that clicks faster as you get closer to your keys. A door that unlocks when you are at it, not when you are in the driveway. A machine that slows down when a worker is too close. That is ranging: the distance between two radios, not a position on a map.
Distance sounds like the easy half of location, and in one sense it is. You need only two devices, no anchors and no surveyed room. But a ranging product lives or dies on whether that one number is right when the tag is in a pocket, behind a sofa, or against a metal shelf. Datasheet and reference-design figures are a starting point, not a promise: a product can land well short of them, or, with the right engineering, go past them. This article is about what decides which.
Two ways to get distance from a radio
Almost every method falls into one of two families.
Signal strength. Received signal strength drops with distance, so you can estimate one from the other. Every radio can do it, it costs nothing, and it is poor. A hand around the antenna, a body in the way, or a reflection can change the reading as much as several meters of distance. It is fine for “near or far”, and not for “how far”.
Time and phase. Radio waves travel at the speed of light, which in air works out to about 30 cm per nanosecond. Measure how long a signal takes to get there and back, or how its phase shifts across frequencies, and you have distance. This is what every precise method does. The differences between them come down to how much bandwidth they use, how well they find the direct path among the reflections, and how hard they are to fool.
The options
None of these is new. Radios have been used to measure distance for decades, and each option below has been ranging in products for years. What keeps changing is the standards and the silicon around them.
Ultra-wideband (UWB). UWB sends very short pulses over 500 MHz or more of spectrum and times their round trip. Wide bandwidth is what lets the receiver separate the direct path from reflections that arrive a few nanoseconds later, which is why UWB has long been the reference for precise ranging. Commercial UWB ranging radios have been around since the early 2010s, built on the 802.15.4a standard from 2007. Examples are Qorvo’s DW1000, the DW3000 family (DW3110 and DW3120), the QM33110W and QM33120W transceivers, and the QM35825, which adds a microcontroller on the same chip, along with NXP’s Trimension line. Published results are around 10 cm in good conditions, with line-of-sight range in the tens of meters (the FiRa Consortium quotes up to 100 m). Later amendments build on that: 802.15.4z added the secure timestamps that digital car keys depend on, and 802.15.4ab, the amendment that follows it, adds narrowband assistance, where a narrowband link in the 5 to 6 GHz band handles discovery and synchronization so the UWB part can work at lower signal levels. Vendors claim several times more range from it, and the first chips built for it have been announced.
Bluetooth Channel Sounding. Phase-based ranging on Bluetooth radios existed for years as vendor-specific features; Bluetooth 6.0 made it a standard as Channel Sounding. It hops across many Bluetooth channels and measures the phase at each, then combines that with round-trip timing. The Bluetooth SIG describes the accuracy as centimeter-level, by which it means within tens of centimeters, and reports about 20 cm from early implementations. Its big advantage is that it runs on Bluetooth radios that a product, and a phone, may already have. Its limit is bandwidth: Bluetooth’s 80 MHz is a fraction of UWB’s, so separating the direct path from reflections is harder, and independent tests show larger errors with multipath, antenna orientation and interference. Silicon is available from several vendors, and results vary with the chip, the antennas and the software stack.
Wi-Fi round-trip timing. Wi-Fi Fine Timing Measurement (802.11mc, improved by 802.11az) measures round-trip time between a device and an access point. Published results are a meter or two with line of sight and several meters without, better on wider channels. It suits products that already live on Wi-Fi and need room-level distance, not centimeters.
LoRa ranging. Some 2.4 GHz LoRa transceivers, such as Semtech’s SX1280, measure round-trip time of flight. The narrow bandwidth means meter-level accuracy at best, but at ranges of hundreds of meters outdoors. It fits long-range “how far is the herd, the vehicle, the worker” problems where a few meters of error does not matter.
Others. Ultrasound gives centimeters within a room but stops at walls. Radar and lidar measure distance to objects rather than to a cooperating device, which is a different problem. Low-frequency magnetic fields, as in car keyless entry, give coarse range that is hard to relay.
What actually limits accuracy
The numbers above are best cases. In a product, these matter more than the radio standard.
- Calibration. Every radio and antenna adds a small delay of its own. Signals travel more slowly in cables, boards and antenna materials than in air, and the delay through filters and antennas varies with frequency. At 30 cm per nanosecond, an uncalibrated delay of one nanosecond is a 30 cm error. Published UWB work shows antenna delay calibration taking errors from around 30 cm to under 5 cm. Plan for calibration in production test, not just in the lab.
- The direct path. When the direct path is blocked, by a body, a wall or a metal case, the first signal to arrive is a reflection, and the distance reads long. This is the dominant real-world error for every method, and the one that makes or breaks a product.
- Antennas and the enclosure. Antenna patterns are not uniform, so the error changes as the device turns. The enclosure, the battery and the user’s hand all detune and shadow the antenna. A layout that ranges well on the bench can lose much of that in the case.
- Clocks. Timing errors between the two devices turn directly into distance errors. The protocols cancel most of it, but crystal choice and temperature still matter.
- Security. If ranging unlocks something, someone will try to make a far device look close. UWB’s secure timestamps were designed for this. For any method, the question to ask is what an attacker can do with a relay or a replay.
How I choose
Start from the decision the distance drives, then work back:
- How accurate, and how often wrong? “Within 10 cm, 95 percent of the time, in a pocket” is a requirement. “Accurate” is not. The tail of the error distribution is what users notice.
- How far? A few meters, a room, a building, or a field.
- Where? The environment sets the real accuracy: open space or clutter, metal shelving and machinery, walls, people moving through, other radios on the same band, temperature. Test in a place like the one the product will live in.
- Is a phone in the loop? If yes, you inherit what phones support, which today means Bluetooth everywhere and UWB on many but not all phones. If no, as with a tag that ranges to another tag, you can choose freely.
- Power and size. UWB draws more peak current than Bluetooth; the usual pattern is Bluetooth for discovery and UWB only while ranging.
- Cost and certification. A second radio adds parts, antenna area and compliance work.
Often the answer is two technologies: a coarse one that is always on and a precise one that wakes up when it counts.
Doing better than the datasheet
The published figures above are what you get from reference designs and vendor stacks. They are not the ceiling. I have pushed both precision and range past what the published references show, most of all with UWB, by working the parts that sit around the radio chip. With UWB, a well-chosen low-noise amplifier (LNA) in the receive path is a big part of it, and it only pays off with careful power management, because the amplifier, like the radio, costs current every time it is on. The rest is antenna design and placement, calibration, the enclosure, and how the measurements are processed. That is where most of the gap between a demo and a product is, and where a second set of eyes pays for itself.
For range in particular, see Why UWB range falls short of the datasheet, and for the checks I work through, the UWB design review checklist.
If you are choosing a ranging technology, or have one that works on the bench and not in the real world, get in touch. For the wider radio choice, see Choosing a radio.