Time synchronization strategy and implementation of LoRa wireless ad hoc network
Lianghao Li, Yawen Dai · 2021
After analyzing and summarizing the characteristics and shortcomings of existing common time synchronization algorithms, a two-way time synchronization algorithm based on time drift compensation is proposed for the LoRa wireless ad hoc network based on TDMA mode. The algorithm improves the accuracy of time synchronization by compensating for the drift of the gateway's local clock during the time synchronization process and using symmetric transmission to eliminate the effect of channel message delay. After that, the time deviation between nodes is measured and the calculation method of the time synchronization period is given. Finally, the algorithm is analyzed and demonstrated through comparative experiments. This algorithm reduces communication costs and extends the overall service life of the network, while ensuring the accuracy of time synchronization.