Next Article in Journal
A Tactile Method for Rice Plant Recognition Based on Machine Learning
Previous Article in Journal
A Ship Trajectory Prediction Framework Based on a Recurrent Neural Network
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

UAV-Assisted Low-Consumption Time Synchronization Utilizing Cross-Technology Communication

1
School of Computer Science and Technology, China University of Mining and Technology, Xuzhou 221116, China
2
China Mine Digitization Engineering Research Center, Ministry of Education, Xuzhou 221116, China
*
Author to whom correspondence should be addressed.
Sensors 2020, 20(18), 5134; https://doi.org/10.3390/s20185134
Submission received: 25 July 2020 / Revised: 27 August 2020 / Accepted: 7 September 2020 / Published: 9 September 2020
(This article belongs to the Section Sensor Networks)

Abstract

:
Wireless sensor networks (WSNs) have been used in many fields due to its wide applicability. In this kind of network, each node is independent of each other and has its own local clock and communicates wirelessly. Time synchronization plays a vital role in WSNs and it can ensure accuracy requirements for coordination and data reliability. However, two key challenges exist in large-scale WSNs that are severe resource constraints overhead and multihop time synchronization errors. To address these issues, this paper proposes a novel unmanned aerial vehicle (UAV)-assisted low-consumption time synchronization algorithm based on cross-technology communication (CTC) for a large-scale WSN. This algorithm uses a UAV to send time synchronization data packets for calibration. Moreover, to ensure coverage and a high success rate for UAV data transmission, we use CTC for time synchronization. Without any relays, a high-power time synchronization packet can be sent by a UAV to achieve the time synchronization of low-power sensors. This algorithm can achieve accurate time synchronization with almost zero energy consumption for the sensor nodes. Finally, we implemented our algorithm with 30 low-power RF-CC2430 ZigBee nodes and a Da Jiang Innovations (DJI) M100 UAV on a 1 km highway and an indoor site. The results show that time synchronization can be achieved accurately with almost zero energy consumption for the sensor nodes, and the time synchronization error is less than 30 μ s in 99% of cases.

1. Introduction

Time synchronization is one of the most fundamental and widely employed middle-ware services in wireless sensor networks (WSNs) [1,2,3,4]. Different nodes use their own local clock modules for timing and these local clock modules are implemented by crystal oscillators [2,3,5,6]. The frequencies of different crystal oscillators cannot be completely consistent. In addition, the local initial time of each node is not the same, even if the local initial time of some nodes are the same, the influence of different environmental factors such as electromagnetic waves, temperature, and humidity will cause clock deviation. Therefore, time synchronization operations are required to achieve time consistency between nodes. Accurate time synchronization can save communication energy, promote position accuracy, optimize monitoring range, and improve system security [7,8,9,10,11]. Previous research in this field mostly focused on how to do time synchronization for better clock accuracy, such as reference broadcast synchronization (RBS) [12,13], timing-sync protocol for sensor networks (TPSN) [14,15], and flooding time synchronization protocol (FTSP) [16,17,18,19]. However, the above algorithms have the following problems in large-scale sparse deployment networks: (1) The energy consumption; (2) Multihop time synchronization errors. Pottie and Kaiser [20] noted that the energy consumption of each sensor node sending 1 kb of data is equal to executing 3 million instructions when the transmission distance is longer than 100 m. In addition, achieving time synchronization with multiple hops in WSNs can lead to cumulative errors.
To address these issues, this paper proposes a novel unmanned aerial vehicle (UAV)-assisted low-consumption time synchronization algorithm called UAV-TS, which is based on cross-technology communication (CTC) for a large-scale wireless sensor network. The main idea is to apply a UAV to send time synchronization data packets. However, two challenges exist in a low-power WSN with large-scale deployment, where the communication distance is short and nodes face severe resource constraints. It is difficult to achieve universal and rapid time synchronization if the UAV uses traditional methods [21,22], whereas a high-power signal can quickly achieve time synchronization because of the greater communication distance and wider coverage [23,24,25,26]. Thus, we apply cross-technology communication [27] to time synchronization, which means that the UAV can achieve time synchronization by sending high-power data packets to simulate low-power data packets [28,29]. A WiFi transmitter carried by the UAV simulates the synchronization data of the wireless sensor node at the physical layer, so the synchronization data include the sequence number and timestamp required for time synchronization. The data are subsequently embedded into the payload of a high-power packet and broadcast periodically. Wireless sensor nodes can identify the data directly and achieve time synchronization according to the sequence number and timestamp. This means that sensor nodes can achieve precise time synchronization with almost zero energy consumption. Therefore, the main contributions of this paper are as follows:
  • We present a novel UAV-assisted low-consumption time synchronization algorithm for a large-scale wireless sensor network that can achieve time synchronization with almost zero energy consumption.
  • We provide a method of sending time synchronization data packets based on CTC. It uses a general commercial high-power WiFi device to broadcast time synchronization data packets to ensure that the UAV can achieve time synchronization universally and quickly.
  • We implemented and evaluated the UAV-TS method with a sparse development sensor network (30 CC2430 ZigBee nodes) and a DJI M100 UAV (equipped with a WiFi device). Numerous experimental results demonstrate the effectiveness of our algorithm.
It is worth mentioning that although we are using the general commercial UAV, as long as the UAV carries high-power WiFi devices, our method can be applied in theory, which means that our method may be extended to some UAVs with constraints. For example, a deep learning environment using a radial basis function neural network (RBFNN) [30] and a nonlinear system controlled by a neural network (NN) and command filter-based [31]. The constraint requires further evaluation, we will not discuss it in detail here.

2. Related Work

2.1. Time Synchronization

Time synchronization is one of the most basic and widely-used technologies in wireless sensor networks. Time synchronization based on GPS is a commonly-used time synchronization method, which has high accuracy. However, the energy consumption of the node and the deployment cost of this solution is high. Another time synchronization protocol called precision time protocol (PTP) is proposed and defined in the IEEE 1588 standard [32]. This protocol is implemented at the application layer level and its precision is very high; however, PTP is only applicable to the client–server architecture. RBS is a time synchronization protocol commonly used in single-hop networks, which has low precision [12]. TPSN is a time synchronization protocol implemented in the Media Access Control (MAC) layer, it can be used in single-hop or multi-hop networks [14].
FTSP is the most widely-used time synchronization protocol to achieve communication between multiple nodes in wireless sensor networks [16,33]. It employs a broadcast mechanism to achieve time synchronization between nodes. In this method, nodes broadcast time synchronization information. Nodes within the synchronization range can receive synchronization information from other nodes to update their time synchronization information to achieve time synchronization.

2.2. Cross-Technology Communication

CTC is a new technology used to solve the communication between heterogeneous devices. Its characteristic is that heterogeneous wireless devices can directly exchange messages and data through a series of technical means. At present, the incompatibility between technologies and the asymmetry of equipment capacity are two major challenges of CTC. Commonly-used CTC technologies are mainly in the following two categories: packet-level CTC and physical-level CTC. The packet-level CTC mainly transmits information by using the modified packet as an information carrier. A CTC called Esense is a job that uses energy sampling to implement data transmission from WiFi to a ZigBee device [34]. It establishes an alphabet about the packet duration to transmit data, but this method is susceptible to interference and requires low noise in the environment. StripComm is a new type of CTC technology. It makes use of Manchester’s coding and proposes a coding mechanism for perceiving interference, which has strong anti-interference ability [25]. ZigFi focuses on the characteristics of channel state information (CSI) to implement Bluetooth Low Energy (BLE) to WiFi and ZigBee to WiFi communications, respectively [35]. FreeBee achieves CTC by changing the transmission time and embedding symbols into beacons, which can exchange data without a gateway [36]; however, FreeBee is limited by the beacon rate, resulting in its data rate is not high. Although packet-level CTC can solve the problem of communication between heterogeneous devices to a certain extent, the throughput of packet-level CTC is limited by the granularity of packet manipulation, and its size is measured in milliseconds.
The physical-level CTC focuses on the physical layer. According to the characteristics of the physical layer data packets, the data packets are modified to build collaboration between heterogeneous wireless devices on the physical layer to achieve CTC. Recently, a physical-level CTC called WEBee, which is the first CTC implemented at the physical-level [37]. It uses WiFi to send simulated ZigBee data packets and achieve high-performance CTC from WiFi to ZigBee. Our method is inspired by the FTSP and WEBee. It uses UAV to send simulated ZigBee data packets for time synchronization.

3. Algorithm Overview

UAV-TS algorithm architecture is shown in Figure 1. This algorithm consists of a transmitting module and a receiving module. The transmitting module is a WiFi device carried by a UAV. It can send simulated data packets embedded with corresponding beacons and timestamps, which can be recognized by ZigBee nodes. The receiving module is composed of many sparsely deployed ZigBee nodes to be synchronized. The sparse ZigBee nodes can receive the data packet and identify the timestamp and other information in it, thus achieving time synchronization.
The transmitting module sends WiFi data packets mainly including the following steps:
  • The channel coding module encodes the data bits in the WiFi frame into redundant coded bits to enhance the robustness of the data. Map these coded bits to a series of constellation points through quadrature amplitude modulation (QAM). The QAM process formula is expressed as follows:
    S M Q A M ( t ) = X ( t ) c o s ω c t Y ( t ) s i n ω c t ,
    where X ( t ) and Y ( t ) are two original signals and c o s ω c t and s i n ω c t are their corresponding quadrature modulation component.
  • By using orthogonal frequency division multiplexing (OFDM) to insert pseudo-random pilot symbols, these constellation points are modulated into 48 data subcarriers. Meanwhile, pseudo-random pilot symbols are modulated into pilot subcarriers for channel estimation. The OFDM process formula is expressed as follows:
    V ( t ) = k = 1 N c a k c o s ( 2 π f k t ) + k = 1 N c b k s i n ( 2 π f k t )
    where N c is the number of subcarriers, f k is the preset carrier frequency interval, and a k and b k are different k-channel modulated subcarrier signals.
  • After the subcarriers are processed by inverse fast Fourier transform (IFFT), all the subcarriers are combined and converted into a ZigBee time domain signal. As the following formula:
    V ( t ) = t = 0 N 1 1 / N v ( t ) W N t k , k = 0 , , N 1
  • The ZigBee time domain signal is processed by a cyclic prefix module to form a cyclic prefix with an interval of 0.8 μs to eliminate inter-symbol interference and generate a simulated ZigBee signal.
  • Finally, encapsulate the simulated ZigBee signal into the payload of the WiFi data packet and send the WiFi data packet.
Before sending the WiFi data packets, it needs to construct the simulated ZigBee time synchronization data packet. The construction of a simulated ZigBee time synchronization data packet is an important step. As shown on the right side of Figure 1, we obtain the ideal constellation point set Q for WiFi transmission and modulation in advance, and Q is as follows:
Q ( n ) = x 1 , y 1 , x 2 , y 2 , x n , y n
These are the preset constellation points. First, we modify the time synchronization data packet to enable better reception by the ZigBee nodes. The algorithm steps will be described in detail in the next section. Then, the time synchronization data packet is changed into a time domain waveform v ( t ) , which can be recognized by the ZigBee devices by encapsulation at the MAC layer and the physical layer. Since the simulated ZigBee synchronization data packet is embedded in the payload of the WiFi data packet, the operation in the MAC layer is consistent with the general WiFi data packet transmission. After inverse fast Fourier transform and quantization, v ( t ) becomes another signal V ( t ) , and the time domain waveform is mapped to a series of constellation points Q ( n ) as follows:
V ( t ) = t = 0 N 1 v ( t ) W N t k , k = 0 , , N 1
Q ( n ) = x 1 , y 1 , x 2 , y 2 , x n , y n
where W N is the exponential factor and N 1 is the number of terms of the time domain waveform signal. We compare Q ( n ) and Q and select the constellation point with the smallest total Euclidean distance ρ from Q ( n ) and Q , as shown in Formula (7).
ρ = x 1 x 1 2 + y 1 y 1 2
Then, we can obtain the constellation point T ( n ) that can control the corresponding ZigBee data. According to T ( n ) , the simulated time synchronization data packet can be obtained through the constellation mapping table and the coded bit mapping table.
Since the WiFi device is used as a transmitter, ZigBee can receive more synchronization information at the same time than the ZigBee node as the transmitter, which can achieve higher accuracy time synchronization in a shorter time. The advantages of this system are as follows:
  • The transmission bandwidth of WiFi and ZigBee have overlapping parts, and this overlapping part can be used as a communication channel. At the same time, the transmission distance of WiFi can reach several hundred meters, which is much larger than the transmission distance of low-power ZigBee so it can cover a broader range. It means that using WiFi node as reference point has a certain theoretical basis, strong signal strength, and wide coverage.
  • Modified the data packet format, so that the ZigBee receiver can more easily receive the simulated time synchronization data packet. Compared with the general ZigBee network, ZigBee nodes as receivers are only used to receive data and do not require extra energy to send data.
It is noteworthy that other further topics can be designed based on our topic. For example, ZigBee can be controlled to send data to a UAV by using CTC, so as to quickly collect data on the ZigBee side. In addition, UAV can send data to ZigBee nodes to achieve node localization. Since our main job is to achieve time synchronization, we only introduce the concept here and we will not elaborate on the scheme.

4. Algorithm Design

4.1. Analysis of Existing Problems of Physical-Level CTC

The traditional physical-level CTC has the following problems: (1) Hardware limitations and protocol incompatibility. It is necessary to construct a simulated ZigBee time synchronization data packet that can be recognized by the ZigBee node. Due to hardware limitations and incompatibility between different protocol standards, the simulated signal generated by a physical-level CTC system cannot perfectly match the required signal [38,39,40]. Therefore, compared with the standard ZigBee signal, the simulated signal will be partially distorted. (2) Signal and environmental interference. It is necessary to ensure that the timestamp in the data can be correctly identified and decoded as much as possible. The simulated time synchronization signal cannot completely match the required signal, and there is interference such as obstacles in the communication channel so the timestamp in the data may change [41,42]. For example, the quantized constellation point cannot completely coincide with the preset constellation point. Only the constellation point with the smallest Euclidean Distance can be selected for simulation, which will cause errors, as shown in the following formula:
T / 2 T / 2 u ( t ) v ( t ) 2 d t = T k U [ k ] V [ k ] 2
where T is the period, u ( t ) is the initial time domain signal, v ( t ) is the time domain signal after quantization, and U [ k ] and V [ k ] are the time domain signals corresponding to the Fourier transform.
In the current physical CTC, these two problems exist objectively and cannot be completely avoided. Different algorithms can only be used to reduce the errors caused by these two problems. In order to solve these problems, the time synchronization data packet needs to be modified to make the ZigBee receiver receive the simulated data packet more easily.

4.2. Analysis of the FTSP Packet

Our algorithm needs to solve the following problems: (1) Hardware limitations and incompatibility between different protocol standards make it difficult to receive simulated data packets. Therefore, it is necessary to analyze different protocols and plan to adopt the best sending strategy according to the compatible parts of the protocol to obtain the best transmission. (2) Environmental interference in the communication channel, such as various obstacles, electromagnetic waves and bad weather, may cause the lack of key information such as the timestamp in the data packet, which causes the ZigBee nodes to consume a lot of energy to receive data and to be unable to obtain an accurate and complete timestamp for time synchronization. In order to solve these problems, we analyzed the time synchronization protocol of ZigBee and modified the original time synchronization data packet, which can effectively improve the packet reception rate.
Our method is similar to the synchronization mechanism based on the send/receive protocol. To construct the simulated ZigBee time synchronization packet, we analyze the data packet format of the FTSP, a commonly-used time synchronization protocol. As shown in Figure 2, the data packet format of FTSP is mainly composed of four parts: The preamble is used by the ZigBee nodes to identify and receive ZigBee data packets; synchronization is used to align and determine whether the data are valid; valid data segments are used for synchronous calculation and the checksum.
The FTSP can achieve multihop time synchronization by root node communication [33,43,44]. It can dynamically select a root node as the clock source node according to the root node ID. The valid data segments of the synchronization information is divided into three parts: timestamp, root node ID, and sequence. The main workflow of the FTSP protocol is as follows: the root node broadcasts synchronization information, and every time new synchronization information is sent, the sequence of the synchronization information increases by 1. After that, the nodes within the receiving range can receive the synchronization information to start synchronization and become the new Root node. Finally, these new root nodes update the root node ID and sequence, broadcast the new synchronization information. Repeating the above steps to achieve time synchronization of the entire network.

4.3. Simulated Time Synchronization Data Packet

Based on the format of the FTSP time synchronization packet and the characteristics of our design, we modify the data packet to ensure that our simulated time synchronization packet data can be recognized and received by the ZigBee nodes, as shown in Figure 3.
Our design uses WiFi to broadcast the simulated time synchronization data packet. WiFi has a longer transmission distance, and the time synchronization data packets need to be transmitted unidirectionally. The ZigBee nodes are only responsible for receiving the synchronization data. That is, only the WiFi device is used as a reference point that all nodes are synchronized to the WiFi device, so a root node ID is not needed in the data packet. At the same time, to reduce any deviation between the simulated time synchronization data packet and the original data packet, we introduce redundancy in the preamble and synchronization. In other words, we insert two identical preambles and synchronizations in the header of the data packet. This effectively improves the detection chances of the preamble and synchronization. Once the packet is identified, the other packet will be automatically discarded by the ZigBee node. The timestamp contains important information to achieve time synchronization. For the ith different transmission timestamps, we can record them as T ( s d , i ) . The timestamp is processed similarly on the valid data to improve the successful recognition rate of the timestamp.
Since the working frequency bands of WiFi and ZigBee overlap, the ZigBee nodes can receive the WiFi data packet. Because the simulated RF waveform of the WiFi payload is similar to the RF waveform of the ZigBee signal [37], when the WiFi frame is transmitted through the WiFi Radio Frequency (RF) front end, the ZigBee device can ignore the WiFi header, preamble, and tail as noise, and the payload (i.e., the simulated time synchronization data packet) will be received successfully by the ZigBee node through ZigBee preamble detection. The received WiFi waveform is converted to baseband and digitized into in-phase and quadrature signals (I/Q) by using Analog to Digital Converter (ADC) for sampling. The phase shift p ( n ) between consecutive I/Q samples are used to demodulate the symbols, as shown in Formula (5):
p ( n ) = arctan s ( n ) × s ( n 1 )
where s ( n ) and s ( n 1 ) are two consecutive samples. If the phase shift is less than 0 ° , the chip is “0”; otherwise it is “1”. After collecting 32 chips, they are converted into ZigBee frames according to the chips. Finally, we can obtain the synchronization data.

4.4. Clock Deviation Modification

After designing the simulated time synchronization data packet, we need to correct the time offset to improve accuracy. The inconsistent frequencies of the crystal oscillators at each node cause different time rates, which expands the clock deviation between the nodes [7,45,46,47]. Therefore, it is necessary to perform regular time synchronization. We assume that the drift rate of clock x relative to the reference clock y is expressed as S ( y , x ) , so the drift rate can be expressed by the following formula:
S ( y , x ) = d 2 d 1 t y 2 t y 1 = t y 2 t x 2 t y 1 t x 2 t y 2 t y 1
where t x 1 , t x 2 , t y 1 and t y 2 are two consecutive unit times of x and y nodes, respectively. d 1 and d 2 are clock deviations of the corresponding unit times.
Our design is different from the general synchronization system, it uses the UAV to carry WiFi, and the coverage of WiFi is wide. Therefore, placing the WiFi device in different positions can be regarded as different reference points for performing linear regression to estimate the clock drift rate skew of the node, as shown in Formula (11).
s k e w ( n ) = i = n m + 1 n T ( o s , i ) T o s ¯ T a v , i T a v ¯ i = n m + 1 n T ( a v , i ) T a v ¯ 2
T ( o s , i ) = T ( s d , i ) T ( a v , i )
where s k e w ( n ) is the clock drift rate obtained by linear regression on the linear regression table (The part which saving the useful time information for linear regression in ZigBee) for the nth time period, n is the number of synchronization periods and m is the number of reference points stored in the linear regression table. When the linear regression table obtains m reference points, the linear regression calculation can be started, so n m is required. T ( o s , i ) is the clock offset obtained by the ith time reference point in the linear regression table, T ( s d , i ) is the transmit timestamp of the ith reference point in the linear regression table, and T ( a v , i ) which generated by the ZigBee node after receiving the time synchronization data packet is the receive timestamp of the ith reference point in the linear regression table. T o s ¯ and T a v ¯ are the averages of the clock offset and received timestamp of the reference points in the linear regression table.
According to the clock drift rate obtained by Formulas (11) and (12), the formula for adjusting the nth time synchronization period is as follows:
T g b = T l c + T o s ¯ + s k e w ( n ) T l c T a v ¯
where T g b is the global time after adjustment and T l c is the local time at the node. Using linear regression can effectively compensate for clock drift to improve accuracy.
To ensure the reliability of the system, we re-transmitted the simulated time-synchronized data packets. Reasonable retransmission can effectively improve the packet reception rate. For different retransmission times, we denote it as T i . Although this measure reduces the throughput, it is acceptable for the time synchronization of the ZigBee nodes.

5. Algorithm Evaluation

5.1. Experimental Setup

We implemented our algorithm with 30 low-power RF-CC2430 ZigBee nodes and a DJI M100 UAV on a 1 km highway and an indoor site, which are shown in Figure 4 and Figure 5. A UAV was used as the transmitting device and a microcomputer equip with an Atheros AR2425 wireless network card to send time synchronization packets. Moreover, 30 low-power RF-CC2430 ZigBee nodes were receivers, and each ZigBee node satisfied a sparse distribution. We selected an average value of 20 experiments as the experimental result to ensure the accuracy of the experiment.

5.2. Evaluation of Delay

In the experiment, the UAV as the transmitter only sends data packets and ZigBee as the receiver only receives data packets. The energy consumption of the ZigBee nodes is very low because ZigBee nodes are only charged with receiving the time synchronization data packet. Moreover, if we send the packet by using a UAV to carry the WiFi device, its transmission distance is not long. In such a short distances, any propagation delay can be ignored. we just pay attention to transmission delay and processing delay. Therefore, it is only necessary to measure the time synchronization accuracy at different transmission times to reflect the performance of the system. The total delay E ( n ) can be calculated as follows:
E ( n ) = ( D t + D p + T i ) × ( n 1 )
where D t is transmission delay, which is determined by the packet length and bandwidth. D p is processing delay and T i is transmission time interval. n is re-transmission times. In our experiment, D t and D p are about 1.5 μ s and 0.5 μ s, respectively. T i is set to 8 μ s. We can find that total delay can be determined by retransmission times n.
First, we measure the accuracy on the highway site by using the RF-CC2430 nodes as receivers and the WiFi device as the transmitter with various transmission times, and transmission distance is set to 20 m. The accuracy is the probability that the ZigBee node can accurately achieve time synchronization according to the synchronization data packet, which is mainly related to the packet reception rate. We measure and count the number of ZigBee nodes that can achieve time synchronization in different transmission times to calculate the accuracy in different transmission times. According to the accuracy and different transmission times, we draw the comparison histogram, as shown in Figure 6, the performance of “WiFi to ZigBee” is obviously better than that of “ZigBee to ZigBee”. The accuracy can achieve greater than 99% after 4 retransmission when using WiFi as the transmitter. Based on Formula (14), we can claim that time synchronization error is less than 30 μ s in 99% of cases.
At the same time, we measure the accuracy at an indoor site by using the RF-CC2430 nodes as receivers and the WiFi device as the transmitter with various transmission times. The transmission distance is also set to 20 m. As shown in Figure 7, because there are more obstacles and signal interference in the indoor environment, the performance of “WiFi to ZigBee” and “ZigBee to ZigBee” are lower than that in the outdoor site. But “WiFi to ZigBee” is still better than “ZigBee to ZigBee”. Based on Formula (14), we can claim that time synchronization error is less than 40 μ s in 99% of cases.

5.3. Evaluation of Packet Reception Rate

We also implement the time synchronization packet reception rate (PRR) on the highway by using both the RF-CC2430 nodes and the WiFi as time synchronization transmitters at different transmission distances. We measure and count the number of ZigBee nodes that can achieve time synchronization in different transmission distances to calculate the accuracy in different transmission distances. According to the PRR and different transmission distances, we draw the comparison graphs as shown in Figure 8 and Figure 9. In the case of short distance, the PRR of our algorithm can reach 99%. As the distance increases, the reception rate of time synchronization packets gradually decreases. The ZigBee nodes exhibit larger reductions when used as transmitters. However, the PRR at a distance of 150 m can still reach 52.1% when using WiFi as a transmitter, which is much greater than the rate when using a ZigBee node as a transmitter.
Similarly, we implement the time synchronization PRR at an indoor site by using the same devices at different transmission distances, as shown in Figure 10 and Figure 11. Due to the influence of the increase of interference, the value of PRR indoors will decreases, the PRR at a distance of 150 meters can still reach 49.8% when using WiFi as a transmitter, which is much greater than the rate when using a ZigBee node as a transmitter.
In a realistic time synchronization environment, the flying speed of the UAV is not stable, and various environmental factors such as wind power and environmental obstacles will affect the flying speed of the UAV. At the same time, different synchronization requirements may also affect the flying speed of the UAV. In order to verify whether the different flight speeds of the UAV will affect the time synchronization, we measure the accuracy on the highway by using the WiFi device as the transmitter at various speeds under the single transmission. As shown in Figure 12, although the speed of UAV is changing, the accuracy will almost not change. In other words, we can conclude that accuracy is not affected by the speed of UAV.

5.4. Evaluation of Energy Consumption

The energy consumption of ZigBee nodes in the network is mainly composed of idle energy consumption, transmitted energy consumption, and received energy consumption [48,49,50]. We measure the average energy consumption of the ZigBee nodes using our algorithm. The comparison of energy consumption of various parts under different numbers of nodes at an outdoor site is shown in Figure 13, since the node does not need to send data packets with our algorithm, only ZigBee nodes need to receive data packets, the energy consumption is extremely low, and the energy consumption of a single node is close to zero. At the same time, we compare the energy consumption of our algorithm with the widely used FTSP network method. As shown in Figure 14, whether it is a single node or multiple nodes, our algorithm can effectively reduce energy consumption.
We also measure the average energy consumption of the ZigBee nodes using our algorithm at an indoor site. The comparison of energy consumption of various parts under different numbers of nodes is shown in Figure 15. The energy consumption is still extremely low and the energy consumption of a single node is also close to zero. We also compare the energy consumption of our algorithm with the widely used FTSP network method. As shown in Figure 16, Due to the interference increases, both the received energy and idle energy of FTSP and UAV-TS increase. However, our algorithm can still effectively reduce energy consumption in the condition of a single node or multiple nodes.

6. Conclusions

To improve the time synchronization accuracy and reduce energy consumption for large-scale WSN, this paper proposes a novel UAV-assisted time synchronization algorithm based on cross-technology communication. This algorithm can accurately achieve time synchronization with almost zero energy consumption of nodes. We use 30 low-power RF-CC2430 transceivers with ZigBee nodes to perform experiments on a 1 km highway and an indoor site. The results show that time synchronization can be achieved accurately with almost no energy consumption for the sensor nodes, and the time synchronization error is less than 30 μ s in 99% of cases on an 1 km highway.

Author Contributions

Conceptualization, Z.T. and X.Y.; Data curation, Z.T., X.Y. and M.P.; Formal analysis, Z.T., X.Y. and P.C.; Funding acquisition, S.G., M.L. and P.C.; Investigation, Z.T. and X.Y.; Methodology, Z.T. and M.P.; Project administration, X.Y. and M.P.; Resources, S.G., M.L. and P.C. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the National Natural Science Foundation of China under Grant 51874302, Grant 51774282, and Grant 51674255.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Wang, J.; Zhao, R.; Gu, W. Time Synchronization in Networks: A Survey. In Proceedings of the 2nd International Conference on Control and Computer Vision, Jeju Island, Korea, 25 April 2019; pp. 121–126. [Google Scholar]
  2. Liang, C.J.M.; Chen, K.; Priyantha, N.B.; Liu, J.; Zhao, F. Rushnet: Practical traffic prioritization for saturated wireless sensor networks. In Proceedings of the 12th ACM Conference on Embedded Network Sensor Systems, Memphis, TN, USA, 3–6 November 2014; pp. 105–118. [Google Scholar]
  3. Hao, T.; Zhou, R.; Xing, G.; Mutka, M.W.; Chen, J. Wizsync: Exploiting wi-fi infrastructure for clock synchronization in wireless sensor networks. IEEE Trans. Mob. Comput. 2013, 13, 1379–1392. [Google Scholar]
  4. Adhatarao, S.S.; Arumaithurai, M.; Kutscher, D.; Fu, X. ISI: Integrate sensor networks to Internet with ICN. IEEE Internet Things J. 2017, 5, 491–499. [Google Scholar] [CrossRef]
  5. Schmid, T.; Charbiwala, Z.; Anagnostopoulou, Z.; Srivastava, M.B.; Dutta, P. A case against routing-integrated time synchronization. In Proceedings of the 8th ACM Conference on Embedded Networked Sensor Systems, Zurich, Switzerland, 3–5 November 2010; pp. 267–280. [Google Scholar]
  6. Zhai, L.; Zhang, X.; Xie, G. Performance analysis of non-saturated IEEE 802.11 DCF networks. IEICE Trans. Commun. 2012, 95, 2509–2512. [Google Scholar] [CrossRef]
  7. Zhong, Z.; Chen, P.; He, T. On-demand time synchronization with predictable accuracy. In Proceedings of the International Conference on Computer Communications, Mumbai, India, 28–29 January 2011; pp. 2480–2488. [Google Scholar]
  8. Kawabata, S.; Matsuzaki, R.; Ebara, H. Mixed synchronous and asynchronous duty-cycling protocol in sensor networks. In Proceedings of the 48th International Conference on Parallel Processing: Workshops, Kyoto, Japan, 5 August 2019; pp. 1–7. [Google Scholar]
  9. Zhai, L.; Zhang, X. Modified 802.11-based opportunistic spectrum access in cognitive radio networks. ETRI J. 2012, 34, 276–279. [Google Scholar] [CrossRef]
  10. Zhai, L.; Xie, G. A slot-based opportunistic spectrum access for cognitive radio networks. IEICE Trans. Commun. 2011, 94, 3183–3185. [Google Scholar] [CrossRef]
  11. Hong, J.; Li, Z.; Lu, D.; Lu, S. Sleeping schedule-aware local broadcast in wireless sensor networks. Int. J. Distrib. Sens. Netw. 2013, 9, 451970. [Google Scholar] [CrossRef] [Green Version]
  12. Kim, H.; Ishikawa, M.; Yamakawa, Y. Reference broadcast frame synchronization for distributed high-speed camera network. In Proceedings of the 2018 IEEE Sensors Applications Symposium (SAS), Seoul, Korea, 12–14 March 2018; pp. 1–5. [Google Scholar]
  13. Ganeriwal, S.; Pöpper, C.; Čapkun, S.; Srivastava, M.B. Secure time synchronization in sensor networks. ACM Trans. Inf. Syst. Secur. 2008, 11, 1–35. [Google Scholar] [CrossRef]
  14. Ganeriwal, S.; Kumar, R.; Srivastava, M. Timing-sync protocol for sensor networks. In Proceedings of the 1st International Conference on Embedded Networked Sensor Systems, Los Angeles, CA, USA, 5–7 November 2003; pp. 138–149. [Google Scholar]
  15. Mohammadmoradi, H.; Gnawali, O.; Rattner, N.; Terzis, A.; Szalay, A. Robust time synchronization in wireless sensor networks using real time clock. In Proceedings of the 12th ACM Conference on Embedded Network Sensor Systems, Memphis, TN, USA, 3–4 November 2014; pp. 356–357. [Google Scholar]
  16. Sattar, D.; Sheltami, T.R.; Mahmoud, A.S.H.; Shakshuki, E.M. A Comparative Analysis of Flooding Time Synchronization Protocol and Recursive Time Synchronization Protocol. In Proceedings of the International Conference on Advances in Mobile Computing & Multimedia; Association for Computing Machinery: New York, NY, USA, 2013; pp. 151–155. [Google Scholar]
  17. Fotedar, N.; Saini, P. An Energy Efficient Algorithm for Time Synchronization in Sensor Networks. In Proceedings of the International Conference on High Performance Compilation, Computing and Communications, Kuala Lumpur, Malaysia, 15 November 2017; pp. 91–96. [Google Scholar]
  18. Aoun, M.; Schoofs, A.; van der Stok, P. Efficient time synchronization for wireless sensor networks in an industrial setting. In Proceedings of the 6th ACM Conference on Embedded Network Sensor Systems, Raleigh, NC, USA, 5–7 November 2008; pp. 419–420. [Google Scholar]
  19. Lenzen, C.; Sommer, P.; Wattenhofer, R. Optimal clock synchronization in networks. In Proceedings of the 7th ACM Conference on Embedded Networked Sensor Systems, Berkeley, CA, USA, 4–6 November 2009; pp. 225–238. [Google Scholar]
  20. Pottie, G.J.; Kaiser, W.J. Wireless Integrated Network Sensors. Commun. ACM 2000, 43, 51–58. [Google Scholar] [CrossRef]
  21. Villas, L.A.; Guidoni, D.L.; Maia, G.; Pazzi, R.W.; Ueyama, J.; Loureiro, A.A.F. An Energy Efficient Joint Localization and Synchronization Solution for Wireless Sensor Networks using Unmanned Aerial Vehicle. Wirel. Netw. 2015, 21, 485–498. [Google Scholar] [CrossRef]
  22. Li, Z.; Xie, Y.; Li, M.; Jamieson, K. Recitation: Rehearsing wireless packet reception in software. In Proceedings of the 21st Annual International Conference on Mobile Computing and Networking, Los Cabos, Mexico, 21–25 October 2015; pp. 291–303. [Google Scholar]
  23. Zheng, X.; Cao, Z.; Wang, J.; He, Y.; Liu, Y. Zisense: Towards interference resilient duty cycling in wireless sensor networks. In Proceedings of the 12th ACM Conference on Embedded Network Sensor Systems, Memphis, TN, USA, 3–6 November 2014; pp. 119–133. [Google Scholar]
  24. Dhivvya, J.; Rao, S.N.; Simi, S. Towards maximizing throughput and coverage of a novel heterogeneous maritime communication network. In Proceedings of the 18th ACM International Symposium on Mobile Ad Hoc Networking and Computing, Chennai, India, 10–14 July 2017; pp. 1–2. [Google Scholar]
  25. Zheng, X.; He, Y.; Guo, X. Stripcomm: Interference-resilient cross-technology communication in coexisting environments. In Proceedings of the IEEE INFOCOM 2018—IEEE Conference on Computer Communications, Honolulu, HI, USA, 16–19 April 2018; pp. 171–179. [Google Scholar]
  26. Jin, T.; Noubir, G.; Sheng, B. Wizi-cloud: Application-transparent dual zigbee-wifi radios for low power internet access. In Proceedings of the 2011 Proceedings IEEE INFOCOM, Shanghai, China, 10–15 April 2011; pp. 1593–1601. [Google Scholar]
  27. Jiang, W.; Kim, S.M.; Li, Z.; He, T. Achieving Receiver-Side Cross-Technology Communication with Cross-Decoding. In Proceedings of the 24th Annual International Conference on Mobile Computing and Networking; Association for Computing Machinery: New York, NY, USA, 2018; pp. 639–652. [Google Scholar]
  28. Wang, W.; Xie, T.; Liu, X.; Zhu, T. ECT: Exploiting Cross-Technology Concurrent Transmission for Reducing Packet Delivery Delay in IoT Networks. In Proceedings of the IEEE INFOCOM 2018—IEEE Conference on Computer Communications, Honolulu, HI, USA, 16–19 April 2018; pp. 369–377. [Google Scholar]
  29. Jiang, W.; Yin, Z.; Kim, S.M.; He, T. Transparent cross-technology communication over data traffic. In Proceedings of the IEEE INFOCOM 2017—IEEE Conference on Computer Communications, Atlanta, GA, USA, 1–4 May 2017; pp. 1–9. [Google Scholar]
  30. Qiu, J.; Sun, K.; Rudas, I.J.; Gao, H. Command filter-based adaptive NN control for MIMO nonlinear systems with full-state constraints and actuator hysteresis. IEEE Trans. Cybern. 2019, 50, 2905–2915. [Google Scholar] [CrossRef] [PubMed]
  31. Qiu, J.; Sun, K.; Wang, T.; Gao, H. Observer-based fuzzy adaptive event-triggered control for pure-feedback nonlinear systems with prescribed performance. IEEE Trans. Fuzzy Syst. 2019, 27, 2152–2162. [Google Scholar] [CrossRef]
  32. Eidson, J.; Lee, K. IEEE 1588 standard for a precision clock synchronization protocol for networked measurement and control systems. In Proceedings of the 34th Annual Precise Time and Time Interval Systems and Applications Meeting, Reston, VA, USA, 3–5 December 2002; pp. 98–105. [Google Scholar]
  33. Huang, D.; Teng, W.; Yang, K. Secured flooding time synchronization protocol with moderator. Int. J. Commun. Syst. 2013, 26, 1092–1115. [Google Scholar] [CrossRef]
  34. Chebrolu, K.; Dhekne, A. Esense: Communication through energy sensing. In Proceedings of the ACM MobiCom, London, UK, 21–25 September 2009; pp. 85–96. [Google Scholar]
  35. Guo, X.; He, Y.; Zheng, X.; Yu, L.; Gnawali, O. ZIGFI: Harnessing Channel State Information for Cross-Technology Communication. In Proceedings of the IEEE INFOCOM, Honolulu, HI, USA, 16–19 April 2018; pp. 360–368. [Google Scholar]
  36. Kim, S.M.; He, T. FreeBee: Cross-technology Communication via Free Side-channel. In Proceedings of the ACM MobiCom, Paris, France, 7–11 September 2015; pp. 317–330. [Google Scholar]
  37. Li, Z.; Yin, Z.; Liu, L.; Liu, R.; He, T. Demo: WEBee: Physical-Layer Cross-Technology Communication via Emulation. In Proceedings of the 23rd Annual International Conference on Mobile Computing and Networking, Snowbird, UT, USA, 16–20 October 2017; pp. 493–494. [Google Scholar]
  38. Chi, Z.; Huang, Z.; Yao, Y.; Xie, T.; Sun, H.; Zhu, T. EMF: Embedding multiple flows of information in existing traffic for concurrent communication among heterogeneous IoT devices. In Proceedings of the IEEE INFOCOM 2017—IEEE Conference on Computer Communications, Atlanta, GA, USA, 1–4 May 2017; pp. 1–9. [Google Scholar]
  39. Yin, Z.; Jiang, W.; Kim, S.M.; He, T. C-morse: Cross-technology communication with transparent morse coding. In Proceedings of the IEEE INFOCOM 2017—IEEE Conference on Computer Communications, Atlanta, GA, USA, 1–4 May 2017; pp. 1–9. [Google Scholar]
  40. Jiang, W.; Yin, Z.; Liu, R.; Li, Z.; Kim, S.M.; He, T. Bluebee: A 10,000x faster cross-technology communication via phy emulation. In Proceedings of the 15th ACM Conference on Embedded Network Sensor Systems, Delft, The Netherlands, 21 November 2017; pp. 1–13. [Google Scholar]
  41. Guo, X. Cross Technology Communication in Heterogeneous Wireless Networks; EWSN: Matthews, NC, USA, 2019; pp. 312–313. [Google Scholar]
  42. Chi, Z.; Li, Y.; Sun, H.; Yao, Y.; Zhu, T. Concurrent Cross-Technology Communication among Heterogeneous IoT Devices. IEEE/ACM Trans. Netw. 2019, 27, 932–947. [Google Scholar] [CrossRef]
  43. Maróti, M.; Kusy, B.; Simon, G.; Lédeczi, Á. The flooding time synchronization protocol. In Proceedings of the 2nd International Conference on Embedded Networked Sensor Systems, Baltimore MD USA, 3–5 November 2004; pp. 39–49. [Google Scholar]
  44. Lenzen, C.; Sommer, P.; Wattenhofer, R. PulseSync: An efficient and scalable clock synchronization protocol. IEEE/ACM Trans. Netw. 2014, 23, 717–727. [Google Scholar] [CrossRef] [Green Version]
  45. Masood, W.; Schmidt, J.F. Autoregressive integrated model for time synchronization in wireless sensor networks. In Proceedings of the 18th ACM International Conference on Modeling, Analysis and Simulation of Wireless and Mobile Systems, Cancun, Mexico, 1 July 2015; pp. 133–140. [Google Scholar]
  46. Hu, A.S.; Servetto, S.D. Asymptotically optimal time synchronization in dense sensor networks. In Proceedings of the 2nd ACM International Conference on Wireless Sensor Networks and Applications, San Diego, CA, USA, 19 September 2003; pp. 1–10. [Google Scholar]
  47. Huang, W.; Quan, Y.; Chen, D. Improving broadcast efficiency in wireless sensor network time synchronization protocols. In Proceedings of the International Workshop on System Level Interconnect Prediction, San Francisco, CA, USA, 3 June 2012; pp. 48–55. [Google Scholar]
  48. Kawagoe, H.; Sugano, M. Implementation of Time Synchronization for Energy Harvesting Wireless Sensor Network. In Proceedings of the 2017 VI International Conference on Network, Communication and Computing, Kunming, China, 8–10 December 2017; pp. 175–178. [Google Scholar]
  49. Elson, J.; Girod, L.; Estrin, D. Fine-grained network time synchronization using reference broadcasts. ACM SIGOPS Oper. Syst. Rev. 2002, 36, 147–163. [Google Scholar] [CrossRef]
  50. Esfahani, N.P.; Cerpa, A.E. Poster: Energy optimization framework in wireless sensor network. In Proceedings of the 13th ACM Conference on Embedded Networked Sensor Systems, Seoul, Korea, 1 November 2015; pp. 441–442. [Google Scholar]
Figure 1. UAV-TS algorithm architecture.
Figure 1. UAV-TS algorithm architecture.
Sensors 20 05134 g001
Figure 2. Flooding time synchronization protocol (FTSP) packet.
Figure 2. Flooding time synchronization protocol (FTSP) packet.
Sensors 20 05134 g002
Figure 3. Modified synchronization packet.
Figure 3. Modified synchronization packet.
Sensors 20 05134 g003
Figure 4. Experimental scene indoor.
Figure 4. Experimental scene indoor.
Sensors 20 05134 g004
Figure 5. Experimental scene on the highway.
Figure 5. Experimental scene on the highway.
Sensors 20 05134 g005
Figure 6. Time synchronization accuracy in different transmission times on the highway.
Figure 6. Time synchronization accuracy in different transmission times on the highway.
Sensors 20 05134 g006
Figure 7. Time synchronization accuracy in different transmission times indoors.
Figure 7. Time synchronization accuracy in different transmission times indoors.
Sensors 20 05134 g007
Figure 8. Packet reception rate at short distance on the highway.
Figure 8. Packet reception rate at short distance on the highway.
Sensors 20 05134 g008
Figure 9. Packet reception rate at long distance on the highway.
Figure 9. Packet reception rate at long distance on the highway.
Sensors 20 05134 g009
Figure 10. Packet reception rate at short distance indoors.
Figure 10. Packet reception rate at short distance indoors.
Sensors 20 05134 g010
Figure 11. Packet reception rate at long distance indoors.
Figure 11. Packet reception rate at long distance indoors.
Sensors 20 05134 g011
Figure 12. Effect of unmanned aerial vehicle (UAV) moving speed.
Figure 12. Effect of unmanned aerial vehicle (UAV) moving speed.
Sensors 20 05134 g012
Figure 13. Evaluation of energy consumption on the highway.
Figure 13. Evaluation of energy consumption on the highway.
Sensors 20 05134 g013
Figure 14. Comparison energy consumption with FTSP on the highway.
Figure 14. Comparison energy consumption with FTSP on the highway.
Sensors 20 05134 g014
Figure 15. Evaluation of energy consumption indoors.
Figure 15. Evaluation of energy consumption indoors.
Sensors 20 05134 g015
Figure 16. Comparison energy consumption with FTSP indoors.
Figure 16. Comparison energy consumption with FTSP indoors.
Sensors 20 05134 g016

Share and Cite

MDPI and ACS Style

Tan, Z.; Yang, X.; Pang, M.; Gao, S.; Li, M.; Chen, P. UAV-Assisted Low-Consumption Time Synchronization Utilizing Cross-Technology Communication. Sensors 2020, 20, 5134. https://doi.org/10.3390/s20185134

AMA Style

Tan Z, Yang X, Pang M, Gao S, Li M, Chen P. UAV-Assisted Low-Consumption Time Synchronization Utilizing Cross-Technology Communication. Sensors. 2020; 20(18):5134. https://doi.org/10.3390/s20185134

Chicago/Turabian Style

Tan, Ziyi, Xu Yang, Mingzhi Pang, Shouwan Gao, Ming Li, and Pengpeng Chen. 2020. "UAV-Assisted Low-Consumption Time Synchronization Utilizing Cross-Technology Communication" Sensors 20, no. 18: 5134. https://doi.org/10.3390/s20185134

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop