ZigBee and IEEE 802.15.4
-
Upload
rsakm20019931 -
Category
Documents
-
view
151 -
download
5
Embed Size (px)
description
Transcript of ZigBee and IEEE 802.15.4

Raheel Shabir AhmedS-2014 BEEE5

Contents Zigbee and Blue toothZigbee TargetsProtocol Stack
Overview 802.15.4IEEE 802.15.4 PHYIEEE 802.15.4 MACMac Layer DevicesNon-Beacon ModeBeacon ModeData Transfer ModesAssociation and
DissociationNetworking In Zigbee
Application Of Zigbee

Zigbee and Blue Tooth

Competition or complementary
Bluetooth Zigbee
Protocol Stack 250 kb 32 kb
Range 10 – 100 m 30 – 100 m
Link Rate 1 Mbps 250 kbps
Battery Rechargeable Non-rechargeable
Devices 8 2^16
Air Interference FHSS DSSS
Usage frequently infrequently
Network Join time Long short
Extendibility No yes
Security PIN, 64 bit,128 bit 128 bit, AES

Zigbee Targets

Low power consumptionSimple DesignFew costs
Applications Controlling Monitoring
ZIGBEE TARGETS

Zigbee Protocol Stack

PROTOCOL STACK

IEEE 802.15.4 is a simple packet data protocol for
lightweight wireless networksFocus on
ReliabilitySimplicityLow powerLow cost
OVERVIEW 802.15.4

FeaturesActivation/Deactivation of radio
transceiverEnergy Detection (ED)Link Quality Indication (LQI)Channel SelectionClear Channel Assessment (CCA)Transmission/Reception of packets over
physical medium
IEEE 802.15.4 PHY

PHY protocol data unitSHR – allows receiving device to
synchronize with bit streamPHR – contains frame length informationVariable length payload carrying MAC sub
layer frame
IEEE 802.15.4 PHY

MAC LAYER

FeaturesBeacon ManagementChannel AccessGuaranteed Time Slot (GTS ) managementFrame ValidationAcknowledged Frame DeliveryAssociation/Dissassociation with PAN
coordinator
IEEE 802.15.4 MAC

Full Function Device (FFD)Network router functionAny Topology
Reduced Function Device (RFD)Easy and cheap to implementLimited to star topology
Personal Area Network (PAN) CoordinatorMaintains overall network knowledgeNeeds most memory and computingpower
MAC LAYER – DEVICE TYPES

MAC LAYER – CHANNEL ACCESS – NON BEACON MODE
Device A
Device B
Channel busy!!

Superframe StructureFormat defined by coordinatorBounded by network beaconsDivided into 16 equally sized slots
MAC LAYER – CHANNEL ACCESS – BEACON MODE

Superframe StructureContention Access Period (CAP) – CSMA-
CAContention Free Period (CFP) – GTSCan allocate up to 7 GTSs, each longer
than 1 time slot
IEEE 802.15.4 MAC

Three types of data transferCoordinator to DeviceDevice to Coordinator Between peer devices
DATA TRANSFER MODEL

DATA TRANSFER MODEL
Beacon Enabled Mode
Non-Beacon Enabled Mode
Coordinator to Device Device to Coordinator

DATA TRANSFER MODEL
Beacon Enabled ModeCoordinator to Device

DATA TRANSFER MODEL
Beacon Enabled ModeDevice to Coordinator

DATA TRANSFER MODEL
Non-Beacon Enabled ModeCoordinator to Device

DATA TRANSFER MODEL
Non-Beacon Enabled ModeDevice to
coordinator

MAC LAYER – ASSOCIATION
PAN Coordinator End Device
Association Established

Designed for minimum complexityPPDU = Physical Protocol Data Unit4 different MAC FramesData Frame is most important one
Up to 104 byte payloadData Sequence NumberingFCS = Frame Check Sequence
PACKET STRUCTURE – DATA FRAME

Also very important frameFeedback from receiver to senderNo payload
PACKET STRUCTURE – ACKNOWLEDGMENT FRAME

Network of zigbee

Slid
e 2
8
ZigBee Mesh Networking

Slid
e 2
9
ZigBee Mesh Networking

Slid
e 3
0
ZigBee Mesh Networking

Slid
e 3
1
ZigBee Mesh Networking

Slid
e 3
2
ZigBee Mesh Networking

Application of zigee

Application Of Zigbee

Home Automation

Applications
Industrial and Commercial Monitors Movement Sensors Automation
Personal Healthcare Patient monitors Remote Diagnosis Data loggers
Building Automation Security Lighting Fire and Safety systems
Automotive Service controls Inventory tracking

SummaryIEEE 802.15.4 WPAN
Defines standard for low power, low data rate networksDefines network topologies that should be supported
IEEE 802.15.4 PHYPhysical layer specification of standard
IEEE 802.15.4 MACMAC specification of standard
Zigbee Routing LayerRouting layer on top of PHY and MAC, enabling support
for the “star, mesh, and cluster-tree” network topologies

References [1] ZigBee Specifications v1.0
[2] “Designing with 802.15.4 and ZigBee”, Presentation Slides, available on ZigBee.org
[3] “ZigBee Tutorial”, http://www.tutorial-reports.com/wireless/zigbee
[4] IEEE 802.15.4 Specification
[5] “Network Layer Overview”, Presentation Slides, Ian Marsden, Embedded Systems Show, Birmingham, October 12th, 2006, 064513r00ZB_MG_Network_Layer_Overview.pdf, available on ZigBee.org
[6] “Designing a ZigBee Network”, Presentation Slides, David Egan, Ember Corporation, ESS 2006, Birmingham, 064516r00ZG_MG_Network_Design.pdf, available on ZigBee.org
[7] “ZigBee Architecture Overview”, Presentation Slides, Oslo, Norway June 2005, ZigBee_Architecture_and_Specifications_Overview.pdf, available on ZigBee.org
[8] “Low Power Consumption Features of the IEEE 802.15.4/ZigBee LR-WPAN Standard”, http://www.cens.ucla.edu/sensys03/sensys03-callaway.pdf
[9] “ZigBee Home Automation Mobile from Pantech”, http://www.i4u.com/article2561.html
[10] “Basic Lecture - ZigBee” http://www.korwin.net/eng/infor/info_zb_01.asp
[11] “Introduction to the ZigBee Application Framework”, Presentation Slides, ZigBee Open House, San Jose, June 15th, 2006, 053340r06ZB_AFG-Overview-ZigBee-Open-House.pdf, available on ZigBee.org

The End