A Design of a Time Synchronization Protocol Based on Dynamic Route and Forwarding Certification

Dejing Zhang, Yuan Yuan, Yanqing Bi2020

TL;DR

This paper introduces the Dynamic Route and Forwarding Certification Time Synchronization Protocol (DRFC-TSP) for large-scale wireless sensor networks (WSNs). It tackles issues like error accumulation, clock skew, and dynamic topology changes by using adaptive routing and a novel forwarding certification mechanism to ensure accurate and energy-efficient time synchronization.

What Problem Does This Paper Address?

Accurate time synchronization is crucial for many applications of Wireless Sensor Networks (WSNs), enabling coordinated actions and efficient data collection. However, traditional time synchronization protocols struggle in large-scale WSNs due to several challenges:

  • Error Accumulation: In multi-hop networks, synchronization errors from each hop can accumulate, leading to significant time drift over longer distances.
  • Clock Frequency Skew: Over time, the clock frequencies of individual nodes can drift, causing further synchronization inaccuracies.
  • Dynamic Network Topologies: WSNs are often deployed in environments where nodes can fail or move, leading to frequent changes in network topology. Existing protocols can be rigid and struggle to adapt to these changes, requiring costly reconfigurations.
  • Energy Constraints: WSN nodes are typically battery-powered, making energy efficiency a paramount concern. Inefficient synchronization protocols can quickly drain node batteries.

The paper aims to address these limitations by proposing a protocol that is robust to topology changes, minimizes error accumulation, and conserves energy.

Methods

The DRFC-TSP protocol is built upon two core processes:

  1. Time Synchronization Process with Dynamic Routing:
    • Reference Node Selection: Instead of relying on a fixed hierarchical structure, each hop dynamically selects the best available reference node. This selection is based on a performance metric called Std, which considers the number of hops to the root node, clock frequency performance, and the node's performance in the previous synchronization round. This dynamic selection aims to find the optimal synchronization route for each hop, thereby limiting error accumulation.
  2. Std Metric: The Std metric is defined as Std² = λ(H) · μ(F) · η(Stdi-1), where λ(H) is related to hop count, μ(F) to frequency skew, and η(Stdi-1) to the previous round's performance. Nodes with better performance (fewer hops, more stable clocks) will have a lower Std.
  3. Forwarding Certification Process:
    • Authorization: To combat redundant information and wasted energy from poorly performing nodes, a forwarding certification mechanism is introduced. Nodes are authorized to forward synchronization information based on their performance (Std) relative to their neighbors.
  4. Rcer Threshold: A threshold Rcer is set, representing the acceptable percentage of qualified neighboring nodes. If a node's rank (based on its Std) is below this threshold within its neighbor domain, its forwarding certification is terminated (Flag_QA = 0). Otherwise, it is authorized (Flag_QA = 1). This ensures that only nodes with better performance contribute to the network's synchronization.
  5. Reference Node Void Problem: To handle situations where a node might not receive synchronization information from any qualified neighbors, a Twait mechanism is introduced. If no information is received within Twait, the node initiates a synchronous request to its neighbors, ensuring it can still find a reference.

The protocol was implemented and tested on an embedded Linux platform using Wi-Fi communication.

Datasets

Not discussed in the paper. The evaluation was performed using NS2 simulations and a custom testbed with embedded Linux platforms.

Key Insights and Ideas

  • Dynamic Routing for Robustness: The core idea of dynamically selecting the best reference node at each hop, rather than relying on a static hierarchy, is key to adapting to changing network topologies and minimizing error accumulation.
  • Forwarding Certification for Efficiency: Authorizing only high-performing nodes to forward synchronization information is an innovative way to reduce network traffic and conserve energy, directly addressing a critical WSN constraint.
  • Std as a Holistic Performance Metric: Combining hop count, clock skew, and historical performance into a single metric (Std) provides a comprehensive way to evaluate node suitability for synchronization.
  • Addressing the "Reference Node Void" Problem: The Twait mechanism is a practical solution to ensure synchronization continuity even in challenging network conditions where direct synchronization paths might temporarily disappear.

Key Results

  • Simulation (NS2):
    • DRFC-TSP achieved synchronization in 17 hops, compared to 27 hops for DMTS without reference optimization, indicating a more efficient route.
  • The synchronization error of an edge node in DRFC-TSP was significantly lower (about one-third) than in DMTS.
  • Convergence time increased with the number of nodes and was positively related to Tref (reference node selection time).
  • A larger Tref was found to be beneficial for selecting better reference nodes and improving synchronization precision, though its influence diminished beyond a certain point.
  • Field Test (Embedded Linux):
    • The forwarding certification mechanism successfully identified and filtered out nodes with poor performance.
  • The protocol demonstrated adaptability to different topologies.
  • In a specific test case, DRFC-TSP established a route (0-2-7-8) that provided the best synchronization performance, outperforming a poorly performing route (0-1-5-8) due to the better quality of nodes selected along the path.

Limitations and Future Work

  • Limited Topologies Tested: The field tests were conducted on only six different topologies due to the limitations of the embedded Linux platform. The authors suggest that further experiments in larger-scale environments are needed.
  • Parameter Tuning: The paper notes that parameters like Tref and Rcer, as well as the specific functions used for Std calculation, can be modified to suit precision and energy requirements. Finding optimal trade-offs for these parameters in various applications is identified as a direction for future research.
  • Scalability: While designed for large-scale WSNs, extensive testing on extremely large networks was not detailed.
  • Security: The paper does not explicitly address security aspects of time synchronization in WSNs.

Summary updated

BibTeX
@misc{zhang2020design,
  author = {Dejing Zhang and Yuan Yuan and Yanqing Bi},
  title = {{A Design of a Time Synchronization Protocol Based on Dynamic Route and Forwarding Certification}},
  year = {2020},
  doi = {10.3390/s20185061},
}
Figure