$30 off During Our Annual Pro Sale. View Details »

Using Bluetooth Low Energy for Location

Mark Wolfe
September 25, 2014

Using Bluetooth Low Energy for Location

Mark Wolfe

September 25, 2014
Tweet

More Decks by Mark Wolfe

Other Decks in Technology

Transcript

  1. Using Bluetooth Low Energy for Location

    View Slide

  2. What is BLE?
    Bluetooth Low Energy
    Originally designed by Nokia as Wibree (2001)
    Bluetooth Smart

    View Slide

  3. Why has BLE been so Successful?
    Rapid adoption by vendors
    Apple
    Samsung
    Simple design
    Cheap in comparison to Wifi, Zigbee, 3g/4g
    Open Specification*

    View Slide

  4. But is it really Bluetooth?
    Current specification is 4.1, comprised of
    Bluetooth classic
    Bluetooth smart (BLE)
    Not at all compatible with each other

    View Slide

  5. Network Topology
    Broadcasts
    Fast and simple to do using advertising packets
    No security
    Connections
    Transmit data in both directions, similar to a socket
    Security*

    View Slide

  6. Security
    BLE has in-band key exchange
    SIG invented their own key exchange protocol
    Has fundamental weaknesses

    View Slide

  7. BLE Location

    View Slide

  8. BLE Location
    Quickly determine location within a home
    Do this accurately otherwise users will be annoyed
    Keep the costs down

    View Slide

  9. 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*

    View Slide

  10. View Slide

  11. The challenges with RSSI
    There 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..

    View Slide

  12. RSSI based Location in
    practice
    1 m ± 1 m
    5 m ± 5m
    10 ± 10m

    View Slide

  13. Multipath and RSSI
    RSSI 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

    View Slide

  14. Positioning techniques

    View Slide

  15. Example Space
    Bedroom
    Bedroom
    Combined Living / Kitchen

    View Slide

  16. Trilateration
    Is 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

    View Slide

  17. 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*

    View Slide

  18. Observations
    RSSI 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

    View Slide

  19. 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)

    View Slide

  20. Future Work
    Move from RSSI to Channel State Information (CSI)
    Fine Grained metric full of frequency domain
    information
    Requires access to the Baseband Controller
    Smarter way points

    View Slide