Professional Documents
Culture Documents
Contents
1. DIGITIZATION __________________________________________________________1
Introduction__________________________________________________________________ 1
Overview ____________________________________________________________________ 1
Review of the Sampling Theorem ________________________________________________ 2
Signal Quantization____________________________________________________________ 5
Pulse-Code Modulation ________________________________________________________ 7
Noise in PCM Systems ________________________________________________________ 11
Summary of PCM features, strengths and weaknesses ______________________________ 13
Differential Pulse Code Modulation (DPCM) _____________________________________ 13
Coding Speech at Low Bit Rates ________________________________________________ 14
2. BASEBAND PULSE TRANSMISSION ______________________________________16
Introduction_________________________________________________________________ 16
The Matched Filter ___________________________________________________________ 16
Effects of noise on PCM error probability ________________________________________ 18
Intersymbol interference ______________________________________________________ 21
Nyquist’s Criterion for Distortionless Transmission ________________________________ 23
Baseband M-ary Pulse Transmission ____________________________________________ 26
Equalization_________________________________________________________________ 27
Eye Diagram ________________________________________________________________ 30
Synchronization______________________________________________________________ 30
1. DIGITIZATION
Introduction
The remainder of this module is concerned with digital telecommunications. Thus we need to
look at ways of digitizing analogue information carrying signals. The first process is sampling
followed by quantization. By digitizing signals, we will find that the time domain plays a very
important part of the discussion. Remember that in analogue communications, the frequency
domain was important.
Overview
• Sampling
g(t)
Ts
or in frequency terms as
∞
Gδ ( f ) = f s G( f − mf s )
m= −∞
More practically, we sample by finite pulses, in which case we find that a sin x / x envelope
will be present.
We can view sampling in a symbolic way as in the next illustration. Here the signal is being
sampled at the Nyquist rate, i.e f s = 2W . To recover the original signal, an ideal lowpass
filter would be required. In practice, f s > 2W to allow for the filter roll-off.
G(0)
f
-W 0 W
Gδ (f)
2WG(0)
f
-2fs -fs -W 0 W fs 2f s
t
T
T
s
t
T
s
g(kTs)
t
T
s
We are not taking the discussion on these forms of modulation any further. However, the
discussion on PAM leads to an important property, that of Time-Division
Multiplexing(TDM). This can be most explained by a diagram (see Fig.24). The spaces
between the pulsed amplitudes for one signal can be used for pulses from other multiplexed
signals. In practice, T << Ts .
LPF LPF
Commutator Decommutator
LPF LPF
Pulse Pulse
Mod Channel Demod
pulses pulses
LPF LPF
Thus the total number of pulse per second is r = Mf s > 2 MW , r represents the pulse or
signalling rate of the TDM system.
Signal Quantization
Assume we have a finite number of amplitude levels. So after sampling a signal at time kT,
we will need to determine the level from the fixed set of such levels nearest to x( kT ) . We
will call this quantity xq ( kT ) . The difference x( kT ) − xq ( kT ) is called the Quantization
Error. This error is of course random and we can determine some of its statistical parameters
quite easily.
-1
0 1 2 3 4 5
time(secs
0.1
-0.1
0 1 2 3 4 5
time(secs
Figure 25: Quantization Process for a Sine Wave
1 ∆ ∆
− <q≤
fQ ( q ) = ∆ 2 2
0 otherwise
∆2
we can show easily that the mean is zero and that the variance σ = . 2
Q
12
Output Level Output Level
4 4
2 2
-4 -2 2 4 Input -4 -2 2 4 Input
Level Level
-2 -2
-4 -4
(a) (b)
We can go further by finding the signal-to-noise ratio of a uniform quantizer. If the number of
bits per sample is R then the number of levels, L = 2 R and hence
2mmax
∆= and
2R
1 2 −2R
σQ2 = mmax 2
3
If P is the average power of the message signal m( t ) then the output signal-to-noise ratio is
P 3P 2 R
as follows: SNR = = 2
σQ
2 2
mmax
Pulse-Code Modulation
The simplest type of digital pulse modulation consists of anti-aliasing filtering, sampling,
quantizing and finally encoding. This process is known as Pulse Code Modulation(PCM) and
can be viewed as analogue to digital conversion. Figure 27 shows a PCM transmitter,
transmission link and receiver.
TRANSMITTER
Source
Sampler Quantizer Encoder
Analogue fs NQ ν
Signal
Anti-alias
TRANSMISSION PATH
Regenerative Regenerative
Repeater Repeater
RECEIVER
Regen Destination
Decoder
Circuit
Analogue Output
Reconstruction
Filter
Figure 27: PCM System
1. Sampling
Train of narrow rectangular pulses at a rate f s > 2W to allow for non-ideal reconstruction
filter.
2. Quantization
Uniform quantization already dealt with
Non-uniform quantization more useful since for voice signals, ratio of loud to soft can be as
much as 1000. Input signal is compressed then uniformly quantized. Received signal is then
expanded. Overall process is called Companding. Two main types: µ-law and A-law.
These laws are logarithmic. They tend to give extra weight to small level signals. In practice,
piecewise linear approximation to these curves is used.
mu-law A-law
1 1
0.9 0.9
0.8 0.8
0.7 0.7
| |
v|, 0.6 v|, 0.6
t t
u
pt u
pt
u u
o 0.5 o 0.5
d d
e e
sil sil
a 0.4 a 0.4
mr mr
o o
N N
0.3 0.3
0 0
0 0.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1
Normalised input,|m| Normalised input,|m|
On-off s ignalling
NRZ
RTZ
Biploar
Manchester Code
Ref Bit
Time
Differential
Encoding
Figure 29: Electrical representations of binary data
Timing Circuit
Consider a binary codeword of the form bv −1bv − 2 b1b0 . An error in the mth bit shifts the
2 m
decoded level by the amount ε m = ± 2 where 2 / q is the step height.
q
4 4 −1 4 q −1 4
v 2
= = ≈
vq 2 3 3v q 2 3v
The decoding noise power is therefore
4
σ d2 = vPe ε m2 ≈ P e
3
since erroneous words occur with probability vPe .
The total destination noise power consists of decoding noise and quantization noise
σ 2q = 1 / 3q 2 . Therefore
1 + 4q 2 Pe
ND = σ + σ =
2
q
2
d
3q 2
S 3q 2
Thus = x2
N D 1 + 4q Pe
2
Quantization noise dominates when Pe is small but decoding noise dominates and reduces
destination SNR when Pe is large compared with 1 / 4q 2 .
50
q=128
40
q=32
30
(S/N)D dB
20
10
0
10 20 30 40 50
(S/N)R dB
Figure 31: Noise performance of PCM
The PCM Error Threshold is defined as the point at which decoding noise reduces by 1dB.
This definition precludes analytical investigation. More usefully, consider the situation in
which decoding errors have negligible effect if Pe ≤ 10 −5 . We can find that
≈ 6(M 2 − 1) for M-ary signalling. For any value less than this, the PCM output will be
S
N Rth
badly effected by decoding noise.
r
The PCM transmission bandwidth is BT ≥ ≥ vW so that
2
γ th =
BT S
W N
≈6
BT
W
(M 2 − 1) ≥ 6v(M 2 − 1)
Rth
From this expression we can determine the minimum value of γ for PCM operation above
threshold given values for v and M. It also allows comparison with other transmission
methods.
10
Baseband
0
10 20 30 40 50
γ dB
Figure 32: Comparison between PCM and Analogue Modulation ( b = BT / W )
All of these characteristics of PCM can be attributed to the use of coded pulses for the digital
representation of analogue signals. In this sense it is very different from all other forms of
analogue modulation.
^
m (kT )
P rediction
F ilter T ransmitter
mq (kT )
Decoder
Prediction
Filter
R eceiver
Figure 33: Block diagram of DPCM system
The prediction filter is most easily realized as a tapped delay line filter or FIR filter. We can
show that mq ( kTs ) = m( kTs ) + q( kTs ) where q( kTs ) is the quantization error, i.e.
eq ( kTs ) = e( kTs ) + q( kTs ) . By careful design, it is possible to produce quantized signals
whose quantization error will be lower than that obtained using PCM.
DPCM performs similarly to PCM and the SNR at the destination is given by the following:
S
= G p 3q 2 x 2 where q is the number of quantized levels and G p is the prediction gain.
N D
Prediction gains of 5-10dB for speech and 12dB for video have been obtained.
Introduction
• Transmission of digital data over a baseband channel
• Broad spectrum
• Low-frequency content
• Lowpass Channel
• Dispersive channel
• Inter-symbol interference(ISI)
• Pulse shaping
• Channel noise
• Pulse detection and matched filtering
w(t)
Figure 34: Linear receiver
In the receiver of Figure 34, the output of the Linear Time-Invariant(LTI) Circuit may be
expressed as follows:
y( t ) = g 0 ( t ) + n( t )
where g 0 ( t ), n( t ) are the outputs corresponding to the pulse and noise inputs respectively
(superposition principle for LTI circuits).
Can we design a circuit which will obtain the best estimate (in some sense) of the pulse?
−∞
and, using the properties already known about white noise, that
∞
[
E n2 ( t ) = ] N0
2
2
H ( f ) df
−∞
−∞
= kE
where E is the signal energy.
Looking at the noise, we can find that, using an earlier result,
∞
[
E n2 ( t ) = ] k 2 N0
2
G( f ) df
2
−∞
= k N0 E / 2
2
+ A + w( t ), symbol 1 transmitted
x( t ) =
− A + w( t ), symbol 0 transmitted
where Tb is the bit duration and A is the transmitted pulse amplitude. The receiver needs to
make a decision as to whether the received pulse is 1 or 0. A suitable receiver is shown in
Figure 36.
g(t)
A
(a)
t
T
g0(t)
2
kA T
(b)
t
T
AT
(c)
t
T
Figure 35: (a) Rectangular pulse signal (b) Output of matched filter (c) Integrator output.
w(t) Threshold L
Figure 36:Block diagram of PCM receiver using a matched filter
Two types of error to consider:
Symbol 1 received when 0 was transmitted. Error of the first kind.
Symbol 0 received when 1 was transmitted. Error of the second kind.
If symbol 0 is sent, then the matched filter output, sampled at t = Tb , is
Tb
y = x( t )dt
0
T
1 b
= −A + w( t )dt
Tb 0
The variable y is a sample from a Gaussian random variable Y with mean − A . The variance
of the random variable Y is
[
σY2 = E (Y + A)
2
]
Tb Tb
1
= 2E w( t )w( u )dtdu
Tb 0 0
Tb Tb
1
= 2 Rw ( t ,u )dtdu
Tb 0 0
δ(t − u )dtdu
1 N0
σ = 2
2
Y
Tb 0 0
2
N0
=
2Tb
The probability density function of the random variable Y (given that 0 was sent) is then
fY ( y | 0 ) =
1
exp −
( y + A) 2
πN 0 / Tb N 0 / Tb
We can sketch this function (Figure 37). From the graph, we can see that
Pe 0 = P( y > L | 0 is sent )
∞
= fY ( y | 0 )dy
L
Pe0
y
-A L
f(y|1)
Pe1
y
L A
Figure 37: Sketches showing error probabilities when (i) 0 and (ii) 1 are transmitted
respectively.
Can we find a value for L? Firstly let the a-priori probabilities be respectively p0 and p1 , that
is the probabilities of transmitting a 0 or 1. If we assume symbols are equally likely at the
source, then p0 = p1 = 12 . Since the received pulse amplitude is either + A or − A , the logical
choice for L is zero.
Thus
Pe 0 =
1
∞
exp −
( y + A) dy 2
πN 0 / Tb 0 N 0 / Tb
y+ A
Let z = then
N 0 / Tb
∞
1
Pe 0 = exp( − z 2 )dz
π Eb / N 0
Eb = A2Tb
If we now define the complementary error function, erfc, as follows:
∞
erfc(u ) =
2
exp − z 2 dz ( )
πu
then
This is an important result. It has been shown that the probability of a symbol error in a binary
encoded PCM receiver depends only on the ratio of the transmitted signal energy per bit and
the noise spectral density. Figure 38 shows the variation of probability with this ratio.
0
10
-2
10
-4
10
-6
10
Pe 10-8
-10
10
-12
10
-14
10
-16
10
0 5 10 15
Eb/No,dB
Figure 38: Probability of error in a PCM receiver using matched filter detection.
Intersymbol interference
To consider the effects of the channel on pulse transmission, we need to have a model of a
suitable baseband binary data transmission system. Such a system is shown in Figure 39.
Clock
This sequence is then passed through a filter with impulse response g ( t ) producing an
output,
s( t ) = ak g (t − kTb )
k
which is then modified by the channel whose impulse response is h( t ) . At the receiver, the
signal plus noise is passed through a filter with impulse response c( t ) . The output signal is
sampled at the data rate and the amplitude at each sampling time is thresholded to determine
whether the received symbol is 1 or 0.
The receive filter output is as follows,
y( t ) = µ ak p( t − kTb ) + n( t )
k
where µ is a scaling factor and p( t ) is the pulse which has yet to be defined. The expression
above should also show a delay through the channel which, for the sake of simplicity, has
been set to zero.
The filter output is then sampled at ti = iTb producing
∞
y( ti ) = µ ak p[(i − k )Tb ] + n( ti )
k = −∞
∞
= µai + µ ak p[(i − k )Tb ] + n( ti )
k = −∞
k ≠i
For the Nyquist pulse, we used only one term on the LHS. If, instead, we use three terms, i.e.
0.8
0.6
0.4
amplitude
0.2
-0.2
-0.4
-0.6
-0.8
-1
-5 0 5 10 15
time(secs) x 10
-4
f1
where the rolloff factor, α = 1− .
W
The transmission bandwidth BT = 2W − f1 = W (1 + α ) .
0.6
P(f)
0.4
0.2
0
-2 -1.5 -1 -0.5 0 0.5 1 1.5 2
f/W
Figure 41: Frequency characteristics of the raised cosine pulse for different rolloff factors
The time domain response can be derived by applying the inverse Fourier transform to P( f )
to give
cos(2παWt )
p( t ) = sinc(2Wt )
1 − 16α 2W 2t 2
This expression is seen as the product of two factors. The first is the ideal Nyquist channel
response which gives zeros at the desired sampling times of t = iT and the second term
reduces the sidelobes considerably.
0.8 Legend
--- alpha=0
- - alpha=0.5
0.6 -.- alpha=1
0.4
p(t)
0.2
-0.2
-0.4
-3 -2 -1 0 1 2 3
t/Tb
Figure 42: Time response characteristics of the raised cosine pulse for different rolloff factors
Example:
T1 carrier system used in US, Canada and Japan
24 channel 8 bit PCM
Companding: 15 linear segments, µ-law, µ=255
Voice signal bandwidth: 300-3100Hz
Sampling frequency: 8kHz
Frame: 24 8-bit words + 1 synch. bit = 193 bits
Bit duration of 0.647µs and transmission rate of 1.544 Mbits/s
1
BT = W = = 772kHz with α = 0
2Tb
More realistic value using α = 1,
1
BT = W ( 1 + α ) = 2W = = 1.544MHz
Tb
For Frequency Division Multiplexing, the transmission bandwidth is 24×4=96kHz.
1 SR 3
Pe = 2 1 − Q
M M −1 NR
2
SR
If we let ρ = and r = 2 B then
N0r
1 6ρ
Pe = 2 1 − Q
M M 2 −1
( )
which simplifies to Pe = Q 2ρ in the binary case.
Equalization
Irrespective of pulse shape, some residual ISI remains in the output as a result of imperfect
filter design and incomplete knowledge of the channel. An Equalizer is used between the
receiving filter and the decision device. The most popular configuration for an equalizer is a
FIR filter structure as shown in Figure 46.
1 k =0
xeq (t k ) =
0 k = ±1,± 2 , ,± N
thereby forcing N zero values on each side of the peak of xeq ( t ) . If we apply this constraint, a
system of linear equations is created which can be solved to find {Ci } .
For N = 2 , the linear system of equations is,
x0 x−1 x− 2 x− 3 x− 4 C− 2 0
x1 x0 x−1 x− 2 x− 3 C−1 0
x2 x1 x0 x−1 x− 2 C 0 = 1
x3 x2 x1 x0 x−1 C1 0
x4 x3 x2 x1 x0 C2 0
This defines the Zero-Forcing Equalizer. The solution of this linear equation set gives the
values of the 2 N + 1 = 5 taps. The technique represents an optimum strategy in the sense that
it minimizes the peak ISI. Various other types of equalizers are used in telecommunication
systems. It is possible to train the equalizer by first transmitting a pseudo-random sequence
which is used to compute an estimate of the channel characteristic and hence the FIR filter
coefficients. Once set, the system is then used to receive data. For time-varying channel
characteristics, an adaptive equalizer may be used whose coefficients (taps) are varied in real-
time according to some algorithm such as the Least Mean Square(LMS).
Example: Design a three tap zero-forcing equalizer for the pulse shown in Figure 47.
0.6
0.2
-3T -2T -T T 2T 3T
-0.2
1.0
0.6
0.2
-3T -2T -T T 2T 3T 4T
-0.2
Timing sensitivity
Noise
Margin
Zero-crossing
Jitter
Optimum Sampling
Time
Figure 49: Generalized Binary Eye Diagram
Synchronization
The receiver and transmitter have separate clocks so that transmission delay will cause
problems with synchronization.
We could use a separate sync signal in addition to information-bearing signal. More efficient
to extract timing from received signal.
Frame synchronization
Identify start of message or subdivision within message sequence.
c(t)
(a)
y(t)
Tb
Tb /2
z(t)
c(t)
z(t)c(t)
Tb /4
v(t)
(b)
Figure 51: Bit synchronization with a voltage controlled clock (a) Block diagram (b)
Waveforms