using bluetooth low energy for location · 2019. 9. 23. · originally designed by nokia as wibree...

20
Using Bluetooth Low Energy for Location

Upload: others

Post on 05-Mar-2021

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Using Bluetooth Low Energy for Location · 2019. 9. 23. · Originally designed by Nokia as Wibree (2001) Bluetooth Smart. Why has BLE been so Successful? Rapid adoption by vendors

Using Bluetooth Low Energy for Location

Page 2: Using Bluetooth Low Energy for Location · 2019. 9. 23. · Originally designed by Nokia as Wibree (2001) Bluetooth Smart. Why has BLE been so Successful? Rapid adoption by vendors

What is BLE?

Bluetooth Low Energy

Originally designed by Nokia as Wibree (2001)

Bluetooth Smart

Page 3: Using Bluetooth Low Energy for Location · 2019. 9. 23. · Originally designed by Nokia as Wibree (2001) Bluetooth Smart. Why has BLE been so Successful? Rapid adoption by vendors

Why has BLE been so Successful?

Rapid adoption by vendors

Apple

Samsung

Simple design

Cheap in comparison to Wifi, Zigbee, 3g/4g

Open Specification*

Page 4: Using Bluetooth Low Energy for Location · 2019. 9. 23. · Originally designed by Nokia as Wibree (2001) Bluetooth Smart. Why has BLE been so Successful? Rapid adoption by vendors

But is it really Bluetooth?

Current specification is 4.1, comprised of

Bluetooth classic

Bluetooth smart (BLE)

Not at all compatible with each other

Page 5: Using Bluetooth Low Energy for Location · 2019. 9. 23. · Originally designed by Nokia as Wibree (2001) Bluetooth Smart. Why has BLE been so Successful? Rapid adoption by vendors

Network Topology

Broadcasts

Fast and simple to do using advertising packets

No security

Connections

Transmit data in both directions, similar to a socket

Security*

Page 6: Using Bluetooth Low Energy for Location · 2019. 9. 23. · Originally designed by Nokia as Wibree (2001) Bluetooth Smart. Why has BLE been so Successful? Rapid adoption by vendors

SecurityBLE has in-band key exchange

SIG invented their own key exchange protocol

Has fundamental weaknesses

Page 7: Using Bluetooth Low Energy for Location · 2019. 9. 23. · Originally designed by Nokia as Wibree (2001) Bluetooth Smart. Why has BLE been so Successful? Rapid adoption by vendors

BLE Location

Page 8: Using Bluetooth Low Energy for Location · 2019. 9. 23. · Originally designed by Nokia as Wibree (2001) Bluetooth Smart. Why has BLE been so Successful? Rapid adoption by vendors

BLE LocationQuickly determine location within a home

Do this accurately otherwise users will be annoyed

Keep the costs down

Page 9: Using Bluetooth Low Energy for Location · 2019. 9. 23. · Originally designed by Nokia as Wibree (2001) Bluetooth Smart. Why has BLE been so Successful? Rapid adoption by vendors

How to locate BLE devices?Standard method is to use Received Signal Strength Indicator (RSSI)

A measurement of power present in a received signal

Calculated for each frame

Can be used to estimate distance once calibrated*

Page 10: Using Bluetooth Low Energy for Location · 2019. 9. 23. · Originally designed by Nokia as Wibree (2001) Bluetooth Smart. Why has BLE been so Successful? Rapid adoption by vendors
Page 11: Using Bluetooth Low Energy for Location · 2019. 9. 23. · Originally designed by Nokia as Wibree (2001) Bluetooth Smart. Why has BLE been so Successful? Rapid adoption by vendors

The challenges with RSSIThere is no standardised relationship of any particular physical parameter to the RSSI reading.

Vendors and chipset makers provide their own accuracy, granularity, and range for the actual power

Requires testing each receiver to estimate distance..

Page 12: Using Bluetooth Low Energy for Location · 2019. 9. 23. · Originally designed by Nokia as Wibree (2001) Bluetooth Smart. Why has BLE been so Successful? Rapid adoption by vendors

RSSI based Location in practice

1 m ± 1 m

5 m ± 5m

10 ± 10m

Page 13: Using Bluetooth Low Energy for Location · 2019. 9. 23. · Originally designed by Nokia as Wibree (2001) Bluetooth Smart. Why has BLE been so Successful? Rapid adoption by vendors

Multipath and RSSIRSSI is easily varied by multipath

Phenomenon which results in radio signals reaching the receiving antenna by two or more paths

Varies building to building

Can be mitigated by antenna diversity

Page 14: Using Bluetooth Low Energy for Location · 2019. 9. 23. · Originally designed by Nokia as Wibree (2001) Bluetooth Smart. Why has BLE been so Successful? Rapid adoption by vendors

Positioning techniques

Page 15: Using Bluetooth Low Energy for Location · 2019. 9. 23. · Originally designed by Nokia as Wibree (2001) Bluetooth Smart. Why has BLE been so Successful? Rapid adoption by vendors

Example Space

Bedroom

Bedroom

Combined Living / Kitchen

Page 16: Using Bluetooth Low Energy for Location · 2019. 9. 23. · Originally designed by Nokia as Wibree (2001) Bluetooth Smart. Why has BLE been so Successful? Rapid adoption by vendors

TrilaterationIs the process of determining absolute or relative locations of points by measurement of distances

Used in global positioning systems

Enables location of BLE

Uses 3 or more fixed way points or beacons

Gather RSSI from these fixed way points to calculate location

Requires lots of way points to work effectively

Page 17: Using Bluetooth Low Energy for Location · 2019. 9. 23. · Originally designed by Nokia as Wibree (2001) Bluetooth Smart. Why has BLE been so Successful? Rapid adoption by vendors

Fingerprinting

Uses fixed way points

Preferably one per room

Walls or divisions help

Apply a gradient filter for smoothing the RSSI

Enhanced by calibration of a space*

Page 18: Using Bluetooth Low Energy for Location · 2019. 9. 23. · Originally designed by Nokia as Wibree (2001) Bluetooth Smart. Why has BLE been so Successful? Rapid adoption by vendors

ObservationsRSSI based positioning is hard

Trilateration didn’t work for us

Way to much variance in values

Smoothing didn’t help

Fingerprinting working for room level location*

Requires lots of data and Maths to improve accuracy

Page 19: Using Bluetooth Low Energy for Location · 2019. 9. 23. · Originally designed by Nokia as Wibree (2001) Bluetooth Smart. Why has BLE been so Successful? Rapid adoption by vendors

Hardware

Important to have a stable and known group of devices reporting RSSI

TI CC2540 / CC2541 (8051)

http://www.ti.com/sensortag

TI Wilink8 which combines wifi/bluetooth/ble

Nordic Semiconductors nRF51822 (ARM)

Page 20: Using Bluetooth Low Energy for Location · 2019. 9. 23. · Originally designed by Nokia as Wibree (2001) Bluetooth Smart. Why has BLE been so Successful? Rapid adoption by vendors

Future WorkMove from RSSI to Channel State Information (CSI)

Fine Grained metric full of frequency domain information

Requires access to the Baseband Controller

Smarter way points