Synchronization
Shanghai Jiao Tong University
2011.11
Synchronization
Synchronization is one of the most critical functions performed at the
receiver of a synchronous communication system. To some extent, it is the
basis of a synchronous communication system.
Carrier synchronization
Symbol/Bit synchronization
Frame synchronization
2011.11
Synchronization
Carrier synchronization
To recover the sinal !ithout distortion, receiver needs
to estimate and compensate for fre"uency and phase
differences bet!een a received sinal#s carrier !ave and the
receiver#s local oscillator for the purpose of coherent
demodulation.
As to digital communication system,
symbol/bit synchronization and frame
synchronization are also required.
2011.11
Frame synchronization
$eceiver can proceed by every roup of symbols instead of every
sinle symbol, such as a frame in T%& system. Similar !ith symbol/bit
synchronization, the process of extractin such a cloc' sinal is called
frame synchronization.
Symbol/bit synchronization
The output of the receivin filter must be sampled at the symbol
rate and at the precise samplin time instants. (ence, !e re"uire a cloc'
sinal. The process of extractin such a cloc' sinal at the receiver is
called symbol/bit synchronization.
Synchronization
Synchronization
2011.11
The synchronized system required:
Synchronous sinal must have hih noise immunity and be reliable.
)eneratin synchronous sinal should not consume much extra po!er and
increase implementation complexity.
+
+
0 - sin 6 03 - 0 - sin4 6 0 - t t t t v
e d d d
+oop filter is also a +*F. 2ctive/passive *7 filter are most commonly
used.
2 *% contains a multiplexer and a lo!pass filter. The +*F is for filterin
the extra fre"uency component enerated by multiplexin. The output voltae
is8
0 - 0 - 0 - t v p F t v
d c
dt
d
p
The output of the +F is8
2011.11
hase!loc"ed #oo$
0 - 6
0 -
t v
dt
t d
c v
+
+
+
has 0 DC componentthen
square transformation:
contains DC component,let it be so
( )
: :
cos; - 0 cos;
; ; ;
m c m c
f t t f t t + +
2011.11
2onlinear!transformation!based method
( ) ( ) t t f t t f t s
c m c m
; cos 0 -
;
:
; cos
;
:
;
:
;
:
;
+ + +
;
;
c
c
The first term is the DC component. The second term is the low
frequency component. The third term is the component. The
th term is the frequency component symmetrical distributed of
!modulation noise. "fter narrowband filterin#, only the $rd
term and a small fraction of th term left, then the carrier
component can be e%tracted by frequency di&ision.
'ince the carrier is e%tracted by freq
o
uency di&ision, its phase
may shift by ()0 . *esides, modulation noise may cause random
phase +itter.
2011.11
2onlinear!transformation!based method
S"uare *++
2011.11
3n!$hase orthogonal loo$4%ostas #oo$
+. 7n,phase orthoonal loop ?Costas +oop
%ontains in!$hase branch and orthogonal branch.
All $arts e*ce$t #5 and 6%7 are similar 8ith a 9$hase
detector:.
2011.11
( ) ( )
( ) ( ) ( ) ( ) ( )
( ) ( )
( ) ( )
:
:
+et s cos
:
: :
cos sin sin sin ;
; ;
:
2fter +*F sin
;
:
;
-
c
c c e e c e
e
e
e e
t f t t
f t t t f t f t t
r t f t
When r t f t
+ + +
,-upper branch
is the phase difference between #enerated carrier and the ori#inal carrier
is small
( ) ( ) ( )
( ) ( ) ( )
;
;
;
;0
: :
cos
; ;
:
-<0 - 0
@
e
1 e d
r t f t f t
r t r t f t v t
lower branch
3n!$hase orthogonal loo$4%ostas #oo$
2011.11
3n!$hase orthogonal loo$4%ostas #oo$
( ) ( )
c
;
:.Costas loop !or's on instead of ; so !hen f is lare
Costas loop is easier to realize
;.The output of in,phase loop r is the sinal f
c c
f f
t t
"d&anta#es of Costas loop
2011.11
erformance
;. *erformance of carrier synchronization
techni"ue
:0 *hase error8 steady,state phase error, random phase error
;0 Synchronization build time and hold time
2011.11
erformance
5
c
:. steady,state phase error
-:0 Aarro!band filter is a simple sinle tuned loop !ith a fixed
B value. Chen the central fre"uency D is not e"ual to the carrier
fre"uency D, steady,state phase error
e
5
5
5
5
5
is arose.
+et
Chen ED is small
; B
-;0 hen *++ is applied8
is the %C ain of the *++ circuit. 2pparently, can have a
very small value as lon as is lare enouh.
c
e
Q
W
k
k
k
2011.11
;. $andom phase error
2ssume )aussian random noise is the case, !e already 'no! !hen SA$ is hih
-SA$FF:0, the phase distribution of the sum of a sinusoid sinal and a aussian noise
passed throuh a na
( )
( )
;
;
rro!band system is a aussian distribution.
+et -50 5, then8
:
!ith 5 !e use to assess the random phase error.
;
:
random phase 1itter
;
d
d
f e
f mean
d
d
erformance
2011.11
erformance
5
5 5
5 5
5 5
>xample Aarro!band filter is a sinle tuned loop.
The e"uivalent noise band!idth8
;
+et the noiseGs sinle,sideband *S% is A then the noise po!er is
;
:
then
;
n
n n
S s
n
f
B
Q
P N B
P P Q
d
P N f
N f
d
@
2pparently B , .
Based on above discussion, !e can see there is a trade,off bet!een minimize the
steady,state phase error and the random phase error.
S
QP
2011.11
<. Synchronization build time and hold time
>xample8 usin sinle tuned loop to realize narro!band filterin
U
kU
ts
tc
t
erformance
2011.11
erformance
( ) ( )
( )
( )
5 5
5 5
5
5 5
-:0 Chen t 5 the output voltae is8
: cos
; is the resonant fre"uency
Chen synchronization is build !hen the amplitude oes to 5 :
2s8 6 :
: :
So ln syn
:
s
t
S
t
s
u t u e t
Q
t t Ku K
u u e
t
k
< <
: :
ln
c
t
k
5
;Q
2011.11
Symbol Synchronization
n
n
N
n
.
modification happens each ; seconds.
Synchronization build time is
;
!
s ! !
t N n
erformance
2011.11
<. Synchronization hold time
7f the input sinal is interrupted after synchronization is build, since there is a
fre"uency difference bet!een the transmitter and the receiver, the phase of
c
t
F the
synchronous sinal !ill 'eep driftin. Ce consider the system is not synchronous
any more if the phase is drifted by a centain value. This period is called synchronization
hold time.
7f the transm
: ;
: ;
; :
: ; ;
: ; : ; 5
5 : ; 5 5
5 : ;
5
: ;
5 5
: :
itter and the receiver have T and separatively then
: :
F and :
7t can also be !ritten as
F F
F F
F
F F F F F
F F F
F
F
F
F
F
erformance
2011.11
: ;
5 5
Chen fre"uency difference exists the phase !ill drifted by after every
7f the system can only allo! the drift to be as lare as - is relevant !ith 0,
then !e can calculate the synchr
F
K K Pe
.
5
5
c
onization hold time as8
:
t
7f fixed then the system re"uires to be8
:
7f the oscillators in transmitter and receiver have the same
c
c
c
c
t
k F
t F
F k
t F
F
t k
5 5
stability, then the stability
should not belo!8
:
; ;
c
F
F t kF
t
erformance
2011.11
: ; 5
;
5 5
@. Synchronous band!idth
ynchronous band!idth is the rane of .
The drift occurs durin one symbol interval is
2s mentioned, the %*++ modifies the phase every ; symbol
s
f
S F
F F
F F
5
5
;
5 5 5
5
5
s. >ach time spends
seconds. To mentain synchronazation, obviously !e need8
: :
; ; ;
;
!hen F !e have8
;
s
!
! s
n
F
n nF F nF
F
f F
n
f
f f
n
,
erformance
2011.11
erformance
7n %*++, fre"uency division number n !ill affect and so n must be selected
properly to let satisfies the systemGs re"uirement and let ,
e s
e s c s
f
t t f
2011.11
Frame Synchronization
2s mentioned, carrier synchronization and symbol
synchronization needs to estimate the phase of synchronous sinal
!hich can be realized by usin a *++. Frame synchronization is
realized in a different !ay??insertin frame alinment sinal
-distinctive bit se"uence0. Therefore, the basic tas' of frame
synchronization is ho! to detect the alinment symbol.
Besides add frame alinment bits, some code such as self,
synchronizin code can be synchronized !ithout addin extra bits. 7n
this section, !e only focus on the first method ??insertin frame
alinment sinal.
2011.11
Frame Synchronization
Drawbacks:
:0. +o! transport efficiency
;0. +o! precision of timin
Start!sto$ ðod
Bunched frame alinment sinal
+. Bunched frame alinment sinal
This method inserts synchronous code at a particular place in
each frame. The code should have a sharp self,correlation function.
The detector should be simple to implement.
Frame synchronization code8 Bar'er code, optimal synchronous
code and pseudo,random code.
( )
{ }
( )
: ; <
:
: Bar'er code
2 n bits bar'er code , , , its self,correlation function
satisfies
5
5or : 5
5
n i
n "
# i i "
i
# # # # #
n "
$ " # # " n
t < <
9:( or ;(.
Bar'er code is not a periodic se"uence. 7t is proved that !hen :;:55, !e can only
find bar'er code !ith ;, <, @, J, M,::,:<.
" n
n
n
'
<
-ar$er 1ode
2011.11
n barker code
; N N
< N N ,
@ N N N , N N , N
J N N N , N
M N N N , , N ,
:: N N N , , , N , , N ,
:< N N N N , , N N , N , N
-ar$er 1ode
2011.11
( )
( )
: : ; ; M M
: ; ; <
>xample 2 bar'er code !ith M find its self,correlation function
5 8 5 M
:8 : 5
Similarly, !e can determine .
The result is sho!n belo!, !e can see it has a shar
#
#
#
n
" $ # # # # # #
" $ # # # #
$
+ + +
+ +
<+=
p pea' !hen 1 5.
-ar$er 1ode
2011.11
-;0 Bar'er code enerator
?shift reister
>xample !hen n9M, a M bits shift reister. The initial state is a bar'er code.
-ar$er 1ode
2011.11
(;) 'ar"er code detector
-ar$er 1ode
2011.11
:
8 L:L
:
:
8 L5L
:
7f the output connection of the shift reister is the same !ith a bar'er code then
input
input
+
'
'
+
!hen the input is a bar'er code, the output of the shift reister is L:::::::L. The
detector !ill send a synchronous impulse.
-ar$er 1ode
2011.11
%istributed frame alinment sinal
;. %istributed frame alinment sinal
The synchronous code is distributed in the data sinal. That means
bet!een each n bits, a synchronous bit is inserted.
(o! to desin synchronous code8
:. >asy to detect. For example8 O::::::::Por P:5:5:5:5P
;. >asy to separate synchronous code and data code. For example8 7n some
diital telephone system all P5P stands for rin, so synchronous code can
only use O:5:5:5:5P.
To determine the synchronous code, receiver need to detect the code bit by
bit. )enerally, the code can be detected by shiftin the sinal code by code.
2011.11
%istributed frame alinment sinal
2011.11
>xample data code is all O5P synchronous code is allO:P
The synchronous code is enerated by fre"uency division -A9@0of the
symbol synchronous impulse -a0. 7n practical system, the local code -d0 !ill
not be exact the same !ith -c0.Therefore, the output of the Q/$ ate !ill
have nonzero !aveform -e0. 2fter one bit delay -f0, the exclusion ate !ill
discard one symbol synchronous impulse -b0. By repeatin this procedure,
finally -d0 and -c0 !ill be exactly the same, frame synchronization is realized.
%istributed frame alinment sinal
2011.11
erformance
erformance of frame synchronization system
4Bunched frame alinment sinal
:. *robability of missin synchronization
#
2ffected by noise, the detector may not be able to detect the
synchronous code. The probability of this situation is called probability of
missin synchronization *
+
.
2ssume the lenth of synchronous code is n bit error rate is *e. The
detector !ill not be able to detect if more than m bit errors happen, then8
( )
5
: :
m
n #
# #
L n e e
#
P % P P
2011.11
+. *robability of false synchronization
5
Since data code can be arbitrary, it may be the same !ith synchronous
code. The probability of this situation is called probability of false synchronization
*
F
.
*
F
e"uals to the probability of appearance of synchronous code in the data code.
a. 7n a binary code, assume 5 and : appears !ith the same probability. There are ;
n
combinations of a n bit code.
b. 2ssume !hen there are more than m bit errors, the data code !ill also be detected
as synchronous code.
erformance
5
:
Chen 5 only :- 0 code !ill be detected as synchronous code
Chen : there are codes !ill be detected as synchronous codeR
......
Therefore the probability of false synchronization is8
n
n
#
n
#
F
m %
m %
%
P
m
5
5
:
; ;
m
n
#
n
n
#
%
2011.11
erformance
+ + F
* and * depends on the lenth of synchronous code n and the maximum bit error m.
Chen n , * * !hen m , * *
L F
F
B
2011.11
s
+
<. 2verae build time t
2ssume both * and * !ill not happen the !orst case is !e need one frame to
build frame synchronization. 2ssume each frame contains A bits, each bit has a !idth
T , then one f
F
!
( )
b
b
:
s
rame costs AT .
Ao! assume a missin synchronization or a flase synchronization also needs AT
to rebuild the synchronization, then8
:
Bisedes, the averae build time of usin the dis
! L F
t N P P + +
( )
; ;
: ;
s
tributed frame alinment sinal is8
:
2pparently, , so the previous method is more !idely used.
s !
s
t N N
t t
>>
<
erformance