Pulse Code Modulation (PCM)
Pulse Code Modulation (PCM) is a digital representation of an analog signal. It is the standard method used for converting analog audio, video, and other signals into a digital format for transmission, processing, or storage.
Block Diagram
The PCM process can be broken down into two main parts: the transmitter (analog-to-digital) and the receiver (digital-to-analog).
Fig: Block Diagram of a PCM System
Transmitter (Analog-to-Digital Conversion)
- Low-Pass Filtering: Removes high-frequency components that could cause aliasing.
- Sampling: Converts continuous-time signal into discrete-time signal at rate \(f_s\).
- Quantization: Approximates sample amplitude to discrete levels.
- Encoding: Assigns unique binary codewords to levels.
Receiver (Digital-to-Analog Conversion)
- Regeneration: Prevents noise accumulation using repeaters.
- Decoding: Converts binary back to amplitude levels (staircase signal).
- Reconstruction Filtering: Smooths the signal back to analog form.
Interactive PCM Simulator
Test various sampling frequencies, quantization levels, and bit rates to visualize how signal quality changes in real-time.
Launch Simulator ToolThe Quantization Process
Quantization maps continuous-amplitude samples to a finite set of discrete levels. This is the main source of error in PCM systems.
Quantization Error (Noise)
The error \(e_q\) ranges from \(-\Delta/2 \le e_q \le \Delta/2\), where \(\Delta\) is the step size.
Types of Uniform Quantizers
- Mid-Tread Quantizer: Origin lies on a tread (zero level exists).
- Mid-Rise Quantizer: Origin lies on a riser (no zero level).
Noise and Signal Quality (SQNR)
The quality is measured by the Signal-to-Quantization Noise Ratio (SQNR).
The 6dB Rule: For every additional bit, SQNR improves by ~6 dB.
Bit Rate (Rb)
Solved Example: TDM & Bandwidth
Question: Six signals are multiplexed using TDM, and the number of quantization levels is 256. Message frequency \(f_m = 5 \text{ KHz}\). Find Transmission Bandwidth.
Deep Dive: Sampling Technique
Sampling is the bridge between analog and digital. It is essentially a switching approach. To prevent aliasing, we follow the Nyquist Criterion:
Computers only comprehend binary ('0' and '1'). Quantization gives these samples meaning. For a 4-bit quantizer, we map signal values to 16 distinct levels (0000 to 1111).
Applications of PCM
- Digital Telephony: Standard for PSTN and VoIP calls.
- Digital Audio: Audio CDs (16-bit PCM @ 44.1 kHz), WAV, and AIFF files.
- Space Communication: Robust against noise in deep space telemetry.
- ISDN: Integrated services over digital telephone lines.