Differential Preamble Detection in Packet-Based Wi
Differential Preamble Detection in Packet-Based Wi
net/publication/224386821
CITATIONS READS
29 472
4 authors, including:
Christian Schlegel
Dalhousie University
287 PUBLICATIONS 4,503 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Christian Schlegel on 15 December 2014.
Abstract— Performance bounds on detecting a preamble em- to achieve the same performance as coherent detection [1]. To
bedded at the start of every packet for communication over an mitigate this performance loss, coherent detection is employed
additive white Gaussian noise channel are derived. The preamble on portions (blocks) of the sequence whose length is no longer
sequence consists of blocks of spreading sequences whose length
is at most the coherence time of the channel. These blocks than the coherence time of the channel [2], [3]. These blocks
are differentially combined. A correlation-based detection is are then combined differentially.
employed to locate the boundaries of the preamble. Simulation
Sync
results closely follow the analysis. Furthermore, the effects of
frequency offset on the system performance are discussed.
I. I NTRODUCTION
Preamble Payload
A significant number of present day wireless systems are (a)
based on packetized communication. For instance, the IEEE W Lb
standards for local, metropolitan and personal area networks,
and several cellular communication standards. In such commu- Sync
nication systems, packet arrival instants are generally random Preamble Payload
and unknown at the receiver. The payload can be successfully (b)
demodulated provided the receiver has symbol timing, fre-
Fig. 1. Packet Formats.
quency and phase offset information, in addition to achieving
frame synchronization. In many practical applications, these
In this paper, we investigate the performance of a new
parameters are not known a priori at the receiver and hence
preamble detection method for an uncoordinated direct se-
have to be estimated from the received signal.
quence spread spectrum system (DSSS) using the modified
To facilitate the process of synchronization, a preamble is
packet format as shown in Fig. 1(b). The preamble is made up
prefixed for each payload transmission. Additionally, a syn-
of a sequence of W blocks, which are differentially encoded
chronization (sync) pattern included in the preamble enables
and modulated by a random DSSS sequence of Lb chips per
frame synchronization. Figure 1(a) shows a typical packet
block. A correlation type preamble detector is employed. The
format with preamble and sync sequence prefixed to the
analysis assumes a Poisson source traffic model with packet
payload, however, the fundamental problem is to achieve frame
inter-arrival instants modeled by an exponential distribution.
synchronization, i.e., finding the exact starting time of the
In [4] the preamble detection problem for a TDMA system
payload and a more general view is given in Figure 1(b).
employing coherent detection was considered. Note that co-
If perfect timing, frequency and phase offset estimates are
herent preamble detection requires frequency and phase offset
available at the receiver1, a typical frame synchronization
estimates and hence the system incurs rate loss. Moreover,
algorithm correlates the known sync word with the received
in a TDMA system, packet arrival instants are known at the
sequence to find the start of the packet. The maximum
receiver to be at the beginning of each time slot. Hence, a
correlation peak determines the location of the sync word.
preamble is either detected or missed. However, in an unco-
On the other hand, without the frequency and phase offset
ordinated multiple access system the packet arrival instants
estimates, the baseband signal rotates thereby degrading the
are random. This leads to an additional event of erroneously
performance of a correlation-based preamble detection.
detecting a preamble.
The effect of carrier phase offset can be overcome by
The rest of the paper is organized as follows. In Section II
using differential encoded phase modulation. This scheme,
we describe the system model and the preamble detection
however, requires nearly 3 dB additional signal-to- noise ratio
algorithm. Based on the proposed system model, performance
1 Estimation of frequency and phase offset require pilot signal. Hence the bounds on the preamble detection algorithm are derived in
system incurs rate loss. Section III. In Section IV, simulation results are provided to
477
The decision variable Re ηi0 may be expressed in the quadratic The distribution function of a linear combination of noncentral
form chi-square random variables is calculated using the character-
W −1 istic function (c.f) approach and numerical integration (see
1
Re ηi0 = cm âm (i0 )â∗m−1 (i0 ) + â∗m (i0 )âm−1 (i0 ) Appendix). The distribution function can also be evaluated
2 m=0 by a series expansion given in [6]. However, the rate of
1 † convergence becomes slower for increasing values of W .
= â Câ, (11)
2 B. Probability of Erroneous Detection
where [·]† denotes conjugate transpose, and The probability of wrong detection conditioned on the
â = (â0 , â2 , . . . , âW −1 )T . Further, the estimates {âm } occurrence of the preamble at moment i0 is given by
are complex Gaussian random variables with expectation μa . i0 −1
The (W × W ) matrix C is symmetric with entries, P(wrong|i0 ) = P Re ηk ≥ G|i0
k=1
ci+1 , |i − j| = 1
Cmin (i,j) = (12) 0 −1
i
0, otherwise.
≤ P(Re ηk ≥ G|i0 ). (17)
Note that the entries in the vector â are not independent k=1
because of differential encoding. In general, to make the The inequality in (17) is obtained by using the union bound on
entries independent we first apply a whitening transformation. the erroneous detection events. We consider two cases based
The uncorrelated vector is then orthogonally rotated to ob- on the correlation overlap.
tain independent components. In this problem, the variance- (i0 −W Lb )+
covariance matrix is the identity matrix, i.e., P(wrong|i0 ) ≤ P(Re ηk ≥ G|i0 )
Σa = E(â − μa )(â − μa )† = I.
k=1
(13)
0 −1
i
where N0 = 1. Furthermore, there exists a matrix P such that + P(Re ηk ≥ G|i0 ) (18)
k=(i0 −W Lb +1)+
PT CP = Λ, PT P = I, (14) Assuming that i0 − W Lb ≥ 1, the first case involves
correlating the known preamble with the received Gaussian
where Λ is the diagonal Eigenvalue matrix of C. Now,
noise samples. The second case captures partial correlation of
substituting for C in (11) results in
the known preamble sequence with the received preamble.
1 † 1
W −1
1 Case 1. 1 ≤ k ≤ i0 − W Lb : The decision variable, ηk , may
Re ηi0 = â PΛPT â = Z† ΛZ = λi |Zi |2 , (15) be written in the quadratic form
2 2 2 i=0
1
Re ηk = ↠Câ, (19)
where Z = PT â, is an independent complex Gaussian vector 2
with unit variance and expected value E[Z] = PT μa . There- where âT = [n(k), n(k + 1), . . . , n(k + W − 1)]. After mean
fore, |Zi |2 are non central chi-squared distributed random removal, whitening and orthogonal transformation, (19) may
variables with two degrees of freedom and non-centrality be written as
parameter given by δi2 = |E[Zi ]|2 . Hence the quadratic form k+W −1
1 1
is a linear combination of non central chi-square distributed Re ηk = Z† ΛZ = |Z|2i λi , (20)
random variables. 2 2
i=k
In the sequel the following Lemma will be needed. where Z = P â is a complex standard Gaussian random vec-
T
Lemma 1: The Eigenvalues λi and corresponding Eigen- tor. Therefore, |Z|2i are central chi-square distributed random
vectors pi of the matrix C are given by variables with two degrees of freedom. Equation (20) is a
πi linear combination of central chi-squared distributed random
λi = −2 cos , 1 ≤ i ≤ W. variables. The distribution function of a linear combination
W +1
j−1 of central chi-squared distributed random variables can be
iπ iπ computed in closed form (see Appendix). Therefore,
pij = −2 ck cot sin j π − ,
W +1 W +1 (i0 −W Lb )+
k=1
1 ≤ i, j ≤ W, P (Re ηk ≥ G|i0 )
k=1
where λ1 < λ2 < . . . < λW . −1
W
Proof: See [5] = (i0 − W Lb )+ P |Z|2i λi ≥ 2G|i0
The probability of miss (10) is given by, i=0
⎛ ⎞
W −1
W W
1 ⎠ e−G/(λr )
P(miss) = P(Re ηi0 < G) = P λi |Zi |2 < 2G . (16) = (i0 − W Lb )+ ⎝ ,
λr − λi λr
i=0 r=1 i=1,i=r
478
where the W Eigenvalues λi ’s of the matrix C are computed 10
0
Header Length = 30: Spreading Gain = 32 : Detection Level = 0.5G.
P(miss)
Δf = 0 Δf = .1
Ŧ2 32Tc
dom variables with two degrees of freedom and non-centrality 10
S
P(wrong) = P(wrong|i)P(i0 = i) (21) Fig. 3. Probability of missing a packet for the proposed preamble detection
i=1
algorithm is shown for different SNR and frequency offset values.
S
i−1
≤ P(Re ηk ≥ G|i)P(i0 = i) (22)
i=1 k=1 probability of erroneous detection given in (23) matches
1 closely with the upper bound.
≈ ( − 1)P(Re η1 ≥ G), (23)
λ
Header Length = 30: Spreading Gain = 32 : Detection Level = 0.5G.
where the factor 1/λ − 1 accounts for the traffic intensity 10
0
Δf = 0 Δf = .1
Ŧ2 32Tc
IV. A NALYTICAL AND S IMULATION R ESULTS 10
a preamble sequence of length W = 30 bits. These bits are Ŧ24 Ŧ22 Ŧ20 Ŧ18 Ŧ16 Ŧ14 Ŧ12 Ŧ10 Ŧ8
SNR (dB)
differentially encoded and then multiplied by a pseudo noise
code of spreading factor Lb = 32. The threshold level g is
Fig. 4. Probability of erroneous packet detection for the proposed preamble
set to 0.5 and (16) is used to plot the probability of miss. detection algorithm is shown for different SNR and frequency offset values
From Figure 3 we can observe that the simulation results without using the traffic intensity factor.
closely follow the analysis. Further, note that a frequency
offsets, Δf = 0.1/(32Tc) and Δf = 0.2/(32Tc), results in The receiver operating curves are given in Figure 5 for
performance degradation of 0.7dB and 4.1 dB respectively. different detection threshold values. It can be seen from the
This is because, presence of frequency offset rotates the signal figure that as the detection threshold is lowered (increasing
and degrades the system performance. To compensate for the g) the probability of miss decreases while probability of false
performance degradation, the block length Lb is made at most alarm increases. On the other hand, increasing the detection
equal to the coherence time of the channel. threshold (decreasing g) leads to lower false alarms but higher
Figure 4 shows an upper bound on the probability of probability of missing a packet.
erroneous detection (18) (17) for different SNR (Ec /N0 ) and
frequency offset values. From this figure, we can observe a V. C ONCLUSION
good agreement between the analysis and simulation results. We derived performance bounds on detecting a preamble
Further, the performance degradation due to frequency offset sequence embedded at the start of each packet transmission
is shown. At low Ec /N0 values, an approximation for the over an AWGN channel. Exact results were provided for the
479
0
Header Length = 30 : Spreading Gain = 32 The distribution function is obtained using Gil-Pelaez’s inver-
10
sion formula [7], [8]
∞ jtx
Ŧ2
10 1 1 e Φ(−t) − e−jtx Φ(t)
F(x) = + dt (25)
2 2π jt
Ŧ4 0
10
The c.f. inversion formula is evaluated numerically using the
P(miss)
480