zigbee and ieee 802.15.4

39
Raheel Shabir Ahme S-2014 BEEE5

Upload: rsakm20019931

Post on 15-Nov-2014

155 views

Category:

Documents


5 download

DESCRIPTION

Summary of zigbee and ieee 802.15.4 physical layer routing layer and applicationszigbee, iee 802.15.4, zigbee network layer, routing layer, zigbee application, zigbee mac frames, phy frames

TRANSCRIPT

Page 1: ZigBee and IEEE 802.15.4

Raheel Shabir AhmedS-2014 BEEE5

Page 2: ZigBee and IEEE 802.15.4

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 and IEEE 802.15.4

Zigbee and Blue Tooth

Page 4: ZigBee and IEEE 802.15.4

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 and IEEE 802.15.4

Zigbee Targets

Page 6: ZigBee and IEEE 802.15.4

Low power consumptionSimple DesignFew costs

Applications Controlling Monitoring

ZIGBEE TARGETS

Page 7: ZigBee and IEEE 802.15.4

Zigbee Protocol Stack

Page 8: ZigBee and IEEE 802.15.4

PROTOCOL STACK

Page 9: ZigBee and IEEE 802.15.4

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 and IEEE 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

Page 11: ZigBee and IEEE 802.15.4

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 and IEEE 802.15.4

MAC LAYER

Page 13: ZigBee and IEEE 802.15.4

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

coordinator

IEEE 802.15.4 MAC

Page 14: ZigBee and IEEE 802.15.4

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 and IEEE 802.15.4

MAC LAYER – CHANNEL ACCESS – NON BEACON MODE

Device A

Device B

Channel busy!!

Page 16: ZigBee and IEEE 802.15.4

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

MAC LAYER – CHANNEL ACCESS – BEACON MODE

Page 17: ZigBee and IEEE 802.15.4

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 and IEEE 802.15.4

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

DATA TRANSFER MODEL

Page 19: ZigBee and IEEE 802.15.4

DATA TRANSFER MODEL

Beacon Enabled Mode

Non-Beacon Enabled Mode

Coordinator to Device Device to Coordinator

Page 20: ZigBee and IEEE 802.15.4

DATA TRANSFER MODEL

Beacon Enabled ModeCoordinator to Device

Page 21: ZigBee and IEEE 802.15.4

DATA TRANSFER MODEL

Beacon Enabled ModeDevice to Coordinator

Page 22: ZigBee and IEEE 802.15.4

DATA TRANSFER MODEL

Non-Beacon Enabled ModeCoordinator to Device

Page 23: ZigBee and IEEE 802.15.4

DATA TRANSFER MODEL

Non-Beacon Enabled ModeDevice to

coordinator

Page 24: ZigBee and IEEE 802.15.4

MAC LAYER – ASSOCIATION

PAN Coordinator End Device

Association Established

Page 25: ZigBee and IEEE 802.15.4

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 and IEEE 802.15.4

Also very important frameFeedback from receiver to senderNo payload

PACKET STRUCTURE – ACKNOWLEDGMENT FRAME

Page 27: ZigBee and IEEE 802.15.4

Network of zigbee

Page 28: ZigBee and IEEE 802.15.4

Slid

e 2

8

ZigBee Mesh Networking

Page 29: ZigBee and IEEE 802.15.4

Slid

e 2

9

ZigBee Mesh Networking

Page 30: ZigBee and IEEE 802.15.4

Slid

e 3

0

ZigBee Mesh Networking

Page 31: ZigBee and IEEE 802.15.4

Slid

e 3

1

ZigBee Mesh Networking

Page 32: ZigBee and IEEE 802.15.4

Slid

e 3

2

ZigBee Mesh Networking

Page 33: ZigBee and IEEE 802.15.4

Application of zigee

Page 34: ZigBee and IEEE 802.15.4

Application Of Zigbee

Page 35: ZigBee and IEEE 802.15.4

Home Automation

Page 36: ZigBee and IEEE 802.15.4

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 and IEEE 802.15.4

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 and IEEE 802.15.4

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 and IEEE 802.15.4

The End