Professional Documents
Culture Documents
'1
1
1
1
1
1
1 =|
1
1
1
1
1
1+1
FCS Pass
FCS Fail BE
FCS Fail PL
FCS Fail CL
RSSI [ ] n | 173 82 ]
LQI [ ] n
| 0 127
]
BER [ ] n
| 0 1
\
TABLE 3. ERROR RATES IN TRACE SETS.
Trace Sets PER PLR PRR
Hallway 0.1877 0.0762 0.7361
Lab 0.0275 0.0161 0.9564
Residential 0.0993 0.0420 0.8587
Outdoors 0.0005 0.0030 0.9965
This full text paper was peer reviewed at the direction of IEEE Communications Society subject matter experts for publication in the IEEE INFOCOM 2008 proceedings.
1951
Authorized licensed use limited to: Michigan State University. Downloaded on March 30, 2009 at 23:21 from IEEE Xplore. Restrictions apply.
ovens. Table 3 briefly characterizes the various trace sets by
providing PER, PLR and PRR of each.
III. CORRELATION ANALYSIS OF CSI MEASURES
A primary objective of this study is to model the probability
density function (PDF) of the BER process conditioned on
CSI. It is important to highlight that although we were able to
observe the BER process [ ] n in our trace-collection study, in
an actual network application the error process can only be
estimated; and hence [ ] n is not observable in actual
networks. However, all other processes ( [ ] n , [ ] n , and
[ ] n ) are observable. Hence, the problem of determining
( ) [ ] p n , the PDF of the error process [ ] n , for the n
th
received packet based on observable CSI measures [ ] n ,
[ ] n and [ ] n . Note that this is different from prior uses of
CSI such as in [16] where it is shown that the average PLR/
PER of a link is correlated with the average RSSI. When
[ ] 0 n = this indicates that the received packet passed the
CRC and can be considered free of errors, i.e. [ ] 0 n = with
certainty. When 3 = the packet is erased completely and
there is no data and no CSI available. This leaves us to focus
on the cases when 1, 2 = , i.e. the received packet contains
errors and/or is partially lost, i.e.
( ) [ ], [ ] | [ ] 1, 2 [ ] = n n n p n . (4)
Reducing the uncertainty surrounding the PDF of [ ] n of a
packet received with some bits in error on the basis of its LQI
and RSSI implies that these CSI measurements are somehow
correlated with ( ) [ ] p n . We begin by establishing that CSI
parameters are indeed highly correlated with the actual BERs
of packets by means of correlation based analysis. The
uncertainty in the knowledge about ( ) [ ] p n is measured in
terms of its variance.
Packets with low BER are expected to have high RSSI and
LQI, and vice versa. Thus, to qualify as useful RSSI and LQI
must both be negatively correlated with BER. Let ( ) Ti
denote a signal consisting of the BERs observed for packets
captured in trace / Ti Ri . If X and Y are two random
variables with mean [ [ E X and [ [ E Y , then the correlation
coefficient ( )
XY
R t is defined as,
( )
[ [
[ [ [ [
[ [ ( ) [ [ ( )
[ [ [ [
2 2 2 2
,
t
XY
t
t t
t t
Cov X Y
R t
Var X Var Y
E X E X Y E Y
E X E X E Y E Y
=
l
l
l
=
l l
l l
.
(5)
Where
t
Y is the t time delayed version of Y . When
correlation is computed for a range of time delays the set of
correlation coefficients so obtained will be referred to as a
correlation function. For every trace we treat the observed
values of state space variables , and as time series
signals and compute the correlation coefficients between
them. Ideally we would like to see ( ) 0
R , the cross-
correlation coefficient of and
,
and ( ) R t
, the cross-
correlation coefficient of and , to be very close to -1. For
sake of completeness we also computed the cross-correlation
coefficient of and
,
( ) R t
and from it any conditional distribution, such as
( ) | , 1, 2 p
= and ( ) | , 1, 2 p
= , by means of the
error traces we collected. Figure 5.a and Figure 5.b show two
conditional distributions ( ) | , 1, 2 p
= and
( ) | , 1, 2 p
R t ( )
R t ( )
R t
Hallway -0.4662 -0.2938 0.8414
Lab -0.2745 -0.0919 0.5978
Residential -0.2071 -0.0091 0.5346
Outdoors -0.3262 -0.1613 0.8443
( ) dBm
This full text paper was peer reviewed at the direction of IEEE Communications Society subject matter experts for publication in the IEEE INFOCOM 2008 proceedings.
1952
Authorized licensed use limited to: Michigan State University. Downloaded on March 30, 2009 at 23:21 from IEEE Xplore. Restrictions apply.
for each value of LQI and RSSI the figures depict a valid PDF
of BER. Figure 5.a depicts how variance and average BER of
packets in the low LQI range increases which is in accordance
with our previous observations. The same trend is visible for
RSSI in Figure 5.b. Thus the figures depict inverse
relationships of the BER with both CSI measures. Our
analysis so far leads us to conclude that both RSSI as well as
LQI measurements made with each received transmission
have the potential to serve as good indicators of the BER for
that particular packet.
IV. CSI DRIVEN BER MODEL
In this section we employ Maximum Likelihood Estimation
(MLE) to determine the parameters of
i
( ) | , , 1, 2 p
= ,
an exponential PDF modeling ( ) | , , 1, 2 p
= . From
collected traces we observe that the BER PDFs are always
decreasing functions. We will be modeling PDFs of BER by a
discretized exponential PDF. The shape of the exponential
PDF is determined by a single parameter b as shown in (6),
( )
/
1
; ; 0
x b
f x b e x
b
= . (6)
The MLE estimates of parameter b can be obtained from a
data set by,
[ [ b E X = (7)
The MLE of b for all observed combinations of values of
( , ) constitutes a model of the BER process. ( , ) b are
depicted in Figure 6.a. Depending on the objective of the
application seeking the channel state estimate,
i
( ) | , , 1, 2 p
=
l l l
= =
l l l l l l
,
( )
i
( )
| | 1, 2
| , 1, 2
p
E VAR p E VAR
=
l l l
= =
l l l l l l
, and
( )
i
( )
| | 1,2
| , 1, 2
p
E VAR p E VAR
=
l l l
= =
l l l l l l
. These
expected values are computed over the joint PDF
( ) , | 1, 2 p
= = p dBm , c) The PDFs of the BER for the same range of LQI measurements at RSSI of 88dBm as modeled by a discretized exponential
PDF,
i
( ) | , 88 , 1, 2
= = p dBm .
TABLE 5. EXPECTED VALUE OF VARIANCE WHEN USING DIFFERENT
COMBINATIONS OF RSSI AND LQI AS CSI.
Expected Variance
[ [
|
l
l
l
E VAR ; CSI = LQI
4
8.0863 10
|
l
l
l
E VAR ; CSI = RSSI
4
8.1242 10
|
l
l
l
E VAR ; CSI = LQI + RSSI
4
5.7524 10
( ) dBm
This full text paper was peer reviewed at the direction of IEEE Communications Society subject matter experts for publication in the IEEE INFOCOM 2008 proceedings.
1953
Authorized licensed use limited to: Michigan State University. Downloaded on March 30, 2009 at 23:21 from IEEE Xplore. Restrictions apply.
using LQI and RSSI together is more beneficial and estimates
the error process with lesser uncertainty.
B. Dependence On Deployment Environment
So far we have established that for every error-prone packet
with 1, 2 = it is possible to obtain a better estimate of the
PDF of its BER based on measurements of RSSI and LQI.
Ideally, we would like to make this estimate dependent solely
on the RSSI and LQI and would like to see little or no
dependence on the physical environment.
To evaluate the application of the CSI driven BER model in
different environment we partition the data set according to
collection environments, i.e. Hallway, Lab, Residential,
and Outdoor, and use each to arrive at a CSI driven BER
model independently. Ideally the four models so obtained
should be identical. As we already know, each model is a set
of PDFs. If and vary in the ranges
min max
and
min max
, respectively, that means each model will
consist of (at most) ( ) ( )
max min max min
1 1 number
of PDFs
i
( ) | , , 1, 2
= of a different race
set for the same values of ( , ) . This way traces the CSI
driven BER model derived using data from one environment
will be verified against test data collected in a different
environment. At this point we require a measure that
quantifies the degree of similarity between two PDFs. A well
established divergence measure is the Kullback-Leibler
Divergence (KLD), also known as relative entropy. The KLD
of two PDFs
X
p and
Y
p is denoted by ( ) ||
X Y
D p p and
defined as,
( ) ( )
( )
( )
|| log
p
X
X
X Y X
x S Y
p x
D p p p x
p x
( )
=
( )
. (8)
X
p
S denotes the region of support of PDF
X
p , or the elements
in the domain of
X
p for which ( ) 0
X
p x . Note that
according to the definition of ( ) ||
X Y
D p p if
X Y
p p
S S then
for any
X
p
x S the KLD is . Although this should not
happen in a large data set consisting of a comprehensive set of
traces from various locations, trace packets in individual
partitions of the data set might not exhibit sufficient diversity
across the entire spectrum of possible values of ( , ) to avoid
such a result. To circumnavigate this pitfall in our analysis we
use a modified form of the KLD called the K-Directed
Divergence (KDD) introduced by Lin in [10] which is defined,
( ) ( )
( )
( ) ( )
|| log
1 1
2 2
pX
X
X Y X
x S
X Y
p x
K p p p x
p x p x
( )
=
( )
. (9)
The KDDs most significant feature relevant to our application
is that the denominator of its fractional term will never be
zero, and hence the KDD cannot evaluate to . Thus, to
measure the similarity between PDF
i
( ) | , , 1, 2
=
X
p
derived from traces collected in an environment X and a PDF
( ) | , , 1, 2
=
Y
p of traces collected in an environment
Y we employ the KDD.
A complete comparison of two environments will require the
computation of KDDs for each ( ) , pair. This yields an
entire set of KDD measures. Ideally, all KDDs in this set
should be close to zero. In Figure 7.a we plot the histogram of
the set of KDDs obtained from comparing the CSI driven BER
model derived from the Residential set with the PDF of the
data collected from the Office trace set. As the histogram
shows, the vast majority of KDDs are zero, with very few that
are non-zero but nevertheless close to zero.
Similarly, Figure 7.b is the same histogram plot for PDFs from
Hallway and Outdoor traces. A particular reason why we
chose this example for illustration is that it uses the Outdoor
trace set which exhibits PER and PLR significantly
different from that of the other three sets (see Table 1). Those
differences are manifesting themselves in a less obvious way
in the histogram of KDD values in Figure 7.b. The histogram
rises to a non-zero entry at the bin centered at 1 which,
however, remains insignificant in comparison to the number of
entries in the bin centered at 0. For the vast majority of valid
( , ) pairs the KDD between different trace sets is zero. We
conclude that the CSI driven model for the PDF of the BER
process is applicable in a variety of environments.
VI. CHANNEL MEMORY
In this section we continue our analysis of the IEEE 802.15.4
wireless channel. Our analysis so far did not venture across
temporal/packet boundaries. And although the CSI driven
BER model discussed in preceding sections gives us
probabilistic information about how many bits there are in
error in a received transmission, we have not yet made any
statement about the distribution of those error bits within a
-0.5 0 0.5 1 1.5
0
1
2
3
4
5
6
7
x10
4
K(p
B-Residence
||p
B-Lab
)
Residencevs Lab
#
o
f
K
D
D
s
a.
-0.5 0 0.5 1 1.5
0
1
2
3
4
5
6
7
x 10
4
K(p
B-Hallway
||p
B-Outdoor
)
#
o
f
K
D
D
s
Hallway vs Outdoor
b.
Figure 7. Histogram of KDD values for a) Model from Residential trace set
and Lab traces and b) Model from Hallway trace set and Outdoor traces.
This full text paper was peer reviewed at the direction of IEEE Communications Society subject matter experts for publication in the IEEE INFOCOM 2008 proceedings.
1954
Authorized licensed use limited to: Michigan State University. Downloaded on March 30, 2009 at 23:21 from IEEE Xplore. Restrictions apply.
packet. The question goes back to the amount of memory in
the wireless channel. So how much memory does an 802.15.4
link have? This question can be posed both at the bit level
(how does an erroneous bit affect subsequent bits in the same
packet?) and at the packet-level (how does the BER, and CSI,
affect those of subsequent packets?). The degree to which
effects of a particular CSI measurement or bit error are carried
over time can be quantified by a measurement of the packet-
level channel memory
p
m and the bit-level channel memory
b
m , respectively.
A. Bit-level Memory
A very common approach to detecting and measuring memory
in a process is the correlogram method. A correlogram is a
plot of the auto-correlation function ( )
b
R t , in this case of the
bit level traces (consisting of 0s and 1s) against time t . For
each packet with errors ( 1, 2 = ) in the bit-level trace we
compute its auto-correlation function ( )
b
R t . The correlation
function is only computed over the length of the received
packet, i.e. if a packet with 2 = is only received partially
we only use that part of it which is actually received. Each
trace is then characterized by ( ) [ [ | 1, 2
b
E R t = , the average
of correlation functions of all packets with 1, 2 = . The lag
t for which ( ) [ [ | 1, 2
b
E R t = becomes either insignificantly
small or remains constant thereafter is taken as a measure of
b
m . In order to observe environmental effects on
b
m we
perform this measurement separately for all 19 traces, 1 TR
through 19 TR . Figure 9 plots ( ) [ [ | 1, 2
b
E R t = for lag
values ranging from 1 to 10 bits for all 19 traces. The values
of ( ) [ [ | 1, 2
b
E R t = remain almost constant for equal lag
values across all traces. ( ) [ [ | 1, 2
b
E R t = for lags of 1, 2
and 3 bits are 0.45, 0.05 and 0, respectively and remains at 0
thereafter. The drop to a near 0 value allows us to make a
confident assessment about the memory and declare 2
b
m = .
The amount of memory is constant across all traces,
independent of environment. The bit-level channel memory
b
m is small enough that it permits the use of full state Markov
model to capture the behavior of bit-level errors in traces.
B. Packet-level Memory
The packet level analysis of the traces presents a different and
less consistent picture. We begin by applying the same
correlogram based analysis to the packet level BER process
. Since we are dealing with multiple processes we also
compute cross-correlation terms ( )
R t , ( )
R t , ( )
R t ,
( )
R t , ( )
R t and ( )
=
.
(10)
Here
g
is the g time delayed version of the BER process
. Then IMI is defined as,
0 0.5 1 1.5 2
-1
-0.8
-0.6
-0.4
-0.2
0
0.2
0.4
0.6
0.8
1
Lag time t (sec)
C
o
r
r
C
o
e
f
f
R
X
Y
(
t
)
Correlation Coefficients of B, P and
Autocorrelation of B
Autocorrelation of P
Autocorrelation of
Crosscorrelation of B and P
Crosscorrelation of B and )
Crosscorrelation of P and )
Figure 8. Correlation coefficients of , and for packet level traces.
2
4
6
8
10
5
10
15
0
0.1
0.2
0.3
0.4
0.5
Packet Trace
Bit level channel memory
t
E
[
R
b
(
t
)
|
=
1
,
2
]
Figure 9. Auto-correlation
coefficients ( )
b
R t of bit level traces
at various lag values t .
5 10 15 20 25
0
0.2
0.4
0.6
0.8
1
Burst length l for 0
1
-
F
L
(
l
)
Hallway
WAVES Lab
Residential
Outdoors
Figure 10. Plot of 1-CDF of ( )
L
f l ,
PDF of error packet burst length in
different environments.
This full text paper was peer reviewed at the direction of IEEE Communications Society subject matter experts for publication in the IEEE INFOCOM 2008 proceedings.
1955
Authorized licensed use limited to: Michigan State University. Downloaded on March 30, 2009 at 23:21 from IEEE Xplore. Restrictions apply.
( ) ( ) ( 1)
BER BER BER
I g I g I g = . (11)
Figure 11 plots the IMIs of the BER, LQI and RSSI processes
for each trace set. The value of g for which the IMI falls to
zero is indicates the maximum lag after which a measurement
becomes incapable of providing us any information about
another measurement separated by g . All plots in Figure 11
are consistent in that they show the IMI dropping to near zero
at a lag in the interval [10, 20] g , i.e. [10, 20]
p
m . Thus,
the measured value of
p
m varies across a wide range.
Yet another way to verify this is by looking at the PDF of the
burst length of packets that are not error-free. Let ( )
L
f l be
the PDF of the random variable L modeling the burst length
of consecutive packets received with errors or not received at
all, i.e. 0 . Figure 10 exhibits plots of ( ) 1
L
F l , where
( )
L
F l is the cumulative distribution function (CDF) of the
PDF ( )
L
f l .
VII. CONCLUSIONS
We collected and analyzed an extensive and diverse set of
residual error traces from 802.15.4 links. Listed below are the
lessons we learned in the course of their analysis with
references to the relevant sections.
III LQI and RSSI exhibit moderate negative correlation with
the BER process (and strong positive correlation with each
other).
V.A LQI and RSSI can be used to reduce uncertainty
regarding in the BER individual packets are subjected to.
V.B The CSI driven BER model remains valid across a variety
of physical environments.
VI.A The bit-level memory of a channel remains constant at 2
bits, irrespective of the physical environment.
VI.B In contrast to the bit-level memory, the packet-level
memory of a channel varies from one physical environment to
the next and, although measurable, is not predictable in
advance.
REFERENCES
[1] ANSI/IEEE Std 802.1, Part 15.4: Low Rate Wireless Personal Area
Networks, Sept 8, 2006.
[2] ANSI/IEEE Std 802.11, Part 11: Wireless LAN Medium Access
Control (MAC) and Physical Layer (PHY) Specifications, 1999.
[3] ANSI/IEEE Std 802, Part 15.1: Wireless Personal Area Network, Jun
14, 2002.
[4] A.F. Molisch, K. Balakrishnan, C.-C. Chong, S. Emami, A. Fort, J.
Karedal, J. Kunisch, H. Schantz, U. Schuster, K. Siwiak, IEEE
802.15.4a channel model - final report, 2004.
[5] P. Levis, S. Madden, J. Polastre, R. Szewczyk, K. Whitehouse, A. Woo,
D. Gay, J. Hill, M. Welsh, E. Brewer, and D. Culler, W. Weber, J.
Rabaey, and E. Aarts (Eds.), TinyOS: An Operating System for
Wireless Sensor Networks, Ambient Intelligence, Springer-Verlag,
2004.
[6] MPR2400, ZigBee, 2.4 GHz, MICAz Mote,
http://www.xbow.com/Products/productsdetails.aspx?sid=101, last
accessed Oct 14, 2006.
[7] MIB600CA, Ethernet Interface Board,
http://www.xbow.com/Products/productsdetails.aspx?sid=90, last
accessed on Oct 14, 2006.
[8] Chipcon AS SmartRF
I
B
E
R
(
g
)
Hallway Trace Set
0 50 100 150 200
-0.01
0
0.01
I
L
Q
I
(
g
)
20 40 60 80 100 120 140 160 180 200
-4
-2
0
2
4
6
8
x10
-3
I
R
S
S
I
(
g
)
Lag g
a.
0 50 100 150 200
-0.05
0
0.05
I
B
E
R
(
g
) Lab Trace Set
0 50 100 150 200
-0.05
0
0.05
I
L
Q
I (
g
)
20 40 60 80 100 120 140 160 180 200
0
0.02
0.04
I
R
S
S
I
(
g
)
Lag g
b.
0 50 100 150 200
-0.05
0
0.05
I
B
E
R
(
g
) Residential Trace Set
0 50 100 150 200
-0.1
0
0.1
I
L
Q
I
(
g
)
20 40 60 80 100 120 140 160 180 200
0
0.02
0.04
0.06
0.08
I
R
S
S
I
(
g
)
Lag g
c.
0 50 100 150 200
-0.05
0
0.05
I
B
E
R
(
g
) Outdoor Trace Set
0 50 100 150 200
-0.1
0
0.1
I
L
Q
I
(
g
)
20 40 60 80 100 120 140 160 180 200
0
0.02
0.04
0.06
I
R
S
S
I
(
g
)
Lag g
d.
Figure 11. Incremental mutual information of BER, LQI and RSSI processes for a) Hallway, b) Lab, c) Residential, and d) Outdoor trace sets.
This full text paper was peer reviewed at the direction of IEEE Communications Society subject matter experts for publication in the IEEE INFOCOM 2008 proceedings.
1956
Authorized licensed use limited to: Michigan State University. Downloaded on March 30, 2009 at 23:21 from IEEE Xplore. Restrictions apply.