3 - PCM - Mary Encoding - Nonuniform Quanyization
3 - PCM - Mary Encoding - Nonuniform Quanyization
PCM
M’ary Encoding
M’ary Encoding
• Each waveform carries a symbol from a
set of size M.
• Each transmit symbol represents
m=log2(M) bits of the PCM words,
i.e. M=2m.
m=log2 M, 2m=M
• PCM waveforms (line codes) are used
for binary symbols (M=2).
• M-ary pulse modulation are used for
non-binary symbols (M>2).
1
2/7/2018
2
2/7/2018
Rb=mRs=2mB=2B log2M
Rb = bitrate (bps)
Rs = baud (symbols per second)
B = minimum Nyquist bandwidth (Hertz)
M = number of discrete signals or voltage levels
m= number of bits encoded into each symbol
Bmin=Rb/(2 log2M)=Rb/2m
For binary transmission, M=2, m=1:
Bmin=Rb/2
Non-Uniform Quantization
• There is a huge variation in voice signal level
from user to user, and for the same use from
call to call as well as within the call
(sometimes of the order of 1000:1)
• Uniform quantization provides same degree of
resolution for low and high values.
• Designing the step size for the low values
results in too many levels, and designing them
for the high values destroys the low values.
3
2/7/2018
Non-Uniform Quantizers
Nonuniform Quantization
• Nonuniform quantizers have unequally spaced levels
– The spacing can be chosen to optimize the Signal-to-Noise Ratio for a
particular type of signal
• It is characterized by:
– Variable step size
– Quantizer size depend on signal size
4
2/7/2018
5
2/7/2018
11
• The signal below shows the effect of compression, where the amplitude
of one of the signals is compressed
• After compression, input to the quantizer will have a more uniform
distribution after sampling
At the receiver, the signal is
expanded by an inverse
operation
The process of
COMpressing and
exPANDING the signal is
called companding
Companding is a technique
used to reduce the number
of bits required in ADC or
DAC while achieving
comparable SQNR
12
6
2/7/2018
13
14
7
2/7/2018
Types of Companding
-Law Companding Standard (North & South
America, and Japan)
log e 1 (| x | / xmax
y ymax sgn( x)
log e (1 )
where
• x and y represent the input and output voltages
• is a constant number determined by experiment
• In the U.S., telephone lines uses companding with = 255
– Samples 4 kHz speech waveform at 8,000 sample/sec
– Encodes each sample with 8 bits, L = 256 quantizer levels
– Hence data rate R = 64 kbit/sec
• = 0 corresponds to uniform quantization
15
| x|
A
xmax | x| 1
ymax sgn( x), 0
(1 A) xmax A
y ( x)
| x|
1 log e A
xmax 1 | x|
ymax sgn( x), 1
(1 log e A) A xmax
where
– x and y represent the input and output voltages
– A = 87.6
– A is a constant number determined by experiment
16
8
2/7/2018