{"id":1717,"date":"2022-09-16T09:06:11","date_gmt":"2022-09-16T09:06:11","guid":{"rendered":"https:\/\/www.beaconzone.co.uk\/blog\/?p=1717"},"modified":"2022-09-16T09:06:12","modified_gmt":"2022-09-16T09:06:12","slug":"the-affect-of-number-of-beacons-on-the-detection-time","status":"publish","type":"post","link":"https:\/\/www.beaconzone.co.uk\/blog\/the-affect-of-number-of-beacons-on-the-detection-time\/","title":{"rendered":"The Affect of the Number of Beacons on the Detection Time"},"content":{"rendered":"\n<p>We have been involved in a few projects where there have been 100s of Bluetooth beacons in one place at the same time as opposed to, the more normal, 10s at a time. We have found detection times to be significantly longer. Until now, we have found it difficult to quantify this behaviour.<\/p>\n\n\n\n<p>We have found&nbsp;some research, funded by Samsung, on the&nbsp;<a href=\"https:\/\/www.ncbi.nlm.nih.gov\/pmc\/articles\/PMC4327007\/\" target=\"_blank\" rel=\"noopener noreferrer\">Analysis of Latency Performance of Bluetooth Low Energy (BLE) Networks<\/a>. The research contains lots of theoretical predictions backed up with experimental data that show how the time to detect varies with the number of scanners, number of advertisers, the scan window size, the advertisement period and the advertising interval:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"808\" height=\"635\" src=\"https:\/\/www.beaconzone.co.uk\/blog\/wp-content\/uploads\/2017\/06\/detectionlatency.png\" alt=\"\" class=\"wp-image-1718\" srcset=\"https:\/\/www.beaconzone.co.uk\/blog\/wp-content\/uploads\/2017\/06\/detectionlatency.png 808w, https:\/\/www.beaconzone.co.uk\/blog\/wp-content\/uploads\/2017\/06\/detectionlatency-300x236.png 300w, https:\/\/www.beaconzone.co.uk\/blog\/wp-content\/uploads\/2017\/06\/detectionlatency-768x604.png 768w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/figure><\/div>\n\n\n<p>The research concludes that when the number of Bluetooth devices increases, delays in device discovery show an <strong>exponential growth<\/strong> even when using multiple advertising channels and small frame sizes.<\/p>\n\n\n\n<p>The authors say:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>&#8220;We find that the inappropriate parameter settings considerably impair the efficiency of BLE devices, and the wide range of BLE parameters provides high flexibility for BLE devices to be customized for different applications.&#8221;<\/p><\/blockquote>\n\n\n\n<p>So what typical parameter settings might affect the detection time? What&#8217;s really going on? If you look at beacon advertising it transmits for about a millisecond every configurable advertising period (typically 100ms to 1 sec):<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"463\" height=\"188\" src=\"https:\/\/www.beaconzone.co.uk\/blog\/wp-content\/uploads\/2016\/03\/nordicadvertising.png\" alt=\"\" class=\"wp-image-190\" srcset=\"https:\/\/www.beaconzone.co.uk\/blog\/wp-content\/uploads\/2016\/03\/nordicadvertising.png 463w, https:\/\/www.beaconzone.co.uk\/blog\/wp-content\/uploads\/2016\/03\/nordicadvertising-300x122.png 300w\" sizes=\"(max-width: 463px) 85vw, 463px\" \/><\/figure><\/div>\n\n\n<p>In simple terms, if two beacons happen to transmit on the same channel, at a similar time, then the transmissions will collide and receiving device will see corrupted data. The receiver will have to wait for its next scan to possibly see the beacon(s) and this increases the detection time. The chances of collision increase as the number of devices increase and decrease as the beacon advertising period increases.<\/p>\n\n\n\n<p>Note that if two beacons collide and have the same advertising interval, it doesn&#8217;t mean they will collide next time. The advertising interval has a small amount of randomisation added to make this less likely&nbsp;to happen.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We have been involved in a few projects where there have been 100s of Bluetooth beacons in one place at the same time as opposed to, the more normal, 10s at a time. We have found detection times to be significantly longer. Until now, we have found it difficult to quantify this behaviour. We have &hellip; <a href=\"https:\/\/www.beaconzone.co.uk\/blog\/the-affect-of-number-of-beacons-on-the-detection-time\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;The Affect of the Number of Beacons on the Detection Time&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[153],"tags":[],"_links":{"self":[{"href":"https:\/\/www.beaconzone.co.uk\/blog\/wp-json\/wp\/v2\/posts\/1717"}],"collection":[{"href":"https:\/\/www.beaconzone.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.beaconzone.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.beaconzone.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.beaconzone.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=1717"}],"version-history":[{"count":7,"href":"https:\/\/www.beaconzone.co.uk\/blog\/wp-json\/wp\/v2\/posts\/1717\/revisions"}],"predecessor-version":[{"id":7919,"href":"https:\/\/www.beaconzone.co.uk\/blog\/wp-json\/wp\/v2\/posts\/1717\/revisions\/7919"}],"wp:attachment":[{"href":"https:\/\/www.beaconzone.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=1717"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.beaconzone.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=1717"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.beaconzone.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=1717"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}