Past exam question: 2071 Chaitra, Q8(a)
Open in the Padhaiko appQuestion
Explain the working of Pulse Code Modulation (PCM).
Solution
1. Lowpass Filtering (Anti-Aliasing): Pulse Code Modulation (PCM) is the foundational technique used to convert an analog continuous-time, continuous-amplitude signal into a digital discrete-time, discrete-amplitude binary bitstream.
Analog Input ---> [ Lowpass Filter ] ---> [ Sampler ] ---> [ Quantizer ] ---> [ Encoder ] ---> Digital Bitstream
(Anti-aliasing) (PAM) (L levels) (PCM)
- The analog signal is passed through a lowpass anti-aliasing filter with cutoff frequency to eliminate high-frequency noise components above the bandwidth of interest.
2. Sampling (PAM Generation):
- The filtered continuous-time signal is sampled at discrete time intervals .
- According to the Nyquist Sampling Theorem, the sampling frequency must satisfy:
- This converts the continuous-time signal into a discrete-time sequence of flat-top pulses known as Pulse Amplitude Modulation (PAM).
3. Quantization:
- The continuous amplitude range of the PAM samples is partitioned into a finite number of discrete representation levels .
- Each sample's continuous voltage is approximated by the nearest allowable quantization voltage level.
- Quantization Error (): The difference between the actual sample amplitude and the quantized level introduces quantization noise with maximum error , where step size .
4. Binary Encoding:
- An encoder assigns a unique -bit binary code word to each of the discrete quantization levels ().
- The serial output is a stream of binary digits transmitted at bit rate:
Answer:
PCM converts an analog signal to digital in three stages: sampling at (converting continuous time to PAM), quantization (rounding each sample to the nearest of discrete amplitude levels), and encoding (representing each quantized level as an -bit binary code at bit rate ).