39
Raheel Shabir Ahme S-2014 BEEE5

ZigBee Protocol

  • Upload
    shishu

  • View
    1.089

  • Download
    0

Embed Size (px)

Citation preview

Page 1: ZigBee Protocol

Raheel Shabir AhmedS-2014 BEEE5

Page 2: ZigBee Protocol

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

Page 3: ZigBee Protocol

Zigbee and Blue Tooth

Page 4: ZigBee Protocol

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

Page 5: ZigBee Protocol

Zigbee Targets

Page 6: ZigBee Protocol

Low power consumptionSimple DesignFew costs

Applications Controlling Monitoring

ZIGBEE TARGETS

Page 7: ZigBee Protocol

Zigbee Protocol Stack

Page 8: ZigBee Protocol

PROTOCOL STACK

Page 9: ZigBee Protocol

IEEE 802.15.4 is a simple packet data protocol for

lightweight wireless networksFocus on

ReliabilitySimplicityLow powerLow cost

OVERVIEW 802.15.4

Page 10: ZigBee Protocol

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

Page 11: ZigBee Protocol

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

Page 12: ZigBee Protocol

MAC LAYER

Page 13: ZigBee Protocol

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

coordinator

IEEE 802.15.4 MAC

Page 14: ZigBee Protocol

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

Page 15: ZigBee Protocol

MAC LAYER – CHANNEL ACCESS – NON BEACON MODE

Device A

Device B

Channel busy!!

Page 16: ZigBee Protocol

Superframe StructureFormat defined by coordinatorBounded by network beaconsDivided into 16 equally sized slots

MAC LAYER – CHANNEL ACCESS – BEACON MODE

Page 17: ZigBee Protocol

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

Page 18: ZigBee Protocol

Three types of data transferCoordinator to DeviceDevice to Coordinator Between peer devices

DATA TRANSFER MODEL

Page 19: ZigBee Protocol

DATA TRANSFER MODEL

Beacon Enabled Mode

Non-Beacon Enabled Mode

Coordinator to Device Device to Coordinator

Page 20: ZigBee Protocol

DATA TRANSFER MODEL

Beacon Enabled ModeCoordinator to Device

Page 21: ZigBee Protocol

DATA TRANSFER MODEL

Beacon Enabled ModeDevice to Coordinator

Page 22: ZigBee Protocol

DATA TRANSFER MODEL

Non-Beacon Enabled ModeCoordinator to Device

Page 23: ZigBee Protocol

DATA TRANSFER MODEL

Non-Beacon Enabled ModeDevice to

coordinator

Page 24: ZigBee Protocol

MAC LAYER – ASSOCIATION

PAN Coordinator End Device

Association Established

Page 25: ZigBee Protocol

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

Page 26: ZigBee Protocol

Also very important frameFeedback from receiver to senderNo payload

PACKET STRUCTURE – ACKNOWLEDGMENT FRAME

Page 27: ZigBee Protocol

Network of zigbee

Page 28: ZigBee Protocol

Slid

e 2

8

ZigBee Mesh Networking

Page 29: ZigBee Protocol

Slid

e 2

9

ZigBee Mesh Networking

Page 30: ZigBee Protocol

Slid

e 3

0

ZigBee Mesh Networking

Page 31: ZigBee Protocol

Slid

e 3

1

ZigBee Mesh Networking

Page 32: ZigBee Protocol

Slid

e 3

2

ZigBee Mesh Networking

Page 33: ZigBee Protocol

Application of zigee

Page 34: ZigBee Protocol

Application Of Zigbee

Page 35: ZigBee Protocol

Home Automation

Page 36: ZigBee Protocol

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

Page 37: ZigBee Protocol

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

Page 38: ZigBee Protocol

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

Page 39: ZigBee Protocol

The End