RF Wireless World

Browse articles, tutorials, tools, and vendors.

Bluetooth Channel Sounding (CS) Ranging Calculator : Phase based Vs. RTT

By RF Wireless Expert Team

As per Bluetooth Core Specification (v6.3), Bluetooth Low Energy (LE) now includes Channel Sounding (CS) for High Accuracy Distance Measurement. The specification defines two distinct but complementary methods for calculating distance between an Initiator and a Reflector device: Phase-Based Ranging (PBR) and Round-Trip Time (RTT).

Bluetooth Distance Calculation as per phase based ranging

Phase-Based Ranging measures the phase difference of radio signals transmitted across multiple frequencies to estimate distance. Because phase shifts as frequency changes, the rate of phase change over the frequency change yields the distance.

Inputs

Outputs

Scenario : Let’s assume a Bluetooth device steps its frequency by 1 MHz between two tones, and the receiver measures a phase difference of π2\frac{\pi}{2} radians (90 degrees).

INPUTS:

  • Δf\Delta f = 1 MHz=1×106 Hz1 \text{ MHz} = 1 \times 10^6 \text{ Hz}
  • ΔϕCH\Delta\phi_{CH} = π21.5708 radians\frac{\pi}{2} \approx 1.5708 \text{ radians}
  • cc = 3×108 m/s3 \times 10^8 \text{ m/s}

OUTPUT:

  • Distance = 37.5 meters

Bluetooth Phase Based Ranging formula

Bluetooth Phase based Ranging

Where,

  • xx = Distance in meters (m)
  • ΔϕCH\Delta\phi_{CH} = Measured phase difference between two frequencies (in radians)
  • Δf\Delta f = Frequency step / difference between the two tones (in Hz)
  • cc = Speed of light (3×108\approx 3 \times 10^8 m/s)
  • 4π4\pi = Constant accounting for the round-trip nature of the signal (2x2x distance) and conversion of full cycle (2π2\pi).

Bluetooth Distance Calculation as per RTT based ranging

RTT simply calculates the time it takes for a packet to leave the Initiator, arrive at the Reflector, be processed, and return to the Initiator.

Inputs

Outputs

Scenario: Let’s assume the Initiator measures the total time from sending to receiving as 1,000 nanoseconds and the Reflector reports back that it took 800 nanoseconds to process and send the reply.

INPUTS:

  • TinitiatorT_{initiator} = 1000 ns
  • TreflectorT_{reflector} = 800 ns

OUTPUT:

  • Distance (x) = 30 meters

Bluetooth RTT Based Ranging formula

Bluetooth RTT based Ranging

Where,

  • TinitiatorT_{initiator} = Total turnaround time measured by the initiator (Time of ArrivalTime of DepartureTime\ of\ Arrival - Time\ of\ Departure)
  • TreflectorT_{reflector} = Processing/Turnaround time used by the reflector (Time of DepartureTime of ArrivalTime\ of\ Departure - Time\ of\ Arrival)
  • cc = Speed of light (3×108\approx 3 \times 10^8 m/s)
  • Division by 2 accounts for the two-way (round-trip) flight.

Explore More Bluetooth Calculators

Continue Learning Bluetooth Basic Concepts

Continue Learning Bluetooth Technology

Keep Reading