SlideShare ist ein Scribd-Unternehmen logo
1 von 56
Faculty of Computer Science Chair of Computer Networks, Wireless Sensor Networks, Dr. W. Dargie




                                        ZigBee



   Jan Dohl                       Fabian Diehm                               Patrick Grosa


Dresden, 14.11.2006
Structure


    Introduction

    Concepts

    Architecture

    Implementation

    Evaluation

    Reference




    TU Dresden,   ZigBee – Short range   slide 2 of 56
Introduction




TU Dresden,   ZigBee – Short range   slide 3 of 56
Introduction
What is ZigBee?

• Specification of protocols for small, low-power radios


History

• May 2003: IEEE 802.15.4 completed
• December 2004: ZigBee specification ratified
• June 2005: public availability


ZigBee-Alliance

• Companies developing and promoting the standard
• 150+ members


    TU Dresden,      ZigBee – Short range      slide 4 of 56
ZigBee Alliance - Members




                      and many more....


TU Dresden,    ZigBee – Short range   slide 5 of 56
Concepts




TU Dresden,   ZigBee – Short range   slide 6 of 56
Why do we need another WPAN standard?

Decreasing

• Power consumption
   – ZigBee: 10mA <==> BT: 100mA

• Production costs
   – In the beginning of 2005
   – ZigBee: 1.1 $ <==> BT: 3 $

• Development costs
   – Codesize ZB/codesize BT = ½

• Bit-error-rate (BER)




   TU Dresden,      ZigBee – Short range   slide 7 of 56
Why do we need another WPAN standard?




                                picture taken from [9]




TU Dresden,   ZigBee – Short range            slide 8 of 56
Why do we need another WPAN standard?

Increasing

• Sensitivity
   – ZigBee: -92dbm(0,63pW) <==> BT: -82dbm(6,2pW)

• flexibility
   – No. of supported nodes
   – ZigBee: 65536 (in a mesh) <==> BT: 7 (in a star)

• Security
   – ZigBee: AES (128bit) <==> BT: SAFER (64/128bit)

• Latency requirements
   – ZigBee: optional guaranteed time slot

• Range
   – ZigBee: up to 75 m in LOS condition <==> BT: 10 m
   TU Dresden,      ZigBee – Short range     slide 9 of 56
Usage Scenarios

• Industrial & commercial

• Consumer electronics

• Toys & games

• PC & periphals

• Personal health care

• home/building automation




 Just everything you can imagine for wireless sensor
  nodes or in general short range communications


    TU Dresden,     ZigBee – Short range   slide 10 of 56
ZigBee Frequency Bands




TU Dresden,   ZigBee – Short range   slide 11 of 56
ZigBee Protocol Stack



        7Layer      Simplified 5Layer
    ISO-OSI-Model    ISO-OSI-Model             IEEE 802 Model
7     Application   User Application                                   < ZigBee
                                                                        <
6    Presentation
5      Session      Application Profile         Upper Layers
4     Transport
3      Network          Network
2      Data Link        Data Link          Logic Link Control (LLC)    < 802.14.5
                                                                        <
                                          Media Access Control (MAC)
1     Physical           Physical                  Physical




    TU Dresden,          ZigBee – Short range               slide 12 of 56
Protocol Stack




                                         picture taken from [10]


TU Dresden,   ZigBee – Short range   slide 13 of 56
ZigBee Profiles

Profiles:

Definition of ZigBee-Profiles
• describes a common language for exchanging data
• defines the offered services
• device interoperatbility across different manufacturers
• Standard profiles available from the ZigBee Alliance
• profiles contain device descriptions
• unique identifier (licensed by the ZigBee Alliance)




    TU Dresden,      ZigBee – Short range     slide 14 of 56
Architecture




TU Dresden,   ZigBee – Short range   slide 15 of 56
ZigBee Node-Types

ZigBee Coordinator (ZBC) (IEEE 802.15.4 FFD)


• only one in a network

• initiates network

• stores information about the network

• all devices communicate with the ZBC

• routing functionality

• bridge to other networks




    TU Dresden,       ZigBee – Short range   slide 16 of 56
ZigBee Node-Types

ZigBee Router (ZBR) (IEEE 802.15.4 FFD)


• optional component

• routes between nodes

• extends network coverage

• manages local address allocation/de-allocation




   TU Dresden,      ZigBee – Short range     slide 17 of 56
ZigBee Node-Types

ZigBee End Device (ZBE) (IEEE 802.15.4 RFD)


• optimized for low power consumption

• cheapest device type

• communicates only with the coordinator

• sensor would be deployed here




   TU Dresden,     ZigBee – Short range    slide 18 of 56
Addressing/Discovering ZigBee Nodes

Addressing ZigBee Nodes:

• optimized unique 64 bit address (IEEE 802.15.4)
• 16 bit network address (65536 devices)
• 256 sub addresses for subunits


Device Discovery

• unicast (NWK id known), broadcast (NWK id unknown)
• ZBC-/ZBR-Response: IEEE address + NWK address + all
  known network addresses


Binding

• creating logical links between 2 or more end devices

   TU Dresden,      ZigBee – Short range      slide 19 of 56
Addressing/Binding ZigBee Endpoints




                                       picture taken from [11]

TU Dresden,     ZigBee – Short range   slide 20 of 56
Traffic-Types

1. Data is periodic

• application dictates rate


2. Data is intermittent

• application or stimulus dictates rate (optimun power
  savings)


3. Data is repetitive (fixed rate a priori)

• device gets guaranteed time slot




    TU Dresden,       ZigBee – Short range    slide 21 of 56
Traffic-Modes

1. Beacon mode:


• beacon send

  periodically

• Coordinator and end

  device can go to sleep

• Lowest energy

  consumption

• Pricise timing needed
                                            picture taken from [1]
• Beacon period (ms-m)


   TU Dresden,      ZigBee – Short range   slide 22 of 56
Beacon-Mode




                                            picture taken from [8]


TU Dresden,   ZigBee – Short range   slide 23 of 56
Traffic-Modes

1. Non-Beacon mode:


• coordinator/routers

  have to stay awake

  (robust power supply

  needed)

• heterogeneous

  network
                                            picture taken from [1]
• asymmetric power




   TU Dresden,       ZigBee – Short range        slide 24 of 56
Topologies

   Mesh-Topology




picture taken from [7]


           TU Dresden,   ZigBee – Short range   slide 25 of 56
Topologies

   Tree-Topology




picture taken from [7]


           TU Dresden,   ZigBee – Short range   slide 26 of 56
Implementation




TU Dresden,     ZigBee – Short range   slide 27 of 56
PHY layer

2400MHz Band specs

•   4 Bits per symbol
•   DSSS with 32 Bit chips
•   O-QPSK modulation
•   Sine halfwave impulses                                                 Medium
    Binary Data     Bit         Symbol
                                                  QPSK
                    to            to
                                                  Mod.
                  Symbol         Chip




                                                  picture taken from [4]

      TU Dresden,          ZigBee – Short range           slide 28 of 56
PHY layer

868/915 MHz Band specs

•   1 Bit per symbol
•   Differential encoding
•   DSSS with 15 Bit Chips
•   BPSK modulation
•   RC impulses (roll-off = 1)


                                                             Medium
    Binary Data                     Bit
                   Diff.                           BPSK
                                    to
                  Encoder                          Mod.
                                   Chip



      TU Dresden,           ZigBee – Short range      slide 29 of 56
PHY layer

General specs and services

•   Error Vector Magnitude (EVM) < 35%
•   -3dBm minimum transmit power (500µW)
•   Receiver Energy Detection (ED)
•   Link Quality Indication (LQI)
•   Use ED & LQI to reduce TX-power
•   Clear Channel Assessment (CCA) with 3 modes
     1. Energy above threshold
     2. Carrier sense only
     3. Carrier sense with energy above threshold




     TU Dresden,     ZigBee – Short range     slide 30 of 56
PHY layer

PHY Protocol Data Unit (PPDU) frame structure

•   Frame to be sent via radio
•   Preamble for chip and symbol synchronization
•   Contains either data or data acknowlegement
•   Packet size 8-127 Octets
•   Contains MAC Protocol Data Unit (MPDU)




                                                   table taken from [1]




     TU Dresden,     ZigBee – Short range     slide 31 of 56
MAC layer

Channel access specification

• Beacon/Nonbeacon
• Define Superframe structure
• Slotted/unslotted CSMA-CA




   TU Dresden,     ZigBee – Short range   slide 32 of 56
MAC layer

Managing PANs

•   Channel scanning (ED, active, passive, orphan)
•   PAN ID conflict detection and resolution
•   Starting a PAN
•   Sending beacons
•   Device discovery
•   Device association/disassociation
•   Synchronization (beacon/nonbeacon)
•   Orphaned device realignment




     TU Dresden,      ZigBee – Short range     slide 33 of 56
MAC layer

Transfer handling

• Transaction based (indirect transmission)
   – Beacon indication
   – Polling
• Transmission, Reception, Rejection, Retransmission
   – Acknowleded
   – Not acknowledged
• GTS management
   – Allocation/deallocation
   – Usage
   – Reallocation
• Promiscous mode




   TU Dresden,      ZigBee – Short range     slide 34 of 56
MAC layer

Frame security

• Provided security features
   – Access control
   – Data encryption
   – Frame integrity
   – Sequential freshness
• Avaiable security modes
   – Unsecured mode
   – ACL mode
   – Secured mode
• Avaiable security suites
   – AES-CTR
   – AES-CCM
   – AES-CBC-MAC

   TU Dresden,      ZigBee – Short range   slide 35 of 56
MAC layer

How far have we come?

                               4
                1
                                           6
                      0
                                   5
            2
                                           7
                           3

Problem: How do 6 and 7 talk to coordinator 0?
Solution: Routing (NWK Layer)




   TU Dresden,      ZigBee – Short range   slide 36 of 56
NWK layer

Distributed address assignment

•   Tree structure or self managed by higher layer
•   16Bit network space divided among child routers
•   Child routers divide there space again for their children
•   Depends on:
     – Maximum child count per parent
     – Maximum child-routers per parent
     – Maximum network depth




     TU Dresden,       ZigBee – Short range      slide 37 of 56
NWK layer

Distributed address assignment - Example

• Cm=2 ; Rm=2 ; Lm=2
                 Depth in network d   Offset Value
                          0                3
                          1                1
                          2                0




                                       1

                               2
                               ?                     0

                               6       4
                               5

   TU Dresden,      ZigBee – Short range                 slide 38 of 56
NWK layer

Routing cost

•   Metric to compare „goodness“ of routes
•   Base: Link cost between 2 neighbors
•   Path cost = sum of link costs along the path
•   Link cost determination:
     – Link quality indication from PHY
     – Statistical measures




     TU Dresden,      ZigBee – Short range         slide 39 of 56
NWK layer

Route discovery

• Find or update route between specific source and
  destination
• Started if no active route present in routing table
• Broadcast routing request (RREQ) packets
• Generates routing table entries for hops to source
• Endpoint router responds with Routing response (RREP)
  packet
• Routes generated for hops to destination
• Routing table entry generated in source device




   TU Dresden,     ZigBee – Short range     slide 40 of 56
NWK layer

Route discovery
    RREQ
    RREP



                 1           2           3


                 5               2
                         1           4




   TU Dresden,       ZigBee – Short range    slide 41 of 56
NWK layer

Routing

• Check if routing table entry exists
• Initiate route discovery if possible
• Hierarchical routing as fallback
Route maintenance

•   Track failed deliveries to neighbors
•   Initiate route repair when threshold reached
•   Careful with network load!
•   In case of total connectivity loss:
     – Orphaning procedure
     – Re-association with network



     TU Dresden,        ZigBee – Short range       slide 42 of 56
Application Level




                                     picture taken from [11]


TU Dresden,   ZigBee – Short range              slide 43 of 56
Application Level




                                     picture taken from [11]

TU Dresden,   ZigBee – Short range              slide 44 of 56
Application Layer

Application Support Sub-layer (APS):

• interface to NWK-layer (offers general set of functions)
• Data transmission, binding and security management




                                            picture taken from [1]

    TU Dresden,      ZigBee – Short range              slide 45 of 56
Application Level




                                     picture taken from [11]

TU Dresden,   ZigBee – Short range              slide 46 of 56
Application Layer

Application Framework:

• Specifies Datatypes
• Devices describe themselves by ZigBee descriptor:
   – frequency band
   – power description
   – application flags
   – application version
   – serial number
   – manufacturer
   – ...




   TU Dresden,      ZigBee – Short range     slide 47 of 56
Application Layer

Supported Data-types




                                        table taken from [1]


   TU Dresden,   ZigBee – Short range           slide 48 of 56
Application Level




                                     picture taken from [11]


TU Dresden,   ZigBee – Short range        slide 49 of 56
Application Layer

ZigBee defined Objects (ZDO):

• provides common function for applications
• Initializes APS, NWK-Layer and Security Service
  Specification
• offers services like device-/service-descovery, binding and
  security management
• assembles information about the network
• for ZBC/ZBR -> e.g. binding table




                                             picture taken from [1]



    TU Dresden,      ZigBee – Short range      slide 50 of 56
Evaluation




TU Dresden,   ZigBee – Short range   slide 51 of 56
Pros and Cons

Pros                            Cons

• good extension of             • Not many end devices
  existing standards              available yet
• supported by many             • Single point of failure
  companies                       (centralized architecture)
• low power consumption
• low cost
• easy implemented
  (Designer concentrates
  on end application)
• flexible network
  structure




   TU Dresden,     ZigBee – Short range      slide 52 of 56
Gadget example

Pantech & Curitel P1 phone


• Only a prototype

• control electrical

  appliances

• Check temperature &

  humidity

• Sending messages in case

  of trespass                                        picture taken from [9]




   TU Dresden,         ZigBee – Short range    slide 53 of 56
References




TU Dresden,   ZigBee – Short range   slide 54 of 56
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
     TU Dresden,                 ZigBee – Short range             slide 55 of 56
Thank you
                    for
              your attention!




TU Dresden,    ZigBee – Short range   slide 56 of 56

Weitere ähnliche Inhalte

Was ist angesagt?

Cooperative Diversity - An Introduction to Cooperative Comm
Cooperative Diversity - An Introduction to Cooperative CommCooperative Diversity - An Introduction to Cooperative Comm
Cooperative Diversity - An Introduction to Cooperative Comm
Ashish Meshram
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
ijceronline
 

Was ist angesagt? (18)

252 256
252 256252 256
252 256
 
Ijcnc050206
Ijcnc050206Ijcnc050206
Ijcnc050206
 
115 118
115 118115 118
115 118
 
Nv2422562263
Nv2422562263Nv2422562263
Nv2422562263
 
Performance Improvement of IEEE 802.22 WRAN Physical Layer
Performance Improvement of IEEE 802.22 WRAN Physical LayerPerformance Improvement of IEEE 802.22 WRAN Physical Layer
Performance Improvement of IEEE 802.22 WRAN Physical Layer
 
Optimization of drx parameter for power saving in lte
Optimization of drx parameter for power saving in lteOptimization of drx parameter for power saving in lte
Optimization of drx parameter for power saving in lte
 
Drx in rrc idle
Drx in rrc idleDrx in rrc idle
Drx in rrc idle
 
RESOURCE ALLOCATION ALGORITHMS FOR QOS OPTIMIZATION IN MOBILE WIMAX NETWORKS
RESOURCE ALLOCATION ALGORITHMS FOR QOS OPTIMIZATION IN MOBILE WIMAX NETWORKSRESOURCE ALLOCATION ALGORITHMS FOR QOS OPTIMIZATION IN MOBILE WIMAX NETWORKS
RESOURCE ALLOCATION ALGORITHMS FOR QOS OPTIMIZATION IN MOBILE WIMAX NETWORKS
 
Lte tutorial
Lte tutorialLte tutorial
Lte tutorial
 
Cooperative Diversity - An Introduction to Cooperative Comm
Cooperative Diversity - An Introduction to Cooperative CommCooperative Diversity - An Introduction to Cooperative Comm
Cooperative Diversity - An Introduction to Cooperative Comm
 
Multiplexing,LAN Cabling,Routers,Core and Distribution Networks
Multiplexing,LAN Cabling,Routers,Core and Distribution NetworksMultiplexing,LAN Cabling,Routers,Core and Distribution Networks
Multiplexing,LAN Cabling,Routers,Core and Distribution Networks
 
Aodv
AodvAodv
Aodv
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
 
Wireless Networks
Wireless NetworksWireless Networks
Wireless Networks
 
Wireless Networks
Wireless NetworksWireless Networks
Wireless Networks
 
Optimal Preamble Design for Short Packet Circularly Pulse-Shaped OFDM Transmi...
Optimal Preamble Design for Short Packet Circularly Pulse-Shaped OFDM Transmi...Optimal Preamble Design for Short Packet Circularly Pulse-Shaped OFDM Transmi...
Optimal Preamble Design for Short Packet Circularly Pulse-Shaped OFDM Transmi...
 
An IP based packet test environment for LTE-TDD and LTE-FDD
An IP based packet test environment for LTE-TDD and LTE-FDDAn IP based packet test environment for LTE-TDD and LTE-FDD
An IP based packet test environment for LTE-TDD and LTE-FDD
 
A Literature Survey on Comparative Analysis of RZ and NRZ Line Encoding over ...
A Literature Survey on Comparative Analysis of RZ and NRZ Line Encoding over ...A Literature Survey on Comparative Analysis of RZ and NRZ Line Encoding over ...
A Literature Survey on Comparative Analysis of RZ and NRZ Line Encoding over ...
 

Andere mochten auch

Importancia de las redes sociales y la revolución de internet en la educación
Importancia de las redes sociales y la revolución de internet en la educaciónImportancia de las redes sociales y la revolución de internet en la educación
Importancia de las redes sociales y la revolución de internet en la educación
carmarvar
 
Persentation
PersentationPersentation
Persentation
zezo2011
 
سر النجاح الوظيفي1
سر النجاح الوظيفي1سر النجاح الوظيفي1
سر النجاح الوظيفي1
Ahmad Galal
 
Process oriented method ‘inquiry’
Process oriented method ‘inquiry’Process oriented method ‘inquiry’
Process oriented method ‘inquiry’
BSEPhySci14
 
Episode 39 : Hopper Design
Episode 39 :  Hopper Design Episode 39 :  Hopper Design
Episode 39 : Hopper Design
SAJJAD KHUDHUR ABBAS
 

Andere mochten auch (20)

ZigBee CC2530
ZigBee CC2530 ZigBee CC2530
ZigBee CC2530
 
Lake Manzala Engineered Wetland, Port Said, Egypt [IWC4 Presentation]
Lake Manzala Engineered Wetland, Port Said, Egypt [IWC4 Presentation]Lake Manzala Engineered Wetland, Port Said, Egypt [IWC4 Presentation]
Lake Manzala Engineered Wetland, Port Said, Egypt [IWC4 Presentation]
 
Importancia de las redes sociales y la revolución de internet en la educación
Importancia de las redes sociales y la revolución de internet en la educaciónImportancia de las redes sociales y la revolución de internet en la educación
Importancia de las redes sociales y la revolución de internet en la educación
 
Assisting christian teenagers studies 2013
Assisting christian teenagers studies 2013Assisting christian teenagers studies 2013
Assisting christian teenagers studies 2013
 
Persentation
PersentationPersentation
Persentation
 
سر النجاح الوظيفي1
سر النجاح الوظيفي1سر النجاح الوظيفي1
سر النجاح الوظيفي1
 
Pilot Testing of Bioremediation as an Alternative Treatment Technology for Mu...
Pilot Testing of Bioremediation as an Alternative Treatment Technology for Mu...Pilot Testing of Bioremediation as an Alternative Treatment Technology for Mu...
Pilot Testing of Bioremediation as an Alternative Treatment Technology for Mu...
 
The wetlands
The wetlands The wetlands
The wetlands
 
OPERATIONAL DRAINAGE WATER REUSE GUIDELINES
OPERATIONAL DRAINAGE WATER REUSE GUIDELINESOPERATIONAL DRAINAGE WATER REUSE GUIDELINES
OPERATIONAL DRAINAGE WATER REUSE GUIDELINES
 
Overview zigbee-2012-03-26
Overview zigbee-2012-03-26Overview zigbee-2012-03-26
Overview zigbee-2012-03-26
 
Modernization of Rice Irrigation and Drainage
Modernization of Rice Irrigation and DrainageModernization of Rice Irrigation and Drainage
Modernization of Rice Irrigation and Drainage
 
The use of treated wastewater and of sludge in forestration
The use of treated wastewater and of sludge in forestrationThe use of treated wastewater and of sludge in forestration
The use of treated wastewater and of sludge in forestration
 
How DEWATS can be implemented to bio-remediate lakes
How DEWATS can be implemented to bio-remediate lakesHow DEWATS can be implemented to bio-remediate lakes
How DEWATS can be implemented to bio-remediate lakes
 
Phd Presentation
Phd PresentationPhd Presentation
Phd Presentation
 
Process oriented method ‘inquiry’
Process oriented method ‘inquiry’Process oriented method ‘inquiry’
Process oriented method ‘inquiry’
 
Histology Practical Slides For CLinicaL Pharmacy ☮ Zagazig University
Histology Practical Slides For CLinicaL Pharmacy ☮ Zagazig UniversityHistology Practical Slides For CLinicaL Pharmacy ☮ Zagazig University
Histology Practical Slides For CLinicaL Pharmacy ☮ Zagazig University
 
SUSTAINABLE APPROACH OF RECYCLING PALM OIL MILL EFFLUENT USING INTEGRATED BIO...
SUSTAINABLE APPROACH OF RECYCLING PALM OIL MILL EFFLUENTUSING INTEGRATED BIO...SUSTAINABLE APPROACH OF RECYCLING PALM OIL MILL EFFLUENTUSING INTEGRATED BIO...
SUSTAINABLE APPROACH OF RECYCLING PALM OIL MILL EFFLUENT USING INTEGRATED BIO...
 
Sugar inds efluent ppt
Sugar inds efluent pptSugar inds efluent ppt
Sugar inds efluent ppt
 
Episode 39 : Hopper Design
Episode 39 :  Hopper Design Episode 39 :  Hopper Design
Episode 39 : Hopper Design
 
INDUSTRAIL WASTE WATER FOR SUGAR CANE INDUSTRY
INDUSTRAIL WASTE WATER FOR SUGAR CANE INDUSTRYINDUSTRAIL WASTE WATER FOR SUGAR CANE INDUSTRY
INDUSTRAIL WASTE WATER FOR SUGAR CANE INDUSTRY
 

Ähnlich wie Zigbee1

Slide fyp ver3
Slide fyp ver3Slide fyp ver3
Slide fyp ver3
yusriyacob
 
Positioning techniques in 3 g networks (1)
Positioning techniques in 3 g networks (1)Positioning techniques in 3 g networks (1)
Positioning techniques in 3 g networks (1)
kike2005
 
ZigBee technology.pptx
ZigBee technology.pptxZigBee technology.pptx
ZigBee technology.pptx
AjaySahre
 
OPTICAL FIBER COMMUNICATION
OPTICAL FIBER COMMUNICATIONOPTICAL FIBER COMMUNICATION
OPTICAL FIBER COMMUNICATION
ubhatia7
 

Ähnlich wie Zigbee1 (20)

Zigbee- The Future of Data Communications
Zigbee- The Future of Data CommunicationsZigbee- The Future of Data Communications
Zigbee- The Future of Data Communications
 
Zigbee - Building Smart Homes
Zigbee - Building Smart HomesZigbee - Building Smart Homes
Zigbee - Building Smart Homes
 
Slide fyp ver3
Slide fyp ver3Slide fyp ver3
Slide fyp ver3
 
Zigbee technology presentation
Zigbee technology presentationZigbee technology presentation
Zigbee technology presentation
 
Positioning techniques in 3 g networks (1)
Positioning techniques in 3 g networks (1)Positioning techniques in 3 g networks (1)
Positioning techniques in 3 g networks (1)
 
Zig bee
Zig beeZig bee
Zig bee
 
Communication Technologies in IOT.pptx
Communication Technologies in IOT.pptxCommunication Technologies in IOT.pptx
Communication Technologies in IOT.pptx
 
ZigBee technology.pptx
ZigBee technology.pptxZigBee technology.pptx
ZigBee technology.pptx
 
Railway ofc training
Railway ofc trainingRailway ofc training
Railway ofc training
 
IoT Control Units and Communication Models
IoT Control Units and Communication ModelsIoT Control Units and Communication Models
IoT Control Units and Communication Models
 
Zigbee
ZigbeeZigbee
Zigbee
 
Blue tooth
Blue toothBlue tooth
Blue tooth
 
How networks are build
How networks are buildHow networks are build
How networks are build
 
Zigbee
 Zigbee    Zigbee
Zigbee
 
Main document
Main documentMain document
Main document
 
final14-4
final14-4final14-4
final14-4
 
Ultra sonic sensor network communicating using NRF 24L01 radio
Ultra sonic sensor network communicating using NRF 24L01 radioUltra sonic sensor network communicating using NRF 24L01 radio
Ultra sonic sensor network communicating using NRF 24L01 radio
 
OPTICAL FIBER COMMUNICATION
OPTICAL FIBER COMMUNICATIONOPTICAL FIBER COMMUNICATION
OPTICAL FIBER COMMUNICATION
 
Bluetooth
BluetoothBluetooth
Bluetooth
 
CCNA(R&S) By Ezxprt
CCNA(R&S) By EzxprtCCNA(R&S) By Ezxprt
CCNA(R&S) By Ezxprt
 

Kürzlich hochgeladen

Kürzlich hochgeladen (20)

Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

Zigbee1

  • 1. Faculty of Computer Science Chair of Computer Networks, Wireless Sensor Networks, Dr. W. Dargie ZigBee Jan Dohl Fabian Diehm Patrick Grosa Dresden, 14.11.2006
  • 2. Structure  Introduction  Concepts  Architecture  Implementation  Evaluation  Reference TU Dresden, ZigBee – Short range slide 2 of 56
  • 3. Introduction TU Dresden, ZigBee – Short range slide 3 of 56
  • 4. Introduction What is ZigBee? • Specification of protocols for small, low-power radios History • May 2003: IEEE 802.15.4 completed • December 2004: ZigBee specification ratified • June 2005: public availability ZigBee-Alliance • Companies developing and promoting the standard • 150+ members TU Dresden, ZigBee – Short range slide 4 of 56
  • 5. ZigBee Alliance - Members and many more.... TU Dresden, ZigBee – Short range slide 5 of 56
  • 6. Concepts TU Dresden, ZigBee – Short range slide 6 of 56
  • 7. Why do we need another WPAN standard? Decreasing • Power consumption – ZigBee: 10mA <==> BT: 100mA • Production costs – In the beginning of 2005 – ZigBee: 1.1 $ <==> BT: 3 $ • Development costs – Codesize ZB/codesize BT = ½ • Bit-error-rate (BER) TU Dresden, ZigBee – Short range slide 7 of 56
  • 8. Why do we need another WPAN standard? picture taken from [9] TU Dresden, ZigBee – Short range slide 8 of 56
  • 9. Why do we need another WPAN standard? Increasing • Sensitivity – ZigBee: -92dbm(0,63pW) <==> BT: -82dbm(6,2pW) • flexibility – No. of supported nodes – ZigBee: 65536 (in a mesh) <==> BT: 7 (in a star) • Security – ZigBee: AES (128bit) <==> BT: SAFER (64/128bit) • Latency requirements – ZigBee: optional guaranteed time slot • Range – ZigBee: up to 75 m in LOS condition <==> BT: 10 m TU Dresden, ZigBee – Short range slide 9 of 56
  • 10. Usage Scenarios • Industrial & commercial • Consumer electronics • Toys & games • PC & periphals • Personal health care • home/building automation  Just everything you can imagine for wireless sensor nodes or in general short range communications TU Dresden, ZigBee – Short range slide 10 of 56
  • 11. ZigBee Frequency Bands TU Dresden, ZigBee – Short range slide 11 of 56
  • 12. ZigBee Protocol Stack 7Layer Simplified 5Layer ISO-OSI-Model ISO-OSI-Model IEEE 802 Model 7 Application User Application < ZigBee < 6 Presentation 5 Session Application Profile Upper Layers 4 Transport 3 Network Network 2 Data Link Data Link Logic Link Control (LLC) < 802.14.5 < Media Access Control (MAC) 1 Physical Physical Physical TU Dresden, ZigBee – Short range slide 12 of 56
  • 13. Protocol Stack picture taken from [10] TU Dresden, ZigBee – Short range slide 13 of 56
  • 14. ZigBee Profiles Profiles: Definition of ZigBee-Profiles • describes a common language for exchanging data • defines the offered services • device interoperatbility across different manufacturers • Standard profiles available from the ZigBee Alliance • profiles contain device descriptions • unique identifier (licensed by the ZigBee Alliance) TU Dresden, ZigBee – Short range slide 14 of 56
  • 15. Architecture TU Dresden, ZigBee – Short range slide 15 of 56
  • 16. ZigBee Node-Types ZigBee Coordinator (ZBC) (IEEE 802.15.4 FFD) • only one in a network • initiates network • stores information about the network • all devices communicate with the ZBC • routing functionality • bridge to other networks TU Dresden, ZigBee – Short range slide 16 of 56
  • 17. ZigBee Node-Types ZigBee Router (ZBR) (IEEE 802.15.4 FFD) • optional component • routes between nodes • extends network coverage • manages local address allocation/de-allocation TU Dresden, ZigBee – Short range slide 17 of 56
  • 18. ZigBee Node-Types ZigBee End Device (ZBE) (IEEE 802.15.4 RFD) • optimized for low power consumption • cheapest device type • communicates only with the coordinator • sensor would be deployed here TU Dresden, ZigBee – Short range slide 18 of 56
  • 19. Addressing/Discovering ZigBee Nodes Addressing ZigBee Nodes: • optimized unique 64 bit address (IEEE 802.15.4) • 16 bit network address (65536 devices) • 256 sub addresses for subunits Device Discovery • unicast (NWK id known), broadcast (NWK id unknown) • ZBC-/ZBR-Response: IEEE address + NWK address + all known network addresses Binding • creating logical links between 2 or more end devices TU Dresden, ZigBee – Short range slide 19 of 56
  • 20. Addressing/Binding ZigBee Endpoints picture taken from [11] TU Dresden, ZigBee – Short range slide 20 of 56
  • 21. Traffic-Types 1. Data is periodic • application dictates rate 2. Data is intermittent • application or stimulus dictates rate (optimun power savings) 3. Data is repetitive (fixed rate a priori) • device gets guaranteed time slot TU Dresden, ZigBee – Short range slide 21 of 56
  • 22. Traffic-Modes 1. Beacon mode: • beacon send periodically • Coordinator and end device can go to sleep • Lowest energy consumption • Pricise timing needed picture taken from [1] • Beacon period (ms-m) TU Dresden, ZigBee – Short range slide 22 of 56
  • 23. Beacon-Mode picture taken from [8] TU Dresden, ZigBee – Short range slide 23 of 56
  • 24. Traffic-Modes 1. Non-Beacon mode: • coordinator/routers have to stay awake (robust power supply needed) • heterogeneous network picture taken from [1] • asymmetric power TU Dresden, ZigBee – Short range slide 24 of 56
  • 25. Topologies Mesh-Topology picture taken from [7] TU Dresden, ZigBee – Short range slide 25 of 56
  • 26. Topologies Tree-Topology picture taken from [7] TU Dresden, ZigBee – Short range slide 26 of 56
  • 27. Implementation TU Dresden, ZigBee – Short range slide 27 of 56
  • 28. PHY layer 2400MHz Band specs • 4 Bits per symbol • DSSS with 32 Bit chips • O-QPSK modulation • Sine halfwave impulses Medium Binary Data Bit Symbol QPSK to to Mod. Symbol Chip picture taken from [4] TU Dresden, ZigBee – Short range slide 28 of 56
  • 29. PHY layer 868/915 MHz Band specs • 1 Bit per symbol • Differential encoding • DSSS with 15 Bit Chips • BPSK modulation • RC impulses (roll-off = 1) Medium Binary Data Bit Diff. BPSK to Encoder Mod. Chip TU Dresden, ZigBee – Short range slide 29 of 56
  • 30. PHY layer General specs and services • Error Vector Magnitude (EVM) < 35% • -3dBm minimum transmit power (500µW) • Receiver Energy Detection (ED) • Link Quality Indication (LQI) • Use ED & LQI to reduce TX-power • Clear Channel Assessment (CCA) with 3 modes 1. Energy above threshold 2. Carrier sense only 3. Carrier sense with energy above threshold TU Dresden, ZigBee – Short range slide 30 of 56
  • 31. PHY layer PHY Protocol Data Unit (PPDU) frame structure • Frame to be sent via radio • Preamble for chip and symbol synchronization • Contains either data or data acknowlegement • Packet size 8-127 Octets • Contains MAC Protocol Data Unit (MPDU) table taken from [1] TU Dresden, ZigBee – Short range slide 31 of 56
  • 32. MAC layer Channel access specification • Beacon/Nonbeacon • Define Superframe structure • Slotted/unslotted CSMA-CA TU Dresden, ZigBee – Short range slide 32 of 56
  • 33. MAC layer Managing PANs • Channel scanning (ED, active, passive, orphan) • PAN ID conflict detection and resolution • Starting a PAN • Sending beacons • Device discovery • Device association/disassociation • Synchronization (beacon/nonbeacon) • Orphaned device realignment TU Dresden, ZigBee – Short range slide 33 of 56
  • 34. MAC layer Transfer handling • Transaction based (indirect transmission) – Beacon indication – Polling • Transmission, Reception, Rejection, Retransmission – Acknowleded – Not acknowledged • GTS management – Allocation/deallocation – Usage – Reallocation • Promiscous mode TU Dresden, ZigBee – Short range slide 34 of 56
  • 35. MAC layer Frame security • Provided security features – Access control – Data encryption – Frame integrity – Sequential freshness • Avaiable security modes – Unsecured mode – ACL mode – Secured mode • Avaiable security suites – AES-CTR – AES-CCM – AES-CBC-MAC TU Dresden, ZigBee – Short range slide 35 of 56
  • 36. MAC layer How far have we come? 4 1 6 0 5 2 7 3 Problem: How do 6 and 7 talk to coordinator 0? Solution: Routing (NWK Layer) TU Dresden, ZigBee – Short range slide 36 of 56
  • 37. NWK layer Distributed address assignment • Tree structure or self managed by higher layer • 16Bit network space divided among child routers • Child routers divide there space again for their children • Depends on: – Maximum child count per parent – Maximum child-routers per parent – Maximum network depth TU Dresden, ZigBee – Short range slide 37 of 56
  • 38. NWK layer Distributed address assignment - Example • Cm=2 ; Rm=2 ; Lm=2 Depth in network d Offset Value 0 3 1 1 2 0 1 2 ? 0 6 4 5 TU Dresden, ZigBee – Short range slide 38 of 56
  • 39. NWK layer Routing cost • Metric to compare „goodness“ of routes • Base: Link cost between 2 neighbors • Path cost = sum of link costs along the path • Link cost determination: – Link quality indication from PHY – Statistical measures TU Dresden, ZigBee – Short range slide 39 of 56
  • 40. NWK layer Route discovery • Find or update route between specific source and destination • Started if no active route present in routing table • Broadcast routing request (RREQ) packets • Generates routing table entries for hops to source • Endpoint router responds with Routing response (RREP) packet • Routes generated for hops to destination • Routing table entry generated in source device TU Dresden, ZigBee – Short range slide 40 of 56
  • 41. NWK layer Route discovery RREQ RREP 1 2 3 5 2 1 4 TU Dresden, ZigBee – Short range slide 41 of 56
  • 42. NWK layer Routing • Check if routing table entry exists • Initiate route discovery if possible • Hierarchical routing as fallback Route maintenance • Track failed deliveries to neighbors • Initiate route repair when threshold reached • Careful with network load! • In case of total connectivity loss: – Orphaning procedure – Re-association with network TU Dresden, ZigBee – Short range slide 42 of 56
  • 43. Application Level picture taken from [11] TU Dresden, ZigBee – Short range slide 43 of 56
  • 44. Application Level picture taken from [11] TU Dresden, ZigBee – Short range slide 44 of 56
  • 45. Application Layer Application Support Sub-layer (APS): • interface to NWK-layer (offers general set of functions) • Data transmission, binding and security management picture taken from [1] TU Dresden, ZigBee – Short range slide 45 of 56
  • 46. Application Level picture taken from [11] TU Dresden, ZigBee – Short range slide 46 of 56
  • 47. Application Layer Application Framework: • Specifies Datatypes • Devices describe themselves by ZigBee descriptor: – frequency band – power description – application flags – application version – serial number – manufacturer – ... TU Dresden, ZigBee – Short range slide 47 of 56
  • 48. Application Layer Supported Data-types table taken from [1] TU Dresden, ZigBee – Short range slide 48 of 56
  • 49. Application Level picture taken from [11] TU Dresden, ZigBee – Short range slide 49 of 56
  • 50. Application Layer ZigBee defined Objects (ZDO): • provides common function for applications • Initializes APS, NWK-Layer and Security Service Specification • offers services like device-/service-descovery, binding and security management • assembles information about the network • for ZBC/ZBR -> e.g. binding table picture taken from [1] TU Dresden, ZigBee – Short range slide 50 of 56
  • 51. Evaluation TU Dresden, ZigBee – Short range slide 51 of 56
  • 52. Pros and Cons Pros Cons • good extension of • Not many end devices existing standards available yet • supported by many • Single point of failure companies (centralized architecture) • low power consumption • low cost • easy implemented (Designer concentrates on end application) • flexible network structure TU Dresden, ZigBee – Short range slide 52 of 56
  • 53. Gadget example Pantech & Curitel P1 phone • Only a prototype • control electrical appliances • Check temperature & humidity • Sending messages in case of trespass picture taken from [9] TU Dresden, ZigBee – Short range slide 53 of 56
  • 54. References TU Dresden, ZigBee – Short range slide 54 of 56
  • 55. 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 TU Dresden, ZigBee – Short range slide 55 of 56
  • 56. Thank you for your attention! TU Dresden, ZigBee – Short range slide 56 of 56