A joint maximum likelihood approach to frame ... - IEEE Xplore

Report 1 Downloads 105 Views
A Joint Maximum Likelihood Approach to Frame Synchronization in Presence of Frequency Offset Younghoi Koo and Yong H. Lee Department of Electrical Engineering and Computer Science Korea Advanced Institute of Science and Technology 373-1, Kusong-dong,Yusung-gu, Taejon, 305-701, KOREA

Abstract— This paper proposes a new frame synchronizer that can achieve frame sync in presence of frequency offset. In particular, a maximum likelihood (ML) algorithm for joint frame synchronization, frequency and channel estimation is developed. Its derivation starts with the assumption of additive white Gaussian noise (AWGN) channels, but the results is extended to frequency selective channels. It is shown through computer simulation that the proposed scheme outperformed the existing schemes when frequency offset exists. Index Terms— Frame synchronization, maximum likelihood, frequency offset.

that a packet starts with a data sequence of length P followed by a training sequence consisting of L − 1 guard symbols and a sync pattern of duration Ns (Fig. 1). The guard symbols are inserted so that the sync pattern is not affected by random data. After the sync pattern, data symbols are continued2 . The training sequence is denoted by {s−L+1 , . . . , s−1 , s0 , . . . , sNs −1 } in which the first L − 1 samples represent guard symbols. It is assumed that symbols are transmitted in M -ary PSK format. The received baseband signal, which is sampled with symbol interval Ts , is expressed as rk =

I. I NTRODUCTION

L−1 X

hl ej(θk−l +2πf0 Ts k) + wk

(1)

l=0

Motivated by the fact that frame synchronization is usually performed before carrier recovery is completed, frame synchronization which are tolerant of frequency and phase errors have been developed recently [1]-[4]. They are ML rules—with the exception of an ad hoc rule in [1]—for AWGN [2],[3] and frequency selective channels [4]. The ML rules have been derived following two different approaches1 . One is the Bayesian approach adopted in [2],[3], which involves averaging of a probability density function (pdf) over transmitted data, frequency and phase offsets. The other is the joint estimation approach adopted in [4], which jointly achieves frame sync, frequency and channel estimation. In this case, to simplify the derivation, the rule assumes a special sync pattern which is periodically repeated. In this paper, we first develop a new ML rule for AWGN channels following the joint estimation approach. Then we return to the problem discussed in [4], but derive an ML rule that allows an arbitrary sync pattern. The advantage of the proposed rule over the existing schemes is demonstrated through computer simulation.

where ejθk is the M -ary phase-modulated symbol at time k; L T represents the channel memory; h = [h0 , h1 , . . . , hL−1 ] is a vector containing Ts -spaced samples of the channel response; and f0 denotes the frequency offset. Complex AWGN is de2 = N0 /Es where Es represents noted by wk . Its variance σw symbol energy and N0 is the noise power. For AWGN channels, L = 1 and h0 = ejφ0 where φ0 is the phase offset. In this case, rk in (1) is reduced to rk = ej(θk +2πf0 Ts k+φ0 ) + wk .

(2)

Throughout this paper, frame synchronization is started under the assumption that the position of packet is roughly known up to an uncertainty of µ ∈ {0, 1, . . . , P + L − 1} symbols (such coarse frame sync can be achieved by automatic gain control [4]). The test metric for frame synchronization is evaluated from N received samples {r0 , r1 , . . . , rN −1 }. The observation window size N ≥ Ns + P + L − 1 because otherwise, some received samples corresponding to the sync pattern may be excluded.

II. S IGNAL MODEL We consider packet transmission over a dispersive channel whose dispersion spans up to L symbol intervals. It is assumed 1

Additional discussion about these approaches may be found in [5].

2 The training sequence in this packet is a midamble, and thus the proposed synchronizer which will be derived based on this packet is most suitable for systems such as the GSM [6] that employs a midamble. To consider a preamble some minor modification is necessary.

0-7803-7400-2/02/$17.00 © 2002 IEEE

1546

µ,f0 and φ0 and subtracting a constant lowing test function is obtained:

III. D ERIVATION OF THE P ROPOSED F RAME S YNCHRONIZATION

Fig. 2 illustrates the received sequence r = {r0 , r1 , . . . , rN −1 } in the observation window and the corresponding transmitted sequence for an AWGN channel. If the sync pattern starts at the µ-th position, µ ∈ [0, P ], then the conditional pdf of r assuming µ, f0 , φ0 and d is given by

,

Es Es −|rk −ej(θk +2πf0 Ts k+φ0 ) |2 N 0 . p(r | µ, f0 , φ0 , d) = e πN0 k=0 (3) The joint ML estimates of µ, f0 and φ0 are obtained by maximizing p(r | µ, f0 , φ0 ) with respect to µ, f0 and φ0 . Evaluating the average of (3) over all possible data {d}, we get

X

M N −Ns

p(r | µ, f0 , φ0 , d).

(4)

all d

To simplify this expression, the information symbol ejθk is approximated as ejα where α has a uniform distribution over (−π, π)[1, p.283]. Then

µ =

·

Es πN0

¶N

Y

·

I0

k∈Ω /

e−(|rk |

2

=

NX s −1

,

k=µ

e

0

Re{rl+µ s∗l e−j(2πf0 Ts l+φ0 ) } −

NX s −1

|rl+µ |

l=0

Λ(µ, f0 , φ00 )

(7)

where l = k − µ and φ00 = φ0 + 2πf0 Ts µ. When the frequency and phase offsets are zero, this expression reduces to the ML rule for high SNR derived in [8]. Maximization of Λ(µ, f0 , φ00 ) with respect to µ,f0 , and φ00 can be achieved through the following three step procedure [1, p. 248]3 : First maximize Λ(µ, f0 , φ00 ) with respect to φ00 for each possible µ and f0 , Specifically, an estimate of φ00 is obtained as a function of µ and f0 : Λ(µ, f0 , φ00 ). φˆ00 (µ, f0 ) = arg max 0

(8)

φ0

Second derive an estimate of f0 as a function of µ, which is expressed as

µ ˆ = arg max Λ(µ, f0 = fˆ0 (µ), φ00 = φˆ00 (µ, fˆ0 (µ))). µ

(9)

(10)

To derive (8), Λ(µ, f0 , φ00 ) is differentiated with respect to φ00 and the result is set to zero. This yields ) (N −1 s X ∗ −j2πf T l 0 s (11) φˆ00 (µ, f0 ) = arg rl+µ sl e

+1)Es /N0

l=0

e

µ

2Es N0

−j(2πf0 Ts k+φ0 ) Re{rk s∗ } k−µ e

2Es |rk e−j(2πf0 Ts k+φ0 ) | N0

Using (11) in (7), we get



Λ(µ, f0 , φ00 = φˆ00 (µ, f0 )) , Λ0 (µ, f0 ) −

(5)

p(r | µ, f0 , φ0 ) ∼ = C(r) ·

|rk |

k=µ

l=0

−j(2πf0 Ts k+φ0 ) Re{rk s∗ } k−µ e

·

Y



e

2Es N0

|rk |



|rl+µ |

¯N −1 ¯ s ¯X ¯ ¯ ∗ −j2πf0 Ts l ¯ Λ (µ, f0 ) = ¯ rl+µ sl e ¯ ¯ ¯ 0

(12)

(13)

l=0

Now fˆ0 (µ) in (9) can be obtained by maximizing Λ0 (µ, f0 ). Differentiating the square of fˆ0 (µ) with respect to f0 and setting the result equal to zero yields NX s −1 N s −1 X

(6)

l=1

k∈Ω /

´N Q ³ N −1 −(|rk |2 +1)Es /N0 Es √ 1 . where C(r) = k=0 e πN0 ( 2π)N −L After taking the logarithm, dropping the terms independent of

NX s −1 l=0

where

2Es N0



µ+N s −1 X

Third select µ with the largest likelihood

where Ω = {µ, µ + 1, . . . , µ + Ns − 1} and I0 (x) = R π xcosθ 1 dθ is the zeroth-order modified Bessel function 2π −π e of first kind. The conditional√pdf in (5) is further simplified by approximating I0 (x) as e|x| / 2π [7]:

µ+N Ys −1

Re{rk s∗k−µ e−j(2πf0 Ts k+φ0 ) }

f0

k=0

µ+N Ys −1 k=µ

N −1 Y

µ+N s −1 X

fˆ0 (µ) = arg max Λ(µ, f0 , φ00 = φˆ00 (µ, f0 ))

p(r | µ, f0 , φ0 ) µ ¶N µ+N Ys −1 −|r −s ej(2πf0 Ts k+φ0 ) |2 Es Es ∼ N0 e k k−µ = πN0 k=µ Y 1 Z π −|r −ej(α+2πf0 Ts k+φ0 ) |2 Es N0 · dα e k 2π −π k∈Ω /

|rk |, the fol-

k=µ

N −1 Y

1

k=0

Λ(µ, f0 , φ0 )

A. Frame Synchronization in AWGN channel

p(r | µ, f0 , φ0 ) =

Pk=N −1

∗ (l − m)rl+µ s∗l rm+µ sm e−j2πf0 Ts (l−m) = 0. (14)

m=1

3 Since µ, f and φ0 are finite, Λ(µ, f , φ0 ) can also be maximized through 0 0 0 0 an exhaustive search [5].

1547

or equivalently, Im

(N −1 s X

) lρ(l)e

−j2πf0 Ts l

l=1

=

NX s −1

l |ρ(l)| · sin (arg[ρ(l)] − j2πf0 Ts l) = 0 (15)

l=1

The conditional pdf of rµ assuming µ, f0 and h takes the form µ ¶Ns Es p(rµ | µ, f0 , h) = πN0 ½ ¾ (21) Es H · exp −(rµ − Γ(f0 )Ah) (rµ − Γ(f0 )Ah) N0 where Γ(f0 ) is a diagonal matrix

where ρ(l) =

NX S −1

∗ rm+µ s∗m rm−l+µ sm−l

Γ(f0 ) = diag{1, ej2πf0 , ej4πf0 , . . . , ej2π(L−1)f0 }

(16)

(22)

m=l

Note that arg [ρ(l)] ' 2πf0 Ts l (in fact, arg [ρ(l)] = 2πf0 Ts l for the noise-free case). Therefore, sin (arg [ρ(l)] − 2πf0 Ts l) ' arg [ρ(l)] − 2πf0 Ts l and the following estimate is obtained from (15): fˆ0 (µ) =

R

1 X wl arg {ρ(l)} 2πTs

and A is a Ns × L matrix with entries [A]i,j = si−j 0 ≤ i ≤ Ns − 1, 0 ≤ j ≤ L − 1.

After taking the logarithm and dropping the terms independent of µ, f0 and h, we get

(17)

Λ(µ, f0 , h) = −(rµ − Γ(f0 )Ah)H (rµ − Γ(f0 )Ah).

l=1

where 1 ≤ R ≤ Ns − 1 and wl = PR

l |ρ(l)|

m=1

m2 |ρ(m)|

(18)

It should be pointed out that direct computation of (15) leads to fˆ0 (µ) with R = Ns − 1. The design parameter R enables us to adjust the acquisition range of the frequency estimate, which is given by 1 (19) |fˆ0 (µ)| < 2RTs (see Eq. (13)). The proposed frame synchronization rule is obtained from (10) and (12): ¯ N −1 (¯N −1 ) s s ¯ ¯X X ¯ ∗ −j2π fˆ0 (µ)Ts l ¯ µ ˆ = arg max ¯ rl+µ sl e |rl+µ | . ¯− µ ¯ ¯ l=0 l=0 (20) where fˆ0 (µ) is given by (17).

(23)

(24)

To maximize Λ(µ, f0 , h) with respect to µ, f0 and h, the three step approach introduced in the previous section is applied. First a channel estimate is found by setting the derivative of (24) equal to zero. The result is: ˆ h(µ, f0 ) = (AH A)−1 AH Γ(f0 )H rµ .

(25)

ˆ Substituting h(µ, f0 ) in (25) for h in (24), ˆ Λ(µ, f0 , h = h(µ, f0 )) = rµ H Γ(f0 )BΓ(f0 )H rµ − rµ H rµ o nP PNs −1 Ns −1 −j2πf0 Ts l − ρ(0) − l=0 = 2Re ρ(l)e |rl+µ |2 l=0 (26) where B = A(AH A)−1 AH , ρ(l) =

NX S −1

∗ [B]l−m,m rm+µ rm−l+µ ,

m=l

and [B]i,j is the (i, j)-entry of B. For each µ, fˆ0 (µ) is estimated by

B. Extension to frequency selective channels For frequency selective channels, to simplify the derivation, we employ a subwindow of length Ns observing rµ = [rµ , rµ+1 , . . . , rµ+Ns −1 ]T for each µ ∈ {0, 1, . . . , P + L − 1} and derive the conditional pdf of rµ . Under the assumption that µ is the correct sync pattern start position, rµ only corresponds to the training sequence(Fig. 3); and thus its conditional pdf does not dependent upon random data within the packet. This fact greatly simplifies the derivation, because averaging the conditional pdf over all possible data sequence becomes unnecessary.

" fˆ0 (µ) = arg max 2Re f0

(N −1 s X

) ρ(l)e−j2πf0 Ts l

# − ρ(0) .

l=0

(27) This estimate can be efficiently computed using fast Fourier transform (FFT)[5]. Using (27) in (26), then the proposed frame sync rule for frequency selective channels is obtained: n o µ ˆ = arg max rµ H Γ(fˆ0 (µ))BΓ(fˆ0 (µ))H rµ − rµ H rµ .

1548

µ

(28)

IV. S IMULATION R ESULTS False acquisition probabilities (FAPs)of the proposed rules were investigated by simulation with the following parameters: M = 4 (QPSK), N =80 and P =20. The sync pattern of length Ns =16 was taken from the midamble of the GSM, which is given by {1, −j, 1, j, 1, −j, −1, −j, −1, j, −1, −j, −1, j, −1, −j}. (29) The frequency selective channel was modeled as: h(t) =

L−1 X

hl δ(t − lTs )

(30)

l=0

where {hl } are independently identically distributed complex Gaussian random variables with zero mean and variance 1/L. Simulations use 500,000 independent frames and the FAP was empirically estimated by counting the number of frame synchronization failures. For comparison, we also considered the conventional correlation rule and the rule in [3] for AWGN channels and the algorithm in [4] for dispersive channels. The rule in [3] is expressed as ¯ (¯N −1 NX s −1 s ¯ ¯X ¯ ∗ ∗ ¯ rµ+k sk ∗ rµ+k−i sk−i ¯ µ ˆ = arg max ¯ µ ¯ ¯ i=1 k=i  µ+N s −1  X − |rk ||rk−i | . (31) 

rule decreased as R increased, at the expense of narrower frequency acquisition range (see (19)). The rule in [3] was most robust to frequency offsets, but its FAPs were larger than those of the proposed with R = 4 and 10. Fig. 5 and 6 compare performances of the rules when f0 Ts was uniformly distributed over [−fm , fm ], where fm =0.01 and 0.1 for Fig. 5 and Fig. 6, respectively. Again, the proposed rule outperformed the existing rules. Fig. 7 shows the results for the frequency selective channel. The proposed rule performed better than the rule in [4]. This happened because of the periodically repeated CAZAC sequence: due to the repetition, the test function in (33) tends to generate periodically repeated peaks as µ varies from 0 to P + L − 1, which degraded the performance of frame synchronization. V. C ONCLUSION ML-type frame synchronizers that jointly achieve frame sync, frequency and channel estimation have been derived and advantages of the proposed techniques over the existing ones have been demonstrated through computer simulation. Futher work in this direction will be concentrated on extending the proposed schemes to the case of transmitter and receiver diversity provided that the frequency offset is the same for each diveristy branch.

µ+i

The rule in [4] is computed by iteratively minimizing the likelihood function Λ(µ, f0 ) starting with initial frequency estimate (1) fˆ0 = arg[ρ(L)] where ρ(l) is given by (16). The likelihood function Λ(µ, f0 ) is given by Λ(µ, f0 ) = −ρ(0) − 2

(32) NX s −1 l=1

|ρ(l)| cos (2πlf0 Ts − arg[ρ(l)]) ρ(0)

This rule assumes the repeated CAZAC (constant-amplitude, zero autocorrelation) sequence[1, p.788]. Therefore, the CAZAC sequence was employed in implementing the rule in (33), while all the other rules in the simulation used the training sequence in (29). The robustness of the frame synchronizers was examined by estimating the FAPs for various normalized frequency offsets (f0 Ts ) in between 0 and 0.3, while fixing Eb /N0 at 3dB. The results are shown in Fig. 4. As expected, the correlation rule performed worst. The FAP of the proposed

1549

R EFERENCES [1] H. Meyr, M. Moeneclaey and S. A. Fechtel Ditital Communication Receivers., New York: John Wiley & Sons, 1998. [2] J. M. Gansman, and M. P. Fitz and J. V. Krogmeier, “Optimum and suboptimum frame synchronization for pilot-symbol-assisted modulation,” IEEE Trans. Commun., vol. 45, pp. 1327–1337, Oct. 1997. [3] Z. Y. Choi and Y. H. Lee, “On the use of double correlation for frame synchronization in the presence of frequency offset,” IEEE Trans. Commun., Accepted for publication. [4] S. A. Fechtel and H. Meyr, “Fast frame synchronization, frequency offset estimation and channel acqusition for spontaneous transmission over unknown frequency-selective radio channels,” Proc. IEEE PIMRC’93, pp. 229–233. [5] M. Morelli and U. Mengali, “Carrier-frequency estimation for transmissions over selective channels,” IEEE Trans. Commun., vol. 48, pp. 1580– 1589, Sept. 2000. [6] Radio Transmission and Reception, GSM Recommendation 0505, ETSI/PT 12, V. 3.11.0, Jan. 1990. [7] G. T. Lui and H. H. Tan, “Frame synchronization for Gaussian channels,” IEEE Trans. Commun., vol. 35, pp. 818–829, Aug. 1987. [8] P. T. Nielsen, “Some optimum and suboptimum frame synchronization for binary data in Gaussian noise,” IEEE Trans. Commun., vol. 21, pp. 770–772, June. 1973.

Ns + L - 1

P

foT:[−0.01,0.01]

0

random data

10

traning sequence

Proposed R=4 Proposed R=10 Correlation Rule in [3]

random data −1

10

sync pattern

False Acquisition Probability

guard symbols

Ns

L- 1

Fig. 1. Frame Structure. P

Ns

random data

sync pattern

−4

10

−5

random data −6

10

rµ -1 rµ

rµ +Ns-1

d 0 dµ −1 s0

s Ns-1

r0

−3

10

10

N Observed sequence

−2

10

−2

−1

0

1

3

rµ +Ns

rN -1



d N -µ -1

6

Proposed R=4 Correlation Rule in [3]

−1

10

L- 1

Ns

guard symbols

sync pattern

False Acquisition Probability

Fig. 2. Observed sequence and corresponding transmitted data in an AWGN channel, where 0 ≤ µ ≤ P .

random data

5

foT:[−0.1,0.1]

0

P

4

Fig. 5. False acquisition probability vs. signal to noise ratio.

10

Corresponding transmitted sequence

2 EbNo (dB)

random data

−2

10

−3

10

−4

10

N −5

10

Observed sequence

r0

rµ −1 rµ

rµ +Ns-1 rµ +Ns

rN-1 −6

Corresponding sync pattern in 1st path

s0

s Ns-1

Corresponding sync pattern in Lth path

s -L+1

s Ns-L

10

−2

−1

0

1

2 EbNo (dB)

3

4

5

6

Fig. 6. False acquisition probability vs. signal to noise ratio.

Fig. 3. Observed sequence and corresponding transmitted data in a frequency selective channel, where 0 ≤ µ ≤ P + L − 1

f0Ts : [−0.05,0.05]

0

10

0

10

Proposed R=2 Proposed R=4 Proposed R=10 Correlation Rule in [3]

−1

−1

10 False Acquisition Probability

False Acqusition Probability

10

−2

10

−2

10

−3

10

−3

10

Proposed ML(L=2,256 FFT) Proposed ML(L=4,256 FFT) Rule in [9](L=2,Q=8) Rule in [9](L=4,Q=4)

−4

10

−4

10

0

5

10

15 EbNo (dB)

20

25

−5

10

0

0.05

0.1

0.15 0.2 Normalized Frequency Offset

0.25

0.3

Fig. 4. False acquisition probability vs. normalized frequency offset when Eb /No is 3dB.

Fig. 7. Probability of false acquisition for the frequency selective fading channel. The normalized frequency offset was generated randomly over [-0.05,0.05]. L is the channel length.

1550