802.15.4 and Zigbee Routing Simulation: at Samsung/Cuny
802.15.4 and Zigbee Routing Simulation: at Samsung/Cuny
802.15.4 and Zigbee Routing Simulation: at Samsung/Cuny
802.15.4 (LRWPAN)
Introduction
Function Modules
Demos
Demo1: AODV over LRWPAN
Demo2: Beacon Enabled Star
Demo3: Beacon Enabled Peer-to-Peer Tree
Commands Lookup Table
ZigBee Routing (ZBR)
Introduction
Demos
Demo4: Setup
Demo4: All RN+
Demo4: All RN-
Demo4: 11 RN+ and 10 RN-
Demo5: 49 RN+ and 52 RN-
Commands Lookup Table
Simulation Code Download
• Basic
– Version: P802.15.4/D18
– Simulation Platform: NS 2.26 or above
• Code Size
– C++ Source Codes: 12k lines
– Tcl Scripts: 500 lines
• Functionality
– Pure CSMA-CA and Slotted CSMA-CA
– Legacy application support (802.11b compatible)
– Star and Peer-to-Peer topologies
– Beacon enabled and non-beacon enabled modes
– Beacon tracking and synchronization
Upper Layers
• CSMA-CA
Routing • Beacon and Sync.
• Assoc. and Disassoc.
802.2 LLC
• Tree Formation
• Diret. and Indirect. Tx
• ED SSCS
• Filtering
• CCA • Error Models
• LQD 802.15.4 MAC • Enhanced Nam Anima.
• Filtering
• Multiple Channel
802.15.4 PHY
NS2
6774-11/14/2003 Slide 5 J. Zheng Samsung/CUNY
LRWPAN – Demo1: AODV over LRWPAN
Scenario
Snapshot
• # of nodes: 25
• Area: 50 x 50 m2
• Traffic Type:
FTP/CBR/Poisson
• Traffic Flow:
19 Æ 6
10 Æ 4
3Æ2
• Tx Range: 15m
• Duration: 900 sec
Scenario
Snapshot
• # of nodes: 7
• Area: 50 x 50 m2
• Neighbor distance: ~10 m
• Traffic: FTP/CBR/Poisson
• Tx Range: 15 m
• Duration: 900 sec
• Beacon mode: Enabled
-- Beacon Order: 3
-- Superframe Order: 3
PAN Coord Device
Scenario
Snapshot
• # of nodes: 11
-- PAN Coord: 1
-- Coord: 5
-- Devices: 5
• Area: 50 x 50 m2
• Neighbor distance: ~10 m
• Traffic: FTP/CBR/Poisson
• Tx Range: 15 m
• Duration: 900 sec
• Beacon mode: Enabled
-- Beacon Order: 3
-- Superframe Order: 3
PAN Coord. Coord. Device • Data Tx: direct and indirect
802.15.4 MAC/PHY
NS2
Coord.
(13) (p=12 Li=3) (33) (p=22 Li=2) (22) (p=0 Li=1) (23) (p=22 Li=2) (45) (p=44 Li=3)
6 7 9 11 15 Device
(12) (p=1 Li=2) (1) (p=0 Li=1) PAN Coor (43) (p=0 Li=1) (44) (p=43 Li=2)
Traffic
5 1 0 13 14
3 Æ 18: CBR
9 Æ 17: Poisson
(4) (p=2 Li=3) (2) (p=1 Li=2) (64) (p=0 Li=1) (65) (p=64 Li=2) (66) (p=65 Li=3)
4 2 19 16 17
Scenario
Snapshot
Traffic Flow:
3 Æ 18 CBR
9 Æ 17 Poisson
Hop Count:
3 Æ 18: 2 hops
9 Æ 17: 4 hops
Scenario
Snapshot
Traffic Flow:
3 Æ 18 CBR
9 Æ 17 Poisson
Hop Count:
3 Æ 18: 6 hops
9 Æ 17: 4 hops
Scenario
Snapshot
Traffic Flow:
3 Æ 18 CBR
9 Æ 17 Poisson
Hop Count:
3 Æ 18: 4 hops
9 Æ 17: 4 hops
Scenario
Snapshot
• # of nodes: 101
• Area: 80 x 80 m2
•Traffic Flow
• 67Æ45: CBR
• 71Æ74: Poisson
• Duration: 900 sec
• Nb. distance: ~7 m
• Tx Range: 9 m
• Cluster-Tree Para.
• Cm: 4
• Lm: 7
PAN Coord.
Coord.
Device
http://www-ee.ccny.cuny.edu/zheng/pub
(Contact: [email protected])