简体   繁体   English

是否有蓝牙RSSI经常振荡的解释

[英]Is there an explanation for the regular oscillation experienced in Bluetooth RSSI

I am working with kontakt.io Bluetooth eddystone UID beacons and an android application using the alt-beacon library (running on a Samsung Galaxy S5, although I doubt that is relevant). 我正在使用kontakt.io蓝牙eddystone UID信标和使用alt-beacon库的android应用程序(在三星Galaxy S5上运行,虽然我怀疑这是相关的)。

I've done a bunch of trials under different conditions and am working towards determining the feasibility of high-accuracy tracking via trilateration of multiple beacon signals. 我已经在不同的条件下进行了一系列试验,并正在努力通过三个信标的三边测量来确定高精度跟踪的可行性。

On multiple occasions I have noticed a regular oscillation of the beacon's RSSI being detected by the android device. 在很多场合,我注意到Android设备正在检测到信标的RSSI的常规振荡。

Here is one of the more extreme examples. 这是一个更极端的例子。 As you can see, the perceived signal strength (RSSI) fluctuates between 3 different RSSI levels, switching every 5 seconds(~ -75dBm , ~ -90dBm , ~ -85dBm ). 如您所见,感知信号强度(RSSI)在3个不同的RSSI电平之间波动,每5秒切换一次(〜- -75dBm ,〜- -90dBm ,〜- -85dBm )。

RSSIvsTime图

The beacon that was graphed was 2.5m from the device with no obstructions between the beacon and the device. 绘制的信标距离设备2.5米,信标和设备之间没有障碍物。 The beacon, and other beacons that were being tested at the same time, are all set to minimum advertising interval and maximum TxPower. 信标和同时进行测试的其他信标都设置为最小广告间隔和最大TxPower。 I will not claim that the conditions around the testing environment were ideal (up against a glass wall, for instance) but they were constant, with little to no movement in the environment. 我不会声称测试环境周围的条件是理想的(例如,靠着玻璃墙),但它们是恒定的,环境中几乎没有运动。

My initial thought was Bluetooth's frequency-hopping, but upon further investigation, those take place 1600/s. 我最初的想法是蓝牙的跳频,但经过进一步调查,这些发生在1600 / s。 Two other theories that I or my co-worker had were 1: weird interference from the multiple Bluetooth beacons in the areas, or 2: Adaptive signal strength in the beacons, but the beacons do not appear to have logic in them (and there are other reasons why that explanation doesn't make sense) 我或我的同事的另外两个理论是1:来自区域中多个蓝牙信标的奇怪干扰,或者2:信标中的自适应信号强度,但信标似乎没有逻辑(并且有解释为什么没有意义的其他原因)

I believe what you see actually is based on seeing a different typical RSSI level on each of the three BLE advertising channels 37/38/39. 我相信你看到的实际上是基于在三个BLE广告渠道37/38/39中看到不同的典型RSSI水平。

My understanding of the advertisement and scanning process is as follows: 我对广告和扫描过程的理解如下:

  1. The advertising device will send each advertisement out on all three of the advertising channels. 广告设备将在所有三个广告渠道上发送每个广告。

  2. The scanning device, when in scanning mode, will scan on only one of the three advertising channels at a time. 当处于扫描模式时,扫描设备将一次仅扫描三个广告信道中的一个。 It will switch between these channels at a device-specific interval that may range from 2.5 ms to 10,240 ms. 它将以特定于器件的间隔在这些通道之间切换,间隔范围可以从2.5 ms到10,240 ms。 Obviously, any detections during this interval will be for the channel the scanner is on. 显然,在此间隔期间的任何检测都将针对扫描仪所在的通道。

From the graph, it appears that the Galaxy S5 is scanning on a single channel for a period at the upper-range of that limit -- about 10 seconds at a time. 从图中可以看出,Galaxy S5正在单个通道上扫描一段时间,达到该限制的上限 - 一次大约10秒。 I have noticed this in testing detected BLE advertisement RSSI levels on Samsung devices before. 我之前在三星设备上测试检测到的BLE广告RSSI级别时已经注意到这一点。 Here's a graph I produced on the Galaxy S6 Edge showing a similar pattern. 这是我在Galaxy S6 Edge上制作的图表,显示了类似的图案。 Note there are common three bands of RSSI ranges suggesting the three channels. 注意,共有三个RSSI范围带表明三个通道。 And the units of the X axis are seconds, showing that the channel changes at a similar period you are seeing. 并且X轴的单位是秒,表示频道在您看到的相似时段发生变化。 In my graph, the noise on each measurement is larger, possibly because I took the measurements at a distance twice as far of 5m. 在我的图表中,每次测量的噪声都较大,可能是因为我测量的距离是距离5m的两倍。

BLE RSSI与时间

I have found that this paper explains the advertising and discovery process well: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4327007/ 我发现本文很好地解释了广告和发现过程: https//www.ncbi.nlm.nih.gov/pmc/articles/PMC4327007/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM