Pulse code modulation (sampling, uniform and companded quantization, encoding, bit rate and bandwidth, SQNR) and differential PCM with prediction gain and delta modulation, as tested in GATE EC numericals.
Pulse code modulation (PCM) turns an analog message into bits in three steps:
Sampling at (Nyquist rate for a message band-limited to ).
Quantization: each sample is rounded to one of levels.
Encoding: each level is sent as an -bit code word, with (so ).
The bit rate is
With ideal Nyquist (sinc) pulses, binary transmission needs a minimum bandwidth . With raised-cosine pulses of roll-off , . At Nyquist-rate sampling, : PCM bandwidth is times the message bandwidth.
For time-division multiplexing of such signals, the bit rate is (plus any framing bits the question adds).
Why PCM? Regenerative repeaters remove noise at every hop, so noise does not accumulate; the cost is bandwidth.
A uniform quantizer covering to with levels has step
The error is assumed uniform on , so its mean is 0 and its power is
For a message of power , .
Full-scale sinusoid (): , so
Key trade-off: each extra bit adds about 6 dB of SQNR (it doubles , quartering ) but raises and bandwidth by a factor . SQNR grows exponentially with bandwidth.
A midrise quantizer has no zero output level (levels at ); a midtread quantizer has a zero level. Inputs beyond cause overload (clipping) error, which the formula does not include.
Left: midrise uniform quantizer with step Δ (dashed: ideal output = input). Right: the quantization error is a sawtooth between −Δ/2 and +Δ/2.
3. Non-uniform quantization and companding
With uniform steps, SQNR depends on signal power: a quiet talker gets a much lower SQNR than a loud one. Speech has many small amplitudes, so non-uniform quantization uses small steps near zero and large steps near the peaks.
It is done by companding: compress the signal, quantize uniformly, and expand at the receiver.
μ-law (North America, Japan), in practice:
A-law (Europe, India), : linear for , logarithmic above.
Effect: SQNR becomes nearly constant over a wide range of input levels (wide dynamic range), at the cost of a little SQNR for full-scale signals. gives a uniform quantizer.
Standard telephone PCM: , , , so per voice channel.
4. Differential PCM and prediction gain
Adjacent samples of speech or video are strongly correlated, so sending each sample in full wastes bits. DPCM sends only the prediction error
where is predicted from past quantized samples. Since , the quantizer range and step can be smaller for the same bits. The SQNR improves by the prediction gain
For a first-order predictor on a signal with normalised autocorrelation between adjacent samples:
The best choice is , giving . With (send plain differences), , which helps only if .
Alternatively, keep the SQNR and save bits: about bits per sample.
Why the predictor uses quantized samples: the receiver only has quantized values. Putting the quantizer inside the loop (diagram) keeps transmitter and receiver predictions identical, so quantization errors do not accumulate; the reconstruction error equals the quantization error of .
DPCM encoder. The predictor works on the reconstructed signal m_q[n] = m̂[n] + e_q[n], so the quantizer sits inside the loop.
5. Delta modulation: one-bit DPCM
Delta modulation (DM) is DPCM with a 1-bit quantizer and : each sample the staircase approximation steps up or down by a fixed . Bit rate , and is many times the Nyquist rate.
Two kinds of error
Error
Cause
Cure
Slope overload
message rises faster than the staircase can follow
increase or
Granular (idle) noise
staircase hunts around a slowly varying signal
decrease
So is a compromise; adaptive DM varies it.
No slope overload needs the staircase slope to exceed the message slope:
For the maximum slope is , so
The largest allowed amplitude falls as : high-frequency tones overload first.
Forgetting that the minimum bandwidth is , not , for ideal binary Nyquist pulses.
Rounding down when an SQNR target gives a fraction; always round up.
Applying to a signal that is not a full-scale sinusoid; use in general.
Saying a larger delta-modulation step reduces all noise; it cures slope overload but increases granular noise.
Thinking DPCM quantization errors pile up; with the predictor fed by quantized samples, they do not.
Worked examples
Try each step yourself, then reveal the working.
Example 1: Bit rate, bandwidth and SQNR of a PCM link
numerical
A message band-limited to is sampled at the Nyquist rate and quantized into 256 levels. Find the bit rate, the minimum transmission bandwidth, and the SQNR for a full-scale sinusoid.
Step 1: Find $n$ and $f_s$.
Try it on paper first.
Example 2: Choosing the number of bits
numerical
An audio signal of bandwidth is sampled 20% above the Nyquist rate. The SQNR for a full-scale sinusoid must be at least . Find , the bit rate, and the bandwidth with raised-cosine pulses of roll-off .
Step 1: Find the minimum $n$.
Try it on paper first.
Example 3: Prediction gain of a first-order DPCM
numerical
A signal has adjacent-sample correlation . Find the prediction gain in dB for (a) the optimum first-order predictor and (b) the simple difference predictor . About how many bits per sample does (a) save?
Step 1: Optimum predictor $a = \rho$.
Try it on paper first.
Example 4: Slope overload in delta modulation
numerical
A DM system has step and . The input is . Find the largest that avoids slope overload.
Step 1: Write the condition.
Try it on paper first.
Previous year questions
1 official GATE EC question on this topic, newest first.
9 questions: up to 1 official PYQs and original practice questions, with GATE marking (MCQ wrong answers lose marks). Score 60% or more to pass. A new set is drawn each time.
Mark as mastered
Loading your progress…
My revision notes
Notes written by the GATEiit team against the official GATE EC syllabus; being checked by a reviewer. Updated 2026-11-29. Spotted a mistake? Use Report an issue on any question, or contact us.