Escolar Documentos
Profissional Documentos
Cultura Documentos
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
Introduction
LAN
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
ZigBee Membership
ZigBee Alliance grows to over 90 members (August 16, 2004)
Promoter Ember Honeywell Invensys Mitsubishi Electric Motorola Philips Samsung
Traffic Types
Periodic data
Sensors
Intermittent data
Light switch
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
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
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
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
Network Topologies
Depending on the application requirements, the LRWPAN 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
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
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
Topology Models
Star
Mesh
Cluster tree
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
Channels 11-26
5 MHz
2.4 GHz
2.4835 GHz
Channel 0
Channels 1-10
2 MHz
868.3 MHz
902 MHz
928 MHz
21
Band ISM
Coverage
Data
# of Channels 16 1 10
Rx Modulation Sensitivity -85 dbm -92 dbm -92 dbm O_QPSK BPSK BPSK
ISM
Americas
22
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
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
25
26
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
28
29
30
31
Concept of Primitives
32
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
35
36
37
38
Packet Fields
Preamble field
Used by the transceiver to obtain chip and symbol synchronization with an incoming message. Composed of 32 binary zeros.
39
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
PHY Constants
41
42
43
44
45
Pulse shape
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
48
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
Bit-to-chip mapping
Each input bit shall be mapped into a 15-chip PN sequence
50
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
Receiver sensitivity
A compliant device shall be capable of achieving a sensitivity of -92 dBm or better.
52
Receiver Architecture
Over-Sampling Rate (nchip rate)
RF
A/D
Coarse Synchronization
Down Sampling to Chip Rate Despreading to (Sym. Rate) WITS Lab, NSYSU.
Data Stream
(Sym. Rate)
F i n d M a x i m u m
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.
55
backoff = 20 symbols
WITS Lab, NSYSU.
CSMA-CA
NB=0,CW=2
BE=lesser of (2,macMinBE)
Slotted
BE=macMinBE
BE
1)
Channel idle?
N CW=2,NB=NB+1, BE=min(BE+1,aMaxBE)
CW=CW-1
56
Y Success
CSMA-CA
NB=0, BE=macMinBE
Unslotted
Delay for random (2 unit backoff periods Perform CCA
BE
1)
Channel idle? N
NB=NB+1, BE=min(BE+1,aMaxBE)
NB>macMaxCS MABackoffs?
Y Failure
57
Success