$30
5 Phase Synchronization
In Section 3.1.1 we said that the real part of the baseband signal is modulated onto a cosine wave at radio frequency, and the imaginary part onto a sine wave. Since the cosine and sine functions are orthogonal, the two signal parts can be separated in the receiver. However, we run into a similar problem as the one discussed in the last lab: The receiver merely sees an oscillating waveform (a sinusoid): r(t) ∝ sin(2πfct + θ) during one symbol duration. Is it a sine, or a cosine, or something in between? In order to differentiate between the two base functions, the receiver needs a phase reference, i.e. it needs to know the phase offset θ. The task of the phase synchronization unit is to provide this reference.
5.1 Signal Model
The phase synchronization is performed after the interpolator and thus works on the timingcorrected symbols
zε[n] = z(nT + εTˆ ). (5.1)
We will assume a perfect timing recovery and interpolation, so that zε[n] = z(nT + εT).
In the complex baseband, the phase offset θ translates to a multiplication of the received signal with ejθ. The effect of this is a rotation of the signal space, as illustrated in Figure 5.1. The left plot shows a sequence of received QPSK symbols after timing correction without any phase offset, with an SNR of 8 dB. The borders of the decision regions are the x- and y-axis; for example, the symbol demapper decides that the bits b0b1 = 11 have been transmitted if the received symbol lies in the upper right quadrant of the complex plane (see Figure 1.4). In Figure 5.1a we can easily recognized the transmitted QPSK constellation, and we see that most symbols will be correctly detected, even though the clouds extend to the coordinate axes and therefore a few bit errors will occur.
Figure 5.1b shows the same sequence with a phase error of 20◦. It is obvious that the bit error rate will be far worse if we attempt to demap these symbols without correcting the phase offset.
The phase offset is not constant but varies slowly over time, e.g. due to nonideal analog components. Since the variation of the phase is a random process, this effect is called phase noise. The received symbol sequence can now be written as
zε[n] = a[n]ejθ[n] + w′[n]. (5.2)
A simple but realistic phase noise model is the random walk: The first phase offset θ[0] is uniformly distributed in [0;2π). Then, over time, the phase offset evolves according to
θ[n] = θ[n − 1] + ∆θ[n] (mod 2π) (5.3)
32 Chapter5: PhaseSynchronization
−2 −1 0 1 2 −2 −1 0 1 2
Re{zε[n]} Re{zε[n]}
(a) θ=0◦ (b) θ=20◦
Figure 5.1: Received symbols without (a) and with (b) phase offset
Figure 5.2: Typical phase noise process for σ∆θ = 0.004
where the difference between two successive phase offsets is a Gaussian random variable
. (5.4)
Figure 5.2 illustrates a typical phase noise process for a standard deviation of σ∆θ = 0.004 ≈ 0.23◦. We see that the phase drift is rather slow, but still nonnegligible if the transmission is longer than about thousand symbols. Therefore, the phase offset must be tracked during the transmission.
5.2: SynchronizationviaRotation
Figure 5.3: Phase synchronization unit
5.2 Synchronization via Rotation
The correction of the phase offset is straightforward. Since the phase offset causes a rotation of the signal space, zε[n] = a[n]ejθ[n] + w′[n], we simply rotate the signal space into the opposite direction:
zε;θ[n] = zε[n]e−jθˆ[n]
(5.5)
= a[n]ej(θ[n]−θˆ[n]) + w′′[n]
with w′′[n] = w′[n]e−jθˆ[n]. The phase synchronization unit is illustrated in Figure 5.3.
5.3 The Estimation Algorithm
The estimation algorithm, which is known in the literature as the “Viterbi and Viterbi” algorithm [4], uses the fact that we have a QPSK modulation. We therefore know that
(5.6)
for all transmitted symbols a[n], and thus
. (5.7)
The operation (·)4 removes the information from the data symbols. Exploiting this fact, we can derive the following estimator, which operates on a symbol-by-symbol basis (i.e. does not take any correlation between the phases into account):
. (5.8)
This estimator is approximately unbiased if the SNR is high:
arg (5.9)
(=b) 14 arg{ej4θ[n]}
=(c) θ[n].
34 Chapter5: PhaseSynchronization
The approximation (a) is valid for a high SNR, because then the variation of the argument is small, and the nonlinear argument operation can be linearized. In this case, the expectation and the argument operation can be exchanged. Equation (b) holds because the noise has zero-mean and is uncorrelated with the data sequence.
The step (c) is does not allow us to uniquely identify any θ ∈ [0;2π). To see this, consider, for example, and (we drop the symbol index for simplicity). Then, the estimator will give us:
θˆ1 = arg{ej4θ1} = arg
4
(5.10)
(5.11)
1 1 π
We can only identify θ correctly if we know which quadrant it is in. One way to have access to this information is to consider the phase estimate for the previous symbol. Assuming that the phase changes slowly, the two consecutive phases will most likely be close to each other (BUT: not necessarily in the same quadrant). However, in order to use this method we need a initial phase information about which quadrant we can start from.
5.4 Initial Phase Estimation
An initial phase estimate can be obtained by exploiting the preamble that is used for frame synchronization in the following way. Assume that there is no noise, so that z[n] = a[n]ejθ[n], and let p[n] denote the preamble sequence of length Np. The frame synchronization function computes the following correlation:
Np
c[n] = Xp∗[i]z[n − i], (5.12)
i=0
where p[i] = p[Np − 1 − i] is the reverted preamble sequence. c[n] is maximized when the sequences z[n − i] and p[i], i = 0,...,Np − 1, are equal. Let the n which maximizes the correlation be denoted by nmax. Assuming that θ[nmax − i] ≈ θ over the preamble, we have:
Np−1
c[nmax] = X p∗[i]p[nmax − i]ejθ[nmax−i] (5.13)
i=0
Np−1
≈ X p∗[i]p[nmax − i]ejθ (5.14)
i=0
Np−1
= ejθ X p∗[i]p[nmax − i]. (5.15)
i=0
(5.16)
For the phase of c[nmax] we have:
arg{c[nmax]} = θ. (5.17)
Thus, the phase of the peak of the correlator can be used as an initial phase estimate.
5.5: YourTasks
5.5 Your Tasks
1. Create phase noise by implementing the random walk described in (5.3) and apply this phase noise to the signal.
2. Modify the phase synchronization unit so that it provides an initial phase estimate according to (5.17).
3. Implement the phase synchronization unit and integrate it into your system. Compare your phase estimates with the true values.
4. The estimator (5.8) does not take the correlation between the phases into account. But we have seen in Figure 5.2 that the phase varies quite slowly. Suggest a way to improve the estimator by exploiting the correlation.