Wireless networks - Lecture 41: IEEE 802.15.4/ZigBee. The main topics covered in this chapter include: overview of ZigBee; IEEE 802.15.4; channel access mechanisms; data transfer model; superframe structure; ZigBee/IEEE 802.15.4 market feature; ZigBee target markets; ZigBee/802.15.4 architecture;...
Trang 1Wireless Networks
Lecture 41 IEEE 802.15.4/ZigBee
Dr Ghalib A Shah
Trang 3• Handing over control of piconet
• Creating child piconet
• Ending a Piconent
• Association/Disassociation
► Medium Access (Superframe)
Trang 4What is ZigBee Alliance?
An organization with a mission to define
reliable, cost effective, low-power, wirelessly networked, monitoring and control products based on an open global standard
The alliance provides interoperability,
certification testing, and branding.
Trang 5IEEE 802.15.4: What is ZigBee?
► Reliability through meshed connectivity
► Very long battery life
► 20-250Kb/sec (depending on band)
► AES-128 encryption available
► Allows ad hoc networks
► Ease of installation and configuration
Trang 6ZigBee in the wireless world
Chart Copyright ZigBee Alliance 2004
Trang 7ZigBee/IEEE 802.15.4 Market Feature
Low power consumption
Low cost
Low offered message throughput
Supports large network orders (<= 65k nodes)
Low to no QoS guarantees
Flexible protocol design suitable for many
applications
Trang 8Security HVAC Lighting Control Access Control Lawn & Garden Irrigation
Asset Mgt Process Control Environmental Energy Mgt
CONSUMER ELECTRONICS
PC &
PERIPHERALS
INDUSTRIAL CONTROL
PERSONAL HEALTH CARE
BUILDING AUTOMATION
Chart Copyright ZigBee Alliance 2004
Trang 9ZigBee/802.15.4 Architecture
Trang 10ZigBee/802.15.4 Technology: General
Characteristics
Data rates of 250 kbps , 20 kbps and 40kpbs.
Star or Peer-to-Peer operation.
Support for low latency devices.
CSMA-CA channel access.
Dynamic device addressing.
16 channels in the 2.4GHz ISM band, 10
channels in the 915MHz ISM band and one channel in the European 868MHz band.
Trang 11IEEE 802.15.4 Basics
802.15.4 is a simple packet data protocol for
lightweight wireless networks
► Channel Access is via Carrier Sense Multiple
Access with collision avoidance and optional time slotting
Trang 12IEEE 802.15.4 Device Types
There are two different device types :
► A full function device (FFD)
► A reduced function device (RFD)
The FFD can operate in three modes serving
Trang 13FFD vs RFD
Full function device (FFD)
► Any topology
► Network coordinator capable
► Talks to any other device
Reduced function device (RFD)
Trang 14Star Topology
Full Function Device (FFD) Reduced Function Device (RFD) Communications Flow
Trang 15Peer-Peer Topology
Trang 16Combined Topology
Full Function Device (FFD)
Reduced Function Device (RFD) Communications Flow
Trang 17Extending ZigBee Networks
► A ZigBee router with a wire interface
J oins two or more radio disjoint PANs
Provides a “wormhole” within a single
ZED PAN B ZED
Trang 18Device Addressing
Each independent PAN will select a unique
PAN identifier
Addressing modes:
► star: Network (64 bits) + device identifier (16 bits)
► peer-to-peer: Source/destination identifier (64 bits)
Trang 19IEEE 802.15.4 PHY Overview
PHY functionalities:
► Activation and deactivation of the radio transceiver
► Energy detection within the current channel
► Link quality indication for received packets
► Clear channel assessment for CSMA-CA
► Channel frequency selection
► Data transmission and reception
Trang 20IEEE 802.15.4 PHY Overview
Trang 21Frequency Bands and Data Rates
The standard specifies two PHYs :
► 868 MHz/915 MHz direct sequence spread spectrum
(DSSS) PHY (11 channels)
• 1 channel (20Kb/s) in European 868MHz band
• 10 channels (40Kb/s) in 915 (902-928)MHz ISM band
► 2450 MHz direct sequence spread spectrum (DSSS)
PHY (16 channels)
• 16 channels (250Kb/s) in 2.4GHz band
Trang 22General Radio Specifications
Transmit Power
► Capable of at least –3dBm
Receiver Sensitivity
► -85 dBm (2.4GHz) / -91dBm (868/915MHz)
Link quality indication
► The measurement may be implemented using
• Signal to noise ratio estimation
• Receiver energy detection
Trang 23Channel Access Mechanism
Two type channel access mechanism, based
on the network configuration:
► In non-beacon-enabled networks unslotted
CSMA/CA channel access mechanism
► In beacon-enabled networks slotted CSMA/CA
channel access mechanism
• The super frame structure will be used.
Trang 24CSMA/CA Algorithm
Each device shall maintain three variables for
each transmission attempt
► NB: number of slots the CSMA/CA algorithm is
required to backoff while attempting the current transmission
► BE: the backoff exponent which is related to how
many backoff periods a device shall wait before attempting to assess a channel
► CW: (a special design)
Trang 25Data Transfer Model
Data transferred from device to coordinator
Device
Beacon
Data Acknowledgement
Trang 26Data Transfer Model
Data transferred from coordinator to device
Communication from a coordinator
Trang 27Data Transfer Model
Data transferred from
Trang 28Superframe
Trang 29Superframe Structure (cont.)
In CFP, a GTS may consist of multiple slots, all of
which are assigned to a single device, for either transmission (t-GTS) or reception (r-GTS)
► GTS = guaranteed time slots
In CAP, the concept of slots is not used
► Each “contention slot” is of 20 symbols long.