1. Introduction
During recent years, energy-efficient short-range wireless communication technologies have become a hot topic for research and development. The efforts of researchers and engineers have increased the energy efficiency of and reduced the monetary costs for wireless data transmission. Therefore, for many applications today, wireless data transfer appears to be more efficient than data transfer using wired media [
1,
2].
Nowadays, numerous transceivers implementing the different wireless communication protocols are available on the market. One of the recently suggested protocols is Bluetooth Low-Energy (BLE), which is aimed at applications and products requiring low current consumption and low implementation complexity and having low production costs [
3]. During the development of BLE and shortly after its introduction, it was predicted that the protocol would have a very wide application area. For example, in [
4] the authors predicted that BLE-based devices would dominate the Wireless Sensor Network (WSN) application market by 2015. Nonetheless, even today,
i.e., more than two years after the finalization of the BLE specification and over a year since the appearance of the first commercial BLE transceivers, the features of the protocol itself and the capabilities of the hardware (HW) and software (SW) implementing the protocol are still not broadly known. Therefore, in this paper we study BLE and compare it with a proprietary radio protocol and with IEEE 802.15.4, which is today one of the most popular technologies for energy-efficient short-range wireless data transmission.
The specifics and the major contributions of this paper are the results of the heuristic analysis of the protocols’ capabilities and the results of the empirical measurements that we performed using the real-life off-the-shelf transceivers. These data reveal the maximum throughput and the minimum turnaround time one can potentially achieve using the protocols under discussion, and they reveal the values of these parameters for real transceivers. Additionally, in the paper, we discuss the energy consumption of the real-life transceivers implementing the protocols. All the transceivers that we used for our experiments have the same processing core, which is based on the 8051 microcontroller. This enabled us to estimate the complicity of the protocols based on the resources consumed by each protocol stack. These data are presented and discussed in the paper as well.
We first discuss some of the previous research focused on the protocols under discussion in
Section 2. In
Section 3 we provide a brief overview of the protocols and present the analytic estimations of the maximum throughput and the minimum turnaround time.
Section 4 describes the details of our testbed and the experiments.
Section 5 presents and discusses in detail the obtained analytic and experimental results. Finally,
Section 6 concludes the paper, summarizes the obtained results and discusses the feasibility and the most suitable application scenarios for BLE.
4. Experiment Methodology
In order to compare the analytic estimations of the maximum throughput and the minimum frame turnaround time obtained in
Section 3 with the performance characteristics of the real-life transmitters, we have executed a set of experiments. In those, we have used the CC2430, CC2510 and CC2540 commercial Systems-on-Chips (SoCs) from TI (see
Figure 6). The features of the transceivers are summarized in
Table 2. For our tests, we developed a special measurement application layer that operated on top of MAC layers implemented by SimpliciTI (version 1.2) and TIMAC (stack version 1.0.1 implementing IEEE 802.15.4) software stacks and on top of the Host Controller Interface (HCI) provided by TI-BLE software stack (version 1.2.1).
In our experiments we did the following:
defined the maximum unidirectional LL data throughput for the HW and SW implementations of the protocols;
measured the throughput and the energy consumption of the transceivers;
measured the minimum turnaround time;
measured the resources required to implement the protocols.
Figure 6.
Hardware modules used for the tests: the front row includes extension radio boards (from left to right) CC2540 (BLE), CC2430 (IEEE 802.15.4) and CC2510 (SimpliciTI); the back row includes the battery extender board (left) and the SmartRF04 development board (right).
Figure 6.
Hardware modules used for the tests: the front row includes extension radio boards (from left to right) CC2540 (BLE), CC2430 (IEEE 802.15.4) and CC2510 (SimpliciTI); the back row includes the battery extender board (left) and the SmartRF04 development board (right).
Table 2.
Nominal parameters and settings of the radio transceivers used for the tests.
Table 2.
Nominal parameters and settings of the radio transceivers used for the tests.
Parameter | Device |
---|
CC2510 | CC2431 | CC2540 |
---|
Device type | system-on-chip (radio + 8051 microcontroller) | system-on-chip (radio + 8051 microcontroller) | system-on-chip (radio + 8051 microcontroller) |
Microcontroller specification | Clock: 26 MHz Flash: 32 kbyte RAM: 4 kbyte | Clock: 32 MHz Flash: 128 kbyte RAM: 8 kbyte | Clock: 32 MHz Flash:256 kbyte RAM:8 kbyte |
Radio protocol and stack version | SimpliciTI (TI SimpliciTI v1.2) | IEEE 802.15.4 (TI-MAC v1.0.1) | BLE (TI-BLE v1.2.1) |
Frequency band | 2.4 GHz | 2.4 GHz | 2.4 GHz |
Modulation | MSK | O-QPSK | GFSK |
Spectrum spreading | None | DSSS | FHSS |
Over-the-air data rate, kbit/s | 250/500 | 250 | 1000 |
TX power range, dBm | −55…1 | −25.2…0.6 | −23…4 |
RX sensitivity, dBm | −90 (at 250 kbit/s over-the-air data rate) | −92 | −87 (at standard mode) |
Supply voltage, V | 2–3.6 | 2–3.6 | 2–3.6 |
Sleep current consumption, μA | 0.5 | 0.5 | 0.9 1 |
Price (normalized) | 0.358 | 1 | 0.341 |
The measurements of the throughput and turnaround time were conducted in the laboratory environment using the channel with minimum interference for SimpliciTI and IEEE 802.15.4 (the absence of interference from other systems was confirmed prior to the measurements). The measurements were executed with the transmitter placed at a distance of one meter away from the receiver while using the maximum possible radio transmitting power. This ensured that the strength of the received radio signal was well above the transceiver’s sensitivity level (typically, the received signal strength indicator (RSSI) was well above −40 dBm and the packet error rate was below 0.5%). For the throughput estimation, in order to decrease possible environmental effects we measured the total time required for the transmission of 60,000 data frames with a predefined payload size from the transmitter to the receiver. The turnaround time was estimated by averaging the measurements of the turnaround time for 1,000 data frames sent to and from the transmitter.
To measure the power consumption, we used the current-shunt method (refer to [
30,
31,
32]). The maximum error for these measurements is below 3 mW. The power consumption of the transceivers supplied from the laboratory power source was measured. The supply voltage was set to 3 V. While measuring the power consumption, all the peripherals on the used test boards were powered down-the only active components were the radio transceiver and the microcontroller core running the stacks.
As shown in
Table 2, all the used transceivers have a processing core based on the 8051 microcontroller. Therefore, by measuring the resources required to implement the protocols we were able to get a sufficiently fair estimation of the protocols’ complexity. Note that the developed application layers had the same functionality and were compiled using the same compiler with identical optimization settings.
5. Discussion
The data presented in
Table 3 reveal the amount of program and data memory required to implement the stacks. As shown, the complete BLE stack requires almost four times more program memory than TIMAC and more than eight times more resources than SimpliciTI. The implementation of the PHY, LL and HCI BLE layers required 1.5 times more resources than the whole TIMAC stack and 3.5 times more resources than SimpliciTI.
Table 3.
Resources consumed by the stacks.
Table 3.
Resources consumed by the stacks.
Resource | Stack |
---|
SimpliciTI | TI-MAC | TI-BLE (Master) | TI-BLE (Slave) |
---|
Program memory, bytes | 16,024 | 36,573 | 55,786/137,719 2 | 50,913/117,050 2 |
Data memory 1, bytes | 3,567 | 5,438 | 10,400/12,750 2 | 9,082/10,676 2 |
The analytic estimations of the maximum possible throughput of the three technologies for the different frame payloads are depicted in
Figure 7. The results have been obtained using Equations (3–9), (15), (16), (18), (19) assuming that
,
,
,
,
,and
for
and
for
(see [
33]). The presented results reveal that although BLE has the highest over-the-air data rate among all protocols, SimpliciTI using the
can potentially provide a higher throughput. The major reasons for this are the following. First of all, during unidirectional data transmission, SimpliciTI does not have to send any data from the receiver node to the transmitter, whilst the BLE receiver always has to send a frame in reply to each received frame to continue communication in an event (see
Section 3.2). Second, unlike the two other protocols, SimpliciTI does not define the IFS between transmitted frames. Third, the payload in SimpliciTI frames is about two times larger than the one possible in a BLE data frame. The presented results also reveal that the maximum throughput possible for this protocol is 1.5 to 2 times lower than that of BLE and SimpliciTI, even though the IEEE 802.15.4 frames are capable of carrying the highest payload. The major reasons for this are as follows: the lower over-the-air data rate compared with the other technologies (see
Table 2), the mandatory use of CCA before each transmission in the nonbeacon-enabled mode and in CAP of the beacon-enabled mode, and the protracted IFS between the subsequent frames. In addition,
Figure 7 reveals that the maximum possible throughput for data transfer using BLE advertising channels is below 10 kbit/s for AVD_IND events and is below 2.4 kbit/s for ADV_NONCONN_IND and ADV_SCAN_IND events. Note that the presented value for BLE’s maximum throughput is calculated for the LL payload and the actual throughput for the user applications data is lower.
Figure 7.
LL frame payload’s effect on the maximum unidirectional single-hop throughput for IEEE 802.15.4, BLE and SimpliciTI (analytic results).
Figure 7.
LL frame payload’s effect on the maximum unidirectional single-hop throughput for IEEE 802.15.4, BLE and SimpliciTI (analytic results).
The maximum throughput obtained in the experiment using real transceivers is depicted in
Figure 8. Comparing
Figure 8 with
Figure 7 one can note that the maximum real-life throughput obtained using SimpliciTI is about two times lower than the theoretically expected one. The major reason for this is the time required for generating a frame, writing it to the transceiver’s memory and executing all required service operations before the transmission (e.g., frequency synthesizer calibration). The maximum throughput, obtained with TIMAC stack and CC2430 transceivers, reaches 145 kbit/s for unacknowledged and 134 kbit/s for acknowledged data transmission. This is approximately 20%–25% lower than the maximum throughput possible for IEEE 802.15.4 according to the analysis (see
Figure 7) and the practical experiments reported in [
6]. The reasons for this are the maximum MAC payload’s restriction in TIMAC to 102 bytes (refer to [
34]), the delays in generating and copying the frames to the transceiver’s buffer, and the specifics of the CCA and IFS implementation within TIMAC (e.g., the TIMAC does not support the execution of CCA during the IFS). In [
20] the authors noted that the TI BLE stack restricts the number of data frames sent in a connection event to four. In our experiments, we have seen that although the stack limits the amount of data transferred in a single connection event, this is done based on the amount of data rather than the number of frames. Therefore, for frames with 24–27 byte payloads, only four frames are transmitted from the master to the slave (and only three frames vice versa) in a connection event, regardless of the connection interval. For the frames with 20–23 byte payloads, five frames are sent from the master to the slave and four from the slave to the master in a single connection event. As we decreased the frame payload, the number of the frames sent in a connection event increased. Nonetheless, we noticed that once we decreased the payload below some level (which depends on the used connection interval), the data were exchanged only in one out of each set of two consecutive connection events. We expect that this was caused by the erroneous estimation of the data transfer duration by the stack’s LL, which caused the master node to miss the start of the next event. These are the two major reasons the measured maximum BLE LL throughput was 122.6 kbit/s, which is 2.6 times lower than the theoretical maximum. Nonetheless, comparing the results of our BLE maximum throughput measurements to the results reported in previous works (e.g., the reported in [
17] 58.5 kbit/s for the application layer’s throughput, which corresponds to the throughput of 79 kbit/s at the LL) one can see that in our experiment we obtained slightly higher values for the maximum throughput. The two major reasons for this are the use of lower payload values, which enabled us to increase the number of packets sent in one connection event, and the lower packet processing delays due to exclusion of the BLE stack layers above the HCI. For the data transfer on BLE advertising channels the maximum measured throughput was around 8 kbit/s (advertising data are changed every 31 ms) for AVD_IND and 2.2 kbit/s (data are changed after 111 ms) for ADV_NONCONN_IND and ADV_SCAN_IND events, respectively.
Figure 8.
LL frame payload’s effect on the maximum unidirectional single-hop throughput for IEEE 802.15.4, BLE and SimpliciTI (experimental results).
Figure 8.
LL frame payload’s effect on the maximum unidirectional single-hop throughput for IEEE 802.15.4, BLE and SimpliciTI (experimental results).
The analytic estimations of the minimum turnaround time that were calculated from Equations (10), (11), (17), (20) and (21) for
and
are presented in
Figure 9. As one can see, BLE is expected to have the lowest turnaround time among the protocols under discussion. This is not surprising, as BLE enables the receiver to send a reply frame immediately after the IFS, which equals
. SimpliciTI is expected to have a roundtrip time of 0.7 ms to 2.9 ms for the transmissions at
and 1.2 ms to 5 ms at
.The roundtrip time for IEEE 802.15.4 is estimated to range from 1.92 ms to 9.34 ms for unacknowledged and from 2.65 ms to 10.08 ms for acknowledged data transfer, depending on the payload size.
Figure 9.
LL frame payload’s effect on the minimum single-hop turnaround time for IEEE 802.15.4, BLE and SimpliciTI (analytic results).
Figure 9.
LL frame payload’s effect on the minimum single-hop turnaround time for IEEE 802.15.4, BLE and SimpliciTI (analytic results).
Figure 10.
LL frame payload’s effect on the minimum single-hop turnaround time for IEEE 802.15.4, BLE and SimpliciTI (experimental results).
Figure 10.
LL frame payload’s effect on the minimum single-hop turnaround time for IEEE 802.15.4, BLE and SimpliciTI (experimental results).
Figure 10 depicts the measured turnaround time for real-life transceivers. The presented data reveal that the real-life turnaround time for IEEE 802.15.4 and SimpliciTI transceivers is around 1.5-3 ms higher than the analytic expectations. Again, we believe that this discrepancy is caused by the time required for generating the data frames and executing all the required service operations. Meanwhile, for BLE, instead of the turnaround time being less than one millisecond, in the tested system we observed the turnaround time to be slightly above the connection interval duration. The reason for this is that the TI BLE stack delays transmission of the reply until the start of the next connection event.
Figure 11.
Power consumption for the tested transceivers (see
Table 2) and protocols for transmitting a 19-byte frame (supply voltage 3 V, radio transmit power 0 dBm).
Figure 11.
Power consumption for the tested transceivers (see
Table 2) and protocols for transmitting a 19-byte frame (supply voltage 3 V, radio transmit power 0 dBm).
The results revealing the tested transceivers’ energy consumption are presented in
Table 4 and depicted in
Figure 11. The results reveal that the BLE transceivers require much less time and energy for sending the data than the IEEE 802.15.4 and SimpliciTI transceivers. This happens even though BLE transmission includes both the transmission and reception phases (see
Figure 5c and
Figure 11). The results in
Table 4 for the energy consumption for different protocols for transferring frames with 19-byte payloads reveal that the BLE radios require two to seven times less energy compared with the other tested protocols. This result corresponds quite well to the results presented in [
20]. When the energy consumption of BLE is compared with the other protocols using higher frame payloads (see
Table 4), we observe that even in this case the amount of energy required to transfer the data over BLE is two to three times lower.
Table 4.
Required time and consumed energy for frame transmission/reception for the transceivers.
Table 4.
Required time and consumed energy for frame transmission/reception for the transceivers.
Stack | Time 1, ms | Consumed energy 1,
| Energy efficiency 1, /byte |
---|
Transmission (for BLE - also reception) of a single frame with a 19-byte LL payload: |
TIMAC, acknowledged 2 | 2.50 | 190 | 10.0 |
TIMAC, unacknowledged | 1.66 | 125 | 6.6 |
BLE, ADV_IND 3 | 0.73 | 42 | 2.2 |
BLE, ADV_NONCONN_IND | 0.50 | 31 | 1.6 |
BLE (master node), data frame transmission 4 | 0.66 | 39 | 2.1 |
BLE (master node), data frame reception 5 | 0.66 | 36 | 1.9 |
SimpliciTI, CCA, 250 kbit/s | 2.46 | 165 | 8.7 |
SimpliciTI, no CCA, 250 kbit/s | 2.21 | 148 | 7.8 |
SimpliciTI, CCA, 500 kbit/s | 1.76 | 105 | 5.5 |
SimpliciTI, no CCA,500 kbit/s | 1.60 | 96 | 5.1 |
Transmission (for BLE - also reception) of a single frame with other payloads: |
TIMAC, acknowledged 2 , 100-byte payload | 5.07 | 406 | 4.1 |
TIMAC, unacknowledged, 100-byte payload | 4.30 | 347 | 3.5 |
BLE, ADV_IND 3, 31-byte payload | 0.80 | 50 | 1.6 |
BLE, ADV_NONCONN_IND, 31-byte payload | 0.60 | 39 | 1.3 |
BLE (master node), 27-byte data frame transmission 4 | 0.72 | 44 | 1.6 |
BLE (master node), 27-byte data frame reception 5 | 0.72 | 40 | 1.5 |
SimpliciTI, 250 kbit/s, CCA, 50-byte payload | 3.5 | 246 | 4.9 |
SimpliciTI, 250 kbit/s, no CCA, 50-byte payload | 3.16 | 227 | 4.5 |
SimpliciTI, 500 kbit/s, CCA, 50-byte payload | 2.23 | 148 | 3.0 |
SimpliciTI, 500 kbit/s, no CCA, 50-byte payload | 2.09 | 141 | 2.8 |
6. Conclusions
Bluetooth Low Energy (BLE) is rather new protocol, and in this study we deepened the understanding of both the theoretical capabilities of the protocol itself and the capabilities of the currently available transceivers to implement the protocol. In the paper, we also compared BLE with two other protocols-SimpliciTI, which is a proprietary protocol developed by Texas Instruments, and IEEE 802.15.4, which is the de-facto communication standard in the WSNs.
The results reveal that BLE can potentially support the maximum LL data throughput of around 320 kbit/s. This is about 70% higher than the maximum throughput possible for IEEE 802.15.4 with 2450 DSSS PHY (i.e., 190 kbit/s). Nonetheless, the results of the measurements that were executed using the real BLE transceivers revealed that the current version of the used BLE stack has several limitations, which prevented us from obtaining a throughput higher than 123 kbit/s. This is about 20% lower than the throughput we have obtained with the IEEE 802.15.4 transceivers and 40% lower than the maximum throughput that was measured for SimpliciTI transceivers. The maximum throughput that we managed to obtain on BLE advertising channels was below 10 kbit/s. The absence of the mechanism for the BLE Controller to inform the Host about the start/end of an advertising event complicates the implementation of the data transfer on BLE advertising channels.
The presented analytic results show that the BLE technology is capable of providing a frame turnaround time of less than one millisecond. The analytic estimations of the minimum turnaround times for SimpliciTI and IEEE 802.15.4 range from 0.7 ms to 5 ms and from 2.7 ms to 10 ms, respectively. The turnaround time that we have measured using SimpliciTI and the IEEE 802.15.4 transceivers appeared to be 1.5–3 ms higher than the analytic expectations. The major reason for this discrepancy is the time required to generate the data frames and to execute the other service operations. This time depends exclusively on the features of the hardware and software that implement the protocol and was not accounted for during the analysis. The tested BLE transceivers delayed the transmission of the reply data frame until the start of the next connection event. Due to this feature of the BLE stack, the minimum frame turnaround time that we observed during our experiments was around 7.6 ms.
The conducted experiments have shown that the tested BLE transceiver required two to seven times less energy to transfer data than the SimpliciTI and the IEEE 802.15.4 transceivers. This result corresponds to the results presented in [
20].
Table 2 reveals that the price of the BLE transceiver chip is slightly lower than the price of the SimpliciTI chip and about three times lower than the cost of the IEEE 802.15.4 transceiver. Additionally, the presented results have shown that the BLE software stack requires significantly more resources than SimpliciTI or IEEE 802.15.4. The implementation of the complete BLE stack requires almost four times more program memory than was used by TIMAC (implementing IEEE 802.15.4) and more than eight times more than was necessary for SimpliciTI.
One of the factors that can somewhat limit the applicability of BLE is the restrictions concerning the BLE network’s topology. The current version of the standard requires a single-hop star network topology and states that a BLE device ‘is only permitted to belong to one piconet at a time’ [
3]. Although this requirement does not forbid the establishment of the multihop links directly, it makes the implementation of multihopping for BLE more challenging. Indeed, to implement a multihop data transmission, a node will have to periodically switch the piconets to relay the data between those.
The other important issue is the interoperability between the BLE and the other telecommunication systems, many of which are based on the Internet Protocol (IP). To address this issue, the authors of [
35] specified a mechanism enabling IPv6 transmission over BLE links. In [
36] the details of the implementation and evaluation of the IPv6 packets transmission over BLE are reported. Although the mechanism suggested in [
35] enables BLE devices to transfer the IPv6 packets, it also requires the devices to support packet fragmentation at L2CAP (which is optional for BLE [
3]) and to have a buffer capable of storing at least a datagram of at least 1280 bytes [
37]. It is also not clear how energy efficient it is to use the IPv6 over BLE links and which applications require this capability, especially considering the restrictions regarding the topology of the BLE networks.
Nonetheless, BLE has two significant advantages: its interoperability with other devices and its low cost. One of the factors that impeded the spreading of WSAN-based applications is their absence of common communication interfaces enabling other devices (e.g., laptops, smartphones, palmtop computers and mobile devices) to communicate directly with WSANs. The Bluetooth Special Interest Group (SIG) is addressing this challenge by suggesting dual-mode transceivers, i.e., radio modules that can support both the classic Bluetooth and BLE. The first consumer devices (i.e., smart phones, tablet computers and notebooks) encapsulating such transceivers have already appeared on the market. Moreover, in this paper we have shown that the BLE transceivers are lower in price than transceivers implementing the other evaluated technologies. This enables one to reduce the cost of the applications developed using this technology.
To sum up, the results presented in this paper reveal that BLE already provides an inexpensive and power-efficient solution for wireless communication. Nonetheless, the tested BLE radio transceiver and stack still have many limitations that restrict the throughput and communication latency one can achieve with them. The other serious limitation of the BLE technology is the restrictions regarding its network topology.
Based on the analytic and measurement evaluation results, we expect that the major application area for BLE in the coming years will be energy efficient human-oriented applications that require either peer-to-peer or single-hop star topologies. These applications may include health and fitness, entertainment, smart home/office, personal security and proximity detection, and data and location advertisement. Although there is the mechanism enabling the IPv6 to be transferred over BLE links, we hardly think that this capability will be widely used in real-life applications in the immediate future. Meanwhile, we suppose that for non-human oriented applications and for applications requiring wide coverage areas (e.g., the wildlife, nature and environment monitoring, industrial monitoring and control, building and process automation, security, logistics) other communication protocols and standards will be predominantly used, such as IEEE 802.15.4 and its numerous extensions, e.g. ZigBee [
21], WirelessHART [
38], ISA100.11a [
39] or 6LoWPAN [
40]. Therefore, we suppose that BLE will have a wide application area, specifically for WSAN applications, although this technology will hardly dominate the market by 2015 as the authors in [
4] assumed.