Fast Convergence Time Synchronization in Wireless Sensor Networks Based on Average Consensus

Fanrong Shi, Xianguo Tuo, Lili Ran, Zhenwen Ren, Simon X. Yang · DOI

Abstract

Average consensus theory is a robust framework for achieving time synchronization in distributed Wireless Sensor Networks (WSNs). However, traditional consensus-based algorithms suffer from slow convergence and high communication overhead in large-scale deployments due to limited network connectivity. This paper introduces Multi-hop Average Consensus Time Synchronization (MACTS), a novel protocol that leverages multi-hop communication to establish "virtual links" between non-adjacent nodes. By increasing the network's algebraic connectivity, MACTS drastically accelerates the synchronization process. Experimental results demonstrate that MACTS can achieve convergence rates hundreds of times faster than the industry-standard Average TimeSync (ATS) protocol while maintaining superior accuracy through delay compensation.

Introduction

In WSNs, precise time synchronization is critical for tasks ranging from data fusion to coordinated actuation. Because individual sensor nodes rely on low-cost crystal oscillators, their internal clocks inevitably drift due to hardware variances and environmental factors. While centralized synchronization methods exist, distributed algorithms based on average consensus are preferred for their resilience to single points of failure.

The primary bottleneck for these distributed methods is the convergence time, which is mathematically tied to the network's algebraic connectivity ($\lambda_2$). In sparse or large-scale topologies, information propagates slowly, leading to excessive messaging and energy consumption. MACTS addresses this by redefining the communication model to boost connectivity without increasing radio power.

The MACTS Methodology

MACTS breaks the traditional "neighbor-only" constraint of consensus algorithms through three key innovations:

Instead of restricting synchronization exchanges to immediate physical neighbors, MACTS allows nodes to forward synchronization packets across multiple hops ($H$). This process effectively creates "virtual links" between distant nodes, transforming a sparse physical topology into a mathematically dense logical graph. This increase in algebraic connectivity is the primary driver behind the protocol's rapid convergence.

Illustration of single-hop vs. 2-hop communication in a grid network, showing how multi-hop creates virtual links.

2. Adaptive Multi-hop Controller

While multi-hop communication speeds up convergence, it also increases the risk of packet collisions and network congestion. MACTS employs an adaptive controller that manages the transition between communication modes. The network initially operates in a high-speed "multi-hop mode" to reach a near-synchronized state quickly. Once the synchronization error falls below a predefined threshold, the controller switches nodes to a standard "single-hop mode" to maintain stability and minimize overhead.

3. Delay Compensation

To ensure high steady-state accuracy, MACTS incorporates a delay compensation mechanism. By accounting for fixed processing and propagation delays ($D_{fixed}$) in the one-way broadcast model, the protocol produces cleaner clock offset estimations, reducing the noise that typically plagues multi-hop synchronization.

Performance Evaluation

The researchers evaluated MACTS using a physical testbed of CC2530-based nodes and large-scale simulations of up to 3,600 nodes. The performance was benchmarked against the standard ATS protocol.

Convergence Speed

In a $60 \times 60$ grid simulation, standard ATS required over 3,300 minutes to converge. In contrast, a 6-hop MACTS configuration reached the same state in less than 16 minutes—a speedup of approximately 200x. This efficiency is visually evident in the local synchronization error plots, where MACTS reaches a stable state significantly faster than ATS.

Comparison of local synchronization error over time for ATS and MACTS, highlighting the significantly faster convergence of the latter.

Accuracy and Scalability

Physical tests on a $5 \times 5$ grid showed that MACTS achieved a maximal local synchronization error of approximately 8 $\mu$s, outperforming the 10 $\mu$s error observed with ATS. Furthermore, while the convergence time for ATS grows linearly with the network diameter, MACTS maintains a relatively flat growth curve, provided the hop count is scaled appropriately for the topology.

Conclusion

MACTS represents a significant advancement in distributed time synchronization. By treating multi-hop paths as direct virtual links and employing an adaptive controller, the protocol overcomes the inherent speed limitations of average consensus. The result is a system that is not only hundreds of times faster than existing standards but also more accurate and scalable for the next generation of massive-scale wireless sensor networks.

Summary updated

Abstract

Average consensus theory is intensely popular for building time synchronization in wireless sensor network (WSN). However, the average consensus-based time synchronization algorithm is based on iteration that pose challenges for efficiency, as they entail high communication cost and long convergence time in large-scale WSN. Based on the suggestion that the greater the algebraic connectivity leads to the faster the convergence, a novel multi-hop average consensus time synchronization (MACTS) is developed with innovative implementation in this paper. By employing multi-hop communication model, it shows that virtual communication links among multi-hop nodes are generated and algebraic connectivity of network increases. Meanwhile, a multihop controller is developed to balance the convergence time, accuracy and communication complexity. Moreover, the accurate relative clock offset estimation is yielded by delay compensation. Implementing the MACTS based on the popular one-way broadcast model and taking multi-hop over short distances, we achieve hundreds of times the MACTS convergence rate compared to ATS.
BibTeX
@article{shi2019fast,
  author = {Fanrong Shi and Xianguo Tuo and Lili Ran and Zhenwen Ren and Simon X. Yang},
  title = {{Fast Convergence Time Synchronization in Wireless Sensor Networks Based on Average Consensus}},
  journal = {IEEE Transactions on Industrial Informatics},
  year = {2019},
  doi = {10.1109/tii.2019.2936518},
}
Figure