Keywords

1 Introduction

A wireless sensor network is defined as a collection of devices capable of sensing environmental parameters, connected in a network and collectively delivering the collected data to a certain location. As a result of more than a decade of investigations, the challenges and requirements of modern WSNs are well understood [1, 13]. There are already a number of complete solutions available on the market. At the same time, in spite of significant market push from the vendors WSNs are still not widely deployed. One of the major reasons is inefficiency of such systems in terms of the network lifetime.

Uneven energy consumption is one of the reasons for short WSN lifetimes. The root cause of this phenomenon is networking of nodes. In practical deployments there are only few locations, where sinks can be positioned. In this case there is always a set of nodes that are more involved in packets routing and forwarding. Since the lifetime of a network is defined as the time till there is no path to the sink we see that uneven energy consumption places severe constraints on lifetime. Over the last decade researchers addressed this problem identifying a number of feasible solutions such as multi-path routing, clusterization, data aggregation, in-network data processing, etc. However, none of those are general enough to be applicable to any arbitrary deployment [3]. On top of this, the routed principle of WSNs adds to this problem. Indeed, networking mechanisms such as neighbor discovery, connectivity and topology maintenance, routing and packet forwarding require substantial amount of energy [2, 4].

One way to avoid unequal energy consumption is to get rid of networking. Mobile sinks may allow to achieve this goal. To avoid human involvement the collection of data must be completely automatic. The obvious choice would be to use unmanned aerial vehicles (UAV), particularly, quadrocopters, also known as drones. UAVs are a new technology at the “rapid improvement” phase of the S-curve of technology development cycle. As improvements are made, drones are becoming more agile, autonomous, power efficient and safe. The idea of using UAVs for data collection in WSNs is not new. Particularly, the authors in [12] advocated the use of UAV to interconnect sparse WSN clusters. The use of UAV as a mobile WSN node for emergency applications has been suggested in [8]. The authors in [11] proposed to use UAV for charging and deploying WSN nodes. Nevertheless, to date, no detailed investigations of such solutions and/or their comparison with conventional routed WSN designs have been performed.

We propose a new UAV-assisted solution for data collection in WSNs. We optimize performance of single hop communications between a sensor node and UAV in terms of optimal altitude and flying speed. We also compare lifetimes, coverage and required density of nodes of our solution with those of routed WSN designs. Using the tools of integral geometry and random graphs theory we show that (i) the lifetime of our design is 10–18 times longer compared to routed WSNs operating using the same BLE technology, (ii) the required density of nodes for environment monitoring is approximately two times smaller even when sensing range coincides with the communications range. These two properties make UAV-assisted WSN design an attractive option for many applications including smart agriculture, forest fire monitoring, etc.

The rest of the article is organized as follows. Section 2 provides state-of-the-art in UAV and short-range wireless communications backing up the choice of drones and BLE for our design. System parameters are optimized in Sect. 3. We analytically compare performance of routed WSN solution and the proposed one in terms of network lifetime, coverage and connectivity in Sect. 4. Conclusions are drawn in the last section.

2 Technological Choices

2.1 Communication Technology

There are several options to consider as a candidate wireless technology for single hop wireless sensor systems. The comparison of these technologies is shown in Table 1, where PPC stands for peak power consumption, PPB refers to power-per-bit. In this paper we advocate the use of recently standardized BLE. BLE is an evolution of Bluetooth for state transmission systems, i.e. sensor data. Table 2 summarizes the most important improvements introduced in BLE compared to Bluetooth. Modifications affected the critical features including physical layer modulation, communications protocols, application interface and security. One important improvement is the use of Gaussian Frequency Shift Keying with larger modulation index, \(0.45-0.55\) instead of \(0.25-0.35\) in Bluetooth. Recall, that the modulation index in GFSK affects the wideness of the signal spectrum. This allowed to increase the communications range of the BLE technology while using the same amount of emitted power. Further, significant changes has been introduced to the communication protocol limiting almost all basic parameters. Targeting state applications the maximum packet size was reduced to 27 bytes while the acknowledgement packet size was reduced from 100 bytes to 12 bytes. The authentication in BLE is performed for each packet favoring single packet transactions. Encryption is performed using AES-128. Of special importance is the reduction in the connection establishment time allowing to perform it in just 3 ms and completing the transfer of one packet in less than a second. Recalling compatibility with Bluetooth, these features make BLE an excellent choice for power-constrained single-hop wireless sensor systems.

Table 1. Comparison of low power communications technologies.

2.2 UAV Technology

Over the last decade the UAV technology has advanced beyond the domain of military sponsored projects. Civilian applications are becoming more and more common. A whole new class of drones has evolved over the last decade – the Micro Air Vehicles (MAV). It encompasses a whole range of miniature, flying vehicles that have been around for a while now. Recently, multi-rotor UAVs, also referred to as drones, have attracted significant attention. These devices use three or more vertically aligned engines and movement is achieved by creating a difference in thrust on motors on the opposite sides of the frame resulting the UAV tilting and creating sideways acceleration. The thrust regulation needs to be very precise and cannot be done without a microcontroller. To perform basic operations, the microcontroller needs sensors including gyroscope and accelerometer.

Table 2. Comparison of Bluetooth and BLE.

The first drones were built around Arduino platform, so they already had a surplus of processing power and are compatible with many more sensors than just the essentials. Achieving autonomous flight was just a matter of adding additional sensors and programming the software to use them. This trend still continues today and, as the sensors grow in numbers, so does the processing power needed to make effective use of them. As of today, widely available drones use dedicated Flight Management Units (FMUs) that come with all the basic sensors integrated on one board and a further support for the most common sensor buses like CAN or I2C.

A commercial UAV include systems for precise navigation, collision protection, home landing and programmable flying route. With maximum flying speed of 15 m/s (54 km/h) and time of \(30-90\) m an UAV can fly up to 79.2 km in a single run. Assuming that an UAV carries a BLE device with communication range of \(50-100\) m, flies in zig-zag way to scan sensors on monitored area, the coverage area of a single flight is \(5.5-16.0\) km\(^2\).

2.3 System Design Overview

The system design is illustrated in Fig. 1. Instead of keeping sink node stationary and gathering data by multi-hop routing, we make it mobile and apply BLE technology to further reduce power consumption of nodes. There are multiple advantageous features of using UAVs for data collection. First, flexibility of movement allows to freely optimize trajectories collecting data from the whole network or only from a part of it. Secondly, the movement speed is high allowing to cover the large areas of interest. Taking into account the recent progress in UAVs, the flight navigation could be made completely automatic using GPS. In this mode, an UAV can be configured to follow a predetermined route to collect sensors’ data then come back to a ground station to transfer data and recharge battery. A group of UAVs can be used in combination with a ground station or adjacent stations to collect sensors’ data in one sensing area or in different ones.

Fig. 1.
figure 1

Proposed WSN data collection mechanism.

The proposed WSN system is based on single-hop data transmission approach where a UAV carries a sink node, BLE master, and fly over the monitored area to collect data from deployed sensor nodes, BLE slaves. Sensor and sink nodes communicate with each other using BLE. Sink node continuously scan for BLE slave nodes to establish connections and exchange data. After data collection, UAV comes back to ground station. The system does not require time synchronization between UAV flying time and BLE slave wake up pattern.

3 System Design

3.1 Device Discovery Time

To exchange data BLE device have to discover its neighbors. It starts with entering the advertising state and then proceeding with connection state. In advertising state the sensor node sends advertising packets over three designated channels (37, 38, and 39). The scanner scans these channels continuously. The role of the scanner is performed by the UAV. When scanner discovers an advertiser, it sends a connection request packet to establish connection. Once replied, both devices enter the connection mode. While connected, advertiser becomes slave and scanner is designated as master.

The advertising interval, \(T_{A}\), consists of a static interval \(T_{A,0}\) and a random part \(\rho \), where \(\rho \) is uniformly distributed between 0 and 10 ms, \(T_{A,0}\) is chosen in between 20 ms and 10 s. There are two time intervals defined for the scanner, scanning interval \(T_{S}\), chosen in between 20 ms and 10 s, and the scanning event time \(d_{s}\) chosen in between 0 and \(T_{S}\). The channel interval corresponds to the time to send 38 bytes of advertizing packet and equals to \(446\,\upmu \)s. The interval between sending advertizing packets within a single adverstizing event is \(d_{ch}=150\,\upmu \)s.

Let \(T_{dis}\) be the discovery time. Analyzing Fig. 2 we see that the discovery is successfull if \(d_{A}<T_{dis}<T_{A}+d_{A}\) implying that the upper bound on the discovery time is \(10.24+0.01+0.000446\approx {}10.25\) s while the minimum is exactly the time to transmit 38 bytes of data, \(446\,\upmu \)s.

Fig. 2.
figure 2

Time diagram of advertising/scanning phase in BLE.

Fig. 3.
figure 3

Time diagram of connection phase in BLE.

3.2 Connection Time

Having received an advertising packet, the scanner sends a connection request packet after waiting for distributed interframe spacing time (DIFS, \(d_{IFS}\)). This packet contains two parameters, transmitWindowOffset, \(d_{two}\), and transmitWindow, \(d_{tw}\). According to our assumptions all the data can be transmitted in just one packet. Figure 3 illustrates the connection phase between master and slave.

Denoting the connection time by \(T_{con}\) we see that

$$\begin{aligned} T_{con}=d_{IFS}+1.25\mathrm{{ms}}+d_{two}+d_{tw}, \end{aligned}$$
(1)

where \(d_{IFS}=150\,\upmu \)s, \(0<d_{two}<T_{C}\), \(1.25\,\mathrm{{ms}}<d_{tw}<10\,\mathrm{{ms}}\), \(T_{C}\) is the connection interval which could be tuned between 7.5 ms and 4 s. Thus, we see that connection time is bounded by

$$\begin{aligned} d_{IFS}+1.25\,\mathrm{{ms}}\approx {}1.4\,\mathrm{{ms}}<T_{con}<4.0114\,\mathrm{{s}}.\approx {}d_{two}+1.25\,\mathrm{{s}}+d_{tw}. \end{aligned}$$
(2)

In the proposed system, an UAV scans for advertising packets continuously while the BLE module of a sensor node enter advertizing state after each wake up. The bounds on the time to transfer data, \(T=T_{dis}+T_{con}\), is

$$\begin{aligned} 446\,\upmu {\mathrm{{s}}} + 1.4\,\mathrm{{ms}}\approx {}2\,\mathrm{{ms}}<T<14.262\,\mathrm{{s}}=10.250446\,\mathrm{{s}}+4.0114\,\mathrm{{s}}. \end{aligned}$$
(3)

implying that remaining in the coverage of a sensor node for at least 14 s will guarantee exchange of data.

3.3 Optimal UAV Altitude and Speed

Consider a sensor node positioned on the ground and UAV flying over. Assume that the radio of a sensor node is omnidirectional forming a half-sphere around the node’s position as shown in Fig. 4. The typical speed of UAV varies in the range of \(30\!-\!45\) km/h, \(10\!-\!\!15\) m/s. BLE range, R, is assumed to be upper bounded by 100 m. According to the previous section the connection time is upper bounded by approximately 14 s. We assume that when UAV crosses the half-sphere shown in Fig. 4 it goes through the center of the cutting plane to increase its chances to establish connection and collect the data from the sensor.

Fig. 4.
figure 4

An illustration of the UAV flying over a BLE sensor node.

Fig. 5.
figure 5

UAV altitude and transaction time for different UAV speeds.

Analyzing Fig. 4, we see that the maximum altitude of UAV is given by

$$\begin{aligned} h=\sqrt{R^2-(vT_{T}/2)^2}, \end{aligned}$$
(4)

where \(T_{T}=T_{dis}+T_{con}\) is the transaction time, v is the speed of UAV.

Keeping UAV flying speed low, UAV may have enough time to exchange data with sensor node but the coverage range of UAV decreases. To increase UAV velocity, we need to decrease the altitude. The dependencies between UAV altitude, speed and connection time is shown in Fig. 5.

3.4 Transmission Power Requirements

The commercial BLE chipsets (CC2541, CC2540, [5]) are produced with programmable output power that could be adjusted over a wide range. Relying on the estimated UAV flying parameters the task is to determine the minimum transmission power needed to establish connection and exchange the data [9].

Since the proposed system is applied for monitoring flat area with line-of-sight between UAV and sensor node, the free space path loss propagation model can be applied. Using Friis equation in the form

$$\begin{aligned} P_{Rx}=P_{Tx}+G_{T}+G_{R}-20\log _{10}(d)-20\log _{10}(f)+147.55, \end{aligned}$$
(5)

we derive \(P_{Tx}\), where \(P_{Rx}\) is the minimum power at the receiver set to \(-90\) dBm, \(P_{Tx}\) is the transmission power we are looking for, \(G_{T}=G_{R}=6\) dBi are antenna gains at the transmitter and receiver, respectively, d is transmission range in kilometers and \(f=2.4\) GHz is the operating frequency.

Figure 6 shows the relation between the required transmission power and transaction time when UAV altitude varies between 10 m and 20 m. The transmission power in the proposed WSN design is extremely low ranging from \(-224.946\) dBm to \(-207.702\) dBm.

Fig. 6.
figure 6

The required transmission power for different transaction times.

4 Performance Analysis and Comparison

4.1 Network Lifetime

In the proposed design all the nodes spend equal amount of power. Consider the power required to perform a single transaction. The power consumption of the radio states of advertising and connection events is provided in [5]. Based on these data, the power consumption for advertising and connection events are

$$\begin{aligned} P_{A} = \frac{U \sum _{i} I_{i} t_{i}}{\sum _{i}t_{i}} = 32.759,\qquad {} P_{C} = \frac{U \sum _{i} I_{i} t_{i}}{\sum _{i}t_{i}} = 24.762, \end{aligned}$$
(6)

leading to the overall consumption per transaction \(P=57.521\) mW, that is, 19.173 mA in 6.92 ms. Assuming that sensor nodes typically use a coin-cell CR2032 battery with capacity 225mAh, a single node can work continuously during 20.605 h. If we set the device to wake up periodically in each 10 s, it can last for approximately 2020 days or around 5.53 years.

Consider now a lifetime of a routed WSN. Nodes are assumed to be connected forming a network and all the data are routed to the sinks. Thus, sink nodes will be the first to run out of power. The lifetime of sink nodes depends on the number of nodes in a network, M, the number of sink nodes, n, and the data collection interval, \(d_{t}\). The lifetime of a routed WSN can be approximated as

$$\begin{aligned} T_{f} = \frac{T_{c}}{T_{d}}d_{t} = \frac{T_{C}Nd_{t}}{t_{C}M}. \end{aligned}$$
(7)

Assume that the routed WSN use BLE with the data exchange event consuming \(24.762\,\mathrm{{mW}}\). The lifetime of a routed WSN is shown in Fig. 7(a). Observe that the maximum lifetime of a routed WSN with the same communication technology (\(n=25\), \(M=100\), \(d_{t}=10\) s) is approximately 2552 h (106 days) which is 18 times smaller than 48482 h (2020 days) for the proposed design.

Fig. 7.
figure 7

Performance comparison of the proposed and conventional designs.

4.2 Network Coverage

Consider the number of nodes needed to cover a monitored area in the proposed system. The analysis relies upon the results of [7] and is based on integral geometry approach involving, particularly, the notion of kinematic density.

Let \(A_{0}(F_{0},L_{0})\) be the monitored area with perimeter \(L_{0}\) and area \(F_{0}\). Assume N sensors are distributed according to \(K(A_{0})\) distribution over \(A_{0}\). Each sensor has a sensing area \(A_{i}(F_{i},L_{i})\), \(i = 1,2,\dots ,N\), where \(L_{i}\) and \(F_{i}\) are the perimeter and area, respectively. We are interested in the following metrics: (i) the fraction of area of \(A_{0}\) that is not covered, and (ii) the probability that a randomly selected point of \(A_{0}\) is covered by at least k, \(k\ge {}1\) sensors. Assuming that \(A_{0}\) and \(A_{i}\) are convex, the fraction of area \(A_{0}\) that is not covered by any sensors when N sensors are randomly and uniformly deployed is given by [7]

$$\begin{aligned} Fr(S=0)=\prod _{i=1}^{N} \frac{2\pi F_{0}+L_{0}L_{i}}{2\pi (F_{0}+F_{i}) + L_{0}L_{i}}. \end{aligned}$$
(8)

The probability that a point is covered by at least k, \(k\ge {}1\) sensors is [7]

$$\begin{aligned} Pr\{S \ge k\}&= 1-\sum _{h=0}^{k-1}\frac{\sum _{i}^{C_{h}^{N}}(\prod _{j=1}^{N}(2\pi F_{T_{i,j}}) \prod _{z=1}^{N-h}\varTheta (i,z))}{\prod _{r=1}^{N}(2\pi (F_{0}+F_{r}) + L_{0}L_{r})}, \end{aligned}$$
(9)

where, \(\varTheta (i,z)=2 \pi F_{0} + L_{0}L_{G_{i,z}}\), \(T_{i,j}\) is a matrix whose each row i is a k-permutation of \([1,2\dots ,N]\), \(G_{i,z}\) is a matrix whose each row i contains the elements of \([1,2,\dots ,N]\) that do not appear in the ith row of \(T_{i,z}\). The notation \(C_{h}^{N}\) denotes binomial coefficient.

The fraction of uncovered area as a function of the number of uniformly deployed nodes is shown in Fig. 7(b). The sensing radius of nodes are assumed to be 100 m while the monitoring area radii are 0.5, 1, 1, 5, 2 km. The fraction of uncovered area decreases exponentially when the number of nodes increases. Using these data one can estimate the number of nodes required to cover a certain area such that only a given small fraction on area is unmonitored.

Figure 8 illustrates the probability that an arbitrary point of an area is covered by at least k sensors as a function of the number of nodes for different area radii. The redundancy added attempting to cover the largest possible fraction is significant. For example, recalling that for area radius of 1 km 365 nodes cover 95 % of area, we see that this amount of nodes results in non-negligible probability of having two and more nodes covering an arbitrary point of an area. This is a usual price to pay for simplicity of stochastic deployment.

Fig. 8.
figure 8

Probability of an arbitrary point covered by at least k sensors.

4.3 Connectivity

In routed WSN nodes have to be connected. This may require denser deployment than that needed to ensure a coverage only. Here, we evaluate the nodes density required to ensure k connectivity and compare it to that dictated by the coverage.

We approach the connectivity problem using the results of random graph theory. In his seminal paper [10], M. Penrose addressed the question of the distribution of longest edge in a random geometric graph and k-connectivity of these graphs, respectively. Assuming uniform distribution of nodes over the monitored area and knowing the communications range of a node the former result immediately gives the probability that the network is disconnected while the latter one provides quantities such as the probability of exactly or at least k paths between two randomly chosen nodes.

Let R be the radius of a circular area, d be the communication range of a sensor, n be number of nodes and k be the number of neighbors of arbitrary node. The probability that an arbitrary node has at least k neighbors is [10]

$$\begin{aligned} Q_{n,k}(d)=2\pi \int _{0}^{C}rf(r)(1-\sum _{i=0}^{k-1}C_{i}^{n-1}p(r,d)^{i}(1-p(r,d)^{n-1-i}))dr, \end{aligned}$$
(10)

where f(r) is the density of node location, see [6].

The probability that a network with n nodes is k-connected is [10]

$$\begin{aligned} C_{n,k}(d)\approx [Q_{n,k}(d)]^{n}. \end{aligned}$$
(11)

Figure 9 shows the probability that the network is connected (1-connected) as a function of the number of deployed nodes for different radius of an area in both linear and log scales. A routed WSN requires much more nodes than the proposed design and the reason is the need for connectivity of the system. Recall that for the proposed WSN design, for an area radius of 1 km and sensing radius of 100 m, the number of nodes ensuring 95 % coverage is 365. For routed WSN with nodes having communication range of 100 m, to keep the network connected with 0.95 probability, we need to deploy more than 1000 of nodes. Deploying 365 nodes randomly, the probability of connected network is \(6.4E-7\).

Fig. 9.
figure 9

Probability of 1-connectivity.

5 Conclusions

We proposed and evaluated a new UAV-assisted WSN design. It is based on BLE wireless technology for single-hop communications and UAVs for collection of data. The proposed system allows to enforce even energy consumption in WSNs, improves the network lifetime and is still completely automatic in terms of data collection. Based on the modern BLE and UAV specifications, we developed a single-hop sensor-UAV interaction model estimating the optimal altitude and flying speed of UAV for the worst case BLE transaction time as well as the energy required to establish reliable communications.

We analyzed the performance of the proposed design in terms of the lifetime and coverage properties. We also compared these metrics to those of conventional routed WSN design revealing that (i) the proposed system provides 10 to 18 times longer lifetimes compared to conventional WSN and (ii) the density of nodes required to ensure coverage is approximately two times smaller compared to routed WSNs even when sensing region of nodes coincides with their communications range. These properties make the proposal an attractive option for monitoring environmental parameters in large open areas.