Phase-coherent clock sync over consumer 2.5GbE
A distributed, phase-coherent clock synchronization system running over standard consumer 2.5GbE copper that achieves sub-microsecond synchronization without dedicated White Rabbit hardware or an FPGA switch. It isolates a CPU core, disables interrupt coalescing, and busy-polls the RX ring buffer with a custom AF_XDP socket to characterize PHY and PCIe bus latency jitter to within a few nanoseconds of standard deviation on generic Realtek hardware. The disciplined clock is used for TDOA triangulation of RF signals with three anchor nodes connected to SDRs, tracking a dog's collar to within 15cm in 3D space, with a custom unscented Kalman filter to reject multipath reflections.
What it addresses
Started as a way to fix audio drift in a multi-room setup without using large jitter buffers.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
Phase-coherent clock sync over consumer 2.5GbE
A distributed, phase-coherent clock synchronization system running over standard consumer 2.5GbE copper that achieves sub-microsecond synchronization without dedicated White Rabbit hardware or an FPGA switch. It isolates a CPU core, disables interrupt coalescing, and busy-polls the RX ring buffer with a custom AF_XDP socket to characterize PHY and PCIe bus latency jitter to within a few nanoseconds of standard deviation on generic Realtek hardware. The disciplined clock is used for TDOA triangulation of RF signals with three anchor nodes connected to SDRs, tracking a dog's collar to within 15cm in 3D space, with a custom unscented Kalman filter to reject multipath reflections.
Problem: Started as a way to fix audio drift in a multi-room setup without using large jitter buffers.
Posted by @Fiveplus · Original source ↗
Source text · @Fiveplus · · Source ↗
For the past month, I've been building a distributed, phase-coherent clock synchronization system over standard consumer 2.5GbE copper, bypassing the need for dedicated white rabbit hardware.