Next Article in Journal
A Distributed Approach for Estimating Battery State-Of-Charge in Solar Farms
Next Article in Special Issue
Experimental Evaluation of 6BLEMesh: IPv6-Based BLE Mesh Networks
Previous Article in Journal
A Low-Power High-Data-Transmission Multi-Lead ECG Acquisition Sensor System
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Energy Modeling of Neighbor Discovery in Bluetooth Low Energy Networks

1
Jiangsu Key Laboratory of Big Data Security & Intelligent Processing, Nanjing University of Posts and Telecommunications, Nanjing 210023, China
2
Laboratory of Broadband Wireless Communication and Sensor Network Technology, Nanjing University of Posts and Telecommunications, Nanjing 210003, China
*
Author to whom correspondence should be addressed.
Submission received: 14 October 2019 / Revised: 7 November 2019 / Accepted: 14 November 2019 / Published: 16 November 2019
(This article belongs to the Special Issue Bluetooth Low Energy: Advances and Applications)

Abstract

:
Given that current Internet of Things (IoT) applications employ many different sensors to provide information, a large number of the Bluetooth low energy (BLE) devices will be developed for IoT systems. Developing low-power and low-cost BLE advertisers is one of most challenging tasks for supporting the neighbor discovery process (NDP) of such a large number of BLE devices. Since the parameter setting is essential to achieve the required performance for the NDP, an energy model of neighbor discovery in BLE networks can provide beneficial guidance when determining some significant parameter metrics, such as the advertising interval, scan interval, and scan window. In this paper, we propose a new analytical model to characterize the energy consumption using all possible parameter settings during the NDP in BLE networks. In this model, the energy consumption is derived based on the Chinese remainder theorem (CRT) for an advertising event and a scanning event during the BLE NDP. In addition, a real testbed is set up to measure the energy consumption. The measurement and experimental results reveal the relationship between the average energy consumption and the key parameters. On the basis of this model, beneficial guidelines for BLE network configuration are presented to help choose the proper parameters to optimize the power consumption for a given IoT application.

1. Introduction

Bluetooth low energy (BLE) is a personal LAN technology designed by Bluetooth special interest group (SIG). The specialty of BLE is as a short-range, cellular Internet of Things (IoT) wireless solution geared for a wireless world that demands ultra-low power usage [1].
As the number of the BLE devices increases, the performance of the neighbor discovery process (NDP) could have a significant impact on users’ experiences and devices’ life spans. It is validated that the parameters in the NDP, such as advertising interval, scan interval, and scan window, have a critical impact on two interdependent performance metrics: the discovery latency and the energy consumption. Both BLE 4.0 and BLE 5.0 provide a wide range of parameter options that support the requirements of IoT applications. To maximize the lifetime of the devices and meet the requirements of a given application, it is necessary to provide a method that can appropriately select parameters. As a result of its practical importance, academic efforts have been devoted to proposing analytical models that can optimize the parameter settings in the BLE NDP and obtain the best possible performance.
In [2,3], Cho et al. proposed a discovery latency and energy consumption model to analyze the performance of BLE neighbor discovery protocol. In contrast to other models, multiple advertisers were considered in the network. The simulation results showed that the parameters and the number of advertisers had a significant impact on the NDP performance. However, the analysis was given under the assumption of a continuous scanning scenario.
In [4], Liu et al. revealed, for the first time, the relationship between the discovery latency and the parameter settings in BLE neighbor discovery. The analyzed model was based on the effective scan window and was further enhanced in [5] to analyze the energy consumption during the neighbor discovery process. However, the model was constrained by the parameter range and only applied with the condition that the scan window was longer than advertising interval.
In [6], Philipp et al. proposed a sensitivity analytical model of different parameters on the energy consumption and evaluated the accuracy of the model using both discrete event simulations and actual measurements. In [7], Liendo et al. presented an extension of the model in [6] and a parameter optimization method to obtain the best parameter settings according to the application requirements.
In [8], a new analytical model was presented to characterize the performance of the BLE NDP with respect to the whole discovery time and energy consumption to provide the best parameter settings. Meanwhile, Liendo et al. proposed the neighbor discovery parameter optimization method to minimize the energy consumption for a wider range of IoT use cases in [9].
The above research was all based on probabilistic models, which, in some cases, limited the performance analysis. These probabilistic models could not capture the peaks in the advertising events, which exist in the measurements. Therefore, the probabilistic models’ results have accuracy problems.
An analytical model was suggested in [10] to obtain an upper bound for the discovery capacity. According to the measurements, additional scanning gaps that reduced the discovery capabilities were found in the scanning process. On the basis of the measurement and simulation results, the paper provided a guideline to select the desired parameter values.
Similar to [10], considering the scanning gaps, the real device behavior of BLE scannable undirected advertising events were experimentally modeled in [11], based on the new features of BLE 5.0 to characterize this new device discovery process. The discovery probability and discovery latency were fully analyzed under several advertising and scanning scenarios.
As described in [12], according to the Chinese remainder theorem (CRT), it was proved that two nodes would have some overlapping radio on-time within a bounded number of periods, even if they were running under the asynchronous neighbor discovery protocol.
The authors of [13] were the first to apply CRT to analyze the bounded latency of the BLE NDP for in-vehicle networks. The experiments in [13] showed that the BLE with coprime parameter values had a low discovery latency. However, there were no detailed energy performance analyses on the impact of parameter settings.
The most recent work using the CRT to model the NDP in [14] enhanced the analysis of the mean discovery latency and the energy consumption. However, the model is also based on the effective scan window, which only works when the advertising interval is smaller than the effective scan window.
Enlightened by the experimental models and CRT models in [12,14], this paper proposes an analytical energy model of the BLE NDP based on CRT to optimize the parameter settings for energy-sensitive IoT applications. The main contributions of this paper are listed as follows:
  • Most previous works regarding the performance analysis of NDP used the probabilistic method. In this paper, we apply the Chinese reminder theory to model the neighbor discovery protocol in BLE networks, which is an effective way to solve the periodic interval problem;
  • Unlike the previous work in [14], we introduce an energy consumption expression related to CRT for both an advertising event and a scanning event, and characterize the energy consumption covering all parameter ranges, including the case when the advertising interval is larger than the scan interval;
  • Instead of using the effective scan window model proposed in previous works, we apply CRT to the distributed channels, without the constraint of the parameter settings;
  • In order to validate the model, a real testbed was set up to measure the discovery latency and average current during the NDP.
The remainder of the paper is organized as follows. Section 2 briefly reviews the basic NDP (B-NDP) that is specified in [15] and the advanced NDP (A-NDP) in BLE 5.0 [16]. In Section 3, we propose an analytical energy model based on CRT and derive the average energy consumption for the NDP. The statistics results from the model and the measurement results are presented and discussed in Section 4. Finally, the paper concludes with Section 5.

2. Background

According to BLE 4.0 [1], the nodes in BLE networks have different roles based on their discovery states. Advertisers are the devices working in advertising mode, and scanners and initiators are the devices in scanning and initiating modes, respectively. In the advertising mode, the devices advertise packets in the advertising channels periodically, and then listen for responses from scanners with the channel order of 37-38-39. With the same channel order, the scanners periodically scan and wait for the advertising packets. Once the scanner receives the advertising information and is ready to connect with the advertisers, it turns into the initiator.
Figure 1 shows the basic neighbor discovery process based on the BLE 5.0 [16]. Advertisers and scanners utilize the three primary channels (37-38-39) to send advertising packages and scan. Meanwhile, the key difference between the two versions is that during an AdvInterval period, each advertising packet Adv_PDU only contains ADV_EXT_IND and AuxPTR. These packages provide offset and channel messages instead of advertising data. Scanners will receive AUX_ADV_IND packages according to the offset on one specific data channel X (from Channel 0 to Channel 36). An AUX_ADV_IND package containing advertising data is a new package that is defined in BLE 5.0.
The BLE 5.0 specifies a wider range of feasible parameter values for the NDP than BLE 4.0, such as the AdvInterval, ScanWindow, and ScanInterval.
AdvInterval T A D V is one of the key parameters in neighbor discovery configuration, which determines the interval time between two consecutive advertising events. In an advertising event, the advertisers transmit the packets in the three predefined channels respectively. The time that the advertiser spends in each channel is denoted as τ w a . The fixed interval ω A I and a pseudorandom delay μ are two parts of the AdvInterval.
ScanInterval T S I N denotes the period time that the scanning event happens in the three advertising channels. ScanWindow ω S W is a fixed duration for scanners to scan and listen in the scanning state. Table 1 shows the list of the significant parameters for neighbor discovery that are specified in BLE 5.0, and these parameters have a wide range thus providing the BLE network with the abilities necessary to support a variety of applications.
As a result, the wide range of parameters cause problems in terms of finding the appropriate initial settings to meet the requirements of different BLE applications. The focus of our study is to analyze the impact of the parameters on the performance of neighbor discovery of BLE.

3. Modeling the Neighbor Discovery Process

In this section, we apply CRT to the BLE neighbor discovery process to model the energy consumption for advertising events and scanning events. We first present a study of asynchronous neighbor discovery based on CRT. Then, we discuss the energy consumption during the BLE NDP according to the measurement waveform. In what follows, we propose an analytical energy model to explore the relationship between energy consumption and parameter setting.

3.1. Asynchronous Neighbor Discovery and CRT

CRT [12] is a mathematical theorem that states that there exists an integer x satisfying the pair of simultaneous congruences for any two coprime numbers n i and n j :
X m i ( m o d n i ) , X m j ( m o d n j ) ,
where m i and m j are two integers. For example, the pair of simultaneous congruences x 1 ( m o d 3 ) and x 2 ( m o d 7 ) has the solution x = 16 + 21 k ,   k Z + .
According to CRT, we pick two numbers, n i and n j , which denote the interval time that two nodes wake up from a sleeping state. Then, at the ( c 1 ) n i + 1 slot, the nodes discover each other if n i and n j are relatively prime, as illustrated in Figure 2. Therefore, at least one discovery is guaranteed at slot x within a period n i n j , regardless of the phase offsets of m i and m j due to their asynchronous clocks.
We can express x as
X = x 0 + k n i n j ,   k Z + .
When x = x 0 , the nodes are turned on and can discover each other. Therefore, according to (2), x 0 denotes the first time when the two nodes meet. Furthermore, when n i and n j are coprime, the duty cycle can be expressed as
D C = 1 n i ( 1 + 1 c ) + 1 n j ( 1 1 c ) .

3.2. Energy Consumption in BLE NDP

In this section, we present the energy consumption waveform during an advertising event and a scanning event. As the measurement in [5,6], an energy consumption waveform can be presented as shown in Figure 3.
In order to establish the energy model during the NDP, Table 2 shows the operation and the energy constants of each state based on [6].
In the advertising event, the advertiser periodically broadcasts and listens on Channels (37, 38, and 39), which is reflected with the Tx, Rx, and Tx to Rx peaks in Figure 3. In addition, besides the advertising event, one advertising period includes the wake up state, transfer state, and some preparation states. Therefore, we can express the energy consumption with a period E a d v p as
E a d v p = E w a k e + E p r e + E p r e t x + 3 E t x + 3 E r x + 3 E t x r x + 2 E t r a n s + E p o s t .
Furthermore, the energy consumption on specified channel n with a period E n could be expressed as
E 37 = E w a k e + E p r e + E p r e t x + E t x + E r x + E t x r x + E p o s t E 38 = E w a k e + E p r e + E p r e t x + 2 E t x + 2 E r x + 2 E t x r x + E t r a n s + E p o s t E 39 = E w a k e + E p r e + E p r e t x + 3 E t x + 3 E r x + 3 E t x r x + 2 E t r a n s + E p o s t .
The energy consumption during a scanning event can be calculated as well as the advertising event. It should be pointed out that the scanning event contains two options: events with no reception and events with ADV_PDU packets.
Therefore, as shown in Figure 3, the charge that is consumed in a scanning period can be expressed as
E s c a n n o r e = E w a k e + E p r e + E s c a n n i n g + E p o s t E s c a n r e = E w a k e + E p r e + E p r e t x + E s c a n n i n g + E d i s r x t x + E p o s t ,
where E s c a n n i n g denotes the energy that is consumed during the active scanning and in the packet processing phase, E s c a n n o r e denotes the consumed energy during the scanning events with no reception, and E s c a n r e denotes the consumed energy during the scanning events with received ADV_PDU packets.
As discussed in the previous section, we have the energy consumption E a d v n for the advertiser on Channels ( n = 37 , 38 , 39 ):
E a d v 37 = ( c 1 ) E a d v p + E a d v 37 E a d v 38 = ( c 1 ) E a d v p + E a d v 38 E a d v 39 = c E a d v 39 .
In addition, the charge consumed by a scanner E s c a n is
E s c a n = E s c a n r e + ( c 1 ) E s c a n n o r e ,
where c denotes the number of periods of the scanning events.

3.3. Analytical Energy Model of BLE NDP

In order to determine the relationship between the parameter settings and the energy consumption, in this section, we present an analytical energy model based on CRT, as an extension of the study in [17].
Instead of using the effective scan window to model the NDP, we proposed a distributed neighbor discovery analytical model for BLE networks, and applied CRT to three separated channels. On the basis of CRT, it could be ensured that there is at least a slot in which two nodes wake up together.
To separate the three channels, the NDP in a cycle is separated into three components based on the channel number according to the same timeline. As shown in Figure 4, both the entering time and the periodic time of the advertising events and scanning events changed on the separated channels. If we assume that the advertiser entered the advertising mode at time t 0 , and the scanner entered the scanning mode at time t 1 , then, consistent with the advertising order, the advertising start time and the scanning start time for channel 38 is t 0 + τ w a and t 1 + T S I N , respectively, and those for channel 39 are t 0 + 2 τ w a and t 1 + 2 T S I N , respectively.
Another key parameter for CRT is the duty cycle. Different from the entering time, the advertiser and the scanner have the same duty cycle for all channels. As shown in Figure 4, the duty cycle of the advertiser could be expressed as τ w a T A D V , and for scanners, the duty cycle is ω S W 3 T S I N ( T S C A N = 3 T S I N ).
Table 3 shows the key parameters for each channel based on CRT.
According to Table 3, we can develop the solution x for the CRT described by our model as
x o n 37 = Γ ( t 0 , t 1 ,   T A D V τ w a ,   3 T S I N ω S W ) x o n 38 = Γ ( t 0 + τ w a ,   t 1 + T S I N ,   T A D V τ w a ,   3 T S I N ω S W ) x o n 39 = Γ ( t 0 + 2 τ w a ,   t 1 + 2 T S I N , T A D V τ w a , 3 T S I N ω S W ) .
Thus, the smallest slot among all matching slots is x 0 = m i n ( x o n 37 ,   x o n 38 , x o n 39 ) . Let θ ( t 0 , t 1 ) denote the interval from the initiation time of the advertiser to x 0 . Let ϕ ( t 0 , t 1 ) denote the interval from the initiation time of the scanner to x 0 . Then,
θ ( t 0 , t 1 ) = x 0 t 0 ϕ ( t 0 , t 1 ) = x 0 t 1 .
Therefore, as defined in Figure 2, it is noticed that c and c can be expressed as
c = θ ( t 0 , t 1 ) τ w a T A D V c = ϕ ( t 0 , t 1 ) ω S W 3 T S I N .
Meanwhile, we can calculate the energy consumption E a d v x when the advertising events stop in the cth period on the channels as
E a d v 37 = ( θ ( t 0 , t 1 ) ω w a T A D V 1 ) E a d v p + E a d v 37 E a d v 38 = ( θ ( t 0 , t 1 ) ω w a T A D V 1 ) E a d v p + E a d v 38 E a d v 39 = θ ( t 0 , t 1 ) ω w a T A D V E a d v 39 .
To simplify the equation, the energy consumption for advertisers E a d v x can be expressed as
E a d v x = ( θ ( t 0 , t 1 ) ω w a T A D V 1 ) E a d v p + E a d v x x = 37 , 38 , 39 .
In addition, the same as advertising events, the scanner energy consumption E s c a n could be given as
E s c a n = E s c a n r e + ϕ ( t 0 , t 1 ) ω S W 3 T S I N 1 E s c a n n o r e .
Finally, we assume that the advertiser and scanner initially start at any slot within [ 0 , T A D V ] and [ 0 , 3 T S I N ] , respectively, independently and with the same probability. As a result, the average energy consumption for advertisers and scanners during the BLE NDP is
E a d v ¯ = 1 T A D V t 0 = 0 T A D V E a d v x ,   x = 37 , 38 , 39 E s c a n ¯ = 1 3 T S I N t 1 = 0 3 T S I N E s c a n .

4. Experimental Results

In this section, to validate the analytical models, we have developed a BLE energy measurement program, which fully complies with the BLE specification 4.2, on a real testbed using the Texas Instruments SimpleLink Bluetooth low energy CC2540dk-mini kit with the Software Development Kit BLE-Stack [18]. The included key fob board operates as a BLE peripheral device, and contains modifiable software that can be tailored towards different parameters. A CC2540 USB Dongle acting as a master connects to a PC’s USB port. Using BTool (Windows PC application) along with the included CC2540 USB Dongle, the BLE stack can be tested and verified while developing the custom test program. When the devices being tested are set up properly, a few simple hardware modifications are required to implement the current measurement. The detailed implementation steps can be found in [19]. The architecture of the testbed is shown in Figure 5.
During the measurement experiments, we use the USB Dongle and the BTool to capture the BLE packets, and utilize a DC power analyzer to measure the current and record the time of advertising events during the discovery process [20]. Since the average current is the value that is highly dependent on the parameter settings, the average power consumption can be calculated from the average current consumption for the advertising and the discover latency. In the experiments, the central device starts at a random time to discover the advertiser. The typical experimental procedure is to fix two parameters and to vary the other one. The measurements for every parameter setting is repeated 30 times to calculate the average current.
In the experiments, the starting times of the scanner and the advertiser are randomly chosen from the intervals [ 0 , T A D V ] and [ 0 , 3 T S I N ] . The other default parameter configurations are given according to [5,6] in Table 4.
Figure 6 shows the modeled statistics of the average energy consumption for the advertiser during the NDP, with AdvInterval ranging from 0.02 to 10.24 s; ScanInterval T S I N = 1.28 s, 2.56 s, 5.12 s, 10.24 s; and ScanWindow ω S W = 1.28 s.
Figure 7 shows the detailed results of both the measured and modeled statistics with AdvInterval ranging from 0.02 to 4 s. The measurement results show the same pattern as the results that were obtained from the model.
Figure 6 and Figure 7 reveal some interesting results. Contrary to the intuition that more frequent advertising leads to larger energy consumption, periodic high energy consumption could be observed in the analysis results and the measurements. In addition, increasing the value of the AdvInterval does not increase the energy if peaks are avoided. However, a higher ScanInterval leads to a larger range of maximums and minimums of the peaks. Using CRT, it can be shown that the largest solution is for a pair of advertisers and scanners in a duty cycle, which happens periodically in every n i n j . Furthermore, in this case when ω S W T S I N , there is a possibility that the scanner missed the advertiser during the specific scan period, and the energy consumption of the idle advertising when T i d l e = T S I N ω S W increases significantly, as showed in Figure 7 when ScanWindow ω S W = 1.28 s and ScanInterval T S I N = 10.24 s.
Consequently, the peaks show a very large average energy consumption, which should be avoided during the configuration. Similar results were observed in the previous discovery latency analysis works of [6,7,17]. In addition, it is noted that the larger ScanInterval can lead to a larger range between the maximum value and the minimum value of the average energy consumption with a fixed ScanWindow. As a result, one should be more cautious and choose the AdvInterval accordingly if the requirement needs a large ScanInterval.
Figure 8 shows the results compared with the model in [14] when ScanInterval T S I N = 10.24 s and ScanWindow ω S W = 1.28 s. It is obvious that the results from the model proposed in this paper has a higher accuracy than the model in [14], especially when T A D V ω S W . This is because the model in [14] was based on the effective ScanWindow d e . In model [14], the effective ScanWindow d e = ω S W d a , and d a denotes the advertising time on one channel during an advertising event. When d a ω S W , it leads to the failure of the analysis in the model based on the effective ScanWindow.
Figure 9 shows the expected energy consumption of the advertiser during a discovery process by varying the ScanInterval for different ScanWindows and with a fixed AdvInterval of T A D V = 5.12 s. As can be seen, the results from the measurement and results that were obtained from the model are close. The curves show that for each ScanWindow, the energy consumption steadily increases when the ScanInterval increases from 0.02 to 10.24 s. Meanwhile, from the comparison of the three situations, when T A D V = ω S W , it is easy to achieve a low energy consumption for advertisers. Furthermore, for larger ScanWindows, the ScanInterval has less impact on the energy consumption of advertisers. The reason is that the larger ScanWindow reduces the energy of idle advertising events.
Figure 10 illustrates the results of the energy consumption versus varied ScanWindows ranging from 0 to T S I N for different ScanIntervals and a fixed AdvInterval of T A D V = 5.12 s. We compared the results from the model to the measurements, and they are also close.
The figures clearly show that as the ScanWindow increases, the energy consumption has a steep decrease when ω S W 0.2 s. This can be explained by the fact that the ScanWindow mainly affects the chance for advertisers and scanners to cross on one of the advertising channels. When the ScanWindow is large enough, the ScanWindow has a simple impact on the energy consumption. However, when the ScanWindow is less than one specific value, the larger ScanInterval will require more energy from the advertisers due to the higher frequency of idle advertising.
In summary, the experimental results validate the model and characterize the energy consumption for the BLE parameters. In the meantime, from the experimental results, it can be stated that there is a principle to properly set the parameters to meet the requirements of a given IoT application. For devices with frequent advertising events, a good trade-off is to set T A D V T S I N , and if a large scanInterval is needed, we suggest using continuous scanning to achieve the fastest possible discovery and the smallest possible energy consumption. For devices that are expected to achieve the longest life spans with longer idle-advertising, a good choice is to set T A D V < T S I N and possibly a lower ScanInterval.

5. Conclusions

We proposed an analytical energy model to characterize the energy consumption during the NDP in BLE networks. In this model, the energy consumption for an advertising event and a scanning event is calculated based on CRT. The model is validated using real testbed measurements, and we show that the average energy consumption varies with all possible standard parameter settings. Accordingly, on the basis of the given requirements of the IoT applications, parameter setting guidance could be derived using the model.

Author Contributions

Conceptualization, B.L.; Data curation, J.G.; Formal analysis, B.L. and J.G.; Funding acquisition, B.L. and Z.S.; Investigation, Z.S.; Methodology, B.L.; Supervision, Z.S.; Writing original draft, B.L.

Funding

This research is funded by “Research of Neighbor Discovery Mechanism for Bluetooth Low Energy Mesh Network based on 6LoBLE” project by National Natural Science Foundation of China(No. 61702281), the State Scholarship fund by China Scholarship Council and “The abnormal flow detection method research in Software defines big data network” project by National Natural Science Foundation of China(No. 61672299).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Bluetooth Special Interest Group. Bluetooth Core Specification v4.0; Bluetooth Special Interest Group: Kirkland, WA, USA, 2012. [Google Scholar]
  2. Cho, K.; Park, G.; Cho, W.; Seo, J.; Han, K. Performance analysis of device discovery of Bluetooth Low Energy (BLE) networks. Comput. Commun. 2016, 81, 72–85. [Google Scholar] [CrossRef]
  3. Cho, K.; Park, W.; Hong, M.; Park, G.; Cho, W.; Seo, J.; Han, K. Analysis of latency performance of Bluetooth low energy (BLE) networks. Sensors 2015, 15, 59–78. [Google Scholar] [CrossRef] [PubMed]
  4. Liu, J.; Chen, C.; Ma, Y. Modeling neighbor discovery in bluetooth low energy networks. IEEE Commun. Lett. 2012, 16, 1439–1441. [Google Scholar] [CrossRef]
  5. Liu, J.; Chen, C. Energy Analysis of Neighbor Discovery in Bluetooth Low Energy Networks; Nokia: Espoo, Finland, 2012. [Google Scholar]
  6. Kindt, P.; Yunge, D.; Diemer, R.; Chakraborty, S. Precise energy modeling for the bluetooth low energy protocol. arXiv 2014, arXiv:1403.2919. [Google Scholar]
  7. Liendo, A.; Morche, D.; Guizzetti, R.; Rousseau, F. BLE Parameter Optimization for IoT Applications. In Proceedings of the IEEE International Conference on Communications (ICC’2018), Kansas City, MO, USA, 20–24 May 2018. [Google Scholar]
  8. Shan, G.; Roh, B.-H. Advertisement Interval to Minimize Discovery Time of Whole BLE Advertisers. IEEE Access 2018, 6, 17817–17825. [Google Scholar] [CrossRef]
  9. Liendo, A.; Morche, D.; Guizzetti, R.; Rousseau, F. Efficient Bluetooth Low Energy Operation for Low Duty Cycle Applications. In Proceedings of the IEEE International Conference on Communications (ICC’2018), Kansas City, MO, USA, 20–24 May 2018. [Google Scholar]
  10. Perez-Diaz de Cerio, D.; Hernández, Á.; Valenzuela, J.; Valdovinos, A. Analytical and Experimental Performance Evaluation of BLE Neighbor Discovery Process Including Non-Idealities of Real Chipsets. Sensors 2017, 17, 499. [Google Scholar] [CrossRef] [PubMed]
  11. Hernández-Solana, Á.; Perez-Diaz-de-Cerio, D.; Valdovinos, A.; Valenzuela, J.L. Proposal and Evaluation of BLE Discovery Process Based on New Features of Bluetooth 5.0. Sensors 2017, 17, 1988. [Google Scholar] [CrossRef] [PubMed]
  12. Dutta, P.; Culler, D. Practical asynchronous neighbor discovery and rendezvous for mobile sensing applications. In Proceedings of the 6th ACM Conference on Embedded Network Sensor Systems, Raleigh, NC, USA, 5–7 November 2008; pp. 71–83. [Google Scholar]
  13. Kandhalu, A.; Xhafa, A.E.; Hosur, S. Towards bounded-latency Bluetooth Low Energy for in-vehicle network cable replacement. In Proceedings of the 2013 International Conference on Connected Vehicles and Expo (ICCVE), Las Vegas, NV, USA, 2–6 December 2013. [Google Scholar]
  14. Jeon, W.S.; Dwijaksara, M.H.; Jeong, D.G. Performance Analysis of Neighbor Discovery Process in Bluetooth Low-Energy Networks. IEEE Trans. Veh. Technol. 2017, 66, 1865–1871. [Google Scholar] [CrossRef]
  15. Bluetooth Special Interest Group. Bluetooth Core Specification v4.2; Bluetooth Special Interest Group: Kirkland, WA, USA, 2014. [Google Scholar]
  16. Bluetooth Special Interest Group. Bluetooth Core Specification v5.0; Bluetooth Special Interest Group: Kirkland, WA, USA, 2017. [Google Scholar]
  17. Luo, B.; Xu, J.; Sun, Z. Neighbor discovery latency in bluetooth low energy networks. Wirel. Netw. 2018, 1–8. [Google Scholar] [CrossRef]
  18. Texas Instruments. CC2540 and CC2541 Bluetooth Low Energy Software Developer’s Reference Guide. 2015. Available online: http://www.ti.com/lit/ug/swru271g/swru271g (accessed on 8 August 2015).
  19. Sandeep, K.; Lindh, J. Measuring Bluetooth Low Energy Power Consumption; Application Note AN092; Texas Instruments: Dallas, TX, USA, 2010. [Google Scholar]
  20. Joakim, L.; Lee, C.; Hernes, M. Measuring Bluetooth Low Energy Power Consumption; Application Note AN092; Texas Instruments: Dallas, TX, USA, 2017. [Google Scholar]
Figure 1. The process of Bluetooth low energy (BLE) neighbor discovery based on BLE 5.0.
Figure 1. The process of Bluetooth low energy (BLE) neighbor discovery based on BLE 5.0.
Sensors 19 04997 g001
Figure 2. Discovery with asymmetric cycles ( n i = 9 , n j = 4 ).
Figure 2. Discovery with asymmetric cycles ( n i = 9 , n j = 4 ).
Sensors 19 04997 g002
Figure 3. The energy consumption in the BLE neighbor discovery process (NDP).
Figure 3. The energy consumption in the BLE neighbor discovery process (NDP).
Sensors 19 04997 g003
Figure 4. Distributed neighbor discovery analytical model in BLE.
Figure 4. Distributed neighbor discovery analytical model in BLE.
Sensors 19 04997 g004
Figure 5. The architecture of the testbed.
Figure 5. The architecture of the testbed.
Sensors 19 04997 g005
Figure 6. Average energy consumption of the advertisers according to AdvInterval. ( T A D V [0.02 s, 10.24 s], T S I N = 1.28 s, 2.56 s, 5.12 s, 10.24 s, ω S W = 1 . 28 s).
Figure 6. Average energy consumption of the advertisers according to AdvInterval. ( T A D V [0.02 s, 10.24 s], T S I N = 1.28 s, 2.56 s, 5.12 s, 10.24 s, ω S W = 1 . 28 s).
Sensors 19 04997 g006
Figure 7. Average energy consumption results of the model and the measurements. ( T A D V [0.02 s, 4 s], T S I N = 1.28 s, 2.56 s, 5.12 s, 10.24 s, ω S W = 1.28 s).
Figure 7. Average energy consumption results of the model and the measurements. ( T A D V [0.02 s, 4 s], T S I N = 1.28 s, 2.56 s, 5.12 s, 10.24 s, ω S W = 1.28 s).
Sensors 19 04997 g007
Figure 8. Average energy consumption results of the models.
Figure 8. Average energy consumption results of the models.
Sensors 19 04997 g008
Figure 9. Average energy consumption of scanners according to the scanInterval ( T A D V = 5.12 s, T S I N [1.28 s, 10.24 s], ω S W = 1.28 s, 2.56 s, 5.12 s).
Figure 9. Average energy consumption of scanners according to the scanInterval ( T A D V = 5.12 s, T S I N [1.28 s, 10.24 s], ω S W = 1.28 s, 2.56 s, 5.12 s).
Sensors 19 04997 g009
Figure 10. Average energy consumption with respect to the ScanWindow. ( T A D V = 5.12 s, T S I N = 1.28 s, 2.56 s, 5.12 s, 10.24 s, ω S W [ 0 , T S I N ] ).
Figure 10. Average energy consumption with respect to the ScanWindow. ( T A D V = 5.12 s, T S I N = 1.28 s, 2.56 s, 5.12 s, 10.24 s, ω S W [ 0 , T S I N ] ).
Sensors 19 04997 g010
Table 1. BLE significant parameters and recommended values.
Table 1. BLE significant parameters and recommended values.
ItemNotationValue
Fixed Interval ω A I 20 ms ω A I 10,485.759375 s
AdvDelay μ 0 μ μ M A X 10 ms
AdvInterval T A D V ω A I + μ
Advertising period per channel τ w a 0 τ w a 10 ms
ScanWindow ω S W 0 ω S W T S I N
ScanInterval T S I N 0 T S I N 10.24 s
Table 2. The operation and the energy constants of each state.
Table 2. The operation and the energy constants of each state.
StateOperationConstants
wake upthe device wakes up from sleeping E w a k e
prethe BLE protocol stack prepares for sending and listening E p r e
pre-txthe device turns on in preparation for advertising E p r e t x
Txthe device transmits an advertising packet E T x
Rxthe device listens for a packet E R x
Tx-Rxthe state transfers from Tx to Rx E T x R x
CH37-CH38the advertising event on Channel 37 transfers to Channel 38 E i n t e r c h
CH38-CH39the advertising event on Channel 38 transfers to Channel 39 E i n t e r c h
postthe BLE protocol stack prepares for the next advertising event E p o s t
scanningthe device listens for an advertising packet E s c a n n i n g
Dis-rx-txthe states when the device receives an advertising packet E d i s r x t x
Table 3. Key parameters of the distributed neighbor discovery model.
Table 3. Key parameters of the distributed neighbor discovery model.
ItemCH37CH38CH39
1 n i (advertiser duty cycle) τ w a T A D V τ w a T A D V τ w a T A D V
1 n j (scan duty cycle) ω S W 3 T S I N ω S W 3 T S I N ω S W 3 T S I N
m i (advertiser phase offset) t 0 t 0 + τ w a t 0 + 2 τ w a
m j (scanner phase offset) t 1 t 1 + T S I N t 1 + 2 T S I N
Table 4. The default parameters set in the measurements.
Table 4. The default parameters set in the measurements.
ParametersValueParametersValue
τ w a 7.46 ms E w a k e 2.40 mA·ms
E p r e 4.40 mA·ms E p r e t x 2.00 mA·ms
E T x 6.55 mA·ms E T x R x 0.77 mA·ms
E R x 2.01 mA·ms E i n t e r c h 1.11 mA·ms
E p o s t 7.03 mA·ms E d i s r x t x 6.84 mA·ms
E s c a n n i n g 11.33 mA·ms

Share and Cite

MDPI and ACS Style

Luo, B.; Gao, J.; Sun, Z. Energy Modeling of Neighbor Discovery in Bluetooth Low Energy Networks. Sensors 2019, 19, 4997. https://0-doi-org.brum.beds.ac.uk/10.3390/s19224997

AMA Style

Luo B, Gao J, Sun Z. Energy Modeling of Neighbor Discovery in Bluetooth Low Energy Networks. Sensors. 2019; 19(22):4997. https://0-doi-org.brum.beds.ac.uk/10.3390/s19224997

Chicago/Turabian Style

Luo, Bingqing, Jincheng Gao, and Zhixin Sun. 2019. "Energy Modeling of Neighbor Discovery in Bluetooth Low Energy Networks" Sensors 19, no. 22: 4997. https://0-doi-org.brum.beds.ac.uk/10.3390/s19224997

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