Abstract
This paper presents a novel technique for the simultaneous estimation of clock synchronization parameters and physical range between two wireless nodes. By utilizing two-way time-of-arrival (ToA) measurements with impulse-radio ultrawideband (UWB) signals, we derive estimators for clock frequency skew, phase offset, and distance that are specifically designed to be robust against measurement outliers. Experimental results demonstrate that the proposed joint approach achieves high precision—accuracies below 1 Hz for frequency, 1 ns for phase, and 20 cm for range—using 100-MHz clocks at a 4-meter distance. This method eliminates the need for explicit timestamp data exchange, offering a practical solution for positioning and synchronization in resource-constrained wireless systems.
Introduction
In the evolving landscape of the Internet of Things (IoT) and machine-to-machine (M2M) communications, wireless nodes frequently require both precise physical localization and a shared temporal reference. Traditionally, these two requirements are handled by separate protocols: time synchronization (e.g., NTP or TPSN) relies on the exchange of digital timestamp packets, while high-accuracy positioning often requires expensive, wired clock distribution to maintain coherence between anchors.
This research addresses the challenge of performing both ranging and clock synchronization wirelessly and simultaneously. A significant hurdle in this domain is the presence of severe outliers in real-world UWB measurements, often caused by multi-path interference or hardware limitations. Standard mathematical models, such as Unwrapped Least Squares, often fail when confronted with these anomalies. This paper proposes a robust estimation framework that leverages the inherent physical properties of the measurement process to achieve high accuracy without the overhead of traditional synchronization protocols.
The Measurement Model: The Sawtooth Effect
The core of the proposed system is a simple two-way measurement loop between a "master" and a "slave" node. The master initiates the process by sending a PING signal. Upon reception, the slave node waits for a fixed number of its own local clock cycles before transmitting a RESPOND signal. The master then uses a high-precision Time-to-Digital Converter (TDC) to measure the total Round-Trip Time (RTT).
Because the master and slave clocks are not perfectly synchronized in frequency or phase, the slave’s response delay—which is tied to its local clock edges—shifts slightly with every subsequent ping. This fractional drift creates a periodic "sawtooth" waveform in the RTT measurements over time. By analyzing this waveform, the system can extract three critical parameters:
- Range: Derived from the baseline RTT offset.
- Clock Frequency Skew: Derived from the slope and period of the sawtooth.
- Phase Offset: Derived from the specific shift of the sawtooth pattern.
Robust Estimation Techniques
The authors evaluated three distinct estimation strategies to process the RTT data:
- Unwrapped Least Squares (ULS): A baseline approach that attempts to "unwrap" the sawtooth wave into a linear trend. While computationally simple, it is highly sensitive to noise; a single outlier can cause compounding errors that render the estimate useless.
- Periodogram and Correlation Peaks (PCP): A frequency-domain approach that uses Fast Fourier Transforms (FFTs) to identify the clock skew. This method is more resilient than ULS but is limited by frequency resolution.
- Weighted Least Squares (WLS): The most advanced of the three, this estimator uses the normalized Median Absolute Deviation (nMAD) to automatically detect and down-weight outliers. This allows the system to maintain accuracy even in environments with significant RF interference.
Experimental Validation
The methodology was tested using both Monte Carlo simulations and a physical experimental testbed. The hardware setup utilized Xilinx Virtex-5 FPGAs to implement the UWB transceivers, with an Agilent frequency counter and a laser distance meter providing ground truth for clock and range measurements, respectively. The experimental campaign collected over 65,000 RTT measurements in an indoor office environment at distances up to 4 meters.
Key Results and Insights
The study revealed that the Weighted Least Squares (WLS) estimator is exceptionally robust. In simulations, the WLS estimator maintained high accuracy even when up to 40% of the data samples were replaced by random outliers.
Using a sample size of just 100 measurements (which corresponds to only 0.1 seconds of data at a 5 kHz sampling rate), the system achieved the following real-world performance metrics with 100 MHz clocks:
- Frequency Estimation: Global Root Mean Square Error (RMSE) of 0.96 Hz.
- Phase Estimation: Errors restricted to approximately 1 nanosecond.
- Range Estimation: Global RMSE of 17 centimeters.
Crucially, this performance is achieved without the exchange of digital timestamps. By treating the slave node's clock as a physical delay-generating mechanism, the master extracts all necessary synchronization data from the physical timing of the pulses alone, significantly reducing communication overhead.
Conclusion and Future Work
This research demonstrates that joint ranging and clock synchronization is not only theoretically possible but practically achievable using UWB RTT measurements. The proposed WLS estimator provides the necessary robustness to handle the noisy conditions typical of indoor wireless environments.
While the current experimental setup used an energy-detection receiver—which contributed to the high outlier rate—future implementations using more sophisticated coherent receivers could further improve performance. This point-to-point technique serves as a foundational building block for larger-scale ad-hoc networks, where it can be integrated into cooperative positioning algorithms to provide seamless spatial and temporal awareness for the next generation of wireless systems.
Summary updated