| Literature DB >> 28273801 |
David Perez-Diaz de Cerio1, Ángela Hernández2, Jose Luis Valenzuela3, Antonio Valdovinos4.
Abstract
The purpose of this paper is to evaluate from a real perspective the performance of Bluetooth Low Energy (BLE) as a technology that enables fast and reliable discovery of a large number of users/devices in a short period of time. The BLE standard specifies a wide range of configurable parameter values that determine the discovery process and need to be set according to the particular application requirements. Many previous works have been addressed to investigate the discovery process through analytical and simulation models, according to the ideal specification of the standard. However, measurements show that additional scanning gaps appear in the scanning process, which reduce the discovery capabilities. These gaps have been identified in all of the analyzed devices and respond to both regular patterns and variable events associated with the decoding process. We have demonstrated that these non-idealities, which are not taken into account in other studies, have a severe impact on the discovery process performance. Extensive performance evaluation for a varying number of devices and feasible parameter combinations has been done by comparing simulations and experimental measurements. This work also includes a simple mathematical model that closely matches both the standard implementation and the different chipset peculiarities for any possible parameter value specified in the standard and for any number of simultaneous advertising devices under scanner coverage.Entities:
Keywords: Bluetooth Low Energy; discovery latency; neighbor discovery; non-detection probability; real testbed
Year: 2017 PMID: 28273801 PMCID: PMC5375785 DOI: 10.3390/s17030499
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1Transmissions on BLE advertising PHY channels and the frame structure.
Frame duration for the employed sizes.
| Data Bytes | Total Frame Bytes | Duration |
|---|---|---|
| 1 | 22 | 176 |
| 10 | 31 | 248 |
| 26 | 47 | 376 |
Figure 2Testbed schematic setup.
Figure 3Continuous scan behavior. (a) Type 1 scanning devices; (b) Type 2 scanning devices.
Parameter values for a continuous scan with .
| Parameter | Value | |
|---|---|---|
| Type 1 Pattern | Type 2 Pattern | |
|
| 1.1 ms | 16.05 ms |
|
| - | 300 |
|
| - | 16.82 ms |
|
| - | 4.3 ms |
Figure 4Frequency change gap duration for different scan intervals.
Figure 5Consumption example of the advertiser/scanner.
Figure 6Continuous scan behavior. (a) Type 1 pattern; (b) Type 2 pattern.
Figure 7Combined effect of both types of gaps.
Parameters included in the model.
| Parameter | Description |
|---|---|
|
| Transmission time of the advertisement PDU (ADV_PDU) |
|
| Fixed advertisement interval |
|
| Maximum value of the random backoff (standard: 10 ms) |
|
| Random backoff between advertisements: |
|
| Advertisement event interval: |
|
| Scan interval |
|
| Scan window |
|
| Gap due to change of scanning frequency (Type 1 and 2 scanners) |
|
| Duration of scattered gaps inside the scan interval (Type 2 scanner) |
|
| Time intervals between scattered gaps inside the scan interval (Type 2 scanner) |
|
| Minimum value of processing gap after ADV_PDU detection |
|
| Maximum value of processing gap after ADV_PDU detection |
|
| Processing gap after ADV_PDU detection. |
|
| Sum of durations of all the gaps occurred in the scan window |
|
| Number of scattered gaps inside the |
|
| Total number of advertising devices that are in the coverage area of the scanner |
| and can be potentially colliding |
Variables included in the mathematical model.
| Variable | Description |
|---|---|
|
| Probability that a periodical scanning gap occurs |
|
| Probability that a device causes a scanning interruption |
| between two consecutive advertisements | |
|
| Average number of devices that may be generating decoding gaps |
| within a | |
|
| Non-detection probability due to periodical scanning gaps |
|
| Non-detection probability due to dynamic scanning gaps (decoding gaps) |
| in an scenario with | |
|
| Non-detection probability due to scanning gaps |
| (periodical and dynamic scanning gaps) in a scenario with | |
|
| Non-detection probability of a device due to collisions |
| in a scenario with | |
|
| Non-detection probability of a device due to collisions and gaps |
| in a scenario with | |
|
| Overall non-detection probability of a device due to collisions, |
| gaps and channel errors in a scenario with | |
|
| Average number of ADV_PDU transmissions required before detection |
| of a device in a scenario with | |
|
| Average detection delay of a device in a scenario with |
|
| Average time between two consecutive detections of a device |
| in a scenario with | |
|
| Average number of detections of an advertiser BLE within a window of |
| opportunity (coverage time interval or dwell time) in a scenario with |
Figure 8Experimental testbed.
Parameters used in the evaluation.
| General Parameters | Real Scanner Service Parameters | |||
|---|---|---|---|---|
| Parameter | Values | Parameter | Value | |
| Type 1 Pattern | Type 2 Pattern | |||
|
| 176 |
| 1.1 ms | 16.05 ms |
|
| 100 ms, 300 ms, 500 ms |
| - | 300 |
|
|
|
| - | 16.82 ms |
|
| 10 ms |
| - | 4.3 ms |
|
| 500 ms |
|
| |
|
| 500 ms |
| 350 | 194 |
|
| 2 to 200 |
| 1.6 ms | 194 |
|
| 5 s | |||
Figure 9Non-detection probability (a1–a3) and mean time between consecutive detections in seconds (b1–b3) as the number of BLE advertisers increases, for several values (176 , 248 and 376 ) and for different intervals (100 ms, 300 ms and 500 ms) with . Comparison among experimental measurements, simulation and the analytical model.
Figure 10Non-detection probability (a1–a3), mean time between consecutive detections in seconds (b1–b3) and mean number of detections under coverage ( s) (c1–c3), as the number of advertisers increase, for several values (176 , 248 and 376 ) and for different intervals (100 ms, 300 ms and 500 ms) with . Comparison between simulation and the analytical model for ideal (a1,b1,c1), Type 1 real devices (a2,b2,c2) and Type 2 real devices (a3,b3,c3).
Figure 11cdf of the number of detections under coverage () for several values (, ) when (a); and (b) with and when there are BLE advertisers. Comparison between simulation results for ideal devices, Type 1 real devices and Type 2 real devices.
Probability (in %) that not all of the devices (200) are detected in the (5 s) for several values (, ) when and with and when there are BLE advertisers. Comparison between simulation results for ideal devices, Type 1 real devices and Type 2 real devices.
|
|
|
| ||||
|---|---|---|---|---|---|---|
| Ideal | Type 1 | Type 2 | Ideal | Type 1 | Type 2 | |
| 100 ms | 0 % | 0.04 % | 0 % | 0.2 % | 12.96 % | 2.52 % |
| 500 ms | 0 % | 4.94 % | 0.54 % | 0.3 % | 19.69 % | 6.48 % |