Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Kuliah
Jaringan Sensor
2
Why ZigBee?
Reliable and self healing
Supports large number of nodes
Easy to deploy
Very long battery life
Secure
Low cost
Can be used globally
3
Review of the popular wireless 802
standards
IEEE 802.20
WMAN
WiMax
Range
IEEE 802.16
WLAN WiFi
ZigBee 802.11
802.15.3
802.15.4 Bluetooth
WPAN 802.15.3a
802.15.1
802.15.3c
Application Framework
ZigBee Alliance
Network/Security
MAC Layer
IEEE 802.15.4 Defined
PHY Layer
IEEE 802.15.4 Frequency Bands and
Data Rate
patient ZigBee
monitoring Wireless Control that mouse
fitness Simply Works keyboard
monitoring PERSONAL PC & joystick
HEALTH CARE PERIPHERALS
9
Low Data Rate Wireless Evolution
First Stage Second Stage Third Stage
……… 2002 2003 2004 2005 2006 2007 2008 2009+
$1,000 - $100 Unit Cost $100 - $10 Unit Cost $10 - $1 Unit Cost
11
Why IEEE 802.15.4?
Ultra Low complexity
Ultra Low cost
Ultra Low power consumption
Data reliability
Low data rate
12
802.15.4 General
Characteristics
Data rates of 20 kbps and up to 250 kbps
Star or Peer-to-Peer network topologies
Support for Low Latency Devices
CDMA-CA Channel Access
Handshaking
Low Power Usage consumption
3 Frequencies bands with 27 channels
Extremely low duty-cycle (<0.1%)
13
802.15.4 Frequency Bands
14
Channel Division
2.4 GHz
PHY Channels 11-26 5 MHz
15
Modulation & Spreading
Direct Sequence Spread Spectrum (DSSS)
Chipping Sequences
2.4 GHz
32-chip PN codes
Chip modulation is MSK at 2.0 Mchips/s
868/915 MHz
15-chip m-sequence
Chip modulation is BPSK at 0.3 Mchips/s
16
Media Access Control
Code Division Media Access w/ Collision Avoidance
(CDMA-CA)
Bi-Directional Communications (Duplex)
Dynamic Device Addressing
Fully Handshaked Protocol
Optional Guaranteed Time Slots
2.4 GHz - 16-ary orthogonal
868/915 MHz - differential encoding
17
Packet Structure
Packet Fields
Preamble (32 bits) - synchronization
Start of Packet Delimiter (8 bits) - specifies one of 3
packet types
PHY Header (8 bits) - Sync Burst flag, PSDU length
PSDU (0 to 127 bytes) - Data
18
Transceiver Characteristics
Transmit Power
Capable of at least 1 mW
Power reductions capability required if > 16 dBm
(reduce to < 4dBm in a single step)
Receiver Sensitivity
-85 dBm (1 % Packet Error Rate)
RSSI measurements
Packet Strength indication
Clear channel assessment
Dynamic channel selection
19
PHY Layer Primitives
PHY Data Service
PD-DATA - exchange data packets between MAC and
PHY
PHY Management Service
PLME-CCA - clear channel assessment
PLME-GET - retrieve PHY parameters
PLME-RX-ENABLE - enable/disable receiver
PLME-SET - set PHY parameters
20
Basic Network
Characteristics
21
Topology Models (cont)
Star Networks (Personal Area Network)
Home automation
PC Peripherals
Personal Health Care
Peer-to-Peer (ad hoc, self organizing & healing)
Industrial control and monitoring
Wireless Sensor Networks
Intelligent Agriculture
22
Topology Models
Mesh
Star
PAN coordinator
Cluster Tree Full Function Device
Reduced Function Device
23
Device Classes
Full function device (FFD)
Any topology
Network coordinator capable
Talks to any other device
Reduced function device (RFD)
Limited to star topology
Cannot become a network coordinator
Talks only to a network coordinator
Very simple implementation
24
Comparison of
complimentary protocols
Feature(s) IEEE 802.11b Bluetooth ZigBee
Power Profile Hours Days Years
Complexity Very Complex Complex Simple
Nodes/Master 32 7 64000
Enumeration upto 10
Latency Enumeration upto 3 seconds Enumeration 30ms
seconds
Range 100 m 10m 70m-300m
Extendability Roaming possible No YES
Data Rate 11Mbps 1Mbps 250Kbps
Authentication Service Set 128 bit AES and Application
Security 64 bit, 128 bit
ID (SSID) Layer user defined
25
802.15.4/ZigBee vs Bluetooth
Bluetooth 30 days
(park mode @ 1.28s)
26
Device Addressing
All devices have IEEE addresses
Short addresses can be allocated
Addressing modes:
Network + device identifier (star)
Source/destination identifier (peer-peer)
Source/destination cluster tree + device identifier (cluster
tree)
27
General Data Packet
Structure
Preamble sequence
CRC-16
Data sequence number
28
Optional Frame Structure
GTS 3 GTS 2 GTS 1
15ms * 2n
where 0 n 14
Network Transmitted by network coordinator. Contains network information,
beacon frame structure and notification of pending node messages.
Beacon
extension Space reserved for beacon growth due to pending node messages
period
Contention
Access by any node using CSMA-CA
period
Guaranteed
Reserved for nodes requiring guaranteed bandwidth [n = 0].
Time Slot
29
Traffic Types
Periodic data
Application defined rate (e.g. sensors)
Intermittent data
Application/external stimulus defined rate (e.g.
light switch)
Repetitive low latency data
Allocation of time slots (e.g. mouse)
30
ZigBee Alliance
Worlds Most Common
Frequency Bands
Market Requirements-I
Global licence free ISM band operation
Unrestricted geographic use
RF penetration through walls & ceilings
Automatic/semi-automatic installation
Ability to add or remove devices
Possible voice support
Market Requirements-II
10k-115.2kbps data throughput
10-75m coverage range (home/garden)
Support for 32-255 nodes
Support for 4 critical devices
4-100 co-located networks
0.5-2 year battery life
Up to 5m/sec. (18kmph) permitted mobility
Module cost: $1.5-$2.5 in 2004/5!
Home/Light Commercial
spaces
Industrial Environment
Warehouses, Fleet management,
Factory, Supermarkets, Office
complexes
Gas/Water/Electric meter, HVAC
Smoke, CO, H2O detector
Refrigeration case or appliance
Equipment management services
& Preventative maintenance
Security services
Lighting control
Assembly line and work flow,
Inventory
Materials processing systems
(heat, gas flow, cooling,
chemical)
ZigBee Market Shares
ZigBee General
Characteristics
Data rates of 20 kbps and up to 250 kbps
Star or Peer-to-Peer network topologies
Support for Low Latency Devices
CSMA-CA Channel Access
Handshaking
Low Power Usage consumption
3 Frequencies bands with 27 channels
Extremely low duty-cycle (<0.1%)
Low Power Statistics
Today’s definition: Low power: Battery operation for
several years
Some figures
1 year is 365*24 hours = 8760 hours
AAA battery capacity is about 1300mAh
AA battery capacity is about 3100mAh
Coin cell lithium CR2032 capacity is about 230mAh
Note that peak current,(internal resistance) and leakage
are also issues, but not today
An average consumption of 10uA will last
AAA:15 years, AA: 35 years and CR2032: 2.6 years
Comparison Chart
Bluetooth ZigBee Comparison
fo PAN networks
ZigBee Protocol was developed to serve very different applications than
Bluetooth and leads to tremendous optimizations in power consumption.
Some of the key protocol differentiators are:
ZigBee:
Very low duty cycle, very long primary battery life,
Static and dynamic star and mesh networks, >65,000 nodes, with low latency
available,
Ability to remain quiescent for long periods without communications,
Direct Sequence Spread Spectrum allows devices to sleep without the
requirement for close synchronization.
Bluetooth:
Moderate duty cycle, secondary battery lasts same as master,
Very high QoS and very low, guaranteed latency,
Quasi-static star network up to seven clients with ability to participate in more
than one network,
Frequency Hopping Spread Spectrum is extremely difficult to create extended
networks without large synchronization cost.
Basic Network
Charachteristics
Communications flow
Virtual links
ZigBee Layers
Typical Implementation’s
ZigBee Products
What are the RAM/ROM
requirements for the FFD and RFD
MAC ?
75
References
Naveen Sastry and David Wagner, “Security
Considerations for IEEE 802.15.4 Networks”. ACM
Workshop on Wireless Security WiSe 2004, October
2004