Precise Ranging: Modeling Bias and Variance of Double-Sided Two-Way Ranging with TDoA Extraction under Multipath and NLOS Effects

Patrick Rathje,Olaf Landsiedel
2024-10-22
Abstract:Location-based services such as autonomous vehicles, drones, and indoor positioning require precise and scalable distance estimates. The bias and variance of range estimators inherently influence the resulting localization quality. In this work, we revisit the well-established Double-Sided Two-Way-Ranging (DS-TWR) protocol and the extraction of timing differences (DS-TDoA) at devices overhearing DS-TWR. Under non-line-of-sight (NLOS) and multipath effects, we analytically derive their bias and variance. Our proposed model reveals that DS-TWR retains half the variance than anticipated while DS-TDoA comprises roughly a five-fold increase in variance. We conduct numerical simulations and experimental deployments using Ultra-Wideband (UWB) devices in a public testbed. Our results confirm the adequacy of our model, providing centimeter-accurate predictions based on the underlying timestamping noise with a median $R^2$ score of 77% (30% IQR). We find that both DS-TWR and DS-TDoA exhibit reduced variance when response times are symmetric. Our experimental results further show that double-sided variants exhibit less error and variance compared to Carrier Frequency Offset (CFO)-based single-sided methods.
Signal Processing
What problem does this paper attempt to address?
The problem that this paper attempts to solve is: Modeling the bias and variance of the Double - Sided Two - Way Ranging (DS - TWR) protocol and its Time Difference of Arrival (TDoA) extraction under non - line - of - sight (NLOS) and multipath effects. Specifically: 1. **Problem Background**: - Accurate distance measurement is crucial for location - based services (such as self - driving cars, drones, indoor positioning, etc.). - The bias and variance of the ranging estimator directly affect the final positioning quality. - Although the existing DS - TWR protocol is widely used, its theoretical basis is limited, especially in NLOS and multipath propagation conditions, with insufficient modeling of bias and variance. 2. **Research Motivation**: - DS - TWR estimates distance through the time - of - flight of wireless transmission and depends on accurate timestamping capabilities. However, in practical applications, due to uncalibrated clocks, NLOS or multipath conditions, the original timestamps have inherent noise, which affects the measurement accuracy. - Although DS - TWR is widely adopted, most works only model noise at the estimation level and do not deeply explore its relationship with the underlying noisy timestamps. - For the variance of DS - TDoA, the assumptions in the existing literature are inconsistent, ranging from being comparable to DS - TWR to being twice that of DS - TWR. This uncertainty highlights the need for an in - depth understanding of the impact of timestamp noise on measurement quality. 3. **Main Challenges**: - Although the DS - TWR protocol has only three - round message interactions, the nonlinear problems caused by clocks of different frequencies complicate the theoretical analysis. - In complex NLOS or multipath scenarios, the algorithm needs to be used for both clock drift compensation and distance estimation simultaneously. Some durations are based on the same noisy timestamps, so these individual errors need to be carefully tracked to capture their interdependencies. - DS - TDoA analysis is more complex because it introduces another listening device and its inherent clock drift and involves three additional noisy receive timestamps. 4. **Solutions**: - The authors propose a model to analyze the bias and variance of DS - TWR and DS - TDoA under NLOS and multipath effects. - Through numerical simulation and experimental verification, this model can provide centimeter - level predictions based on the underlying timestamp noise with high accuracy (median \(R^2\) score of 77% and IQR of 30%). - The experimental results show that when the response time is symmetric, the variances of DS - TWR and DS - TDoA are the smallest; compared with the methods based on carrier frequency offset (CFO), the two - way methods exhibit lower bias and variance. In summary, this paper aims to improve the accuracy and reliability of ranging and positioning by establishing a more accurate theoretical model to explain and quantify the effects of NLOS and multipath on the DS - TWR and DS - TDoA ranging protocols.