PCM
PCM
Jyotsna Bapat
Baseband Communication
2
Pulse Code Modulation
• Pulse Code Modulation (PCM) is the name given to the class of
baseband signals obtained from the quantized Pulse Amplitude
Modulated (PAM) signal by encoding each quantized sample into a
digital word.
• The source information is sampled and quantized to one of the L
levels; and each quantized sample is digitally encoded into an l bit
codeword (L = 2l).
3
4
5
6
7
Example
• Consider an analog input signal to PCM whose bandwidth is limited to 4 kHz and varies in
amplitude from -3.8 V to +3.8 V, with an average power of 30mW. The required signal-to-noise
quantization error ratio is given to be 20dB. Assuming uniform quantization, determine the
number of bits required per sample.
8
Example
• Signal power, P= 30mW
• σ2 = 0.3mW =Δ2/12
• Δ=0.06 = (3.8+3.8)/2R
• R=7 bits.
9
10
“PCM is not an efficient system because it generates too many bits and requires so much
bandwidth to transmit”
Taylor Series Expansion
14
Simplified DPCM
• Simple DPCM transmitter and receiver diagrams as shown below:
15
Quantization Noise
• Quantization error is not limited to one sample (as in PCM).
• Quantization error may accumulate, resulting in considerable noise.
• Consider a sequence x[k] being transmitted using DPCM. Assume the quantizer used to quantize
d[k] is an 8–level quantizer with quantization intervals [–4,–3), [–3,–2), [–2,–1), … , [3,4) and the
output quantization levels are the center points in each interval (–3.5, –2.5, –1.5, … , 3.5).
16
Example
17
Differential Pulse-Code Modulation (DPCM)
Performance of DPCM is typically improved by using a prediction filter,
which predicts the value of the sample based on previous samples.
Summary: DPCM
• DPCM exploits the use of lossy data compression to remove the
redundancy inherent in a message signal, such as voice or
video
• It results smaller prediction error that can be encoded using 1 bit (L=2).
• In effect, increased transmission bandwidth is traded off for reduced system complexity.
DM Transmitter
• In DM, we use a first-order predictor, which, is just a time delay of 𝑇𝑠
25
Example
• A sine wave signal with a frequency of 1 kHz is to be coded using a linear DM with a sampling rate
of 24 kHz. Find the step size required to encode the signal amplitudes of 100mV to ensure that
there is no slope overloading.
• Speech signal is bandlimited to 3 kHz and sampled at the rate of 8 kHz. To achieve the same
quality of distortion PCM requires 8 bits/sample and DPCM requires 4 bits/sample. Determine
the bit rates required to transmit the PCM and DPCM encoded signals
• A DM system is designed to operate at 3 times the Nyquist rate for a signal. The quantizing step
size is 250mV. determine the maximum amplitude of a 1kHz input sinusoid for which the DM does
not exhibit slope overloading.
26