Comm Notes
Detailed comparison of analog and digital signals covering characteristics, advantages, conversion processes (ADC/DAC), sampling theorem, quantization, and encoding in communication systems.
The distinction between analog and digital signals is one of the most fundamental concepts in communication systems. Modern systems increasingly use digital representation due to its superior noise immunity and processing flexibility.
Analog Signals
An analog signal is a continuous function of time that can take any value within a given range. It maintains a one-to-one correspondence with the physical quantity it represents.
Characteristics:
- Continuous in time (defined at every instant)
- Continuous in amplitude (can take any value)
- Infinite resolution (theoretically)
- Directly proportional to physical quantity
- Examples: Microphone output, thermocouple voltage, ECG signal
Mathematical Form: x(t) ∈ ℝ for all t ∈ (-∞, ∞)
Digital Signals
A digital signal has discrete values at discrete time instants. It is typically represented by binary numbers (0s and 1s).
Characteristics:
- Discrete in time (defined at specific instants only)
- Discrete in amplitude (finite number of levels)
- Finite resolution (determined by number of bits)
- Requires conversion from analog quantities
- Examples: Computer data, PCM encoded voice, digital TV
Mathematical Form: x[n] ∈ {finite set} for n = ..., -1, 0, 1, 2, ...
Comprehensive Comparison
| Parameter | Analog Signal | Digital Signal |
|---|---|---|
| Nature | Continuous | Discrete |
| Values | Infinite possible | Finite levels (2^n) |
| Noise effect | Cumulative, permanent | Can be regenerated |
| Bandwidth need | Lower | Higher |
| Hardware | Simpler | More complex |
| Processing | Difficult | Easy (DSP) |
| Storage | Degraded over time | Perfect indefinitely |
| Encryption | Difficult | Straightforward |
| Multiplexing | FDM mainly | TDM, CDM, OFDM |
| Cost | Lower (legacy) | Lower (modern VLSI) |
| Error correction | Not possible | Possible |
| Transmission distance | Limited by noise | Extended by regeneration |
Analog-to-Digital Conversion (ADC)
The process of converting an analog signal to digital involves three steps:
Step 1: Sampling
The continuous signal is measured at regular intervals.
Nyquist Sampling Theorem:
f_s ≥ 2·f_max
Where:
- f_s = sampling frequency
- f_max = maximum frequency in the analog signal
If this condition is satisfied, the original signal can be perfectly reconstructed from its samples.
Example: Voice signal (f_max = 4 kHz) → f_s ≥ 8 kHz (telephone standard: exactly 8 kHz)
Step 2: Quantization
Each sample is rounded to the nearest discrete level.
Quantization Parameters:
- Number of levels: L = 2^n (where n = number of bits)
- Step size: Δ = (x_max - x_min) / L
- Quantization noise power: σ_q² = Δ²/12
- Signal-to-Quantization-Noise Ratio: SQNR = 6.02n + 1.76 dB
Step 3: Encoding
Each quantized sample is represented as an n-bit binary number.
Bit Rate: R_b = n × f_s (bits per second)
Example: CD Audio:
- f_s = 44.1 kHz, n = 16 bits, 2 channels
- R_b = 16 × 44,100 × 2 = 1,411,200 bps ≈ 1.41 Mbps
Digital-to-Analog Conversion (DAC)
The reconstruction low-pass filter removes the staircase effect and recovers the smooth analog signal. Its cutoff frequency must be f_max.
Signal Quality Metrics
For Analog Signals
- SNR (Signal-to-Noise Ratio): SNR = P_signal/P_noise
- THD (Total Harmonic Distortion): ratio of harmonic power to fundamental
For Digital Signals
- BER (Bit Error Rate): number of bit errors / total bits transmitted
- SQNR: related to number of quantization bits
- EVM (Error Vector Magnitude): deviation from ideal constellation point
Practical Considerations
Aliasing
When f_s < 2·f_max, aliasing occurs — higher frequencies fold back into the baseband, causing irreversible distortion.
Prevention: Anti-aliasing filter (LPF) before sampling with cutoff at f_s/2.
Oversampling
Using f_s >> 2·f_max provides:
- Relaxed anti-aliasing filter requirements
- Improved SNR through noise shaping
- Easier reconstruction
- Example: Sigma-delta ADCs oversample by 64× to 256×
Solved Example
Problem: An analog audio signal with bandwidth 20 kHz is to be digitized with SQNR ≥ 90 dB. Determine: (a) minimum sampling rate, (b) minimum bits per sample, (c) resulting bit rate.
Solution:
(a) Minimum sampling rate: f_s ≥ 2 × f_max = 2 × 20,000 = 40,000 Hz = 40 kHz
(b) Minimum bits per sample: SQNR = 6.02n + 1.76 dB ≥ 90 dB 6.02n ≥ 90 - 1.76 = 88.24 n ≥ 88.24/6.02 = 14.66
Therefore n = 15 bits (minimum integer) Actual SQNR = 6.02(15) + 1.76 = 92.06 dB ✓
(c) Bit rate: R_b = n × f_s = 15 × 40,000 = 600,000 bps = 600 kbps
Interview Questions
Q1: Why does each additional bit of quantization add approximately 6 dB to SQNR?
Each additional bit doubles the number of quantization levels, halving the step size Δ. Since quantization noise power is proportional to Δ², halving Δ reduces noise by factor 4 (= 6.02 dB). The exact formula SQNR = 6.02n + 1.76 dB comes from the ratio of full-scale sinusoidal signal power to uniform quantization noise power.
Q2: What happens if the Nyquist criterion is violated?
If f_s < 2·f_max, aliasing occurs: frequency components above f_s/2 appear as false lower-frequency components in the sampled signal. This distortion is irreversible — no amount of filtering can remove aliased components. The original signal cannot be perfectly reconstructed.
Q3: Why are digital signals preferred in modern communication despite requiring more bandwidth?
Digital signals allow: perfect regeneration (noise doesn't accumulate at repeaters), error detection and correction, encryption for security, easy compression, compatibility with computers and DSP, TDM multiplexing flexibility, and storage without degradation. Modern hardware makes the extra bandwidth cost acceptable.
Q4: Explain the trade-off between sampling rate and quantization bits.
Higher sampling rate captures faster signal variations but increases data rate linearly. More quantization bits reduce amplitude error but also increase data rate linearly. For a fixed bit rate budget, the designer must balance: enough samples to capture the bandwidth (Nyquist), and enough bits for acceptable amplitude resolution. The optimal balance depends on the signal characteristics.
Exam Focus
Revise definitions, diagrams, examples, and short-answer points for Analog and Digital Signals.
Interview Use
Prepare one clear explanation, one practical example, and one common mistake for this Communication Systems topic.
Search Terms
communication-systems, communication systems, communication, systems, fundamentals, analog, and, digital
Related Communication Systems Topics