SlideShare a Scribd company logo
Introduction to IEEE 802.15.4
     LR-WPANs/ZigBee
Outline
Introduction
General Description
  Network topologies
  PHY Sublayer
  MAC Sublayer
  Superframe Structure
  Frame Structure
PHY Specification
  2450 MHz Mode
  868/915 MHz Mode


                         2         WITS Lab, NSYSU.
Introduction
The IEEE 802 Family
802.1 => Spanning Tree Bridge
802.2 => Logical Link Control (LLC) Protocol
802.3 => CSMA/CD Networks (Ethernet) MAC Protocol
802.4 => Token Bus Networks MAC Protocol               LAN
802.5 => Token Ring Networks MAC Protocol
802.6 => Metropolitan Area Networks (MAN)
802.11 => WLAN (wireless local area network)
   802.11b => 2.4GHz Band; 11 Mbps; direct-sequence
   802.11a => 5.0GHz Band; 54 Mbps; OFDM
   802.11g => 2.4GHz Band; 54 Mbps; OFDM
802.15 => WPAN (wireless personal area network)
   802.15.3 UWB (Ultra Wide Band)
   802.15.4 LR-WPAN (low rate wireless PAN)
802.16 => WLL (wireless local loop)
                           4            WITS Lab, NSYSU.
Overview
LR-WPANs stands for low-rate wireless personal area
networks.
Wireless personal area networks (WPANs) are used to
convey information over relatively short distance.
Unlike wireless local area networks (WLANs),
connections effected via WPANs involve little or no
infrastructure. This feature allows small, power-efficient,
inexpensive solutions to be implemented for a wide
range of devices.
Typically operating in the personal operating space
(POS) of 10m.
                           5           WITS Lab, NSYSU.
ZigBee & IEEE 802.15.4




       6        WITS Lab, NSYSU.
ZigBee Membership
ZigBee Alliance grows to over 90 members (August 16,
2004)
  Promoter
     Ember
     Honeywell
     Invensys
     Mitsubishi Electric
     Motorola
     Philips
     Samsung


                           7       WITS Lab, NSYSU.
Traffic Types
Periodic data
  Sensors
Intermittent data
  Light switch
Repetitive, low-latency data
  Mouse
The raw data rate will be high enough (maximum of 250
kb/s) to satisfy a set of simple needs such as interactive
toys, but scalable down to the needs of sensor and
automation needs (20 kb/s or below) for wireless
communications.
                          8            WITS Lab, NSYSU.
General Description
General Description
A LR-WPAN is a simple, low-cost communication
network that allows wireless connectivity in applications
with limited power and relaxed throughput requirements.
Some of the characteristics of an LR-WPAN are:
  Over-the-air data rates of 250 kb/s, 40 kb/s, and 20 kb/s.
  Star or peer-to-peer operation
  Allocated 16 bit short or 64 bit extended addresses
  Allocation of guaranteed time slots (GTSs)
  Carrier sense multiple access with collision avoidance
  (CSMA-CA) channel access
  Fully acknowledged protocol for transfer reliability

                             10              WITS Lab, NSYSU.
General Description
  Low power consumption
  Energy detection (ED)
  Link quality indication (LQI)
  16 channels in the 2450 MHz band, 10 channels in the 915
  MHz band, and 1 channel in the 868 MHz band
Two different device types can participate in an LR-
WPAN network:
  Full-function device (FFD)
     Can talk to RFDs or other FFDs.
  Reduced-function device (RFD)
     Can only talk to an FFD.
     Intended for applications that are extremely simple.
                            11             WITS Lab, NSYSU.
Components of the IEEE 802.15.4 WPAN
The most basic component in the IEEE 802.15.4 WPAN
is the device.
A device can be an RFD or an FFD.
Two or more devices within a POS communicating on
the same physical channel constitute a WPAN.
A network shall include at least one FFD, operating as
the PAN coordinator.
An IEEE 802.15.4 network is part of the WPAN family
of standards.


                        12          WITS Lab, NSYSU.
Network Topologies
Depending on the application requirements, the LR-
WPAN may operate in either of two topologies: the star
topology or the peer-to-peer topology.
Each independent PAN will select a unique identifier.




                        13           WITS Lab, NSYSU.
Star Topology
The communication is established between devices and
a single central controller, called the PAN coordinator.
A PAN coordinator is the primary controller of the PAN.
The PAN coordinator may be mains powered, while the
devices will most likely be battery powered.
Applications that benefit from a star topology include
home automation, personal computer (PC) peripherals,
toys and games, and personal health care.




                         14          WITS Lab, NSYSU.
Star Network Formation
After an FFD is activated for the first time, it may
establish its own network and become the PAN
coordinator.
All star networks operate independently from all other
star networks currently in operation. This is achieved by
choosing a PAN identifier, which is not currently used
by other network within the radio sphere of influence.
Once the PAN identifier is chosen, the PAN coordinator
can allow other devices to join its network; both FFDs
and RFDs may join the network.

                          15           WITS Lab, NSYSU.
Peer-to-Peer Topology
The peer-to-peer topology also has a PAN coordinator.
Any device can communicate with any other device as
long as they are in range of one another.
Allows more complex network formations to be
implemented, such as mesh networking topology.
Applications such as industrial control and monitoring,
wireless sensor networks, asset and inventory tracking,
intelligent agriculture, and security would benefit from
such a network topology.
Can be ad hoc, self-organizing and self-healing.
Allow multiple hops to route messages from any device
to any other device on the network.
                         16           WITS Lab, NSYSU.
Peer-to-peer Network Formation
Each device is capable of communicating with any other
device within its radio sphere of influence.
One device will be nominated as the PAN coordinator,
for instance, by virtue of being the first device to
communicate on the channel.
An example of the use of the peer-to-peer
communications topology is the cluster-tree.
  The cluster-tree network is a special case of a peer-to-peer
  network in which most devices are FFDs.
  An RFD may connect to a cluster tree network as a leave node
  at the end of a branch, because it may only associate with one
  FFD at a time.
                            17             WITS Lab, NSYSU.
Topology Models




 Star              Mesh            Cluster tree


PAN Coordinator
Full function device
Reduced function device
                          18   WITS Lab, NSYSU.
LR-WPAN Device Architecture
              The upper layers consist of
                a network layer, which
                provides network
                configuration,
                manipulation, and
                message routing.
                an application layer
                provides the intended
                function of the device.
              LLC: logical link control.
              SSCS: service specific
              convergence sublayer.
         19            WITS Lab, NSYSU.
PHY Sublayer
The PHY provides two services
  The PHY data service
  The PHY management service interfacing to the physical layer
  management entity (PLME).
The PHY data service enables the transmission and
reception of PHY protocol data units (PPDUs) across
the physical radio channel.
The features of the PHY are activation and deactivation
of the radio transceiver, ED, LQI, channel selection,
clear channel assessment (CCA), and transmitting as
well as receiving packets across the physical medium.
                           20            WITS Lab, NSYSU.
ZigBee Operating Bands

2.4 GHz
PHY                       Channels 11-26             5 MHz




2.4 GHz                                                         2.4835 GHz




                    Channel 0        Channels 1-10             2 MHz
 868MHz / 915MHz
 PHY
                    868.3 MHz        902 MHz                 928 MHz




                                21             WITS Lab, NSYSU.
Frequency Band and Data Rate



                                        # of       Rx
Frequency   Band   Coverage    Data                            Modulation
                                        Channels   Sensitivity

2.4 GHz     ISM    Worldwide 250 kbps     16        -85 dbm    O_QPSK

868 MHz             Europe    20 kbps      1        -92 dbm      BPSK

915 MHz     ISM    Americas   40 kbps     10        -92 dbm      BPSK




                                22                 WITS Lab, NSYSU.
MAC Sublayer
The MAC sublayer provides two services:
  The MAC data service
  The MAC management service interfacing to the MAC
  sublayer management entity (MLME) service access point
  (SAP).
The MAC data service enables the transmission and
reception of MAC protocol data units (MPDUs) across
the PHY data service.
The features of the MAC sublayer are beacon
management, channel access, GTS management, frame
validation, acknowledged frame delivery, association,
and disassociation.

                          23            WITS Lab, NSYSU.
Superframe Structure
The LR-WPAN standard allows the optional use of a superframe
structure.
The format of the superframe is defined by the coordinator.
The superframe is bounded by network beacons, is sent by the
coordinator, and is divided into 16 equally sized slots.
The beacon frame is transmitted in the first slot of each
superframe.
If a coordinator does not wish to use a superframe structure, it
may turn off the beacon transmissions.
The beacons are used to synchronize the attached devices, to
identify the PAN, and to describe the structure of the superframes.


                              24             WITS Lab, NSYSU.
Superframe Structure without GTSs




            25       WITS Lab, NSYSU.
Superframe Structure with GTSs




           26      WITS Lab, NSYSU.
Frame Structure
The LR-WPAN defines four frame structures
  A beacon frame, used by a coordinator to transmit beacons
  A data frame, used for all transfers of data
  An acknowledgement frame, used for confirming successful
  frame reception
  A MAC command frame, used for handling all MAC peer
  entity control transfers




                           27            WITS Lab, NSYSU.
Schematic View of the Beacon Frame




             28       WITS Lab, NSYSU.
Schematic View of the Data Frame




            29       WITS Lab, NSYSU.
Schematic View of the Acknowledgement
                Frame




              30        WITS Lab, NSYSU.
Schematic View of the MAC Command
              Frame




            31       WITS Lab, NSYSU.
Concept of Primitives




      32       WITS Lab, NSYSU.
PHY Specification
Introduction
The PHY is responsible for the following tasks:
  Activation and deactivation of the radio transceiver
  Energy detection (ED) within the current channel
  LQI for received packets
  CCA for CSMA-CA
  Channel frequency selection
  Data transmission and reception




                             34             WITS Lab, NSYSU.
Operating Frequency Range
Frequency bands and data rates




                        35       WITS Lab, NSYSU.
Channel Assignments and Numbering
A total of 27 channels, numbered 0 to 26, are available
across the three frequency bands.
  Sixteen channels in the 2450 MHz band.
  Ten channels in the 915 MHz band.
  One channels in the 868 MHz band.

The center frequency of these channels is defined as
follows:




                           36              WITS Lab, NSYSU.
Receiver Sensitivity Definition




           37        WITS Lab, NSYSU.
General Packet Format
Each PPDU packet consists of the following basic
components:
  A SHR (synchronization header), which allows a receiving
  device to synchronize and lock onto the bit stream.
  A PHR (PHY header), which contains frame length information.
  A variable length payload, which carriers the MAC sublayer
  frame.
General packet format




                            38           WITS Lab, NSYSU.
Packet Fields
Preamble field
  Used by the transceiver to obtain chip and symbol
  synchronization with an incoming message.
  Composed of 32 binary zeros.


SFD (start-of-frame delimiter) field
  An 8 bit field indicating the end of the synchronization
  (preamble) field and the start of the packet data.
  Format of the SFD field




                             39             WITS Lab, NSYSU.
Packet Fields
Frame length field
  7 bits in length and specifies the total number of octets
  contained in the PSDU.




PSDU field
  Has a variable length and carries the data of the PHY packet.
  For all packet types of length five octets or greater than seven
  octets, the PSDU contains the MAC sublayer frame (i.e.,
  MPDU).
                              40             WITS Lab, NSYSU.
PHY Constants




  41       WITS Lab, NSYSU.
PHY PIB Attributes
PIB: PAN information base.




                       42    WITS Lab, NSYSU.
2450 MHz PHY Specifications
Data rate: 250 kb/s.
Modulation and spreading
  Employs a 16-ary quasi-orthogonal modulation technique.
  During each data symbol period, four information bits are used
  to select one of 16 nearly orthogonal pseudo-random noise
  (PN) sequences to be transmitted.
  The PN sequences for successive data symbols are
  concatenated.
  The aggregate chip sequence is modulated onto the carrier
  using offset quadrature phase-shift keying (O-QPSK)



                            43             WITS Lab, NSYSU.
2450 MHz PHY Specifications
Reference modulator diagram




Reference transmitter diagram




                        44      WITS Lab, NSYSU.
Symbol to Chip Mapping




       45       WITS Lab, NSYSU.
2450 MHz PHY Specifications
O-QPSK modulation
  The chip sequences representing each data symbol are
  modulated onto the carrier using O-QPSK with half-sine
  pulse shaping.




Pulse shape
                  ⎧ ⎛ t ⎞
                  ⎪sin ⎜ π ⎟ 0 ≤ t ≤ 2Tc
        p ( t ) = ⎨ ⎝ 2Tc ⎠
                  ⎪
                  ⎩      0   otherwise
                           46              WITS Lab, NSYSU.
2450 MHz PHY Specifications
Sample baseband chip sequences with pulse shaping




Symbol rate
  The 2450 MHz PHY symbol rate shall be 62.5 ksymbol/s.
Receiver sensitivity
  A compliant device shall be capable of achieving a sensitivity
  of -85 dBm or better.

                            47             WITS Lab, NSYSU.
868/915 MHz PHY Specifications
868/915 MHz band data rates
  868 MHz: 20 kb/s.
  915 MHz: 40 kb/s.


Modulation and Spreading
  The 868/915 MHz PHY shall employ direct sequence spread
  spectrum (DSSS).
  The binary phase-shift keying (BPSK) is used for chip
  modulation.
  Differential encoding is used for data symbol encoding.


                          48           WITS Lab, NSYSU.
868/915 MHz PHY Specifications
Reference modulator diagram




Differential encoding
  Differential encoding is the modulo-2 addition (exclusive or)
  of a raw data bit.
  En = Rn ⊕ En −1
  Rn is the raw data bit being encoded,
  En is the corresponding differentially encoded bit,
  En −1 is the previous differentially encoded bit.

                              49              WITS Lab, NSYSU.
868/915 MHz PHY Specifications
  For each packet transmitted, R1 is the first raw bit to be
  encoded and E0 is assumed to be zero.
  Conversely, the decoding process, as performed at the
  receiver, can be described by:
                       Rn = En ⊕ En −1
  For each packet received, E1 is the first bit to be decoded,
  and E0 is assumed to be zero.
Bit-to-chip mapping
  Each input bit shall be mapped into a 15-chip PN sequence




                              50             WITS Lab, NSYSU.
868/915 MHz PHY Specifications
BPSK modulation
  The chip sequences are modulated onto the carrier using
  BPSK with raised cosine pulse shaping (roll-off factor = 1).
  The chip rate is 300 kchip/s for the 868 MHz band and 600
  kchip/s in the 915 MHz band.


Pulse shape
  The raised cosine pulse shape (roll-off factor = 1) used to
  represent each baseband chip is described by
                         sin (π t / Tc ) cos (π t / T )
                p (t ) =
                            π t / T 1 − ( 4t 2 / Tc2 )

                                 51                  WITS Lab, NSYSU.
868/915 MHz PHY Specifications
Symbol rate
  868 MHz: 20 ksymbol/s
  915 MHz: 40 ksymbol/s


Receiver sensitivity
  A compliant device shall be capable of achieving a sensitivity
  of -92 dBm or better.




                            52             WITS Lab, NSYSU.
Receiver Architecture

                                   Over-Sampling
                                  Rate (n‧chip rate)

      RF           A/D
                                      Coarse
                                  Synchronization


    Half-sine            Packet         Fine Syn.            Down
                                          and/or            Sampling
  Matched Filter     Detection         Start of Data      to Chip Rate

                    Detection          OQPSK              Despreading
Data Stream                         Demodulation              to
                   (Sym. Rate)       (Sym. Rate)          (Sym. Rate)

                                  53                   WITS Lab, NSYSU.
Despreading and Demodulation



                                                          F
                                                 +        i
                                                          n
                                                     -    d
CI1 CI2   CI3 CI4 CI5 CI6                 CI16

                                                          M
                                                          a
                                                          x
                                                          i
                                                     +
                                                          m
                                                 +        u
                                                          m
CQ1 CQ2 CQ3 CQ4 CQ5 CQ6                   CQ16


                              54       WITS Lab, NSYSU.
CSMA/CA Algorithm
The CSMA/CA algorithm shall be used before the
transmission of data or MAC command frames
transmitted within the CAP, and shall not be used for
the transmission of beacon frames, acknowledgment
frames or data frames transmitted in the CFP.
NB is the number of times the CSMA/CA algorithm
was required to backoff.
CW defines the number of backoff periods that need
to be clear of channel activity.
BE is related to how many backoff periods a device
shall wait before assess a channel.
                               *backoff = 20 symbols
                         55           WITS Lab, NSYSU.
CSMA-CA



                    NB=0,CW=2



                     Battery life          Y
                                                 BE=lesser of (2,macMinBE)
                     extension?


                            N



Slotted
                    BE=macMinBE



                     Locate backoff
                    period boundary



              Delay for random (2
                                     BE
                                          − 1)
              unit backoff periods



                 Performance CCA on
                backoff period boundary



                       Channel         Y
                        idle?

                         N
                 CW=2,NB=NB+1,                           CW=CW-1
               BE=min(BE+1,aMaxBE)

                                                                     N
          N        NB>macMaxCS
                    MABackoff?                             CW=O?


                            Y                                 Y
                        Failure   56                      Success
                                                                  WITS Lab, NSYSU.
CSMA-CA



                        NB=0,
                     BE=macMinBE




Unslotted
                Delay for random (2
                                       BE
                                            − 1)
                unit backoff periods



                      Perform CCA



                        Channel         Y
                         idle?

                              N
                     NB=NB+1,
                BE=min(BE+1,aMaxBE)



            N       NB>macMaxCS
                     MABackoffs?


                              Y

                         57
                        Failure
                                                    WITS Lab, NSYSU.
                                                   Success

More Related Content

What's hot

Wide-Area Wireless Networks (WANS) – GSM Evolution
Wide-Area Wireless Networks (WANS) – GSM EvolutionWide-Area Wireless Networks (WANS) – GSM Evolution
Wide-Area Wireless Networks (WANS) – GSM Evolution
Don Norwood
 
Hiperlan
HiperlanHiperlan
Hiperlan
balaji191091
 
Lecture 1 mobile and adhoc network- introduction
Lecture 1  mobile and adhoc network- introductionLecture 1  mobile and adhoc network- introduction
Lecture 1 mobile and adhoc network- introduction
Chandra Meena
 
Wireless Personal Area Networks
Wireless Personal Area NetworksWireless Personal Area Networks
Wireless Personal Area Networks
Dilum Bandara
 
Wireless mesh network (2)
Wireless mesh network (2)Wireless mesh network (2)
Wireless mesh network (2)
Jyoti Yadav
 
IEEE802.16-Anoverview
IEEE802.16-AnoverviewIEEE802.16-Anoverview
IEEE802.16-Anoverview
Pawan Parande - CSM®
 
EC8004 - Wireless Networks Question Bank
EC8004 - Wireless Networks Question BankEC8004 - Wireless Networks Question Bank
EC8004 - Wireless Networks Question Bank
KannanKrishnana
 
The current state of LoRaWAN security
The current state of LoRaWAN securityThe current state of LoRaWAN security
The current state of LoRaWAN security
📡 Sebastien Dudek
 
Adhoc and Sensor Networks - Chapter 07
Adhoc and Sensor Networks - Chapter 07Adhoc and Sensor Networks - Chapter 07
Adhoc and Sensor Networks - Chapter 07
Ali Habeeb
 
IEEE 802.11s Tutorial - Overview of the Amendment for Wireless Local Area Mes...
IEEE 802.11s Tutorial - Overview of the Amendment for Wireless Local Area Mes...IEEE 802.11s Tutorial - Overview of the Amendment for Wireless Local Area Mes...
IEEE 802.11s Tutorial - Overview of the Amendment for Wireless Local Area Mes...
Xi'an Jiaotong-Liverpool University
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)
IJERD Editor
 
High Speed data transmission in medical body sensor network by reducing the d...
High Speed data transmission in medical body sensor network by reducing the d...High Speed data transmission in medical body sensor network by reducing the d...
High Speed data transmission in medical body sensor network by reducing the d...
ijsrd.com
 
wlans
wlanswlans
Iot module2
Iot module2Iot module2
Wireless mesh networkk routing
Wireless mesh networkk routingWireless mesh networkk routing
Wireless mesh networkk routing
Abhishek Kona
 
Unit 3
Unit 3Unit 3
Wi max and military applications
Wi max and military applicationsWi max and military applications
Wi max and military applications
Souhaiel tekaya
 
Bi36358362
Bi36358362Bi36358362
Bi36358362
IJERA Editor
 
Analysis of WiMAX Physical Layer Using Spatial Multiplexing Under Different F...
Analysis of WiMAX Physical Layer Using Spatial Multiplexing Under Different F...Analysis of WiMAX Physical Layer Using Spatial Multiplexing Under Different F...
Analysis of WiMAX Physical Layer Using Spatial Multiplexing Under Different F...
CSCJournals
 
LTE unlicensed
LTE unlicensedLTE unlicensed
LTE unlicensed
Phanindra Mtds
 

What's hot (20)

Wide-Area Wireless Networks (WANS) – GSM Evolution
Wide-Area Wireless Networks (WANS) – GSM EvolutionWide-Area Wireless Networks (WANS) – GSM Evolution
Wide-Area Wireless Networks (WANS) – GSM Evolution
 
Hiperlan
HiperlanHiperlan
Hiperlan
 
Lecture 1 mobile and adhoc network- introduction
Lecture 1  mobile and adhoc network- introductionLecture 1  mobile and adhoc network- introduction
Lecture 1 mobile and adhoc network- introduction
 
Wireless Personal Area Networks
Wireless Personal Area NetworksWireless Personal Area Networks
Wireless Personal Area Networks
 
Wireless mesh network (2)
Wireless mesh network (2)Wireless mesh network (2)
Wireless mesh network (2)
 
IEEE802.16-Anoverview
IEEE802.16-AnoverviewIEEE802.16-Anoverview
IEEE802.16-Anoverview
 
EC8004 - Wireless Networks Question Bank
EC8004 - Wireless Networks Question BankEC8004 - Wireless Networks Question Bank
EC8004 - Wireless Networks Question Bank
 
The current state of LoRaWAN security
The current state of LoRaWAN securityThe current state of LoRaWAN security
The current state of LoRaWAN security
 
Adhoc and Sensor Networks - Chapter 07
Adhoc and Sensor Networks - Chapter 07Adhoc and Sensor Networks - Chapter 07
Adhoc and Sensor Networks - Chapter 07
 
IEEE 802.11s Tutorial - Overview of the Amendment for Wireless Local Area Mes...
IEEE 802.11s Tutorial - Overview of the Amendment for Wireless Local Area Mes...IEEE 802.11s Tutorial - Overview of the Amendment for Wireless Local Area Mes...
IEEE 802.11s Tutorial - Overview of the Amendment for Wireless Local Area Mes...
 
Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)Welcome to International Journal of Engineering Research and Development (IJERD)
Welcome to International Journal of Engineering Research and Development (IJERD)
 
High Speed data transmission in medical body sensor network by reducing the d...
High Speed data transmission in medical body sensor network by reducing the d...High Speed data transmission in medical body sensor network by reducing the d...
High Speed data transmission in medical body sensor network by reducing the d...
 
wlans
wlanswlans
wlans
 
Iot module2
Iot module2Iot module2
Iot module2
 
Wireless mesh networkk routing
Wireless mesh networkk routingWireless mesh networkk routing
Wireless mesh networkk routing
 
Unit 3
Unit 3Unit 3
Unit 3
 
Wi max and military applications
Wi max and military applicationsWi max and military applications
Wi max and military applications
 
Bi36358362
Bi36358362Bi36358362
Bi36358362
 
Analysis of WiMAX Physical Layer Using Spatial Multiplexing Under Different F...
Analysis of WiMAX Physical Layer Using Spatial Multiplexing Under Different F...Analysis of WiMAX Physical Layer Using Spatial Multiplexing Under Different F...
Analysis of WiMAX Physical Layer Using Spatial Multiplexing Under Different F...
 
LTE unlicensed
LTE unlicensedLTE unlicensed
LTE unlicensed
 

Similar to Bbic 08-zig bee

EC8004-Wireless Networks-unitwise notes.pdf
EC8004-Wireless Networks-unitwise notes.pdfEC8004-Wireless Networks-unitwise notes.pdf
EC8004-Wireless Networks-unitwise notes.pdf
dhananjeyanrece
 
WPAN According To ZIGBEE
WPAN According To ZIGBEEWPAN According To ZIGBEE
WPAN According To ZIGBEE
Afaq Siddiqui
 
5G network architecture progress
5G network architecture progress5G network architecture progress
5G network architecture progress
Mohammad Anwarul Islam
 
2_wpan.ppt
2_wpan.ppt2_wpan.ppt
Link Performance Analysis of DASH7 Protocol
Link Performance Analysis of DASH7 ProtocolLink Performance Analysis of DASH7 Protocol
Link Performance Analysis of DASH7 Protocol
Ahmed Ghouri
 
Wireless Local Area Networks
Wireless Local Area NetworksWireless Local Area Networks
Wireless Local Area Networks
Don Norwood
 
Zigbee Based Wireless Sensor Networks for Smart Campus
Zigbee Based Wireless Sensor Networks for Smart CampusZigbee Based Wireless Sensor Networks for Smart Campus
Zigbee Based Wireless Sensor Networks for Smart Campus
IJMER
 
Computer Networking - Complete Resume Guide
Computer Networking - Complete Resume GuideComputer Networking - Complete Resume Guide
Computer Networking - Complete Resume Guide
zcorpio
 
Zigbee technology
Zigbee technology Zigbee technology
207088 633815660985047486
207088 633815660985047486207088 633815660985047486
207088 633815660985047486
Sathish Pilla
 
EC8004 wireless networks unit 1
EC8004 wireless networks unit 1 EC8004 wireless networks unit 1
EC8004 wireless networks unit 1
HemalathaR31
 
Wireless LAN
Wireless LANWireless LAN
Wireless LAN
KannanKrishnana
 
0 lecture 5 wp wireless protocol
0 lecture 5 wp wireless protocol0 lecture 5 wp wireless protocol
0 lecture 5 wp wireless protocol
umardanjumamaiwada
 
overview of adhoc wireless networks.pptx
overview of adhoc wireless networks.pptxoverview of adhoc wireless networks.pptx
overview of adhoc wireless networks.pptx
paruvathavardhinij
 
Network-20210426203825.ppt
Network-20210426203825.pptNetwork-20210426203825.ppt
Network-20210426203825.ppt
Sri Latha
 
V_Tikhvinskiy.pdf
V_Tikhvinskiy.pdfV_Tikhvinskiy.pdf
V_Tikhvinskiy.pdf
CharbelRahme2
 
Ad hoc wireless networks-Overview
 Ad hoc wireless networks-Overview Ad hoc wireless networks-Overview
Ad hoc wireless networks-Overview
paruvathavardhinipra
 
Zigbee 802-15-4
Zigbee 802-15-4Zigbee 802-15-4
Zigbee 802-15-4
SHUBHAM MORGAONKAR
 
Lecture 13
Lecture 13Lecture 13
Lecture 13
Joe Christensen
 
Wi max
Wi maxWi max
Wi max
Ali Kamil
 

Similar to Bbic 08-zig bee (20)

EC8004-Wireless Networks-unitwise notes.pdf
EC8004-Wireless Networks-unitwise notes.pdfEC8004-Wireless Networks-unitwise notes.pdf
EC8004-Wireless Networks-unitwise notes.pdf
 
WPAN According To ZIGBEE
WPAN According To ZIGBEEWPAN According To ZIGBEE
WPAN According To ZIGBEE
 
5G network architecture progress
5G network architecture progress5G network architecture progress
5G network architecture progress
 
2_wpan.ppt
2_wpan.ppt2_wpan.ppt
2_wpan.ppt
 
Link Performance Analysis of DASH7 Protocol
Link Performance Analysis of DASH7 ProtocolLink Performance Analysis of DASH7 Protocol
Link Performance Analysis of DASH7 Protocol
 
Wireless Local Area Networks
Wireless Local Area NetworksWireless Local Area Networks
Wireless Local Area Networks
 
Zigbee Based Wireless Sensor Networks for Smart Campus
Zigbee Based Wireless Sensor Networks for Smart CampusZigbee Based Wireless Sensor Networks for Smart Campus
Zigbee Based Wireless Sensor Networks for Smart Campus
 
Computer Networking - Complete Resume Guide
Computer Networking - Complete Resume GuideComputer Networking - Complete Resume Guide
Computer Networking - Complete Resume Guide
 
Zigbee technology
Zigbee technology Zigbee technology
Zigbee technology
 
207088 633815660985047486
207088 633815660985047486207088 633815660985047486
207088 633815660985047486
 
EC8004 wireless networks unit 1
EC8004 wireless networks unit 1 EC8004 wireless networks unit 1
EC8004 wireless networks unit 1
 
Wireless LAN
Wireless LANWireless LAN
Wireless LAN
 
0 lecture 5 wp wireless protocol
0 lecture 5 wp wireless protocol0 lecture 5 wp wireless protocol
0 lecture 5 wp wireless protocol
 
overview of adhoc wireless networks.pptx
overview of adhoc wireless networks.pptxoverview of adhoc wireless networks.pptx
overview of adhoc wireless networks.pptx
 
Network-20210426203825.ppt
Network-20210426203825.pptNetwork-20210426203825.ppt
Network-20210426203825.ppt
 
V_Tikhvinskiy.pdf
V_Tikhvinskiy.pdfV_Tikhvinskiy.pdf
V_Tikhvinskiy.pdf
 
Ad hoc wireless networks-Overview
 Ad hoc wireless networks-Overview Ad hoc wireless networks-Overview
Ad hoc wireless networks-Overview
 
Zigbee 802-15-4
Zigbee 802-15-4Zigbee 802-15-4
Zigbee 802-15-4
 
Lecture 13
Lecture 13Lecture 13
Lecture 13
 
Wi max
Wi maxWi max
Wi max
 

Bbic 08-zig bee

  • 1. Introduction to IEEE 802.15.4 LR-WPANs/ZigBee
  • 2. Outline Introduction General Description Network topologies PHY Sublayer MAC Sublayer Superframe Structure Frame Structure PHY Specification 2450 MHz Mode 868/915 MHz Mode 2 WITS Lab, NSYSU.
  • 4. The IEEE 802 Family 802.1 => Spanning Tree Bridge 802.2 => Logical Link Control (LLC) Protocol 802.3 => CSMA/CD Networks (Ethernet) MAC Protocol 802.4 => Token Bus Networks MAC Protocol LAN 802.5 => Token Ring Networks MAC Protocol 802.6 => Metropolitan Area Networks (MAN) 802.11 => WLAN (wireless local area network) 802.11b => 2.4GHz Band; 11 Mbps; direct-sequence 802.11a => 5.0GHz Band; 54 Mbps; OFDM 802.11g => 2.4GHz Band; 54 Mbps; OFDM 802.15 => WPAN (wireless personal area network) 802.15.3 UWB (Ultra Wide Band) 802.15.4 LR-WPAN (low rate wireless PAN) 802.16 => WLL (wireless local loop) 4 WITS Lab, NSYSU.
  • 5. Overview LR-WPANs stands for low-rate wireless personal area networks. Wireless personal area networks (WPANs) are used to convey information over relatively short distance. Unlike wireless local area networks (WLANs), connections effected via WPANs involve little or no infrastructure. This feature allows small, power-efficient, inexpensive solutions to be implemented for a wide range of devices. Typically operating in the personal operating space (POS) of 10m. 5 WITS Lab, NSYSU.
  • 6. ZigBee & IEEE 802.15.4 6 WITS Lab, NSYSU.
  • 7. ZigBee Membership ZigBee Alliance grows to over 90 members (August 16, 2004) Promoter Ember Honeywell Invensys Mitsubishi Electric Motorola Philips Samsung 7 WITS Lab, NSYSU.
  • 8. Traffic Types Periodic data Sensors Intermittent data Light switch Repetitive, low-latency data Mouse The raw data rate will be high enough (maximum of 250 kb/s) to satisfy a set of simple needs such as interactive toys, but scalable down to the needs of sensor and automation needs (20 kb/s or below) for wireless communications. 8 WITS Lab, NSYSU.
  • 10. General Description A LR-WPAN is a simple, low-cost communication network that allows wireless connectivity in applications with limited power and relaxed throughput requirements. Some of the characteristics of an LR-WPAN are: Over-the-air data rates of 250 kb/s, 40 kb/s, and 20 kb/s. Star or peer-to-peer operation Allocated 16 bit short or 64 bit extended addresses Allocation of guaranteed time slots (GTSs) Carrier sense multiple access with collision avoidance (CSMA-CA) channel access Fully acknowledged protocol for transfer reliability 10 WITS Lab, NSYSU.
  • 11. General Description Low power consumption Energy detection (ED) Link quality indication (LQI) 16 channels in the 2450 MHz band, 10 channels in the 915 MHz band, and 1 channel in the 868 MHz band Two different device types can participate in an LR- WPAN network: Full-function device (FFD) Can talk to RFDs or other FFDs. Reduced-function device (RFD) Can only talk to an FFD. Intended for applications that are extremely simple. 11 WITS Lab, NSYSU.
  • 12. Components of the IEEE 802.15.4 WPAN The most basic component in the IEEE 802.15.4 WPAN is the device. A device can be an RFD or an FFD. Two or more devices within a POS communicating on the same physical channel constitute a WPAN. A network shall include at least one FFD, operating as the PAN coordinator. An IEEE 802.15.4 network is part of the WPAN family of standards. 12 WITS Lab, NSYSU.
  • 13. Network Topologies Depending on the application requirements, the LR- WPAN may operate in either of two topologies: the star topology or the peer-to-peer topology. Each independent PAN will select a unique identifier. 13 WITS Lab, NSYSU.
  • 14. Star Topology The communication is established between devices and a single central controller, called the PAN coordinator. A PAN coordinator is the primary controller of the PAN. The PAN coordinator may be mains powered, while the devices will most likely be battery powered. Applications that benefit from a star topology include home automation, personal computer (PC) peripherals, toys and games, and personal health care. 14 WITS Lab, NSYSU.
  • 15. Star Network Formation After an FFD is activated for the first time, it may establish its own network and become the PAN coordinator. All star networks operate independently from all other star networks currently in operation. This is achieved by choosing a PAN identifier, which is not currently used by other network within the radio sphere of influence. Once the PAN identifier is chosen, the PAN coordinator can allow other devices to join its network; both FFDs and RFDs may join the network. 15 WITS Lab, NSYSU.
  • 16. Peer-to-Peer Topology The peer-to-peer topology also has a PAN coordinator. Any device can communicate with any other device as long as they are in range of one another. Allows more complex network formations to be implemented, such as mesh networking topology. Applications such as industrial control and monitoring, wireless sensor networks, asset and inventory tracking, intelligent agriculture, and security would benefit from such a network topology. Can be ad hoc, self-organizing and self-healing. Allow multiple hops to route messages from any device to any other device on the network. 16 WITS Lab, NSYSU.
  • 17. Peer-to-peer Network Formation Each device is capable of communicating with any other device within its radio sphere of influence. One device will be nominated as the PAN coordinator, for instance, by virtue of being the first device to communicate on the channel. An example of the use of the peer-to-peer communications topology is the cluster-tree. The cluster-tree network is a special case of a peer-to-peer network in which most devices are FFDs. An RFD may connect to a cluster tree network as a leave node at the end of a branch, because it may only associate with one FFD at a time. 17 WITS Lab, NSYSU.
  • 18. Topology Models Star Mesh Cluster tree PAN Coordinator Full function device Reduced function device 18 WITS Lab, NSYSU.
  • 19. LR-WPAN Device Architecture The upper layers consist of a network layer, which provides network configuration, manipulation, and message routing. an application layer provides the intended function of the device. LLC: logical link control. SSCS: service specific convergence sublayer. 19 WITS Lab, NSYSU.
  • 20. PHY Sublayer The PHY provides two services The PHY data service The PHY management service interfacing to the physical layer management entity (PLME). The PHY data service enables the transmission and reception of PHY protocol data units (PPDUs) across the physical radio channel. The features of the PHY are activation and deactivation of the radio transceiver, ED, LQI, channel selection, clear channel assessment (CCA), and transmitting as well as receiving packets across the physical medium. 20 WITS Lab, NSYSU.
  • 21. ZigBee Operating Bands 2.4 GHz PHY Channels 11-26 5 MHz 2.4 GHz 2.4835 GHz Channel 0 Channels 1-10 2 MHz 868MHz / 915MHz PHY 868.3 MHz 902 MHz 928 MHz 21 WITS Lab, NSYSU.
  • 22. Frequency Band and Data Rate # of Rx Frequency Band Coverage Data Modulation Channels Sensitivity 2.4 GHz ISM Worldwide 250 kbps 16 -85 dbm O_QPSK 868 MHz Europe 20 kbps 1 -92 dbm BPSK 915 MHz ISM Americas 40 kbps 10 -92 dbm BPSK 22 WITS Lab, NSYSU.
  • 23. MAC Sublayer The MAC sublayer provides two services: The MAC data service The MAC management service interfacing to the MAC sublayer management entity (MLME) service access point (SAP). The MAC data service enables the transmission and reception of MAC protocol data units (MPDUs) across the PHY data service. The features of the MAC sublayer are beacon management, channel access, GTS management, frame validation, acknowledged frame delivery, association, and disassociation. 23 WITS Lab, NSYSU.
  • 24. Superframe Structure The LR-WPAN standard allows the optional use of a superframe structure. The format of the superframe is defined by the coordinator. The superframe is bounded by network beacons, is sent by the coordinator, and is divided into 16 equally sized slots. The beacon frame is transmitted in the first slot of each superframe. If a coordinator does not wish to use a superframe structure, it may turn off the beacon transmissions. The beacons are used to synchronize the attached devices, to identify the PAN, and to describe the structure of the superframes. 24 WITS Lab, NSYSU.
  • 25. Superframe Structure without GTSs 25 WITS Lab, NSYSU.
  • 26. Superframe Structure with GTSs 26 WITS Lab, NSYSU.
  • 27. Frame Structure The LR-WPAN defines four frame structures A beacon frame, used by a coordinator to transmit beacons A data frame, used for all transfers of data An acknowledgement frame, used for confirming successful frame reception A MAC command frame, used for handling all MAC peer entity control transfers 27 WITS Lab, NSYSU.
  • 28. Schematic View of the Beacon Frame 28 WITS Lab, NSYSU.
  • 29. Schematic View of the Data Frame 29 WITS Lab, NSYSU.
  • 30. Schematic View of the Acknowledgement Frame 30 WITS Lab, NSYSU.
  • 31. Schematic View of the MAC Command Frame 31 WITS Lab, NSYSU.
  • 32. Concept of Primitives 32 WITS Lab, NSYSU.
  • 34. Introduction The PHY is responsible for the following tasks: Activation and deactivation of the radio transceiver Energy detection (ED) within the current channel LQI for received packets CCA for CSMA-CA Channel frequency selection Data transmission and reception 34 WITS Lab, NSYSU.
  • 35. Operating Frequency Range Frequency bands and data rates 35 WITS Lab, NSYSU.
  • 36. Channel Assignments and Numbering A total of 27 channels, numbered 0 to 26, are available across the three frequency bands. Sixteen channels in the 2450 MHz band. Ten channels in the 915 MHz band. One channels in the 868 MHz band. The center frequency of these channels is defined as follows: 36 WITS Lab, NSYSU.
  • 37. Receiver Sensitivity Definition 37 WITS Lab, NSYSU.
  • 38. General Packet Format Each PPDU packet consists of the following basic components: A SHR (synchronization header), which allows a receiving device to synchronize and lock onto the bit stream. A PHR (PHY header), which contains frame length information. A variable length payload, which carriers the MAC sublayer frame. General packet format 38 WITS Lab, NSYSU.
  • 39. Packet Fields Preamble field Used by the transceiver to obtain chip and symbol synchronization with an incoming message. Composed of 32 binary zeros. SFD (start-of-frame delimiter) field An 8 bit field indicating the end of the synchronization (preamble) field and the start of the packet data. Format of the SFD field 39 WITS Lab, NSYSU.
  • 40. Packet Fields Frame length field 7 bits in length and specifies the total number of octets contained in the PSDU. PSDU field Has a variable length and carries the data of the PHY packet. For all packet types of length five octets or greater than seven octets, the PSDU contains the MAC sublayer frame (i.e., MPDU). 40 WITS Lab, NSYSU.
  • 41. PHY Constants 41 WITS Lab, NSYSU.
  • 42. PHY PIB Attributes PIB: PAN information base. 42 WITS Lab, NSYSU.
  • 43. 2450 MHz PHY Specifications Data rate: 250 kb/s. Modulation and spreading Employs a 16-ary quasi-orthogonal modulation technique. During each data symbol period, four information bits are used to select one of 16 nearly orthogonal pseudo-random noise (PN) sequences to be transmitted. The PN sequences for successive data symbols are concatenated. The aggregate chip sequence is modulated onto the carrier using offset quadrature phase-shift keying (O-QPSK) 43 WITS Lab, NSYSU.
  • 44. 2450 MHz PHY Specifications Reference modulator diagram Reference transmitter diagram 44 WITS Lab, NSYSU.
  • 45. Symbol to Chip Mapping 45 WITS Lab, NSYSU.
  • 46. 2450 MHz PHY Specifications O-QPSK modulation The chip sequences representing each data symbol are modulated onto the carrier using O-QPSK with half-sine pulse shaping. Pulse shape ⎧ ⎛ t ⎞ ⎪sin ⎜ π ⎟ 0 ≤ t ≤ 2Tc p ( t ) = ⎨ ⎝ 2Tc ⎠ ⎪ ⎩ 0 otherwise 46 WITS Lab, NSYSU.
  • 47. 2450 MHz PHY Specifications Sample baseband chip sequences with pulse shaping Symbol rate The 2450 MHz PHY symbol rate shall be 62.5 ksymbol/s. Receiver sensitivity A compliant device shall be capable of achieving a sensitivity of -85 dBm or better. 47 WITS Lab, NSYSU.
  • 48. 868/915 MHz PHY Specifications 868/915 MHz band data rates 868 MHz: 20 kb/s. 915 MHz: 40 kb/s. Modulation and Spreading The 868/915 MHz PHY shall employ direct sequence spread spectrum (DSSS). The binary phase-shift keying (BPSK) is used for chip modulation. Differential encoding is used for data symbol encoding. 48 WITS Lab, NSYSU.
  • 49. 868/915 MHz PHY Specifications Reference modulator diagram Differential encoding Differential encoding is the modulo-2 addition (exclusive or) of a raw data bit. En = Rn ⊕ En −1 Rn is the raw data bit being encoded, En is the corresponding differentially encoded bit, En −1 is the previous differentially encoded bit. 49 WITS Lab, NSYSU.
  • 50. 868/915 MHz PHY Specifications For each packet transmitted, R1 is the first raw bit to be encoded and E0 is assumed to be zero. Conversely, the decoding process, as performed at the receiver, can be described by: Rn = En ⊕ En −1 For each packet received, E1 is the first bit to be decoded, and E0 is assumed to be zero. Bit-to-chip mapping Each input bit shall be mapped into a 15-chip PN sequence 50 WITS Lab, NSYSU.
  • 51. 868/915 MHz PHY Specifications BPSK modulation The chip sequences are modulated onto the carrier using BPSK with raised cosine pulse shaping (roll-off factor = 1). The chip rate is 300 kchip/s for the 868 MHz band and 600 kchip/s in the 915 MHz band. Pulse shape The raised cosine pulse shape (roll-off factor = 1) used to represent each baseband chip is described by sin (π t / Tc ) cos (π t / T ) p (t ) = π t / T 1 − ( 4t 2 / Tc2 ) 51 WITS Lab, NSYSU.
  • 52. 868/915 MHz PHY Specifications Symbol rate 868 MHz: 20 ksymbol/s 915 MHz: 40 ksymbol/s Receiver sensitivity A compliant device shall be capable of achieving a sensitivity of -92 dBm or better. 52 WITS Lab, NSYSU.
  • 53. Receiver Architecture Over-Sampling Rate (n‧chip rate) RF A/D Coarse Synchronization Half-sine Packet Fine Syn. Down and/or Sampling Matched Filter Detection Start of Data to Chip Rate Detection OQPSK Despreading Data Stream Demodulation to (Sym. Rate) (Sym. Rate) (Sym. Rate) 53 WITS Lab, NSYSU.
  • 54. Despreading and Demodulation F + i n - d CI1 CI2 CI3 CI4 CI5 CI6 CI16 M a x i + m + u m CQ1 CQ2 CQ3 CQ4 CQ5 CQ6 CQ16 54 WITS Lab, NSYSU.
  • 55. CSMA/CA Algorithm The CSMA/CA algorithm shall be used before the transmission of data or MAC command frames transmitted within the CAP, and shall not be used for the transmission of beacon frames, acknowledgment frames or data frames transmitted in the CFP. NB is the number of times the CSMA/CA algorithm was required to backoff. CW defines the number of backoff periods that need to be clear of channel activity. BE is related to how many backoff periods a device shall wait before assess a channel. *backoff = 20 symbols 55 WITS Lab, NSYSU.
  • 56. CSMA-CA NB=0,CW=2 Battery life Y BE=lesser of (2,macMinBE) extension? N Slotted BE=macMinBE Locate backoff period boundary Delay for random (2 BE − 1) unit backoff periods Performance CCA on backoff period boundary Channel Y idle? N CW=2,NB=NB+1, CW=CW-1 BE=min(BE+1,aMaxBE) N N NB>macMaxCS MABackoff? CW=O? Y Y Failure 56 Success WITS Lab, NSYSU.
  • 57. CSMA-CA NB=0, BE=macMinBE Unslotted Delay for random (2 BE − 1) unit backoff periods Perform CCA Channel Y idle? N NB=NB+1, BE=min(BE+1,aMaxBE) N NB>macMaxCS MABackoffs? Y 57 Failure WITS Lab, NSYSU. Success