Professional Documents
Culture Documents
Zigbee 802 15 4
Zigbee 802 15 4
4
Overview
Industrial
Agricultural
Vehicular
Residential
Medical
ZigBee/802.15.4 Architecture
IEEE 802.15.4
ZigBee Specification
monitors
sensors
automation
control
monitors
diagnostics
sensors
INDUSTRIAL
&
COMMERCIAL
CONSUMER
ELECTRONIC
S
TV VCR
DVD/CD
Remote
control
ZigBee
PERSONAL
HEALTH
CARE
consoles
portables
educational
LOW DATA-RATE
RADIO DEVICES
TOYS &
GAMES
HOME
AUTOMATION
PC &
PERIPHERAL
S
mouse
keyboard
joystick
security
HVAC
lighting
closures
Wireless Technologies
Range
Meters
GSM
GPRS
EDGE
3G
2000
2003-4
10,000
2005
1,000
802.11b
802.11a/g
ZigBee
100
Bluetooth 2.0
Bluetooth
10
100
WiMedia
Bluetooth 1.5
10
1,000
Hiper
LAN/2
10,000
Bandwidth
kbps
100,000
10
11
General Characteristics
12
14
PHY functionalities:
Channel 0
868.3 MHz
2.4 GHz
PHY
2.4 GHz
Channels 1-10
902 MHz
Channels 11-26
2 MHz
928 MHz
5 MHz
2.4835 GHz
16
17
Sync Header
Start of
Preamble Packet
Delimiter
4 Octets
1 Octets
PHY Header
Frame Reserve
Length (1 bit)
(7 bit)
1 Octets
PHY Payload
PHY Service
Data Unit (PSDU)
0-127 Octets
18
19
20
Any topology
Network coordinator capable
Talks to any other device
21
Device Addressing
Star Topology
Network
coordinator
Master/slave
Mesh
Tree
Full Function Device (FFD)
Communications Flow
24
Combined Topology
Clustered stars - for
example, cluster nodes
exist between rooms of a
hotel and each room has a
star network for control.
Communications flow
PHY Layer
MAC
Layer
Payload
Synch. Header
(SHR)
MAC Header
(MHR)
PHY Header
(PHR)
MAC Footer
(MFR)
Periodic data
Application defined rate (e.g. sensors)
Intermittent data
Application/external stimulus defined rate (e.g. light switch)
27
Superframe
Beacon
Beacon
CAP
CFP
GTS
0
0
10
11
12
GTS
1
13
14
Inactive
15
28
Superframe
starting superframes
synchronizing with associated devices
announcing the existence of a PAN
informing pending data in coordinators
In a beacon-enabled network,
SD = aBaseSuperFrameDuration 2SO
For channels 11 to 26,
aBaseSuperFrameDuration=5.36 ms
BI = aBaseSuperFrameDuration 2BO
30
Duty Cycle
BO-SO
Duty cycle
(%)
100
50
25
12
10
31
Two types:
In beacon-enabled networks
32
33
Unslotted
CSMA/CA
CSMA-CA
Slotted?
No
34
Slotted CSMA/CA
35
Slot boundary
One CAP slot
BP
CW = 0
random(2BE 1) BP
Transmission
CW BP
36
Slotted CSMA/CA
CSMA-CA
Slotted?
Yes
NB = 0, CW =2
Battery life
extension?
Yes
BE = min(2,
macMinBE)
No
BE = macMinBE
locate backoff
period boundary
37
GTS concepts
GTS Concepts
39
GTS Concepts
40
Association procedures
Scan
channel
ACK
Make
decision
Beacon
(pending address)
Wait for
response
Data req.
ACK
Association resp.
ACK
41
Association Procedures
42
Communication to a coordinator
In a beacon-enabled network
43
Communication to a coordinator
In a non beacon-enabled network
44
In a beacon-enabled
network
45
In a non beacon-enabled
network
46
47
48
49
Topological Parameter
(Lm, Cm, Rm) for a ZigBee Tree
ZigBee coordinator
determines three network
parameters
Example: Lm = 3
depth = 0
devices at depth Lm
can only be ZEDs
ZC
ZR
ZED
50
1 + Cm ( Lm d 1),
Cskip (d ) = 1 + Cm Rm Cm Rm Lm d 1
,
1 Rm
if Rm = 1 LLLL (a)
Otherwise LLLL (b)
51
Cskip=31
For node C 0 1
Total:127
32
63
94
125,126
node A
If a parent node at
depth d has an
address Aparent,
32
Addr = 64,
Cskip = 1
Cm=6
Rm=4
Lm=3
Addr = 92
Addr = 125
Addr = 63,
Cskip = 7
Addr = 30
Addr = 0,
Cskip = 31
Addr = 126
Addr = 1,
Cskip = 7
A
Addr = 31
Addr = 32,
Cskip = 7
Addr = 40,
Cskip = 1
Addr = 33,
Cskip = 1
Addr = 45
C
Addr = 38
Addr = 39
52
Properties of DAAM
Hierarchical addressing
Lm = 3, Cm = 4, Rm =3
0
35
1
52
18
17
51
5
4
36
addresses 2 - 6
addresses 1 - 17
53
Weakness of DAAM
Lack of flexibility
FFD
configured
as a ZR/ZC
FFD
configured
as a ZED
H
F
ZC
C
E
unconfigured
FFD
configured
RFD
Assume Cm = 4, Rm = 3, Lm = 3.
54
55
In a tree network
In a mesh network
Two options
Note:
56
Routing procedures
57
Routing Determination
Links with lower cost will be chosen into the routing path.
The cost of a link is defined based on the packet delivery
probability on that link
Pros
Cons
Star
1. Easy to synchronize
2. Support low power operation
3. Low latency
1. Small scale
Tree