Pulse Code Modulation
description
Transcript of Pulse Code Modulation
![Page 1: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/1.jpg)
Pulse Code ModulationPCM is a method of converting an analog
signal into a digital signal. (A/D conversion)The amplitude of Analog signal can take any
value over a continuous range i.e. it can take on an infinite values.
Digital signal amplitude can take on finite values.
Analog signal can be converted into digital by sampling and quantizing.
![Page 2: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/2.jpg)
Cont.
![Page 3: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/3.jpg)
Cont.The amplitude of analog signal m(t) lie in the
range (-mp, mp) and is partitioned into L sub-intervals each of magnitude 2mp/L
![Page 4: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/4.jpg)
Binary pulse codes
![Page 5: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/5.jpg)
QuantizingDigital signals come from variety of sources
e.g. computerSome sources are analog but are converted
into digital form by variety of techniques such as PCM and DM
For quantizing , we limit the amplitude of m(t) to a range(-mp, mp) as shown in the previous slides
This amplitude is uniformly divided into L subintervals and each interval is ,
![Page 6: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/6.jpg)
Cont.A sample value is approximated by the mid
point of the intervalThe quantized samples are coded and
transmitted as binary pulsesAt the receiver some pulses will be detected
incorrectlyThere are two types of errors
Quantization errorPulse detection error
![Page 7: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/7.jpg)
Cont.In almost all practical schemes, the pulse
detection error is very small compared to the quantization error and can be ignored
Now we analyze the quantization error
![Page 8: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/8.jpg)
Cont.
![Page 9: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/9.jpg)
Cont.
![Page 10: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/10.jpg)
Cont.The integral of the cross product terms is zero
and we obtain,
Because the sampling rate is 2B, hence the total number of samples over the averaging interval is 2BT
This is called the mean of the quantization error
![Page 11: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/11.jpg)
Cont.The quantized levels are separated by 2mp/LSince sample value is approximated by the
midpoint of the subinterval in which the sample falls
The maximum quantization error is The mean square quantizing error is
![Page 12: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/12.jpg)
Cont.
![Page 13: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/13.jpg)
Cont.
![Page 14: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/14.jpg)
Non-uniform quantizationSNR is an indication of the quality of the received
signalIdeally we would like to have constant SNRUnfortunately, the SNR is directly proportional to
the signal power, which varies from talker to talkerThe signal power can also vary because of the
connecting circuitsSNR vary even for the same talker, when the
person speaks softlySmaller amplitudes pre-dominate in speech and
larger amplitude much less frequent.This means the SNR will be low most of the time
![Page 15: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/15.jpg)
Cont.The root of this difficulty is that the
quantization steps are of uniform valueThe quantization noise is directly
proportional to the square of the step size.The problem can be solved by using smaller
steps for smaller amplitudes as shown in fig. on the next slide
![Page 16: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/16.jpg)
Cont.
![Page 17: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/17.jpg)
Cont.The same result can be obtained by first
compressing a signal and then using uniform quantization
The input-output characteristics of compressor are shown in fig.
![Page 18: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/18.jpg)
Cont.The horizontal axis is normalized input signal
and the vertical axis is the output signal y.The compressor maps the input signal into
larger increments Hence the interval delta(m) contains large
number of steps when m is smallThe quantization noise is small for smaller input
signalThus loud talker and stronger signals are
penalized with higher noise steps in order to compensate the soft talker and weak signals
![Page 19: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/19.jpg)
Compression LawsThere are two laws regarding compressions(1)This law is used in North America and Japan
(2) A-LawThis law is used in Europe and the rest of the
word
![Page 20: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/20.jpg)
Cont.The compressed samples are restored to their
original values at receiver by using an expanderThe compressor and expander together are
called compandor.Compression of a signal increases its bandwidth
but in PCM, we are not compressing the signal but its samples the number of samples does not change, therefore bandwidth does not rise
When meu-law compandor is used then output SNR is
![Page 21: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/21.jpg)
Transmission BW and output SNRFor binary PCM, we assign distinct group of
n binary digits to each of the L quantization levels
Each quantized level is encoded into n-bitsMinimum channel BW isThis is the theoretical minimum transmission
bandwidth required to transmit the PCM signal
![Page 22: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/22.jpg)
Example 6.2A signal m(t) band-limited to 3kHz is sampled
at a rate 33.33% higher than Nyquist rate, a maximum acceptable error in the sample amplitude is 0.5% of the peak amplitude. The quantized samples are binary coded. Find the minimum channel BW required to transmit the coded signal. If 24 such channels are time-division multiplexed, determine the minimum transmission BW required to transmit the multiplexed signal
![Page 23: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/23.jpg)
Solution
![Page 24: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/24.jpg)
Exponential Increase of output SNR
![Page 25: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/25.jpg)
SNR in decibel scale
![Page 26: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/26.jpg)
Cont.
![Page 27: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/27.jpg)
Example 6.3
![Page 28: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/28.jpg)
Comments on Logarithmic UnitsVery small and very large values are
expressed in logarithmic units
![Page 29: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/29.jpg)
T1 carrier systemA schematic of T1-system is shown in fig.
![Page 30: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/30.jpg)
Cont.
![Page 31: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/31.jpg)
Cont.
![Page 32: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/32.jpg)
Differential Pulse Code Modulation
![Page 33: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/33.jpg)
Taylor's series
![Page 34: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/34.jpg)
Cont.
![Page 35: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/35.jpg)
Analysis of DPCM
![Page 36: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/36.jpg)
Cont.
![Page 37: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/37.jpg)
Delta Modulation
![Page 38: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/38.jpg)
Cont.
![Page 39: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/39.jpg)
Cont.
![Page 40: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/40.jpg)
Delta Modulator
![Page 41: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/41.jpg)
Delta Demodulator
![Page 42: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/42.jpg)
Delta Modulator output
![Page 43: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/43.jpg)
Working of DM
![Page 44: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/44.jpg)
![Page 45: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/45.jpg)
![Page 46: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/46.jpg)
![Page 47: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/47.jpg)
![Page 48: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/48.jpg)
![Page 49: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/49.jpg)
![Page 50: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/50.jpg)
![Page 51: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/51.jpg)
![Page 52: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/52.jpg)
![Page 53: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/53.jpg)
![Page 54: Pulse Code Modulation](https://reader033.fdocuments.us/reader033/viewer/2022061605/56813d81550346895da76062/html5/thumbnails/54.jpg)