Documente Academic
Documente Profesional
Documente Cultură
February 2009
1/40
Introduction
Any successful communication system must establish
synchronization.
At the physical-layer level the receiver needs to estimate three
parameters:
(i) The incoming carrier frequency, fc (Hz);
(ii) Any phase shift or phase drift, (t) (radians), introduced
during transmission (for coherent demodulation);
(iii) The bit (symbol) timing, i.e., where on the time axis do the
kTb (or kTs ) (seconds) ticks occur.
2/40
Q (t )
!
1R
Eb
0T
Eb
I (t )
I (t )
1
T
2 Eb
0R
"
$
2 Eb sin & +
rQ
#
%
'
rQ
1(DQ )
0D
1D
Eb cos
Eb cos
rI
rI
(
*
2 Eb cos , +
0(DI )
0(DQ )
)
+
-
1(DI )
3/40
P[bit error]
10
10
q
2Eb
N0
cos
(a) BPSK
10
10
6
8
E /N (dB)
b
10
12
14
4/40
1
2Q
q
2Eb
N0
q
2Eb
1
(cos sin ) + 2 Q
N0 (cos + sin )
10
P[bit error]
10
10
(b) QPSK
10
10
6
8
E /N (dB)
b
10
12
14
5/40
E
b
Tb
2Tb
Tb
t = ( + 1)Tb
( +.1)Tb
w (t )
( ) dt
Tb
1
Tb
<
0D
0 1/ 2
0 Tb
( + 1)Tb
1D
6/40
P [bit error] =
10
P[bit error]
10
10
1
2Q
q
2Eb
N0
1
2Q
q
2Eb
N0 (1
2)
10
10
6
8
E /N (dB)
b
10
12
14
7/40
V cos(ct + )
vin (t )
<656=507
/001
234567
Vc cos(i t + (t ))
>045:?6 @0A57044 6B
vout (t )
C;=344 :507
8/40
t =0
V cos(c t + )
vin (t )
"double" frequency
term (c + i )
Vc cos(i t + (t ))
Estimate of
(c , )
D EE
F
GHIJKL
out (t )
K VCO
VDC
vout (t )
vout (t )
VDC
A First Course
DC in Digital Communications
9/40
vout (t ) vin (t )
vin (t )
vout (t )
C
T V WXXY
X^_
U
ZU[[ \]
`
abc de ghi
ime
f
fj kl
n
R1
R1
vin (t )
opq rs
tuvwxx yz{|}~
vout (t ) vin (t )
vout (t )
10/40
Km V Vc
{cos [(c + i ) + + (t)] + cos [(c i )t + (t)]} ,
2
where Km is a constant, i is the nominal frequency of the VCO
(reasonably close to c ), and (t) is a slow phase variation in the
output of the VCO.
Km V Vc
Km V Vc
cos [(c i ) t + (t)] =
cos (t) ,
2
2
where (t) (c i )t + (t) = (c t + ) (i t + (t)) is
the instantaneous phase error.
vin (t) =
out (t)
where Kloop
Kvco Km V Vc
2
d
d(t)
[i t + (t)] = i +
= i + Kloop cos (t)
dt
dt
d(t)
= Kloop cos (t).
dt
t 0.
12/40
t 0.
d (t )
dt
d (t )
= K loop cos (t )
dt
+ K loop
(t )
K loop
13/40
1
(t)
+ 2k, k = 0, 1, 2, . . .
= cos
Kloop
t
A First Course in Digital Communications
14/40
4) Consider the stable operating point of cos1 K
. Since
loop
(t) = (c i )t + (t) approaches a constant as
t , we conclude that the angular frequency i approaches
frequency.
c as t , i.e., the loop locks onto
h the incoming
i
The phase (t), however, tends to + cos1 K
.
loop
Therefore there is a phase error of magnitude, cos1 K
.
loop
5) The stable operating point and achievement of lock occurs
only if Kloop < < Kloop , i.e., the trajectory must
intersect the axis. Otherwise the phase error either keeps
increasing if > Kloop , or keeps decreasing if
< Kloop , with time.
15/40
(t=0)
d
=
Kloop cos
Zt
dt = t.
t=0
q
=(t)
2
Kloop
()2 tan 2 + Kloop
q
= t,
ln q
2
2
Kloop
()2 Kloop
()2 tan 2 + Kloop
=(0)
Kloop ,
we get
(p
)
1 d2 tan (t)
2 (1 d )
ln p
=
1 d2 tan (t)
2 + (1 d )
)
(p
q
1 d2 tan (0)
2 (1 d )
2
Kloop
1 d t + ln p
.
1 d2 tan (0)
2 + (1 d )
A First Course in Digital Communications
16/40
b
a
tan
b
2
2
where a
p
1 d2 ; b (1 d ).
(t) = 2 tan
)
b 1 + Aea Kloop t
.
a (1 Aea Kloop t )
17/40
(t) = 2 tan1
1
b(1+Aea Kloop t )
a(1Aea Kloop t )
d=0.1
(0)=/4
=0.5
d
0.5
0
(t)
(0)=/10
0.5
1
cos1(d)
1.5
0
4
5
Kloopt (sec)
3
aKloop
seconds.
to
5
aKloop
18/40
19/40
Sinusoidal PLL
K mVVc
sin( (t ) (t )) = vin (t )
2
V sin(ct + (t ))
Loop Filter
2 f c Filter
h(t )
vout (t ) = h(t ) vin (t )
Vc cos(c t + (t ))
out (t )
K VCO
VDC
vout (t )
VDC
d(t)
= Kloop h(t) sin((t) (t)),
dt
where (t) (t) (t) is the phase error. It follows that
R
R
(t) = Kloop h(t) sin((t) (t))dt = Kloop vout (t)dt. This leads to
an equivalent model of the PLL.
A First Course in Digital Communications
20/40
vin (t ) = sin( (t ))
sin
(t )
h(t )
(t )
vout (t )
K loop
( ) dt
Output (volt)
Phase error
(rad)
Phase error
(rad)
2
V
21/40
vin (t ) Vin ( s )
1
(t ) ( s )
h(t ) H ( s )
vout (t ) Vout ( s )
K loop
(t ) ( s ) =
Vout ( s )
s
1
s
22/40
d(t)
dt
s+a
dvout (t)
dvin (t)
Vin (s)
= avin (t) +
s
dt
dt
= Kloop vout (t) and vin (t) = sin (t), one has
dvout (t)
d(t)
d (t)
= Kloop
= aKloop sin (t) + Kloop cos (t)
.
dt2
dt
dt
2
d (t)
d
Because d dt(t)
= dt
+
2
2 [(t) (t) + (t)] = dt2
differential equation for the phase error is:
d2 (t)
dt2 ,
the
d2 (t)
d(t)
d2 (t)
+
K
cos
(t)
+
aK
sin
(t)
=
.
loop
loop
dt2
dt
dt2
Consider a constant frequency input, (t) = t. Then
d2 (t)
d(t)
+ Kloop cos (t)
+ aKloop sin (t) = 0.
dt2
dt
Unfortunately, no solution is available for the above equation.
A First Course in Digital Communications
23/40
d2 ( )
d( )
a
+ a sin ( ) = 0where a
+ cos ( )
.
2
d
d
Kloop
h
i
2 ( )
d d( )
Now d d
=
. Divide the previous equation by
2
d
d
d( )
d
d
d
d( )
d
d( )
d
h
i
)
d d(
d
d( )
, we have
d
sin
d( )
= cos a
, where =
.
d
d
24/40
(b) a=1/8
5
4
Derivative of the phase error, d()/d
(a) a=1/2
5
3
2
1
0
1
2
3
4
5
3
2
1
0
1
2
3
4
/2
/2
0
Phase error, ()
/2
/2
0
Phase error, ()
25/40
0.04
0.03
0.02
0.01
0
0.01
0.02
0.03
0.04
0.05
3.06
3.08
3.1
3.12
3.16
Phase error, ()
3.18
3.2
3.22
3.24
26/40
() () = cos d a
sin d.
2
() () =
sin d.
2
Z
Z
Z
i
1 h 2
sin2
1 cos(2)
2
() () = sin cos d a
d = a
d.
)
If = d(
> 0, the RHS < 0 and if < 0 the RHS > 0 For any
d
must decrease regardless of the initial value of
cycle of width 2, ||
the lock range is infinite.
27/40
d( )
d
and x = ( ). Then
dy
= y cos x a sin x,
d
dx
= y.
d
(a) a=1/2
Phase error, ()
20
15
.
(0)=2.5
10
5
0
5
0
.
(0)=0.5
10
20
30
Time,
40
50
60
(b) a=1/8
Phase error, ()
80
.
(0)=2.5
60
(0)=0.5
40
20
0
20
0
.
(0)=0.5
10
20
30
Time,
40
50
60
28/40
r (t) = I (t)Eb
=
2
Tb
Eb
+ cos(2(2fc )t + 2) + noise terms.
Tb
r2 (t) has a spectral component at 2fc for the PLL to lock on!
A First Course in Digital Communications
29/40
r (t )
()
r 2 (t ) V cos(4 f ct + 2 )
4 f c Filter
Vc sin(4 f ct + )
= 2
A sin(2 f ct + )
900 Phase
Shifter at fc
30/40
k=
p
2
cos(2fc t+)+Q(t) Eb
Ts
(I)
r2 (t) =
+
=
r4 (t) =
+
2
sin(2fc t+)+w(t),
Ts
k=
(Q)
2
cos2 (2fc t + ) + Q2 (t)Eb
sin2 (2fc t + )
Ts
2
2I(t)Q(t)Eb
cos(2fc t + ) sin(2fc t + ) + noise terms
Ts
2Eb
2Eb
+
I(t)Q(t) sin(2(2fc )t + 2) + noise terms.
Ts
Ts
I 2 (t)Eb
2
Ts
4Eb2
8Eb2
+
I(t)Q(t) sin(2(2fc )t + 2)
Ts2
Ts
4Eb2 2
I (t)Q2 (t) sin2 (2(2fc )t + 2) + even more noise terms.
Ts2
31/40
r 4 (t ) Vc cos(8 f ct + 4 )
r (t )
()
8 f c Filter
Vc sin(8 f ct + )
= 4
A sin(2 f ct + )
/2 Phase
Shifter at f c
32/40
k=
Q(t)
)r
2
sin(2fc t + ),
Ts
33/40
34/40
( = )
2 cos(2 f ct + )
K sin(2 )
r (t )
/2 Phase
Shifter at f c
2sin(2 f ct + )
I 2 (t )
sin(2 )
2
I (t ) sin
2 f c Filter
35/40
2 f c Filter
2 cos(2 f ct + )
r (t )
I (t )
2sin
/2 Phase
I (t )Q(t ) cos + sin
Shifter at f c
2sin(2 f ct + )
2 f c Filter
I (t ) sin + Q (t ) cos
Q(t )
36/40
m(t ) + w 0 (t )
2 f c Filter
!
#
BPF
1 "
$ Hz
Tb
1
1
2 cos(2 f ct + )
clock signal
recovery circuit
37/40
m1 (t )
Delay
Tb
2
%
'
)
BPF
clock signal
&
1 (
* Hz
Tb
m(t Tb / 2)
123
d
dt
0
+
/
BPF
,
1 .
0 Hz
Tb
clock signal
1
1
38/40
( ) dt
V1
m(t )
V1
0
789
456
Tb; d
( ) dt
V2
V2
Early-gate integrator
39/40
When the VCOs square-wave clock and the incoming data, m(t),
are in perfect synchronization, both integrators accumulate the same
amount of signal energy over (Tb d) the error signal is zero.
If m(t) is delayed by < d, the early-gate integrator accumulates
over (Tb d), while the late-gate integrator still accumulates
over (Tb d) seconds the error signal is proportional to
which would delay VCOs timing. The opposite happens when the
data timing is in advance of the VCO timing.
m(t )
+V
FGHIJKLGMN
<=>?@AB=CD
OGMNKLGMN
E=CDAB=CD
d
d
t =0
t = Tb
t =0
Synchronized
t = Tb
m(t ) is delayed by
with respect to VCO timing
40/40