You are on page 1of 45

Synchronization

Shanghai Jiao Tong University

Synchronization
Synchronization is one of the most critical functions of a communication
system with coherent receiver. To some extent, it is the basis of a
synchronous communication system.

Carrier synchronization
Symbol/Bit synchronization
Frame synchronization

Synchronization
Carrier synchronization (
Receiver needs estimate and compensate for frequency
and phase differences between a received signals carrier
wave and the receivers local oscillator for the purpose of
coherent demodulation, no matter it is analog or digital
communication systems

Synchronization
Symbol/bit synchronization ( /
In digital systems, the output of the receiving filter (i.e. matched filter)
must be sampled at the symbol rate and at the precise sampling time
instants. Hence, we require a clock signal. The process of extracting
such a clock signal at the receiver is called symbol/bit synchronization.

Frame synchronization
In frame-based digital systems, receiver also needs to estimate the
starting/stopping time of a data frame. The process of extracting such a
clock signal is called frame synchronization.

Phase-locked Loop
PLL is often used in carrier syn. and symbol syn. It is a closedloop control system consisting of
Phase detector (PD): generate the phase difference of v i(t) and vo(t).
Voltage-controlled oscillator (VCO): adjust the oscillator frequency based on
this phase difference to eliminate the phase difference. At steady state, the
output frequency will be exactly the same with the input frequency.
Loop filter (LF)

Phase-locked Loop
vi (t ) vi sin[0t (t )]

vo (t ) vo cos[0t (t )]
A PD contains a multiplier and a lowpass filter. The output of PD is:

vd (t ) K d sin[ (t ) (t )] K d sin e (t )
Loop filter
is also a LPF.

The output of the LF is (where F(p) is the transfer function)

vc (t ) F ( p)vd (t )

Phase-locked Loop
The output of VCO can be a sinusoid or a periodic impulse train. The
differentiation of the output frequency are largely proportional to the input
voltage.

d (t )
K v vc (t )
dt

If F(p)=1 Then

d (t )
K sin e (t )
dt
This kind of loop is called the first-order loop

Digital PLL

DPLL
Input

Digital
PD

Digital LP

Digital VCO
output
9-6 DPLL

Phase-locked Loop
In a coherence system, a PLL is used for:
1. PLL can track the input frequency and generate the output signal with
small phase difference.
2. PLL has the character of narrowband filtering which can eliminate the
noise introduced by modulation and reduce the additive noise.
3. Memory PLL can sustain the coherence state for enough time.
CMOS-based integrated PLL has several advantages such as ease of
modification, reliable and low power consumption, therefore are widely
used in coherence system.

Carrier Synchronization
To extract the carrier
1. Pilot-tone insertion method
Sending a carrier component at specific spectral-line along with the signal
component. Since the inserted carrier component has high frequency stability,
it is called pilot ( ).

2. Direct extraction method


Directly extract the synchronization information from the received
signal component.

10

stftcos
tasin
t
cc

Pilot-tone insertion method


1. Pilot-tone insertion method

Thinking
Why 900
shift

insert pilot to the modulated signal

x(t
)

Modulator

Bandpass
filter

Add

s(t
)

-asin(ct)

cos(ct
)

/2phas
e shift

The pilot signal is generated by shift the carrier by 90 0 and decrease by several
dB, then add to the modulated signal. Assume the modulated signal has 0 DC
component, then the pilot is

11

asin
cos
ct a
ct

Pilot-tone insertion method


S(f)

X(f)

fx

fc-fx

fc

fc+fx

The receiver uses a narrowband filter with central frequency f c to extract the
pilot
and then the carrier
can be generated by simply
shifting 900.

12

sA
cF
s
o
ts11

f22
rh12sftLP
0tf1t2ctoscc2tasi2ntttcos
1ftte
ccc
c
Pilot-tone insertion method

DSB, SSB and PSK are all capable of pilot-tone insertion method. VSB can
also apply pilot-tone insertion method but with certain modification.

13

Narrowband Filter

The drawback of narrowband filter:


The pass band is not narrow enough
fc is fixed, cannot tolerate any frequency drift with respect to the central
frequency
Can be replaced by PLL

Pilot-tone insertion method is suitable for DSB, SSB, VS and 2PSK

14

Direct extraction method


2. Direct extraction method
1).If the spectrum of the received signal already contains carrier
component, then the carrier component can be extracted simply by a
narrowband filter or a PLL.
2).If the modulated signal supresses the carrier component, then the
carrier component may be extracted by performing nonlinear
transformation or using a PLL with specific design.

15

astnIhfqoeuw
E
x
m
lrft2set
p
athscn
D
s012fo
S
iDarC
B
ln21cstoifmmc
g
n
a
sDpCt:cet
fnm222

sle
osc
12tptfnceots12tc,o
cti
d
o
e
s
n
t
h
a

v
e
c
r
i
e
c
o
m
p
n
e
t
1
ftf

12tmb(t)cos2osc2t
cft2
2

fmt

Nonlinear-transformation-based method
1.

Square transformation

16

1
1
1
st2
ft2
cos2
t2f(t)cos2
t

24Trthequfinrcmsytoerphmnifsrt.qhm
c
m
c
e
D
C
c
o
m
p
n
e
t
.
T
h
e
s
c
o
n
d
t
e
r
m
i
s
t
h
e
l
o
w
T
t
h
i
r
d
r
m
i
t
2

c
o
p
n
.
T
c
u
n
y
y
m
r
i
a
l
b
u
d
f
2cSpeoih
m
o
i
s
e
A
f
e
n
a
o
w
b
a
n
d
f
e
n
g
d
,
u
l
a
t
i
y
h
e
3
r
ca
rmypesanejidhfttcesymnr.a1lbi8e0o.xBascrteiosda,cbmyeo4dtfhlaqteuiroclyenti,vesdmhaoyi.chuen,ecirrtsndpohmase

Nonlinear-transformation-based method

17

Nonlinear-transformation-based method
Square PLL

18

eu
tW
L
sc
fotesP

tF
tf
(A
f12eh)tienlrcoL
weh
reiccrsttf1bp1tianmnsaocels12h
cd
p
e
r
b
a
n
c
h
1
1

t
s
i
n

f
t
s
i
n
2

ee
c
e
2
2
i
f
e
r
n
c
e
b
t
w
e
g
e
r
a
t
e
d
c
a
r
i
e
a
n
d
t
h
e
o
r
i
g
n
a
l
c
r
i
e
t
ie
(3)1r2
t22f4to2srt1es
e
1
fvd(t)te
2
In-phase orthogonal loopCostas Loop

2. In-phase orthogonal loop Costas Loop

Contains in-phase branch and


orthogonal branch. All parts except
LF and VCO are similar with a phase
detector.
19

A12.dC
vT
aohasenttugloesptisow
fefarCk-psshottnarff
l
o
p

iealonzpstre2adtt
fist2heignsaolw
o
efnfcislarge
h
cc

In-phase orthogonal loopCostas Loop

20

Performance
3. Performance of carrier synchronization
technique
1) Phase error: steady-state phase error, random phase error
2) Synchronization build time and hold time

21

Symbol Synchronization
In a digital communication system, the output of the receiving
filter must be sampled periodically at the symbol rate and at the
precise sampling time instance.
To perform this periodic sampling, we need a clock signal at the
receiver
The process of extracting such a clock signal is called symbol
synchronization or timing recovery
One method is for the transmitter to simultaneously transmit the
clock frequency along with the information signal. The receive can
simply employ a narrowband filter or PLL to extract it. This
method requires extra power and bandwidth and hence, but
frequently used in telephone transmission systems.
Another method is to extract the clock signal from the received
data signal by using some kind of non-linear transformation.

22

Early-Late Gate Synchronization


Basic Idea: exploit the symmetry properties of the output
signal of matched filter or correlator
Due to the symmetry, the values of the
correlation function at the early samples
and the late samples
are equal.
Thus, the proper sampling time is the midpoint
between
and

23

24

Nonlinear-transformation-based
method

1. Nonlinear-transformation-based method

Some transformations can add synchronous signal with f=1/T to the


original signal. For example, we can transform the signal to return-to-zero
waveform. After narrowband filtering and phase shifting, we can generate
the clock signal used for synchronization.

25

Digital PLL (DPLL)


2. DPLL

26

Digital PLL (DPLL)

27

Performance
3. Performance of symbol synchronization system
DPLL
1). Phase error
2). Synchronization build time
3). Synchronization hold time
4). Synchronous bandwidth

28

Frame Synchronization
Recall that carrier and symbol synchronization needs to estimate
the phase of synchronous signal which can be realized by using a
PLL.
Frame synchronization is to insert frame alignment signal
(distinctive bit sequence) and then detect the alignment symbol.
Besides adding frame alignment bits, some code such as selfsynchronizing code can be synchronized without adding extra bits.
Here, we only focus on the first method inserting frame
alignment signal.

29

Frame Synchronization

Start-stop method
Bunched frame alignment signal
Distributed frame alignment signal

30

sS
tstyaoarrpebm
it:
"w
ic1livk,eapddsthtniT
0
w
b
sym
g
tolp.bitw
henitsdle.W
hen"1
"0,therciverw
il
Start-stop Method

1. Start-stop method

It is widely used in teleprinter. Each symbol contains 5-8 data bits, a start bit and
a stop bit.

31

Start-stop Method
Drawbacks:
1). Low transmission efficiency
2). Low timing accuracy

32

Bunched frame alignment signal


2. Bunched frame alignment signal
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 code:


Barker code
optimal synchronous code
pseudo-random code.

33

eobdiR
ctsoxiidsanj
sfB1inatidrkBfbeAarkcn
rreokw
eta
cnihp1joenxrdioid2j,xc31,s4e02qnj5our73,n
x1c1e.nI3t,isip=r+o1ve0odjrth-na1.w
itsenelf-co1r2e0lat,iow
nefucanctoionly
Barker Code

34

Barker Code
n

barker code

++

++-

+++- ++-+

+++-+

+++--+-

11

+++---+--+-

13

++++--++-+-+

35

aS
lT
E
x
m
p
e

A
b
a
r
k
e
c
o
d
e
w
i
t
h
n

7
f
i
n
d
t
s
e
l
f
c
o
r
e
l
a
t
i
o
n
f
u
c
t
i
o
n
jR
:ihm

x
e1larsuy,t10w
ieschaoxn1w
x
2
7
0
2d
3
ebtrlm
iow
n,eR
.canseithasharpeakw
j
)
x(
henj
0.
Barker Code

36

Barker Code
(2) Barker code generator
shift register
Example when n=7, a 7 bits shift register. The initial state is a barker code.

37

Barker Code
(3) Barker code detector

38

Tidw
h
e
b
a
r
k
e
c
o
d
e
t
e
c
o
r
f
l
o
w
s
:
1

einolpouuutttpipsdacobn""y10rekc::ht??ion
nhpeucntI:f"rt10hw

fdu,thm
esoiluftpr.egiosftrthiefsram
egw
irthsa"1brke1co"d.eT

thn
Barker Code

39

Distributed frame alignment signal


3. Distributed frame alignment signal
The synchronous code is distributed in the data signal. That means
between each n bits, a synchronous bit is inserted.
Design criteria of synchronous code:
1. Easy to detect. For example: 11111111or 10101010
2. Easy to separate synchronous code from data code. For example: In
some digital telephone system all 0 stands for ring, so synchronous code
can only use 10101010.

40

1
C
P
1P

Performance

m
n

x
x
Ln
e
e
x
0

Performance of frame synchronization system


Bunched frame alignment signal
1. Probability of missing synchronization PL

Affected by noise, the detector may not be able to detect the


synchronous code. The probability of this situation is called probability of
missing synchronization PL.
Assume the length of synchronous code is n bit error rate is Pe. The
detector will not be able to detect if more than m bit errors happen, then:

41

0
W
h
e
n
m

o
n
l
y
1
(
C
)
c
o
d
e
w
i
l
b
e
d
t
e
c
d
a
s
y
n
c
h
r
o
n
u
s
c
o
d
e
n
1
1

t
h
e
r
a
e
s
t
e
;
.T
h
erfo
eP
p
o
b
i
l
t
y
o
f
a
l
e
y
n
c
h
r
o
n
i
z
a
o
n
i
s
:
m
x
C
n

n
m
1
F
x
x
0

C
2 2
x
0n
Performance

2.

Probability of false synchronization PF

Since data code can be arbitrary, it may be the same with synchronous
code. The probability of this situation is called probability of false synchronization
PF.

PF equals to the probability of appearance of synchronous code in the data code.

a. In a binary code, assume 0 and 1 appears with the same probability. There are 2 n
combinations of a n bit code.

b. Assume when there are more than m bit errors, the data code will also be detected
as synchronous code.

42

aW
nhe,dPF
P
epLL
ndsow
thelm
ngt,hPofsynPcFhrouscodenadthem
axium
biterom
.
L
Performance

43

3T
.bB
roub,sirletdhbN
A
v
e
aefusnil,w
gdom
itehseafyuvnaloydcm
b
u
t1nshce
erghP
m
sL
a
n
d
P
w
i
l
n
o
t
h
a
p
e
n

t
h
e
w
o
r
s
t
c
a
e
i
s
w
e
n
d
o
n
e
f
r
a
m
e
t
o
F
i1t2sbeN
zrobT
ts2ubizl1N
.adnt
o
sN
A
u
m
e
c
f
r
a
m
c
n
i
N
b
t
,
a
c
h
b
i
t
s
w
i
d
h
T
b
g
y
c
h
r
o
n
i
z
t
o
n
f
l
a
s
e
y
c
h
r
o
n
i
z
o
n
l
o
n
e
N
T
b
o
,
e
:
P
L
F
m
f
u
s
i
n
g
t
h
e
d
i
s
t
r
b
u
e
d
f
r
a
m
e
l
i
g
n
m
e
t
s
i
g
n
a
l
i
s
:

1
A
parntlyss,sotheprvom
om
ow
ilyusd.
Performance

44

Suggested Reading

, 2008.6,
Chapter 8.6 of Fundamentals of Communications
Systems, Pearson Prentice Hall 2005, by Proakis
& Salehi

45

You might also like