Title: Power Saving and Clock Sync
1Power Saving and Clock Sync
2Problem, Problem, Problem!
3Energy Efficiency
- Done at every level from physical to application.
- Energy-efficient routing.
- Energy-efficient MAC.
- Energy-efficient everything.
4Power Saving at MAC Layer
Beacon interval
awake sleep
Beacon window ATIM window
5Time Sync Is Necessary/Important
- Really ?
- What if it is difficult or impossible to
synchronize clocks?
6To sync or not to sync?
- Yes global synchronization
- No no synchronization
- Partially local synchronization
7No Synchronization (0)
- Power-Saving Protocols for IEEE 802.11-Based
Multi-Hop Ad Hoc Networks - INFOCOM 2002
- Y.C.Tseng, C.S. Hsu, T.Y. Hsieh
- NCTU
8No Synchronization (1)
- Basic idea nodes be awake more frequently.
- Extreme case awake all the time.
Beacon interval
awake sleep
9No Synchronization (1)
- Dominating-Awake-Interval
- Awake BI/2 BW
Beacon interval
awake sleep
10No Synchronization (1)
- Dominating-Awake-Interval
- Awake gt BI/2 BW
Beacon interval
awake sleep
11No Synchronization (2)
- Periodical-Fully-Awake-Interval
12No Synchronization (2)
1 4
16
1 4
16
1 2 3 4
- 2 3 4
- 6 7 8
- 10 11 12
- 13 14 15 16
5 6 7 8
13Local Synchronization (0)
- An Energy-Efficient MAC Protocol for Wireless
Sensor Networks - INFOCOM 2002
- W. Ye, J. Heidemann, D. Estrin
- UCLA
14Local Synchronization (1)
1010 1004
-001 005
001
1009
- 005
15Local Synchronization (2)
- Nodes of same color -- synchronize with each
other. - Nodes of different colors know each others
timing
16Local Synchronization (3)
A
B
C
17Problem, Problem, Problem!
Power saving
???
Physical
MAC
Routing
Awake-sleep
Global no partial sync
Analysis Comparison
Clock Sync
18To sync or not to sync?
- Yes (global sync)
- No (no sync)
- Partially (local sync)
- Which one?
19Analysis of energy saving (1)
- No data traffic
- Parameters
20Analysis of energy saving (2)
21Global Synchronization pros and cons
- Best performance in energy saving
- Needs a good synchronization algorithm
22No Synchronization pros and cons
- Simple -- no need for clock sync
- Less efficient in power saving
1 4
16
1 4
16
23No Synchronization Analysis
- A has a packet for B in interval 4.
- Q When should A send it?
- In every yellow interval
- Or when yellow meets red.
- Q When will yellow meet red
?
?
1 4
16
1 4
16
24The Wisdom of Diamond Sutra
- No synchronization,
- is not really no synchronization, it is just
called no synchronization.
25No Synchronization pros and cons
- Less efficient in power saving
- Simple -- no need for clock sync
- Simpler clock sync is simpler and more scalable
?
1 4
16
1 4
16
26Time Sync in the No Sync Scheme
- Why is it simpler, more scalable?
Beacon window ATIM window
27A major drawback with no sync
- Broadcast/multicast is inefficient
28Local Synchronization pros and cons
- More scalable
- Inefficient with multiple schedules
- Protocols incomplete
- Broadcast/multicast is inefficient?
29To sync or not to sync?
- Yes (global sync)
- No (no sync)
- Partially (local sync)
- Which one?
Normal situation Neighbor discovery Transient
situation All of them
30Possible Protocol
- Normally, use the global sync scheme.
- Switch to the no sync scheme when necessary (for
neighbor discovery). - Use the partial sync scheme while merging.
?
31Problem, Problem, Problem!
Power saving
???
Physical
MAC
Routing
Awake-sleep
Global no partial sync
Analysis Comparison
Clock sync
32Follow-ups on no-sync
- Asynchronous Wakeup for Ad Hoc Networks,
Mobihoc03 - Quorum-Based Asynchronous Power-Saving Protocols
for IEEE 802.11Ad Hoc Networks, ICPP03 (Best
paper award)
33No Synchronization
1 4
16
1 4
16
1 2 3 4
- 2 3 4
- 6 7 8
- 10 11 12
- 13 14 15 16
5 6 7 8
34- T 0, 1, , n-1
- Quorum a subset of T
- View T as a matrix and pick a row and a column as
the quorum - Property A No matter how asynchronous, every two
nodes have at least one overlap in every T
intervals.
0 3
15
0 3
15
35Desired Property for the Power Saving Problem
- Property PSP No matter how asynchronous, every
nodes beacon window is covered by every other
nodes active period at least once per T
intervals.
0 3
15
0 3
15
36Questions
- Feasible quorum systems quorum systems with
Property PSP. - How to characterize all feasible quorum systems?
- Any optimal feasible quorum system?
- What if we want to have m overlaps?
37Feasible Quorum System
- A sufficient condition (rotation closure
property) - For any two quorums A, B in the system,
- A n rotate (B, i) ? F
0 3
15
0 3
15
0 3
15
38Quorum Size
- T 0, 1, , n-1
- Quorum the smaller, the better (energy
efficient) - Closure property quorum vn
39Specific Feasible Quorum Systems
- Grid Quorum System (2vn)
- Torus Quorum System (v2n )
- Cyclic Quorum System (vn)
- Finite Projective Plane Quorum System (vn)
40Quorum Systems with a Single Quorum
- T 0, 1, , n-1. H is a subset of T.
- H is a quorum system iff
- H is a difference set of T.
- H is a difference set of T iff for every i in T,
i x-y mod n for some x, y in H. - 0, 1, 2, 4 is a difference set of 0,1, , 7.
41Quorum Systems with multiple overlaps
- E-Torus Quorum System
- e-torus(k1) and e-torus(k2) have (k1k2)/2
overlaps. - Can be used to dynamically adjust the number of
overlaps.
42K4
43Problem, Problem, Problem!
Power saving
???
Physical
MAC
Routing
Awake-sleep
S-MAC
Global no partial sync
Analysis Comparison
Clock sync
44S-MAC an energy-efficient MAC
- In IEEE INFOCOM 2002,
- By Ye, Heidemann, Estrin
- IEEE 802.11-like
- CSMA/CA
45802.11 MAC
S-MAC
RTS(t1)
DATA(t3)
A B C
CTS(t2)
ACK
Back off
Turn
46Whats next?
Power saving
???
Physical
MAC
Routing
Awake-sleep(802.11)
S-MAC
Global no partial sync
Analysis Comparison
Clock sync