Implementation of a Network-wide Time Synchronization Strategy for WirelessHART

Sheng Zhang, Zhongsheng Xiang, Jie Chen2015

Abstract

WirelessHART is an international wireless communication standard proposed by HART Communication Foundation. As a crucial technique for wireless networks, time synchronization plays an important role especially in WirelessHART networks. For constant and reliable communication, it is necessary to provide precise network-wide time synchronization for TDMA-based WirelessHART. The network-wide time synchronization (NWTS) on an open source platform named OMNeT++ was implemented in this paper. In addition, we not only adopted a proposed Kalman-Filtering algorithm to ensure the precise synchronization but also designed a NWTS mechanism for WirelessHART. Moreover, we detailedly designed the mechanism of selecting and synchronizing the time reference sources (TRSs). Finally, we evaluated this implementation and made a comparison to TPSN in the aspect of error, robustness and power consumption.

Introduction

In industrial automation, WirelessHART is a critical standard relying on Time Division Multiple Access (TDMA). This protocol requires every device to have a specific time slot for communication. Clock drift—caused by temperature fluctuations or hardware limitations—can lead to missed windows, data loss, and node "divorce" from the network. While the standard mandates synchronization, it lacks a specific implementation strategy for complex mesh networks. This research introduces a network-wide time synchronization (NWTS) strategy designed to meet the energy and topology constraints of industrial environments.

Methodology

The NWTS strategy was implemented using the OMNeT++ simulator. The approach rests on three pillars:

  1. Kalman-Filtering Algorithm: Unlike simple offset calculations, a Kalman filter estimates both clock offset and frequency deviation (skew). This allows the system to predict future drift, enhancing resilience against noise and packet loss.
  2. Dynamic TRS Selection: A mechanism for selecting Time Reference Sources (TRSs) ensures efficient synchronization propagation. New nodes identify TRS neighbors or temporarily act as TRSs to bridge the network.
  3. Self-Adapting Sync Cycles: To optimize power consumption, the synchronization interval lengthens as the Kalman filter stabilizes frequency estimation, reducing unnecessary radio traffic.

The simulation environment involved 60 nodes in a 200x250 meter area, utilizing a RiceModel for radio propagation to simulate multipath fading typical of industrial settings.

Key Insights

A significant innovation is the "Common Neighbor" technique used to align two reference sources. By utilizing a shared neighbor node as a bridge, the entire mesh maintains synchronization without requiring direct communication between every node and the central Network Manager. Furthermore, the strategy prioritizes matching the frequency of the local oscillator rather than just the current time offset. Once frequency alignment is achieved, the frequency of required check-ins decreases significantly.

Results and Evaluation

The NWTS strategy demonstrated superior performance compared to the traditional Timing-sync Protocol for Sensor Networks (TPSN).

Variance comparison between NWTS and TPSN across network hops.

As shown in the variance analysis, NWTS maintains significantly higher precision over multiple hops. At 10 hops from the master clock, NWTS variance remained near 7 units, while TPSN error escalated to 30 units. This demonstrates the effectiveness of the Kalman-Filtering approach in mitigating cumulative multi-hop errors.

Network stability: active nodes over time for NWTS vs. TPSN.

Robustness tests with a 5% packet loss rate showed that NWTS maintains a stable count of active nodes, whereas TPSN suffers from rapid node depletion. Additionally, NWTS power consumption stabilized after approximately 900 cycles due to its self-adapting mechanism, offering better long-term energy efficiency than the constant high usage of TPSN.

Conclusion

The proposed NWTS strategy offers a robust solution for WirelessHART synchronization in simulated industrial environments. By combining predictive filtering with dynamic reference selection, it achieves high precision and energy efficiency. Future work will focus on hardware implementation to determine if low-power microcontrollers can handle the computational demands of Kalman filtering without offsetting the energy gains.

Summary updated

BibTeX
@misc{zhang2015implementation,
  author = {Sheng Zhang and Zhongsheng Xiang and Jie Chen},
  title = {{Implementation of a Network-wide Time Synchronization Strategy for WirelessHART}},
  year = {2015},
  doi = {10.2991/ameii-15.2015.1},
}
Figure