Bluetooth low energy 1



Similar documents
PM0237 Programming manual

ZIGBEE ECGR-6185 Advanced Embedded Systems. Charlotte. University of North Carolina-Charlotte. Chaitanya Misal Vamsee Krishna

Bluetooth 4.0: Low Energy

SmartDiagnostics Application Note Wireless Interference

ZigBee Technology Overview

Key Priorities for Sub-GHz Wireless Deployment

Use case possibilities with Bluetooth low energy in IoT applications

Bluetooth Smart, But Not Smart Enough

Electromagnetic Spectrum (3kHz 300GHz)

Demystifying Wireless for Real-World Measurement Applications

Comparison of 2.4-GHz proprietary RF and Bluetooth 4.0 for HIS applications Page 1 of 6

Logitech Advanced 2.4 GHz Technology With Unifying Technology

BLUETOOTH SMART CABLE REPLACEMENT

Logitech Advanced 2.4 GHz Technology

Wireless LAN advantages. Wireless LAN. Wireless LAN disadvantages. Wireless LAN disadvantages WLAN:

Bluetooth Low Energy

Bluetooth Health Device Profile and the IEEE Medical Device Frame Work

AN588 ENERGY HARVESTING REFERENCE DESIGN USER S GUIDE. 1. Kit Contents. 2. Introduction. Figure 1. Energy Harvesting Sensor Node

Wireless Personal Area Networks (WPANs)

Wireless Technologies for Automation

Maximizing Range and Battery Life in Low-Cost Wireless Networks

APx4 Wireless System-on-Module 5/8/2013 1

WASP User Manual. Revision: 1.6. (c) 2012 North Pole Engineering, Inc.

LoRaWAN. What is it? A technical overview of LoRa and LoRaWAN. Technical Marketing Workgroup 1.0

nblue TM BR-LE4.0-D2A (CC2564)

The topic of this presentation is comparing cellular with other communication technologies. The focus is on Smart Grid applications.

Crossroads Copenhagen

The Internet of Things: Opportunities & Challenges

STM32L. Ultra-low-power Cortex -M3 devices

Introduction to Silicon Labs. November 2015

ENABLING WIRELESS DATA COMMUNICATION IN CONSTRUCTION MANAGEMENT SYSTEM

IEEE /ZigBee USB Dongle

UG103.14: Application Development Fundamentals: Bluetooth Smart Technology

BLUETOOTH SERIAL PORT PROFILE. iwrap APPLICATION NOTE

LoRa FAQs. 1 of 4 Semtech. Semtech Corporation LoRa FAQ

An Overview of ZigBee Networks

PAN1740 Design Guide

Microchip Technology. February 2008 Valerio Moretto Slide 1

Zigbee-Based Wireless Distance Measuring Sensor System

BLE113 DEVELOPMENT KIT

Wireless LANs vs. Wireless WANs

Security and Privacy Issues of Wireless Technologies

Introduction to Z-Wave. An Introductory Guide to Z-Wave Technology

Chapter 7 Low-Speed Wireless Local Area Networks

Testing Bluetooth Smart Products for the Internet of Things

Bluetooth Solutions for Apple ios Devices 2/14/2013 1

Bluetooth 4.0 Solutions for Apple ios Devices. Bluegiga Technologies

Attenuation (amplitude of the wave loses strength thereby the signal power) Refraction Reflection Shadowing Scattering Diffraction

Wireless Troubleshooting

INTRODUCTION TO WIRELESS SENSOR NETWORKS. Marco Zennaro, ICTP Trieste-Italy

EPL 657 Wireless Networks

Intelligent Street lighting management using ZigBee. Martin SCHULTE-HOBEIN Field Application Engineer, EMEA Digi International

Wi-Fi Why Now? Exploring New Wireless Technologies for Industrial Applications

Thingsquare Technology

54M/150M/300Mbps USB WIRELESS ADAPTER. User s Manual Version 2.0

My2B. MyALARM2 GSM/GPRS Datalogger with Alarm Management

Technical note: RF remote control as a replacement for IR remote control

Reti wireless in banda ISM e complementarieta con le reti cellulari

WPAN. Contents. S Wireless Personal, Local, Metropolitan, and Wide Area Networks 1

Jabra CRUISER2. User manual. MUTE VOL - VOL + jabra

Discover the home automation difference

Application Note. Low Bandwidth Media Configuration V7.0

Wireless Technologies for the 450 MHz band

54M/150M/300Mbps USB WIRELESS ADAPTER. User s Manual Version 1.8

WUA Mbps Wireless USB Network Adapter

Zlinx Wireless I/O. Peer-to-Peer and Modbus I/O B&B ELECTRONICS PRODUCT INFORMATION

Wireless Networks. Welcome to Wireless

ENHWI-N n Wireless Router

Sentrollers and The Internet of Things

BigPond Wi-Fi 4G Advanced II AirCard 790S User Manual

Connecting IPv6 capable Bluetooth Low Energy sensors with the Internet of Things

XBEE PROTOCOL COMPARISON

DT3: RF On/Off Remote Control Technology. Rodney Singleton Joe Larsen Luis Garcia Rafael Ocampo Mike Moulton Eric Hatch

ZME_WALLC-S Z-Wave Secure Wall Controller

Customer Specific Wireless Network Solutions Based on Standard IEEE

Short-range Low Power Wireless Devices and Internet of Things (IoT)

Security+ Guide to Network Security Fundamentals, Third Edition. Chapter 6. Wireless Network Security

Wireless Technologies for Industrial Applications

Current and Future Trends in Medical Electronics

POWER. Your Partners in Availability POWER

Introducing the Adafruit Bluefruit LE Sniffer

Wireless Medical Telemetry Laboratory

A6210 WiFi USB Adapter ac USB 3.0 Dual Band User Manual

Key. ➍ Micro USB Port ➎ Operating System Toggle Keys ➏ Foam Screen Protectors. ➊ On/Off switch ➋ Bluetooth Connect Button (flashes when searching)

The influence of Wi-Fi on the operation of Bluetooth based wireless sensor networks in the Internet of Things

Zigbee. Setting Standards for Energy-Efficient Control Networks. Setting Standards for Energy-Efficient Control Networks

Wireless Ethernet LAN (WLAN) General a/802.11b/802.11g FAQ

Reducing Configuration Complexity with Next Gen IoT Networks

SW10. User Guide. Smart Watch. Please read the manual before use.

Internet of Things. Opportunities for device differentiation

EXPANDING THE ROLE OF THE MOBILE NETWORK OPERATOR IN M2M

Wireless N 300 Mini USB Adapter. Model # AWLL6086 User s Manual. Rev. 1.0

Medical Device Connectivity

Implementation of Wireless Gateway for Smart Home

SmartMesh Wireless Sensor Networking for Industrial IoT

200M PLC User Manual

Please refer to the chapters below for detailed information about all aspects of the products usage.

Transcription:

1 Bluetooth low energy

It is NEW Technology short range world wide robust low cost low power But it fits into the wider Bluetooth wireless ecosystem. 2

Technology Bluetooth low energy wireless technology is an open low energy, short range radio technology Key Benefits low power consumption small size connectivity to mobile phones low cost robust, efficient multi-vendor interoperability global availability, license free 3

Bluetooth low energy It s good at small, discrete data transfers 98.3 98.3 o 11:24 o F am am Gate 6a 6a BOARDING PLAY >> >> 11:24 am am 36.3 36.3 mph mph 32.6 32.6 psi psi 2.7 2.7 kwh kwh It is a connectionless, Always OFF technology. 4

Key Technology Differentiators Simple star topology reduces implementation complexity significantly Very small silicon footprint and thereby very low cost Very robust through frequency hopping compared to other wireless technologies Very secure through optional 128 bit AES encryption Very low power designed to be asleep No competitors (Bluetooth is already in phones) 5

It s about the Internet of Things Things have data & Web Services want this data Bluetooth low energy provides the technology to connect these two. 6

7 low energy is about generic gateways Devices that support Bluetooth low energy Gateway functionality provide a transparent pipe from a device to an IP address. Middleware at the IP address can access the device directly as if it were a collector talking to it locally. The Gateway device plays no part other than in acting as a pipe. 7

The Basics Ultra Low Power Consumption ~100 µah per day means 4 year battery life FROM A COIN CELL and still sending useful data operational life is limited by the battery technology No need for a charger reduces costs of devices reduces packaging makes new devices possible 8

The Basics It can enable proximity detection I m in the car I m in the office I m in the meeting room I m in the movie theater It can enable presence detection Turn the lights on when I walk around the house Automatically locks the door when I leave home Turns the alarm off if I m already awake 9

The Basics It can send data from anything to the Internet I ve walked 4,000 steps today The rice has finished cooking Electricity costs $1 per kwh now My father is calling The toilet has been flushed 6 times My weight was 98 lb this morning 10

The Basics It can control everything unlock doors control the heating / cooling / ventilation system turn the refrigerator off when electricity is expensive turn traffic lights to green when you approach change the TV channel operate the burglar alarm 11

The Basics It connects everything to the Internet check if you switched the lights off? finds out if your factory is working efficiently? records my weight and activity level over the last few weeks. unlocks the gate when the pizza dog arrives. locks it again afterwards. 12

13 Technical Overview

High Level View Bluetooth low energy is a NEW technology Designed from a clean sheet of paper with some constraints and goals Constraints It must reuse as much of Bluetooth RF as possible It must reuse as much of Bluetooth L2CAP as possible It must reuse as much of Bluetooth HCI as possible Goals Lowest possible power operation Lowest possible latency Widest possible range of interoperable devices and applications 14

Effects of Design Constraints Reusing RF means it only needs approximately 60% of RF silicon area compared to Bluetooth it can use the same antenna as Bluetooth (and possibly Wi-Fi) it can time division multiplex with Bluetooth Reusing HCI means same HCI physical interfaces - UART / USB / SDIO same HCI packet formats same HCI drivers in OS Reusing L2CAP means segregation of stacks happens at a known multiplexing point 15

Effects of Design Goals Optimizing for lowest possible power consumption means turning radio off for as much of the time as possible reducing the complexity of a single mode device to almost nothing designing a connectionless data model Complexity is important reduced complexity & state means reduced memory requirements reduced memory requirements means reduced leakage current reduced leakage current & radio off means battery lifetimes of years And it reduces the cost 80% to 60% of the cost of traditional Bluetooth chips 16

17 Dual Mode Chipsets

How is low power achieved? By keeping the radio off Lower standby time (i.e. lower duty cycle) Faster connection (i.e. able to send data quicker) Lower peak power (i.e. able to be used with coin cell battery) Lower standby time Bluetooth low energy technology uses only 3 advertising channels Bluetooth technology uses 16 to 32 channels RF is on for 1.2 ms instead of 22.5 ms Idle current is dominated by deep sleep current Sensor type of applications send data less often (0.5s to 4s intervals) RF current is negligible due to low duty cycles Protocols optimized for this communication model 18

Faster Connections In Bluetooth low energy technology a device that is advertising is able to connect to a scanning device The devices can connect and send and acknowledge data in 3 ms In Bluetooth technology a link level connection can take up to 100 ms In Bluetooth technology an L2CAP connection can take significantly longer Lower Peak Power How is low power achieved? Bluetooth low energy technology uses relaxed RF parameters GFSK modulation index increased Allowing better range / robustness Packet length restricted Together with GFSK gives lowest complexity transmitter / receiver This results in a lower peak power 19

Data Rate & Throughput Bluetooth low energy is *NOT ABOUT* data rate / bandwidth It concentrates on lowest possible power consumption It can do 260 kbps maximum data rate BUT, it burns power doing this Bluetooth BR/EDR is more efficient at these data rates Bluetooth low energy is about transferring state small, infrequent bits of data lowest possible power consumption lowest latency 20

Physical layer - MAC and PHY Splits the 2.4 GHz ISM band into 40 channels 3 Advertising Channels 37 Data Channels f n = 2402 + 2n MHz GFSK Modulation Modulation index 0.5, giving better range than classic Bluetooth allows use of fewer advertising channels reduces power consumption increases connection speeds Can reuse existing RF parts in a Bluetooth chip Minimal additional cost in dual-mode chips 21

Master / Slave Topology Highly Asymmetric Master is typically the Central device Phone, Computer Slave is typically the peripheral device Heart Rate Belt, Thermostat Slave is very *VERY* power sensitive must be optimized for minimal radio on time Master is time sensitive must be optimized for latency requirements 22

Separate Advertising & Data Channels Data Channels Used to transfer reliable data robustly adaptive frequency hopping over 37 channels fast acknowledgement scheme if data doesn t get through, resent on next frequency Advertising Channels 2402, 2426, 2480 MHz. Avoids interference with Wi-Fi traffic Used by peripherals to advertise presence when first powered on when they have data to send - central devices connect and get data just to broadcast data to anybody scanning 23

Security Uses AES-128 with CCM encryption engine Uses Key Distribution to share various keys Identity Resolving Key is used for privacy Signing Resolving Key provides fast authentication without encryption Long Term Key is used for encryption Pairing encrypts the link using a Temporary Key derived from passkey, NFC pairing, public key exchange (v1.1) then distribute keys Asymmetric key model slave gives keys to master with a diversifier slave can then recover keys from the diversifier 24

Encryption RFC 3610 based AES-128 encryption Counter Mode Cipher Block Chaining Message Authentication Code Counter mode CBC-MAC = CCM Each new data packet has a Message Integrity Check 39 bit counter, 1 direction bit 64 bit Initialization Vector 32 bits contributed by each device MIC is 32 bits in length MIC is separate from the CRC CRC can allow immediate acknowledgment packet is only sent to host after MIC checked lowest peak power 25

Designed to survive Robustness is Vital It must be robust against 2.4 GHz ISM band interference Wi-Fi, 802.15.4, X-10, Proprietary Coexistence is Vital It cannot interfere with existing Wi-Fi infrastructure / ad-hoc networks Adaptive Frequency Hopping is needed FCC recognizes this as the best way to avoid interference Discovering devices / connecting devices should not break Wi-Fi It must not affect Bluetooth headsets 26

Managing Complexity 27

A new approach to profiles There are lots of common data formats on / off temperature counts rates We need to characterize data in reusable structures means changing the way we define interoperability move to an object oriented, server based structure And we call them Use Cases 28

Object Oriented Model Use Cases Use Cases replace Profiles Use Cases define: Characteristics - state Control Points - writable or notifiable Behavior Relationships to other classes (Extends, Includes) Characteristics define: Data format for a given unit / object Can combine characteristics Latitude + Longitude + Elevation = Position Weight + Timestamp = Weight Health Record Characteristics do not contain behavior - otherwise they are difficult to reuse 29

Server Behavior We only define server behavior it s asymmetric Server is a device that has characteristics Things you can read (sensor) or write (actuator) Client behavior is undefined Server is rigorously defined State Machines on server are fully robust each state with each input has a defined behavior Model View Controller Pattern Model = Server Behavior View = Characteristics Controller = Writable Characteristics 30

Generic Attribute Profile (GATT) A device may support many services It has a way to group characteristics for a given service together The «Service» attribute Each service group is a separate instance of a class on a device e.g. multiple temperature sensors Services are identified by a UUID 16 bit Bluetooth UUID (using the same SDP base Bluetooth UUID) 128 bit UUID (allocated by anyone, including you) 31

Presentation Information Services can include Presentation information Characteristic can have «Characteristic Presentation Format» Data Type (uint16, utf8 string, float64, etc...) Exponential (fixed point e.g. value of 649 * 10-1 = 64.9) Unit (Temperature, Mass, Length, Hertz, etc...) Allows two usage models: Application Search based on Service UUID Plug and Play enumeration possible Presentation of information without knowledge of Service UUID Generic device displays Allows push of data to web-server to understand 32

Attributes All data is exposed using Attributes An attribute is a labeled piece of discrete data Handle : Type : Value Handle 16 bit handle - unique on the server Type UUID - the type of this attribute (e.g. «Service», «Temperature») Value the data (e.g. «Thermometer Class», 649) 0 to 512 octets in length (< 20 octets efficient) 33

How much does it cost? Dual Mode Bluetooth + low energy radio chips = minimal additional cost Currently in volume these are approaching $1 Single Mode low energy only radio chips = 80% size of Bluetooth controllers when volumes increase, costs will reduce below $1 quickly Bluetooth in 2001 was $10 and 9 years later it is approaching $1 low energy in 2013 will be less than $1 and 9 years later... 34

35 Putting it to use

New tools make it easy to connect Bluetooth low energy Search Choose Device Scroll to select device Acme Pedometer Acme Pedometer? Acme Pedometer Connect Exit 36

devices ship with a web address www.patientslikeme.com 37

using a generic app on your phone Pedometer 38

which connects them to the web app Internet 39

40 then automatically sends your data

Or, tell the phone what they can do Pedometer Acme Model XYZ Steps per Minute Total Steps Calories Used Find me an APP 41

and the phone gets a tailored set of Apps Easy to buy = More revenue 42

everyday objects can become sensors My My pulse is is My My blood glucose is is My My temperature is is and monitor things unobtrusively 43

44 Conclusion

Summary Feature Benefit Ultra Low Power Devices can run on coin cells for years 100 metre Range Covers the whole house Adaptive Frequency Hopping Works alongside Wi-Fi - and will keep on working as it s inherently robust 128 bit AES CCM Encryption Secure against attack and hacking Object Oriented Paradigm Designed for web connected devices, and supports this decade s paradigm of Apps Store Ecosystems Easy to Use Includes a Usability Tool Kit to make the user experience better License Free No fees to use the technology New Qualification Scheme Most products will be FREE to qualify 45

How we achieved that Started with a blank sheet of paper Optimised it end-to-end (Bluetooth is the only wireless standard that controls the endto-end standard.) Learnt from our 11 years of experience, and everything else in the market Drew on the knowledge of our 12,500 members (cf. Continua 230, Wi-Fi 347, ZigBee 330). We have 40 experts for every expert they have. Designed it for end-to-end applications 46

Conclusions Do you want a robust, long range, secure, license free technology? Do you want your devices to work for years on a single cheap battery? Do you want the ability to write innovative apps quickly? Do you want wireless internet access for your devices? Do you want fast time to market, enabled by multiple chip and module suppliers, supporting a wide range of features? Bluetooth low energy connecting everything 47

Questions? Robin Heydon Global Standards CSR plc robin.heydon@csr.com Mobile: +44 7795 035 486 Nick Hunn Technology Optimist mob: +44 7768 890 148 email: nick@wifore.com web: www.wifore.com www.csr.com 48