Professional Documents
Culture Documents
Presented by
Jehn-Ruey Jiang
Department of Computer Science and Information Engineering
National Central University
To Rest, to Go Far!!
2/74
Outline
3/74
Outline
4/74
IEEE 802.11 Overview
5/74
WLAN Market
Source: wireless.industrial-networking.com
6/74
IEEE 802.11 Family(1/2)
802.11 (1997)
2 Mbps in the 2.4 GHz band
802.11b (1999) (WiFi, Wireless Fidelity)
5.5 and 11 Mbps in the 2.4 GHz band
802.11a (1999) (WiFi5)
6 to 54 Mbps in the 5 GHz band
802.11g (2001)
54 Mbps in the 2.4 GHz band
802.11n (2005) (MIMO)
108 Mbps in the 2.4 and the 5 GHz bands
7/74
IEEE 802.11 Family(2/2)
802.11c
support for 802.11 frames
802.11d
new support for 802.11 frames
802.11e
QoS enhancement in MAC
802.11f
Inter Access Point Protocol
802.11h
channel selection and power control
802.11i
security enhancement in MAC
802.11j
5 GHz globalization 8/74
Infrastructure vs. Ad-hoc Modes
Infrastructure
Network
AP Wired Network
AP
AP
Single-Hop
Each node is within each other’s transmissi
on range
Fully connected
Multi-Hop
A node reaches another node via a chain of
intermediate nodes
Networks may partition and/or merge
11/74
Ad Hoc Network (3/3)
Application
Battlefields
Disaster Rescue
Spontaneous Meetings
Outdoor Activities
12/74
Outline
13/74
Power Saving Problem
14/74
Solutions to Power Saving Problems
15/74
Transmission Power Control
B
C
D
A F E
16/74
Power Mode Management
17/74
Power-Aware Routing
N1 + N2 +
SRC – – DES
T
+ Better!! +
– –
+
+
N3 N4 –
–
18/74
Our Focus
19/74
IEEE 802.11 PS Mode
An IEEE 802.11 Card is allowed to turn off it
s radio to be in the PS mode to save energy
Power Consumption:
(ORiNOCO IEEE 802.11b PC Gold Card)
Vcc:5V, Speed:11Mbps
20/74
MAC Layer Power-Saving Protocol
21/74
Beacon:
1. For a device to notify its
existence to others
2. For devices to synchronize
their clocks
22/74
IEEE 802.11 PS Protocol
Target Beacon Transmission Time(TBTT)
Host A
Beacon Frame ATIM Data
No ATIM means Frame
no data to send
or to receive with
each other
ATIM Power saving Mode ATIM Active mode
Window Window
Host B
ACK ACK
Clock Synchronized
by TSF
(Time Synchronization
Function) 23/74
IEEE 802.11 PS Protocol (cont.)
24/74
Clock Drift Example
200 s Maximum
Tolerance
Max. clock drift for IEEE 802.11 TSF (200 DSSS nodes, 11Mbps, aBP=0.1s)
25/74
Network-Partitioning Example
C D
╳
F Theblue
The red ones
ones do
do not
not
A Network know the existence of
Partition
the
the blue ones,not
red ones, notto
to
╳
mention the time when
B E they are awake.
Host A
ATIM window
Host B ╳
Host C
Host D
╳
Host E
Host F
26/74
Asynchronous PS Protocols (1/2)
27/74
Asynchronous PS Protocols (2/2)
Three existent asynchronous PS
protocols
Dominating-Awake-Interval
Periodical-Fully-Awake-Interval
Quorum-Based
28/74
What is a quorum?
29/74
30/74
What is a quorum again?
From Math.
quorums:
mutually intersecting subsets of a universal
set U
E.G.
{1, 2}, {2, 3} and {1,3} are quorums under
U={1,2,3}
31/74
Numbering Beacon Intervals
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 1 …
Beacon interval
n consecutive beacon intervals are numbered as 0 to n-1
0 1 2 3
4 5 6 7 And they are organized
8 9 10 11
as a n n array
12 13 14 15
32/74
Quorum Intervals (1/4)
Quorum Intervals
0 1 2 3
Example:
4 5 6 7
Quorum intervals are
numbered by 8 9 10 11
2, 6, 8, 9, 10, 11, 14 12 13 14 15
33/74
Quorum Intervals (2/4)
Quorum Intervals
0 1 2 3
Example:
4 5 6 7
Quorum intervals are
numbered by 8 9 10 11
0, 1, 2, 3, 5, 9, 13 12 13 14 15
34/74
Quorum Intervals (3/4)
For example:
The set of quorum intervals
{0, 1, 2, 3, 5, 9, 13} and 0 1 2 3
the set of quorum intervals 4 5 6 7
{2, 6, 8, 9, 10, 11, 14} have 8 9 10 11
two common members:
12 13 14 15
2 and 9
35/74
Quorum Intervals (4/4)
Host
D 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Host
C 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
37/74
Networks Merge Properly
C D
F
A
B E
Host A
ATIM window
Host B
Host E
Host F
38/74
Quorum Systems Help with the Proof
39/74
Optimal Quorum System (1/2)
40/74
Optimal Quorum System (2/2)
41/74
QAPS: Quorum-based Asynchronous
Power Saving Protocols
Advantages
Do not need synchronized clocks
Suitable for multi-hop MANETs
Asynchronous neighbor discovery and wake
up prediction
Drawbacks
Higher active ratio than the synchronous PS
protocol
Not suitable for high host density environm
ent
42/74
Outline
43/74
HPS Overview
A Hybrid PS protocol
Synchronous – IEEE 802.11 PS protocol
Asynchronous – QAPS
Forming clustering networks
Utilizing the concepts of dual-channel and
dual-transmission-range
Taking advantages of two types of PS prot
ocols
To reduce the active ratio
Suitable for multi-hop MANETs
44/74
Cluster Forming
Cluster Head Cluster Member
1000
900
800
Simulation area (Y-axis)
700
600
500
400
300
200
100
0
0 100 200 300 400 500 600 700 800 900 1000
RA F
E
RB
E, F: cluster heads
46/74
Dual channels
F
E
RA
RB Channel A
Channel B
E, F: cluster heads
47/74
Two types of beacon frames
Intra-cluster beacon
Send in channel B with transmission range RB
For cluster forming
For clock synchronization
Inter-cluster beacon
Send in channel A with transmission range RA
For neighboring cluster heads discovery
For wakeup prediction
48/74
Practical Considerations
49/74
Clustering
Who is Boss?
If somebody near me says that he/she is Boss,
then I am his/her employee.
Receive an intra-cluster
beacon in channel B
Do not receive during (q+1 beacon
intra-cluster beacon intervals + a random
in channel B from backoff time)
cluster head over
q+1 beacon intervals Broadcast intra-
Cluster Head State cluster beacon
Cluster Member State every non-quorum
interval
Receive an intra-cluster
beacon in channel B from
the cluster head
x RB y
52/74
RA v.s. RB
x RB RB y
53/74
RA v.s. RB
RB
x RB z RB y
54/74
Structure of Beacon Intervals
quorum Interval non-quorum Interval
Cluster Head B M B M B’ M’
Active period
Active period in channel B
Active period in channel A
Cluster members B’ M’
: PS mode
55/74
Dismissal Mechanism (1/2)
: Cluster heads
56/74
Dismissal Mechanism (2/2)
Distance
Default Dismissal Range = 1/5 RB
By RSSI estimation
Priority (exchanged in inter-cluster
beacons)
Cluster head service time
Short service time Low priority
Remaining battery energy
High remaining battery energy Low priority
Cluster head ID
Small cluster head ID Low priority
57/74
Cluster Forming (1/2)
Cluster Head Cluster Member
1000
900
800
Simulation area (Y-axis)
700
600
500
400
300 100 hosts
200
RB 33 cluster heads
100
67 cluster members
0
0 100 200 300 400 500 600 700 800 900 1000
900
800
Simulation area (Y-axis)
700
600
500
400
300 RB
500 hosts
200
45 cluster heads
100
0
455 cluster members
0 100 200 300 400 500 600 700 800 900 1000
Based on AODV
RREQ (Route request) ONLY rebroadcast by
cluster heads
Intra-RREQ : within a cluster using channel B
Inter-RREQ : between cluster heads using channel A
60/74
Routing (2/5)
1. If the source host is a member, it undergoes
MTIM-ACK-RREQ-RREQ message exchange with
the cluster head using channel B with transmission
range RB.
2. If the cluster head receives no RREP in the same
beacon interval, it will rebroadcast the RREQ to all
its neighboring cluster heads using channel A with
transmission range RA.
3. If a host originates or receives a RREP, it will
remains in active mode in channel A. This is
prepared for the upcoming data transmission.
61/74
Routing (3/5)
Non-Quorum Interval
ATIM Active mode
Window
Cluster
member X
ATIM RREQ
Cluster
head
ACK RREP
RREQ
Cluster
member Y
62/74
Routing (4/5)
RA
RREQ
Cluster head A RREQ
MTIM X
ACK
RREP Cluster member
RREQ
Y
RB
63/74
Routing (5/5)
Cluster Head Cluster Member
1000
RB = Intra-cluster
900 Destination broadcast
800
Simulation area (Y-axis)
RA = Inter-cluster
700
broadcast
600
500
400
Source
300
200
100
0
0 100 200 300 400 500 600 700 800 900 1000
65/74
Simulation Results
Parameters
Area size : 1000mx1000m
RA : 250m
RB : 125m
Mobility : 0~10m/sec with pause time 20 seconds
Traffic load : 1~4 routes/sec
Number of hosts : 100~1000 hosts
Performance metrics
Cluster head ratio
Survival ratio
Throughput
66/74
Cluster Head Ratio
100
90 Speed=0
Ratio of cluster heads (%)
80 Speed=5
70 Speed=10
60
50
40
30
20
10
0
0 100 200 300 400 500 600 700 800 900 1000
Number of hosts
67/74
Survival Ratio
120
100
Survival ratio (%)
80
60
0
100 120 140 160 180 200 220 240 260 280 300 320 340 360 380 400 420 440
Simulation time (sec)
68/74
Throughput Comparison with QAPS
AA, Th x Life HPS, Th x Life
E-Torus(4x8), Th x Life AA, Th
HPS, Th E-Torus(4x8), Th
16000 35
15000
14000 30
13000
Throughput x Lifetime (KB)
12000
25
Throughput (KB/sec)
11000
10000
9000 20
8000
7000 15
6000
5000 10
4000
3000
2000 5
1000
0 0
0 5 10
M oving speed (m/sec)
69/74
Outline
70/74
Conclusion (1/2)
No network partitioning
71/74
Conclusion (2/2)
hanging
Practical for IEEE 802.11-based MANETs
72/74
References:
73/74
Q&A
74/74
The States (1/3)
Listening State
Listen in channel B for intra-cluster beacons for a
period of (q+1 beacon intervals plus a random ba
ck-off time)
75/74
The States (2/3)
76/74
The States (3/3)
77/74
Rotation Closure Property (1/3)
79/74
Rotation Closure Property (3/3)
For example,
Q1={{0,1},{0,2},{1,2}} under U={0,1,2}}
Q2={{0,1},{0,2},{0,3},{1,2,3}} under
U={0,1,2,3}
Because {0,1} rotate({0,3},3) =
{0,1} {3, 2} =
Closure
80/74
Examples of quorum systems
81/74
FPP quorum system
82/74
FPP quorum system Example
5 A FPP quorum
system:
{ {0,1,2},
3 4 {1,5,6},
6 {2,3,6},
{0,4,6},
0 1 2 {1,3,4},
{2,4,5},
{0,3,5} }
83/74
Torus quorum system
0 1 2 3 4 5
{ {1,7,13,8,3,10},
6 7 8 9 10 11 {5,11,17,12,1,14},…}
12 13 14 15 16 17
85/74
E-Torus quorum system
Trunk E(t x w,
k)
Branch
Branch
cyclic
Branch
Branch
cyclic
86/74