Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Telecommunications
Lecture #4
Pulse Code Modulation (PCM)
Introduction
Points to be discussed in this lecture
Quantization and Encoding
Uniform Quantization
Non-Uniform Quantization
Introduction
Reading Assignment
Simon Haykin, Digital Communications, John
Wiley & Sons, Inc., 1988, Chapter 5, Sec. 5.1,
Sec. 5.3 and Sec. 5.4.
m (t )
Sampler
Quantizer
m ( nTs )
0110001
Decoder
m ( nTs )
Reconstruction
LPF filter
0110001
Encoder
m ( t )
it is a non-uniform quantizer.
Tl
Dl
Tl +1
Dl +1
Il
Dl +2
I l +1
g1 = b1
g k = bk bk 1 , k 2
With Gray code, there is a change of only one
bit for two adjacent target levels.
Uniform Quantization
The quantizer input/output characteristic for a
uniform quantizer is a staircase function which
can be a midtread or midriser.
Quantization process introduces quantization
error.
The input to the quantizer is modeled as a
sample value m of a zero mean random
variable M with pdf f M ( m ) and amplitude range
mmax m mmax .
Uniform Quantization
The quantization step size is given by
2mmax
=
L
Quantization noise q = m m is a sample value
of a zero mean random variable Q with uniform
pdf i.e.
1
- <q<
fQ ( q ) =
2
2
0
otherwise
Uniform Quantization
m ( nTs )
T7
T6
D1
D2
D3
T5
D4
m ( nTs )
T4
D5
T3
D6
D7
D8
T2
T1
m ( nTs )
Uniform Quantization
m ( nTs )
T8
T7
T6
D1
D2
D3
D4
T5
T4
D6
D7
D8
m ( nTs )
T3
T2
T1
m ( nTs )
Uniform Quantization
The variance (average power) of the
quantization noise q2 is obtained as follows
m
m
= q fQ ( q ) dq = q dq =
=
=
/ 2
/ 2
12 3L
3 2
/2
2
q
/2
2
max
2
2
max
2R
=
2
m
mmax
mmax
m 2 f M ( m ) dm
Uniform Quantization
The signal-to-quantization noise ratio becomes
3 2R
= 2 2
SNRq =
mmax
2
m
2
q
2
m
m
SNRq = 6.02 R + 20log
+ 4.7 dB.
mmax
A 6 dB improvement in SNRq is gained for each
bit added to represent the samples.
Uniform Quantization
Advantage of a uniform quantizer is that it is
simple to implement and is commonly used.
However, for fixed mmax , the SNRq deteriorates
with the decrease in the message signal
average power.
This is typical in the transmission of speech
signals where the input signals have a wide
variation in power levels.
Non-Uniform Quantization
A non-uniform quantizer maintains a constant
SNRq for a wide range of input power levels.
Weak
signals
are
assigned
more
representation levels (smaller step sizes)
whereas stronger signals are assigned less
representation levels (larger step sizes).
Non-uniform quantization is realized by using
a compressor the output of which is uniformly
quantized.
Non-Uniform Quantization
At the receiver, an expander is used to undo
the effect of the expansion at the transmitter
and the combination of the compressor and
the expander is called a compander.
m ( nTs )
y ( nTs )
Compressor
y ( nTs )
Uniform
Quantizer
x ( m)
y ( t )
y ( nTs )
Reconstruction
LPF
m ( t )
Expander
x 1 ( m )
Non-Uniform Quantization
law companding
y = ymax
ln 1 + ( m / mmax )
ln (1 + )
A law companding
sgn ( m )
A ( m / mmax )
m
1
sgn ( m )
0<
ymax
1 + ln A
mmax A
y=
1 + ln A ( m / mmax )
m
1
sgn ( m )
<
1
ymax
A mmax
1 + ln A
Non-Uniform Quantization
Non-Uniform Quantization
For law companding it can be shown that
3L
= 2
SNRq =
ln (1 + ) F 2
2
m
2
q
F E m
+1
+ 2
M
3L2
3 22 R
2
= 2
(for 1)
ln (1 + ) ln (1 + )
( F = mmax / M )
Non-Uniform Quantization
R =8
requirements