Pulse Code Modulation_lecture
Pulse Code Modulation (PCM)
Overview
PCM is a method of converting analog signals into digital signals by sampling the signal at discrete intervals.
Key Concepts
Components of PCM
Quantizing: The process of approximating the sampled analog values to a finite number of discrete levels.
Encoding: Converting quantized values into a binary representation for transmission.
Analog to Digital Conversion: The overarching process that incorporates sampling, quantizing, and encoding.
PCM Definition
PCM: A special type of analog-to-digital conversion where information from instantaneous samples of an analog signal is represented by digital words in a serial bit stream.
Advantages of PCM
Inexpensive digital circuitry is often utilized.
Compatible with diverse analog sources and can merge with data signals for transmission.
Clean PCM waveforms can be regenerated at repeaters in long-distance communication, improving overall reliability.
Superior noise performance compared to analog systems, reducing error probabilities through effective coding.
Process of PCM Generation
Sampling: Produces a flat-top PAM (Pulse Amplitude Modulation) signal from an analog input.
Quantizing: This includes:
Uniform Quantizer: Equal levels approximation.
Quantization Error: The error introduced due to rounding off.
Quantized PAM output: The final output after quantization.
Encoding: Each quantized value is transformed into digital code.
Analog to Digital Converter (ADC) Functions
Sampling: Makes the signal discrete in time, with a minimum sample frequency determined by Nyquist's theorem.
Quantization: Restricts the infinite amplitude values to a finite number of levels.
Encoding: Maps quantized values to n-bit digital words. Distortion occurs only from quantization if the sampling theorem is met.
Quantization Details
After sampling, values remain continuous in amplitude, leading to infinite potential outcomes.
Rounding off is a crucial step to limit values to discrete levels (e.g., rounding 3.752 to 3.8).
Quantization Error Illustration
The difference between the original signal and quantized output can be significant, leading to errors that are represented graphically.
PCM Transmission Example
Bit Resolution: Different resolutions show varying degrees of detail in quantized signals (e.g., 5-bit vs. 8-bit).
Uniform Quantization
Most ADCs utilize uniform quantizers where quantization levels are equally spaced.
Optimal with uniformly distributed inputs across the quantizer's dynamic range.
Quantization Characteristic Example
Shows how input values are transformed into discrete levels based on quantizer characteristics.
Encoding Process
Each quantized sample is mapped into an n-bit binary code, ensuring no distortion in the encoding process.
Gray Codes: Used to minimize errors during transmission, with adjacent symbols differing by one bit.
System Architecture of PCM
Components
Transmitter: Includes a low-pass filter, sampler, quantizer, and encoder.
Transmission Path: Propagation of the PCM signal, which may face distortion, requiring regenerative repeaters.
Receiver: Receives the PCM signal, which is processed through decoder and reconstruction filters to retrieve the original signal.
Bandwidth of PCM Signals
Minimum necessary bandwidth is proportional to both the bandwidth of the message signal and the number of bits per sample, governed by the relation:
2fₜₗₙ = nfs
Where n = log₂(L), fs is the sampling rate and fₜₗₙ is the message bandwidth.
Examples of PCM Applications
Example 1: Signal Transmission
Given a rectangular wave signal, calculations for signal frequency, fourth harmonic, and minimum sampling frequency can be derived.
Example 2: Channel Utilization
For a PCM system with multiple channels, calculations of available channels, bits per frame, and serial data rate can be established based on sampling rates and bit lengths.