Talk - Stanford Information Networks Group (SING)

RSSI is Under-Appreciated
Kannan Srinivasan & Philip Levis
Stanford Information Networking Group (SING)
What is RSSI?
• Before going anywhere: what is RSSI?
– RSSI is Received Signal Strength Indicator
– It’s an estimate of average received signal
power
EmNets 2006
2
The Buzz about RSSI
• RSSI is a bad indicator of link quality
• Why is it believed so?
– Many studies on wireless platforms
– Zhao et al.
– Ganesan et al.
– Son et al.
– Aguayo et al. (802.11 Roofnet nodes)
EmNets 2006
3
Plot of Aguayo et al.
PRR
Little correlation
with PRR
SNR averaged
over 1 sec
(Aguayo et al. SIGCOMM 2005)
EmNets 2006
SNR (dB)
4
A New Parameter By Newer Radios
• CC2420 provides a new parameter, LQI
for every successful packet
– LQI from a single (previous) packet is
believed to be a good indicator
– Many protocols have adopted single packet
LQI
– No extensive evaluation to support this claim
EmNets 2006
5
Why Evaluate CC2420?
• Several motes are based on it: Micaz,
Telos and Intel2
• Based on IEEE 802.15.4 standard
• Operates in 2.4 GHz ISM band
• High data rate ~ 250 Kbps
• Different modulation – OQPSK
– Older WSN radios used OOK (mica1) and
FSK (mica2)
• Uses Direct Sequence Spread Spectrum
EmNets 2006
6
OOK, FSK & OQPSK
1
0
1
1
Data
mica1
OOK/ASK
mica2
FSK
telos
QPSK
EmNets 2006
7
DSSS in CC2420
Several chip errors can still result in a successful decoding of a symbol
EmNets 2006
8
CC2420 RSSI & LQI
LQI (~ CER) between 50 & 110
(8 Symbols)
Preamble
SFD
4
1
Frame Length/
Rsrvd
1
PHY Payload
variable
RSSI
(8 symbols)
Frame
Control
Seq No.
Addressing Fields
2
1
0-20
EmNets 2006
Frame Payload
variable
FCS
2
9
Experimental Methodology
1 2 3 4 5 6 7 8 9 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 3 3 3 3 3 3 3 3 3 4 4
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
A
12
25
19
B
C
14
4
D
E
7
3
6
2
5
15
11
20
18
23
24
28
F
G
H
I
8
10
21
13
J
26
17
27
29
22
All nodes sent packets to all other nodes.
Transmit power level was changed.
Repeated experiment.
K
L
M
N
O
P
1
9
16
30
Mirage, Intel Research, Berkeley
EmNets 2006
10
Results: RSSI
Distribution of
RSSI for a link
Transmit Power
Level: 0 dBm
Outliers
Narrow cliff => Difference
in noise floor
EmNets 2006
11
Noise Floor at Nodes
Noise
(dBm)
-98
-97
-96
-95
-94
-93
-92
# of
Nodes
5
8
4
3
2
3
1
EmNets 2006
12
Results: LQI
Large variation over
time
Transmit Power
Level: 0 dBm
Single LQI could
mean many things
EmNets 2006
13
Results: Average LQI
Transmit Power
Level: 0 dBm
EmNets 2006
14
What Window Size To Use?
EmNets 2006
15
Results: Average LQI
Single LQI is not fine
LQI > 100: Single
value is fine
EmNets 2006
16
Results: Average LQI
Smaller Mean
PRR Error due to
averaging
EmNets 2006
17
Going back to Aguayo et al
Look at the SNR
variation
If SNR varies so does the
PRR
What matters is how signal and noise look like
when you receive a packet: not before not after.
Averaging SNR maps to
different PRR
(Aguayo et al Data)
EmNets 2006
18
Conclusion
• RSSI is NOT a bad indicator
– Above -87 dBm and stable => good link
– Below -87 dBm or unstable => don’t know
• Single packet LQI is NOT a good indicator
of intermediate links
• LQI, when averaged, has potential
EmNets 2006
19
Some Open Questions
• What is going on with the outliers in RSSI
and LQI plots?
• Can combined knowledge of RSSI,
average LQI and noise estimate PRR
accurately?
EmNets 2006
20
Kannan Srinivasan ([email protected])
Philip Levis ([email protected])
EmNets 2006
21
EmNets 2006
22
The Buzz about RSSI
• RSSI is a bad link quality indicator
• Why is it believed so?
SS > 550
– After many evaluations on
older radios
PLR ~ 80%
– Zhao et al
PLR < 5% had SS > 550
but converse not true
(Zhao et al ENSS 2003)
EmNets 2006
23
The Buzz about RSSI
• RSSI is a bad link quality indicator
SINR threshold: SINR
• Why is
believed
so?
withitPRR
> 0.9
– After many evaluations on older radios
– Zhao et al
• (PLR < 5%) => (SS > 550) but converse not true
– Son et al (evaluated concurrent transmissions)
(Son et al ISI-TR-2005)
EmNets 2006
24
Results: RSSI
Transmit Power
Level: 0 dBm
EmNets 2006
25
Results: RSSI
Transmit Power
Level: -7 dBm
EmNets 2006
26
Results: RSSI
Transmit Power
Level: 0 dBm
Outliers
EmNets 2006
27
Results: RSSI
Transmit Power
Level: 0 dBm
Narrow cliff => Difference
in noise floor
EmNets 2006
28
Results: RSSI
Wide cliff due to
miscalibration
EmNets 2006
29
Results: LQI
Transmit Power
Level: -7 dBm
EmNets 2006
30
Results: Average LQI
Nicer curve fit
may be due to
difference in time
Transmit Power
Level: -7 dBm
EmNets 2006
31
CC2420 RSSI and LQI
• RSSI calculated over 8 symbols
– From analog signal
• LQI (Link Quality Indicator):
– 2 ways to calculate (Chipcon)
• From RSSI
• Chip correlation in a byte (can be looked at as
Chip Error Rate) – provided by CC2420
– Statistical in nature
» Remember: many chip errors can still lead to a
correct symbol decoding
EmNets 2006
32
Plot for Son et al
Difference in distortion
of signal from different
interfering nodes
EmNets 2006
33
Maximum Absolute
Results: Average LQI
EmNets 2006
34
Results: Average LQI
Average Window Size = 5
Still a mess
LQI > 100: Not
hard to find
EmNets 2006
35
Results: Average LQI
Average Window Size = 10
EmNets 2006
36
Results from another evaluation
LQI
EmNets 2006
37
Results: Average LQI
Average Window Size = 1
Single LQI is not fine
Due to outliers or
change in “quality”??
LQI > 100: Single
value is fine
EmNets 2006
38
Results: Average LQI
Average Window Size = 20
EmNets 2006
39