Professional Documents
Culture Documents
IM2020 21 Tema05 LowPower PDF
IM2020 21 Tema05 LowPower PDF
(passive tag)
Low Power:
RFID/NFC
Identification: RFID Tags
RFID middleware server Antenna
Tag
Reader
Reader Tag
Rtag
Magnetic Field B
Equivalent circuit
Equivalent circuit: Changes in Rtagcan be sensed by the
reader
L1 R1
Reader Tag
Info to reader
Reader
Rtag M
Tag
Rtag
Energy for tag chip
“100100100111001”
Far field: Backscattering
• The RFID reader sends EM waves. The RFID tag
antenna changes its parameters (impedance). For
each impedance value, the RFID tag presents a
certain Radar Cross Section.
Incident EM wave
Backscatter Backscatter
(869 MHz, (869 MHz,
2.4 GHz, 5.7 GHz) 2.4 GHz, 5.7 GHz)
Surface Acoustic
Wave
(2.4 GHz)
TRANSCEIVER
Conventional Tx/Rx
(869 MHz, 2.4 GHz,
5.7 GHz)
E.g. MifareClassic,
and NfcA
Low Power:
BLE
Bluetooth Low Energy (BLE)
• Developed by the Bluetooth Special Interest Group
(SIG) for short-range communication (control and
monitoring applications).
• Bluetooth version 4.0 (2010) has three protocols:
Classic Bluetooth, Bluetooth high speed and
Bluetooth Low Energy (BLE).
• Single-mode devices support only BLE (Bluetooth
Smart), while dual-mode ones can operate in BLE or
Classic Bluetooth protocol (Bluetooth Smart Ready).
• Bluetooth 5 introduces a new transmission mode
BLE PHY
• ISM Band (same as classic Bluetooth)
• 40 channels with Bw = 2 MHz (3 channels for
advertising packets, and 37 for data packets)
• Uses channel hopping to combat interference
• R= 125 Kbps, 1 Mbps (2 Mbps optional in Bluetooth5)
• Application throughput : 270 Kbps-1.4 Mbps
• Ptx <= 10 mW (100 mW in BlueTooth 5)
• Max d < 100 m (theoretical)
• Proximity beacons can function for many months
powered by a 1,000mAh coin cell battery
GATT & GAP
Application
L2CAP
Link Layer
PHY
GAP
• Generic Access Profile (GAP) controls connections and
advertising in Bluetooth.
– GAP defines various roles for devices:
peripheral (small, low power, resource contrained
devices) and central devices.
– The interchanged packets have payload of 31 bytes
and can be Advertising Data and the Scan Response
(an optional secondary payload that central devices
can request, and allows device designers to fit a bit
more information in the advertising payload such a
strings for a device name, etc).
Advertising and scanner advertiser
discovery
02010603030918
Attributes
The Attribute Protocol (ATT) defines
how this data is structured as
attributes
Unique ID of Read/write
this attribute UUID permission
Profiles, services & characteristics
• Profiles is a pre-defined collection of services that
has been compiled by either the Bluetooth SIG or by
the peripheral designers.
• GAP and GATT are Generic profiles, supported in all
BLE devices
• E.g. Heart Rate Profile, combines Heart Rate Service
and Device Information Service
• A device may contain implementations of multiple
profiles.
Examples of BLE profiles
• BLP (Blood Pressure Profile) — for blood pressure
measurement.
• HTP (Health Thermometer Profile) — for medical
temperature measurement devices
• CSCP (Cycling Speed and Cadence Profile)
• HRP (Heart Rate Profile) — for devices which
measure heart rate
• LNP (Location and Navigation Profile)
• RSCP (Running Speed and Cadence Profile)
• ESP (Environmental Sensing Profile)
• Etc…
Profiles, services & characteristics
• Services break data up into logic entities, and contain
specific data called characteristics.
• A service can have one or more characteristics
• Services are characterized by a unique Universally
Unique Identifier (UUID), of 16 bit for officially
adopted BLE Services or 128-bit for custom services
Advertising data types
• 0x06 Incomplete List of 128-bit Services:
UUIDs of the services provided by the
peripheral can be advertised in 128-bit
format.
• 0x02 Incomplete List of 16-bit Service Class
UUID
• 0x08 Shortened Local Name
• 0x09 Complete Local Name Explained when we will
see GATT
Profiles, services & characteristics
• Characteristics encapsulate a single data point.
• Similarly to Services, each characteristic is identified
by a pre-defined 16-bit or 128-bit UUID
• E.g.
– the Heart Rate Measurement characteristic is mandatory
for the Heart Rate Service, and uses a UUID of 0x2A37.
– It starts with a single 8-bit value describing the HRM data
format (whether the data is UINT8 or UINT16, etc.), and
the goes on to include the heart rate measurement data
that matches this config byte.
Commands
GATT Client/ Requests
Server
• The client must discover info
about the server:
– UUIDs for primary services
– Find a service with a given Answers
UUID
– Characteristics for a given
service The server receives
GATT comands &
– Read all descriptors for a
requests and returns
particular characteristic
answers.
•