Remote Team Management Using iOS as an iBeacon

S Sindhumol of Cochin University of Science and Technology, Kochi, India presents recent research into Implementation and Analysis of a Smart Team Management System using iOS Devices as iBeacon (pdf).

The key thing about this research is that it uses iOS rather than a beacon to advertise iBeacon. The system allows the entire team to determine the location of other members, perform location based tasks, receive announcements and communicate via instant chat.

iBeacon Team Management Screens

The paper contains some useful analysis of accuracy of distance measurement on distance, interference, measured power and obstructions:

Effect of iBeacon distance accuracy with obstructions
Effect of iBeacon distance accuracy with presence of another iBeacon
Effect of measured power variation on proximity and accuracy
Effect of obstructing objects on RSSI and Accuracy

On iOS it’s only possible to advertise iBeacon if the app is in foreground:

The major limitation of the proposed app is battery drainage while keeping the app active all the time in the foreground

A more practical system would have been implemented by having the users carry a separate wearable beacon. This would have allowed presence to be detected when the app isn’t in foreground and there wouldn’t have been a problem with excessive iOS battery use.

Bluetooth LE Distance Determination Using RSSI

Bluetooth LE can be used to infer distance as is being used in contact tracing and social distancing apps. This is performed from the receiving end using what’s called the Received Signal Strength Indication (RSSI). This is a number, in dBm units produced by the receiving Bluetooth hardware that gives the wireless signal strength.

[dBm stands for Decibel-milliwatt, a unit used to measure radio frequency (RF) power level. dB (without the ‘m’) measures the power of a signal as a function of its ratio to another standardized value and the m in ‘dBm’ indicates we are comparing relative to 1 mW of power.]

RSSI is a negative value where the more negative it is, the further away the Bluetooth device. Close devices are usually in the range -10 dBm to -30 dBm while devices at the limit of detection give values less than -90 dBm.

Our post on Testing if a Beacon is Working shows how to use the nRF Connect app to measure the RSSI of a Bluetooth device.

The relationship between RSSI and distance isn’t linear and also depends on electrical, physical and environmental factors. It also varies slightly, as ‘noise’, over time, even when things don’t move. The largest electrical factor is the transmission power. Physical factors include blocking and reflection.

Some Bluetooth advertising such as iBeacon includes a value, the measured power, in the advertising that can be used to take account of the fact that different beacons have different transmission power and hence different RSSI at the same distance. The measured power is usually the value of the power at 1m from the transmitter.

While there are equations and libraries that attempt to derive distance from RSSI, often the most accurate method is to measure the actual RSSI at various distances and use this calibration data with interpolation to get estimated distances.

Movement Constraint-based Location Tracking

Researchers at the Pusan National University, Korea have a new paper on Applying Movement Constraints to BLE RSSI-Based Indoor Positioning for Extracting Valid Semantic Trajectories.

The received signal strength (RSSI) of beacons is often used to infer location. However, the RSSI is subject to reflection and blocking from walls, people and other obstacles causing the derived locations from the raw data to be ‘jumpy’. There are many ways to process the raw data, such as Hidden Markov Models, k-nearest neighbors and Deep Neural Networks (DNN) to obtain smoother trajectories.

The researchers use movement constraints and sliding-window aggregation to extract invalid trajectories and provide real-time semantic trajectories.

The paper shows the proposed movement constraint-based approach extracts valid trajectories that are comparable to the unconstrained and non-machine language approaches. This new approach is particularly suited to dynamic indoor environments where the reflection and blocking changes over time.

Comparison of Bluetooth LE Locating Methods

There’s research just published on A Comparison Analysis of BLE-Based Algorithms for Localization in Industrial Environments. The research compares trilateration, fingerprinting and a machine-learning based k-nearest neighbors regressor for determining the location from signals from multiple beacons.

Multi-layer perceptron (MLP) schematic model
Error box plots for the three fingerprinting algorithms with different beacon densities. Results for a fingerprint grid with one measurement every 0.5 m.

The results show fingerprinting is better than distance-based schemes in industrial environments due to the presence of large moving metal objects that shadow and reflect wireless signals. The three methods were found to provide similar localisation accuracy. The authors say the machine learning method is best due to less complexity and better adaptability. The machine learning method does not need regular calibration as is the case with fingerprinting.

Read about Determining Location Using Bluetooth Beacons

Using Bluetooth and WiFi RSSI for Locating

There’s a recent paper by Hongji Cao,Yunjia Wang,Jingxue Bi and Hongxia Qi of China University of Mining and Technology on An Adaptive Bluetooth/Wi-Fi Fingerprint Positioning Method based on Gaussian Process Regression and Relative Distance.

The paper looks into how to combine both Bluetooth fingerprint positioning (BFP) and Wi-Fi fingerprint positioning (WFP) to provide for an adaptive Bluetooth/Wi-Fi fingerprint positioning system based on Gaussian process regression (GPR).

The adapative feature is particularly useful because fingerprint acquisition requires a great deal of effort and requires subsequent update and maintenance.This new method provides a better positioning than Bluetooth and Wi-Fi positioning alone but at the cost of extra computation.

Read about Using Beacons, iBeacons for Real-time Locating Systems (RTLS)

Using Beacons for Race Timing

There’s novel recent research on City Marathon Active Timing System Using Bluetooth Low Energy Technology by Chun-I Sun, Jung-Tang Huang, Shih-Chi Weng and Meng-Fan Chien of Taiwan.

The authors discuss the use of beacons vs RFID and create a system using Received Signal Strength Indicator RSSI and gateways connected to detector mats:

Beacons are carried by athletes. The gateways sync their times via NTP and send data up to a MongoDB database:

An accuracy of ±156 ms was achieved which compares well to the nearest second used to generally record times and resolution accuracy of 0.1s for commercial transponder timing systems.

The Affect of Transmission Power, Advertising Interval and Beacon Placement Density on Location Accuracy

There’s recent research by Gabriele Salvatore de Blasi, José Carlos Rodríguez-Rodríguez, Carmelo R. García and Alexis Quesada-Arencibia of University of Las Palmas de Gran Canaria, Spain on Beacon-Related Parameters of Bluetooth Low Energy: Development of a Semi-Automatic System to Study Their Impact on Indoor Positioning Systems.

The paper starts by giving an overview of fingerprinting. It explains how fingerprinting is time-consuming and labour-intensive. Fingerprinting is affected by:

“Reflection, refraction, path loss, large fluctuations, multipath fading, non-line-of-sight (NLOS) conditions”

A problem is that some environment-related factors change over time, such as changes in hardware/furniture, the presence of people and ambient humidity conditions meaning that fingerprinting isn’t a one-off activity.

The researchers conclude that the highest transmission power (+4 dBm) produces the best location accuracy. However, this uses a lot of battery power. Use of the lowest power (−20 dBm) only worsened the accuracy by 11.8%. Similarly, lowering the density of the beacons by around 50%, the error increase was only about 9.2%. Increasing the advertising interval didn’t have a significant impact on the accuracy.

The affect of beacon orientation was assessed and vertical orientation was found to be best. As expected, introducing a slight electrical noise during the positioning phase did not significantly affect accuracy.

Read about Locating with Beacons

Using iBeacons with Intelligent Displaying and Alerting Systems

There’s recent research into using iBeacons with intelligent displaying and alerting systems (SICIAD) typically found in public buildings and offices. The paper An Intelligent Low-Power Displaying System with Integrated Emergency Alerting Capability by Marius Vochin, Alexandru Vulpe, Laurentiu Boicescu, Serban Georgica Obreja and George Suciu of the University of Bucharest shows how beacons can be used to determine indoor position of mobile terminals or signalling points of interest.

An Android app uses the beacons to detect location and sends it to the SICIAD system. The researchers concluded that:

“By using an appropriate number of beacons and optimal positions, a relatively precise indoor localization can be obtained with iBeacon technology”

Beacon Based Navigation for the Visually Impaired

There’s a useful recent research paper by Basem AL-Madani, Farid Orujov, Rytis Maskeliūnas, Robertas Damaševičius,and Algimantas Venčkauskas on Fuzzy Logic Type-2 Based Wireless Indoor Localization System for Navigation of Visually Impaired People in Buildings.

The paper explores indoor location algorithms and implements a fingerprinting system using RSSI that achieves an average error of 0.43m.

The authors’ ‘fuzzy logic type-2’ system allows for complex environments such as buildings with glass/metal corridors. They comment that fingerprinting requires pre-configuration which is one of the main disadvantages of this method.