Clock Skew Compensation Algorithm Immune to Floating-Point Precision Loss
Kyeong Soo Kim, Seungyeop Kang
TL;DR
The paper tackles clock skew compensation in wireless sensor networks under limited floating-point precision. It introduces a Bresenham's algorithm–inspired, integer-arithmetic scheme that estimates the skew-adjusted increment without floating-point division by mapping the problem to extended Bresenham paths and defining $\overline{\nabla}_i(j)$. The authors prove boundedness properties and provide a unified treatment for $\dfrac{D}{A}<1$ and $\dfrac{D}{A}>1$, supported by numerical results showing tight error bounds relative to double-precision references. This approach enables high-precision time synchronization on resource-constrained nodes, reducing susceptibility to FP precision loss in WSNs.
Abstract
We propose a novel clock skew compensation algorithm based on Bresenham's line drawing algorithm. The proposed algorithm can avoid the effect of limited floating-point precision (e.g., 32-bit single precision) on clock skew compensation and thereby provide high-precision time synchronization even with resource-constrained sensor nodes in wireless sensor networks.
