All 55 questions UPSC has asked on pulse modulation in the Electrical Engineering Optional (Paper II, Digital Communication) from 1995 to 2026, solved step by step – latest first.
Try them yourself first: the same questions, without solutions, are on our Digital Communication topic-wise PYQs page. Circuit diagrams have been redrawn from the question papers.
How we check these solutions
These are our own solutions, prepared with AI help. UPSC does not publish official answers. Every solution is checked a second way before it goes up, and says how:
- ✓ Checked by computer the numbers were worked out again independently in code (SymPy and NumPy: circuit equations, power balance, matrices, integrals).
- ✓ Proof checked step by step or ✓ Derivation checked step by step for “prove” and “derive” questions, every step was checked against the definitions and standard results.
- ✓ Answer checked step by step for theory and descriptive questions, every point was checked against the standard theory.
Where a printed question is wrong, unclear or incomplete, we say so and solve the intended version.
Spotted a mistake or a neater method? Tell us in the comments below or through Report an error.
Jump to a question (year · question number):
2026 · 5e 2025 · 6b 2025 · 7b(i) 2025 · 7b(ii) 2024 · 6c 2024 · 7b(ii) 2023 · 1c 2023 · 2c 2022 · 5d 2021 · 1e 2019 · 1a(i) 2019 · 1a(ii) 2019 · 3a(i) 2019 · 3a(ii) 2019 · 3a(iii) 2018 · 1a(i) 2018 · 3a(i) 2017 · 1b 2016 · 1d 2016 · 4c(ii) 2016 · 5e 2015 · 6c 2014 · 4c 2014 · 5b 2014 · 5c 2014 · 7c 2013 · 6c(i) 2012 · 1f(i) 2012 · 8b(i) 2011 · 4c(i) 2011 · 5c(i) 2011 · 6c(i) 2010 · 4c 2010 · 5c 2009 · 4b 2009 · 5c 2006 · 6b 2005 · 6b 2005 · 7b 2005 · 7c 2004 · 200w/1d 2003 · 200w/5d 2002 · 7b 2002 · 200w/5d 2002 · 6b 2001 · 5d(i) 2001 · 6b 2000 · 5d 2000 · 6b(i) 2000 · 6b 1999 · 12b 1998 · 200w/9a 1998 · 10c 1997 · 10b 1995 · 12c
A DM system is designed to operate at 3 times the Nyquist rate for a signal with a 3 kHz bandwidth. The quantizing step size is 250 mV. (i) Determine the maximum amplitude of a 1 kHz input sinusoid for which the delta modulator does not show slope overload. (ii) Determine the post-filtered output signal-to-quantizing noise ratio for the signal of part (i).
Solution
Sampling rate
(i) Maximum amplitude without slope overload
The staircase can rise by at most Δ per sampling interval, i.e. at a slope . The maximum slope of is . So we need
(ii) Output SNR after the low-pass filter
The granular noise is uniformly distributed in , so its power is , spread uniformly over –. The filter (bandwidth = 3 kHz) passes the fraction :
The signal power is
Answer: (i) 0.716 V; (ii) about 74, i.e. 18.7 dB.
✓ Checked by computer We computed the slope-overload limit and the SNR in Python.
24 voice signals are sampled uniformly and then time-division multiplexed. Flat-top sampling is used with one microsecond duration. Multiplexing operation provides for synchronization by adding an extra pulse of sufficient amplitude and also one microsecond duration. The highest frequency component of each voice signal is 3.4 kHz. (i) Assuming a sampling rate of 8 kHz, find the spacing between successive pulses of the multiplexed signal. (ii) Repeat your calculations by assuming the use of Nyquist rate sampling.
Solution
Frame structure
Each frame carries 24 voice samples plus 1 synchronising pulse, i.e. 25 pulses, each 1 μs wide.
(i) Sampling rate 8 kHz
(ii) Nyquist-rate sampling ( kHz)
Answer: (i) 4 μs; (ii) 4.88 μs (the gap between the end of one pulse and the start of the next).
✓ Checked by computer We computed the frame and slot timings.
What is line coding? For the data sequence 10101110, draw the waveforms for the following line coding schemes: 1. Polar NRZ scheme 2. Bipolar NRZ scheme 3. Differential Manchester scheme 4. RZ polar scheme.
Solution
Line coding
Line coding is the conversion of a binary data stream into a waveform (electrical pulses) suitable for transmission over a baseband channel (wire, cable). The choice of line code fixes:
- the spectrum (dc content, bandwidth);
- timing (clock) recovery, from transitions;
- error detection (e.g. bipolar violations);
- immunity to polarity inversion;
- power efficiency.
Waveforms for 10101110
- Polar NRZ: +V for 1, −V for 0, held for the full bit.
- Bipolar NRZ (AMI): 0 is sent as zero. Successive 1s alternate between +V and −V (here +, −, +, −, + for the five 1s). There is no dc component, and single errors can be detected.
- Differential Manchester: there is always a transition at the middle of each bit (for clocking). A 0 has an extra transition at the start of the bit, a 1 has none. (The initial level is taken as high.)
- Polar RZ: +V for 1 and −V for 0 during the first half of the bit, returning to zero for the second half.
✓ Answer checked step by step Waveforms drawn for the given sequence.
A PCM system uses 4096 quantization levels to handle telephone signals with a volume range of 40 dB. 1. What is the SNR for maximum sinusoidal signal level? 2. What is the SNR level for the smallest sinusoidal signal level? 3. With a 10 dB compression provided, what will be the new SNR?
Solution
Bits per sample
1. Maximum sinusoidal signal (full-load)
2. Smallest signal (40 dB below the maximum)
The quantization noise is fixed, so the SNR falls by the same 40 dB:
3. With 10 dB compression (companding)
Compression amplifies the small signals relative to the large ones. The smallest signal’s SNR improves by 10 dB:
The largest signal’s SNR is reduced slightly. The range of SNR over the 40 dB of signal levels shrinks from 40 dB to 30 dB.
Answer: 74 dB; 34 dB; about 44 dB for the weakest signal with companding.
✓ Checked by computer We computed the SNR values.
A DM transmitter with a fixed step size of 0.25 V is given a sinusoidal message signal. Determine the maximum permissible amplitude of the message signal, if slope overload is to be avoided. Assume sampling frequency ten times the Nyquist rate.
Solution
Sampling rate
The message is a sinusoid of frequency . Its Nyquist rate is , so
Slope-overload condition
Answer: about 0.80 V. The result is independent of the message frequency, because scales with it.
✓ Checked by computer We computed the maximum amplitude.
A audio frequency signal band-limited to 8 kHz is to be transmitted using a PCM system. If the quantization error of any sample is to be at the most ±1% of the dynamic range of the message signal, determine the minimum value of n, the minimum sampling rate and corresponding bit rate of transmission.
Solution
Step size
The dynamic range is 2 V (peak to peak). The maximum quantization error is , which must not exceed 1% of 2 V, i.e. 0.02 V:
Bits per sample
Minimum sampling rate
Bit rate
Answer: = 6, = 16 kHz, bit rate = 96 kb/s.
✓ Checked by computer We computed the number of bits, the sampling rate and the bit rate.
An audio signal, whose bandwidth is 15 kHz, is to be digitized using PCM. Uniform quantization with 1024 levels and binary encoding are assumed. Determine the minimum sampling rate. If the actual sampling rate is 20% excess of the minimum rate, determine the minimum permissible bit rate.
Solution
Minimum sampling rate
Actual sampling rate (20% higher)
Bits per sample
Bit rate
Answer: 30 kHz minimum sampling rate; 360 kb/s.
✓ Checked by computer We computed the rates.
A linear delta modulator is designed to transmit speech signal bandlimited to 4 kHz. The specifications are– sampling rate = 10 times Nyquist rate step size = 100 mV The system is tested with 1 kHz sinusoidal signal. Determine the maximum amplitude of the test signal so that slope overload does not occur. Calculate the maximum power that can be transmitted without slope overload.
Solution
Sampling rate
Maximum amplitude without slope overload (test signal 1 kHz)
Maximum power (in a 1 Ω load)
Answer: 1.27 V; 0.81 W (normalised to 1 Ω).
✓ Checked by computer We computed the maximum amplitude and power in Python.
Show that, with a non-uniform quantizer, the mean square value of the quantization error is approximately equal to , where is the ith step size and is the probability that the input signal amplitude lies within the ith interval. Assume that the step size is small compared with the excursion of the input signal.
Solution
Setting
Let the quantizer have intervals of width , each with representation level at its midpoint. The input has pdf . The quantization error is when .
Mean-square error
Small-step assumption
When is small compared with the excursion of the signal, is nearly constant over each interval:
where is the probability that the input lies in the -th interval.
Then
For a uniform quantizer (), this reduces to , since . With non-uniform quantization, small steps where is large (small amplitudes) reduce the mean-square error for a given number of levels. This is the basis of companding. ∎
✓ Proof checked step by step We showed the result step by step.
A DPCM system uses a linear predictor with a single tap. The normalized autocorrelation function of the input signal for a lag of one sampling interval is 0.75. The predictor is designed to minimize the prediction error variance. Determine the processing gain attained by the use of this predictor.
Solution
Optimum single-tap predictor
The prediction is . The prediction error variance is
where .
Minimising with respect to :
Processing (prediction) gain
Answer: processing gain ≈ 2.29 (3.6 dB).
✓ Checked by computer We computed the optimum coefficient and the gain.
In a binary PCM system, if the quantizing noise amplitude is not to exceed P percent of the peak-to-peak analog level, show that the number of bits n in each PCM word needs to be
Solution
Setting
Let the peak-to-peak analog level be . With bits there are levels, so the step size is
Maximum quantizing error
Requirement
This must not exceed P% of :
Taking logarithms:
Example: P = 0.1% gives , so . ∎
✓ Proof checked step by step We showed the result step by step.
A 700 Mbyte CD is used to store PCM data. Suppose a voice frequency (VF) signal is sampled at 8000 samples per second and the encoded PCM signal is to have an average SNR of at least 40 dB. How many minutes of VF conversation can be stored on the hard disc?
Solution
Bits per sample
For a uniform quantizer with levels, the average SNR is about (for a signal using the full range uniformly), i.e. dB. For at least 40 dB:
Data rate
Recording time on a 700 MB CD (MB = bytes)
That is about 27.8 hours.
Answer: about 1667 minutes. (With 1 MB = bytes, about 1748 minutes.)
✓ Checked by computer We computed the bits per sample and the storage time in Python.
Sketch a block diagram for a differential encoding and decoding system. Explain the working of the system by showing the encoding and decoding of the sequence 101100011001. Assume that the reference digit is a binary 1. Show that error propagation cannot occur with this arrangement.
Solution
Differential encoder and decoder
- Encoder: each transmitted bit is
(XNOR). A data 1 leaves the encoded level unchanged, and a 0 changes it.
- Decoder:
The decoder compares each received bit with the previous one.
Encoding 101100011001 (reference = 1)
| k | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| data | – | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 |
| encoded | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 1 | 1 |
| decoded | – | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 |
The decoded sequence equals the data.
No error propagation
- Each decoded bit depends only on two consecutive received bits, and . There is no feedback in the decoder.
- A single error in therefore affects only and (two bits). After that, the decoder is again correct.
- Errors do not propagate indefinitely, as they would if the decoder used its own past decoded outputs.
- Inverting all the received bits (polarity reversal) changes nothing, since . This is the main purpose of differential encoding: for example, with DPSK and with lines of unknown polarity.
✓ Answer checked step by step We worked the encoding and decoding in Python (XNOR rule).
Consider a continuous input signal whose amplitude m lies in the range . This is applied to a uniform quantizer of mid-rise type where the step size is given by , where L denotes the number of representation levels. Let represent the variance of the quantization error and R represent the number of bits per sample. Show that . Using this result, show that and that the output signal to noise ratio of a uniform quantizer is
Solution
Quantization noise variance
For a mid-rise uniform quantizer with levels over :
When the step is small, the error is uniformly distributed over , with . Its mean is 0, and
In terms of the bits per sample
With bits per sample, :
Output SNR
With the average power of the message:
(The printed should read : the SNR rises by about 6 dB per extra bit.)
Example: for a full-load sinusoid, , so , i.e. dB. ∎
✓ Proof checked step by step We derived the three results step by step.
Consider a sine wave of frequency and amplitude , that is applied to a delta modulator of step size Δ. Derive the condition which, if satisfied, leads to the occurrence of slope overload error.
Solution
Delta modulator
The DM staircase approximation changes by every sampling period . Its largest possible slope is
Input
has slope
with maximum value (at the zero crossings).
Condition for slope overload
If the input changes faster than the staircase can follow, the approximation falls behind, and the error grows beyond . This is slope-overload distortion. It occurs when
That is,
To avoid it, or must be large enough. A large Δ increases the granular noise, so a high sampling rate (or adaptive step size) is used.
✓ Derivation checked step by step We derived the condition step by step.
A signal having probability density function is quantized with four quantization levels.
(i) Determine the value of .
(ii) Determine step size .
(iii) Determine the four quantization levels.
Solution
(i) The constant k
(ii) Step size (uniform quantizer over the range −4 to 4, four levels)
(iii) Quantization levels
The intervals are (−4, −2), (−2, 0), (0, 2) and (2, 4). With mid-point representation levels:
(For an optimum, Lloyd–Max, quantizer matched to this pdf, the levels would be pulled towards zero, where the pdf is largest. The question asks for the step size, which implies a uniform quantizer.)
✓ Checked by computer We computed k and the levels in Python, taking the quantizer as uniform.
Design a PCM system that multiplexes three signals , and having bandwidths 5 kHz, 10 kHz and 5 kHz respectively. Each signal is sampled at its Nyquist rate and quantized to 256 levels.
(i) Sketch the block diagram of the system.
(ii) What is the maximum bit duration that can be used?
(iii) What is the channel bandwidth required to pass the PCM signal?
(iv) What is the commutator speed in revolutions per second?
Solution
(i) Block diagram
- (10 kHz) is sampled at 20 kHz, twice as often as and (10 kHz each).
- A commutator with 4 segments, , makes one revolution per 100 μs.
- Its PAM output goes to a quantizer (256 levels) and an 8-bit encoder, giving the PCM output.
(ii) Maximum bit duration
Total sampling rate:
(iii) Channel bandwidth (Nyquist minimum)
(About 320 kHz for rectangular pulses, first null.)
(iv) Commutator speed
Each revolution must take one sample of and of at 10 kHz, and two of :
✓ Checked by computer We computed the rates and bandwidth.
A delta modulation system is designed to accommodate a bandlimited analog signal with maximum frequency of 5000 Hz. The sampling rate is five times the Nyquist rate. A signal is applied to this system. Determine: (i) the minimum step size required to process the signal without slope overload distortion and (ii) maximum signal-to-quantization noise ratio of the system.
Solution
Sampling rate
(i) Minimum step size
The signal has and kHz. For no slope overload:
(ii) Maximum SNR (with Δ at this value and a reconstruction filter of bandwidth = 5 kHz)
Answer: (i) Δ = 0.126 V; (ii) SNR ≈ 950 (29.8 dB).
✓ Checked by computer We computed the step size and SNR in Python.
What do you mean by aliasing? How can aliasing be removed? State and explain Shannon’s sampling theorem.
Solution
Aliasing
When a signal is sampled at a rate , its spectrum is repeated at multiples of . If (where is the highest frequency in the signal), the repeated spectra overlap. The high-frequency components then fold back and appear as lower frequencies (aliases). The original signal can no longer be recovered by low-pass filtering.
Removing (preventing) aliasing
- Use an anti-aliasing low-pass filter before the sampler, to band-limit the signal to .
- Sample at a rate higher than the Nyquist rate, , in practice with a guard band (e.g. 8 kHz for 3.4 kHz speech). This leaves room for a practical reconstruction filter.
Shannon’s sampling theorem
Statement: a signal band-limited to Hz, i.e. with no frequency components above , is completely described by its samples taken at uniform intervals of seconds, i.e. at a rate (the Nyquist rate). It can be exactly recovered from the samples by an ideal low-pass filter of bandwidth .
Explanation:
- Ideal sampling multiplies by an impulse train. The spectrum of the sampled signal is
- If , the replicas do not overlap, and an ideal low-pass filter (cut-off between and ) recovers .
- In time, the reconstruction is
(interpolation by sinc functions).
✓ Answer checked step by step Standard explanation.
Explain Delta Modulation, comparing it with Differential Pulse Code Modulation. Discuss how the choice of step size in Delta modulator affects slope overload distortion and granular noise.
Solution
Delta modulation (DM)
DM is a one-bit DPCM:
- The input is compared at each sampling instant with a staircase approximation of itself (the integrated output).
- One bit is sent: 1 if the input is above the approximation (the staircase rises by +Δ), 0 if below (it falls by −Δ).
- The receiver integrates the bits and low-pass filters them.
DM compared with DPCM
| DPCM | DM | |
|---|---|---|
| What is coded | Prediction error, quantized to many levels | Sign of the error only (two levels) |
| Bits per sample | (several) | 1 |
| Predictor | Linear predictor (one or more taps) | Simple accumulator (previous value) |
| Sampling rate | Near the Nyquist rate | Many times the Nyquist rate (oversampled) |
| Hardware | More complex | Very simple |
| Noise | Quantization noise | Granular noise and slope overload |
| Bit rate for a given quality | Lower | Usually higher |
Effect of the step size
- Slope overload occurs when the input slope exceeds . A larger Δ reduces slope overload.
- Granular noise is the hunting of ±Δ about a slowly varying or constant input. Its power ( before filtering) increases with Δ. A smaller Δ reduces granular noise.
There is therefore an optimum Δ, which balances the two. Adaptive delta modulation, which varies Δ according to the recent bit pattern, gives a small step for slowly varying signals and a large step for steep ones.
✓ Answer checked step by step Standard explanation.
(i) An accelerometer has an input range of 0 – 100 m/s². It has a mass of 10 g and works on a frequency of 10 Hz. Find the range for the displacement transducer used to measure the displacement of the accelerometer. (ii) 1. State and explain Nyquist criterion. 2. An information signal is sampled. Calculate the minimum sampling rate that will be needed to recover the signal back from its samples.
Solution
(i) Displacement range of the accelerometer
For sinusoidal motion at frequency = 10 Hz, displacement and acceleration are related by . So
The displacement transducer must cover 0 to about 25.3 mm. (The 10 g mass does not affect the kinematic relation.)
(ii) 1. Nyquist criterion
A band-limited signal with highest frequency must be sampled at a rate
(the Nyquist rate) to be recovered without aliasing. The minimum interval is the Nyquist interval.
2. Minimum sampling rate
The components are at 1.5 kHz and 3.5 kHz. The highest is 3.5 kHz, so
✓ Checked by computer We computed the displacement range and the Nyquist rate.
Differentiate between the Pulse Code Modulation (PCM) and Delta Modulation (DM) explaining why DM is considered as a better alternative to PCM. How does the choice of the two parameters—quantization level () and sampling interval affect the performance-noise and accuracy/data rate?
Solution
PCM and DM
| PCM | DM | |
|---|---|---|
| Bits per sample | (e.g. 8) | 1 |
| Sampling rate | Just above the Nyquist rate | Several times the Nyquist rate |
| Coding | The sample’s absolute value, to levels | Only whether the signal rises or falls |
| Hardware | ADC/DAC, more complex; needs word framing | Comparator and integrator; very simple; no framing |
| Noise | Quantization noise () | Granular noise and slope overload |
| Bandwidth (for speech) | 64 kb/s | 32–64 kb/s for comparable quality (ADM) |
| Effect of bit errors | An error in an MSB gives a large error | Each error changes the output by only one step: robust |
Why DM is considered a better alternative in some applications
- Very simple and cheap transmitter and receiver: no multi-bit ADC, no word synchronisation.
- Robust to channel errors.
- Its bit rate can be traded continuously against quality by changing .
- These suit low-cost voice links, military systems and telemetry, though PCM gives better quality at a given bit rate for high-quality signals.
Effect of the parameters δ (step size) and (sampling interval)
- Step size δ:
- large δ: less slope overload, but more granular noise;
- small δ: less granular noise, but more slope overload.
- Sampling interval :
- smaller (higher ) allows the staircase to follow faster signals (the slope limit is );
- it also spreads the granular noise over a wider band, so less of it falls within the message band (in-band noise ∝ );
- SNR (about 9 dB per doubling of ), but the data rate rises.
Accuracy is thus bought with data rate.
✓ Answer checked step by step Standard comparison.
A sinusoidal signal is transmitted using P.C.M. The output signal to quantization noise is required to be 55.8 dB. Find the minimum number of quantization levels. Derive the equation used.
Solution
Derivation
- A full-load sinusoid of amplitude covers the range with levels, so
- Signal power:
- Quantization noise power (uniform error over a step):
Requirement: 55.8 dB
For binary coding, :
Answer: at least 504 levels are required; with binary encoding, 512 levels (9 bits), giving 55.9 dB.
✓ Derivation checked step by step We derived the SQNR formula step by step and solved for the levels in Python.
Derive an expression for the Bandwidth of ‘P.C.M.’ system.
Solution
PCM bandwidth
- Message bandwidth ; sampling rate .
- Each sample is coded with bits ( levels).
- Bit rate: bits/s, so the bit duration is
- A binary pulse train of rate can be transmitted without ISI over a channel of minimum (Nyquist) bandwidth , using ideal sinc pulses. Pulses with a raised-cosine spectrum of roll-off α need .
Minimum transmission bandwidth
With Nyquist-rate sampling ():
PCM thus needs n times the message bandwidth. This is the price paid for its noise immunity: bandwidth is exchanged for SNR, which rises by 6 dB per extra bit, i.e. exponentially with bandwidth.
(For rectangular NRZ pulses, the first-null bandwidth is .)
✓ Derivation checked step by step We derived the bandwidth step by step.
A channel with bit rate, kbps is available for ‘P.C.M.’ voice transmission. Find the appropriate values of binary digits N, the number of quantization levels (M) and the sampling rate (), assuming kHz.
Solution
Conditions
Maximum bits per sample
Levels
Sampling rate (using the full channel)
Answer: = 5 bits, = 32 levels, = 7.2 kHz.
✓ Checked by computer We chose n, M and fs to fit the channel.
Derive the expression for maximum signal to quantization noise ratio for sinusoidal message input when waveform coding is done by D.M. under no-slope overload condition.
Solution
Maximum signal without slope overload
For a sinusoid and a DM of step Δ and rate , there is no slope overload if . So the largest permissible amplitude is
Granular noise
Without overload, the error lies in . It is assumed uniformly distributed, with power
This power is spread uniformly from 0 to . The reconstruction filter of bandwidth passes
Maximum output SNR
So the SNR rises as : 9 dB for each doubling of the sampling rate. (With : .)
✓ Derivation checked step by step We derived the maximum SNR step by step.
How is DPCM better than PCM? With the help of illustrations, show how DPCM signals are generated and decoded.
Solution
Why DPCM is better than PCM
Successive samples of speech or video sampled at (or above) the Nyquist rate are highly correlated. PCM codes each sample independently, which carries redundant information. DPCM codes only the difference between the sample and its prediction from past samples.
- The prediction error has a much smaller range (variance) than the signal itself. So for the same quantization noise, fewer bits per sample are needed: typically 1–3 bits less, saving 8–24 kb/s for speech.
- Alternatively, for the same bit rate, the SNR improves by the prediction gain
typically 6–10 dB for speech.
Generation (transmitter)
- The input sample is compared with the prediction . The prediction error is
- is quantized to and encoded (n bits).
- The predictor input is the reconstructed sample
so the transmitter predicts from exactly what the receiver will have. This prevents quantization errors accumulating.
- The predictor is a linear (FIR) predictor:
Decoding (receiver)
- The decoder recovers .
- It adds the output of an identical predictor, , to give .
- This is fed back to the predictor and also passed to the low-pass reconstruction filter.
The reconstructed samples differ from the originals only by the quantization error of .
✓ Answer checked step by step Standard explanation.
This question has the following parts.
(i) A binary PCM system uses a uniform quantizer and an 8-bit binary encoder. If the bit rate is 100 Mb/s, what is the maximum bandwidth for which the system operates satisfactorily? Determine the output signal to quantization ratio when full-load sinusoidal modulating wave of frequency 1 MHz is applied to the input.
(ii) A discrete memoryless source is described by the alphabet and the corresponding probability vector Design a Huffman code for this source; find , the average codeword length for the Huffman code; and determine the efficiency of the code.
Solution
(i) PCM system
Sampling rate:
Maximum message bandwidth (Nyquist):
SQNR for a full-load sinusoid:
(The 1 MHz frequency is within the limit and does not affect the SQNR.)
(ii) Huffman code
Repeatedly combine the two least probable entries:
Codewords (assigning 0 and 1 at each branch):
| Symbol | ||||||||
|---|---|---|---|---|---|---|---|---|
| p | 0.20 | 0.12 | 0.06 | 0.15 | 0.07 | 0.10 | 0.13 | 0.17 |
| Code | 00 | 011 | 1010 | 111 | 1011 | 010 | 100 | 110 |
| Length | 2 | 3 | 4 | 3 | 4 | 3 | 3 | 3 |
Average length
Entropy
Efficiency
✓ Checked by computer We computed the bandwidth and SNR, and built the Huffman code in Python.
This question has the following parts.
(i) Bring out the salient points of relation between DM and DPCM. Draw the block diagram of delta modulator and demodulator.
(ii) Find the capacity of an additive white Gaussian noise channel with a bandwidth 1 MHz, power 10 W and noise power spectral density W/Hz
(iii) Explain cyclic codes.
Solution
(i) DM and DPCM
- DM is a special case of DPCM, with:
- a one-bit (two-level) quantizer;
- a first-order predictor with coefficient 1: the accumulator, or integrator, which predicts the next sample as the previous reconstructed value.
- Both transmit the prediction error instead of the sample. Both use feedback around the quantizer, so the receiver tracks the transmitter.
- DPCM uses multi-bit quantization at near-Nyquist rates. DM uses one bit at heavy oversampling.
- DPCM suffers only quantization noise. DM suffers granular noise and slope overload.
(ii) Capacity of the AWGN channel
(iii) Cyclic codes
- A cyclic code is a linear block code in which every cyclic shift of a codeword is also a codeword.
- Codewords are represented as polynomials . Every codeword is a multiple of a generator polynomial of degree , which divides .
- Encoding:
- non-systematic: ;
- systematic: append the remainder of divided by as parity bits.
- Decoding: divide the received polynomial by . A non-zero syndrome (remainder) indicates errors and, for correctable patterns, locates them.
- Encoding and syndrome calculation are implemented simply with linear feedback shift registers.
- Examples:
- Hamming (7,4) with ;
- CRC codes, used for error detection in data networks;
- BCH and Reed–Solomon codes.
- They detect burst errors of length up to .
✓ Checked by computer We computed the channel capacity in Python.
This question has the following parts.
(i) What is the theoretical bandwidth required to transmit a digital signal? Justify your answer. How can you relate bandwidth to bit rate?
(ii) What is Inter-Symbol Interference (ISI)? How can this be tackled? What is the importance of Eye diagram? How is it generated?
Solution
(i) Theoretical bandwidth for a digital signal
- By Nyquist’s criterion, a channel of bandwidth can carry up to independent pulses (symbols) per second without ISI, using ideal sinc pulses. So the minimum (theoretical) bandwidth for a symbol rate is
- For binary signalling, , so . With -ary signalling, , so
- Justification: the ideal low-pass channel of bandwidth has impulse response , with zeros every . Pulses spaced apart therefore do not interfere at the sampling instants.
- Practical pulses (raised cosine, roll-off α) need . Rectangular NRZ pulses need about (first null).
So bandwidth is proportional to bit rate (and inversely to the bits per symbol).
(ii) Inter-symbol interference (ISI)
ISI is the spreading of each transmitted pulse beyond its own symbol interval, because of the limited bandwidth and dispersion of the channel and filters. The tails of neighbouring pulses add to the sample of the current pulse, causing decision errors even without noise.
Remedies:
- Nyquist pulse shaping (raised-cosine filters, split as root-raised-cosine between transmitter and receiver), so that each pulse has zeros at the other sampling instants;
- equalisers (transversal, adaptive zero-forcing or MMSE, decision-feedback) to compensate the channel;
- partial-response (duobinary) signalling with controlled ISI;
- lower symbol rate, or OFDM.
Eye diagram:
- Generation: display the received baseband signal on an oscilloscope, with the horizontal sweep triggered by the symbol clock and the sweep time equal to one or two symbol periods. The successive symbol waveforms overlap, forming a pattern like an eye.
- Importance:
- the eye opening (height) shows the noise margin;
- the width shows the time interval over which the signal can be sampled without error;
- the slope of the sides shows the sensitivity to timing error;
- the best sampling instant is where the eye is widest open;
- closing of the eye indicates ISI and noise.
✓ Answer checked step by step Standard explanation.
This question has the following parts.
(i) How is ‘regeneration’ in digital communication different from ‘amplification’ in analog communication? In what way regeneration is better?
(ii) Draw the block diagram of a PCM receiver and show how a transmitted sinusoidal signal is reconstructed in the receiver.
(iii) Distinguish between virtual circuit and datagram in data networks.
(iv) What is the rationale behind error control coding? Distinguish between linear codes and non-linear codes.
Solution
(i) Regeneration and amplification
An analog repeater (amplifier) amplifies the received signal together with the noise and distortion picked up on each section. These accumulate along the link, so the SNR falls with every repeater.
A digital regenerator:
- equalises and amplifies the pulses;
- re-times them using a recovered clock;
- decides whether each pulse is a 1 or a 0 (comparator);
- sends out a fresh, clean pulse.
Noise and distortion are removed completely, provided they are not large enough to cause a wrong decision.
Why regeneration is better: noise does not accumulate; only bit errors accumulate, and these grow only linearly with the number of repeaters, at very low rates. Long-haul digital links can therefore have the same quality as short ones.
(ii) PCM receiver
- The regenerator recovers the bit stream.
- The decoder (serial-to-parallel conversion, then D/A) converts each -bit word into the corresponding quantized amplitude, as a train of PAM pulses (sample-and-hold, giving a staircase).
- The reconstruction low-pass filter (cut-off ) smooths the staircase into the analog waveform. A sinusoid is recovered as a smooth sine wave, with a small quantization error.
(iii) Virtual circuit and datagram
| Virtual circuit | Datagram |
|---|---|
| A logical connection (route) is set up before the data transfer, and released afterwards | No set-up; each packet is routed independently |
| All packets follow the same path, and arrive in order | Packets may take different paths and arrive out of order |
| Each packet carries a short circuit identifier | Each packet carries the full destination address |
| Resources can be reserved, giving predictable delay | Best-effort; more robust to node failures |
| Examples: X.25, ATM, Frame Relay | IP (Internet), UDP |
(iv) Error-control coding
Rationale: noise and interference cause bit errors. Adding controlled redundancy (parity bits) lets the receiver detect and/or correct errors (FEC), or request retransmission (ARQ). This achieves a low error rate at a lower SNR (coding gain), at the cost of bandwidth or rate.
Linear and non-linear codes:
- In a linear code, the sum (modulo-2) of any two codewords is also a codeword; the all-zeros word is a codeword. Codewords are generated by a generator matrix () and checked with a parity-check matrix (syndrome ). The minimum distance equals the minimum weight of the non-zero codewords. Encoding and decoding are simple. Examples: Hamming, cyclic, BCH and convolutional codes.
- A non-linear code does not have this property. Its codewords cannot be generated by a matrix, and encoding and decoding need look-up tables. These codes are occasionally used for specific distance properties.
✓ Answer checked step by step Standard explanation.
This question has the following parts.
(i) The information in an analog signal voltage waveform is to be transmitted over a PCM system with an accuracy of ±0.1% (full scale). The analog voltage waveform has a bandwidth of 100 Hz and an amplitude range of −10 V to +10 V. (1) Determine the maximum sampling rate required. (2) Determine the number of bits in each PCM word. (3) Determine the minimum bit rate required in the PCM signal. (4) Determine the minimum absolute channel bandwidth required for the transmission.
(ii) Why do we need a MODEM to access Internet over telephone line? How does it work? What is the role of a ROUTER in a data network?
Solution
(i) PCM design
(1) Sampling rate: bandwidth 100 Hz, so the minimum (Nyquist) sampling rate is
(2) Bits per word: the accuracy is ±0.1% of full scale. With full scale 20 V, the maximum error is V, so V and
Equivalently,
So = 9 bits (512 levels).
(3) Bit rate:
(4) Minimum absolute channel bandwidth:
(ii) Modem and router
Why a modem: the telephone line is a band-pass analog channel, 300–3400 Hz, designed for speech. It cannot pass the dc and low-frequency components of a baseband digital signal, and it is band-limited. A modem (modulator–demodulator) converts the computer’s digital data into an analog signal that fits the voice band, and back again at the far end.
How it works:
- The data bits modulate a carrier in the voice band using FSK, PSK or QAM; QAM is combined with trellis coding in V.32/V.34 modems (up to 33.6 kb/s), and PCM is used downstream in V.90 (56 kb/s).
- Echo cancellation gives full-duplex operation over two wires. Adaptive equalisation corrects the line distortion. Handshaking negotiates the speed.
- At the receiver, the modem demodulates and recovers the bits.
Role of a router: a router is a network-layer (layer 3) device that connects different networks (LANs, WANs, the Internet). For each incoming packet, it reads the destination (IP) address, looks up its routing table (built by routing protocols such as RIP, OSPF and BGP), and forwards the packet on the best path towards the destination. It also:
- isolates broadcast domains;
- performs network address translation (NAT);
- applies firewall and access-control filtering;
- manages traffic (QoS).
✓ Checked by computer We computed the rates and bandwidth.
Mention the salient points of relation between the delta modulation (DM) and differential pulse code modulation (DPCM). Draw the block diagram of delta modulator and demodulator. Explain threshold and overloading effects in delta modulation. How can a slope overload noise, which occurs due to threshold and overloading, be reduced?
Solution
Relation between DM and DPCM
- DM is the simplest form of DPCM: a 1-bit quantizer and a first-order predictor (an integrator), with heavy oversampling.
- Both encode the difference between the input and a prediction derived from the reconstructed past output, with the same feedback structure.
- DPCM uses a multi-level quantizer and higher-order predictors near the Nyquist rate. DM trades bits per sample for sampling rate.
DM modulator and demodulator
Threshold and overloading effects
- Threshold (granular) effect: when the input is constant or varies by less than Δ, the staircase hunts up and down by ±Δ about it. This produces granular (idle) noise. Very small signals (below about Δ) cannot be reproduced at all: the threshold of DM.
- Overloading (slope overload): when the input slope exceeds (for a sinusoid, ), the staircase cannot keep up. The error becomes large and the output lags the input.
Reducing slope-overload noise
- Increase the sampling rate (oversampling).
- Increase the step size Δ (at the cost of more granular noise).
- Adaptive delta modulation (ADM): the step size is increased when several successive bits are equal (indicating overload), and reduced when the bits alternate (granular region). Examples: Jayant’s ADM, continuously variable slope DM (CVSD).
- Pre-filtering (integrating) the input: delta–sigma modulation codes the integral of the signal, reducing its slope requirements.
- Limiting the high-frequency content of the input by low-pass filtering, or using pre-emphasis carefully.
✓ Answer checked step by step Standard explanation.
Pulse code modulation (PCM) is the most useful and widely used of all pulse modulations. How does an analog signal get converted to digital signal by the PCM? By which process non-uniform quantization is practically achieved? Draw a diagram of a model, which does this process. Explain its working.
Solution
Conversion of an analog signal into PCM
- Band-limiting: a low-pass (anti-aliasing) filter restricts the signal to Hz.
- Sampling: the signal is sampled at (e.g. 8 kHz for speech), giving PAM samples (sample-and-hold).
- Quantization: each sample is rounded to the nearest of discrete levels, which introduces quantization noise.
- Encoding: each level is represented by an -bit binary code word (e.g. 8 bits for telephony).
- Line coding, multiplexing and framing then prepare the bit stream for transmission (64 kb/s per voice channel).
Non-uniform quantization in practice: companding
Speech has a large dynamic range, and small amplitudes are much more probable. Uniform quantization gives a poor SNR for weak signals. Non-uniform quantization (small steps for small amplitudes, large steps for large) is practically achieved by companding:
- compressing the signal with a logarithmic characteristic before a uniform quantizer;
- expanding with the inverse characteristic after decoding.
Model of the process
message → compressor → uniform quantizer and encoder → channel → decoder → expander → output
- μ-law (North America, Japan; μ = 255):
- A-law (Europe, India; A = 87.6):
Working:
- Small signals are amplified relative to large ones by the compressor, so they occupy more quantization levels.
- After expansion, the effective steps are fine near zero and coarse at high amplitudes. The SNR is nearly constant (about 38 dB) over a 40 dB range of input levels.
- In practice the curves are approximated by segments: 13-segment A-law and 15-segment μ-law, in the codec (ITU-T G.711).
✓ Answer checked step by step Standard explanation.
(i) With a neat sketch, show the block diagram of a PCM transmitter and receiver, clearly indicating the various parts. What are the different types of quantizers? Give a sketch of the two types of uniform quantizers. How will you reduce quantization error? (ii) Bandwidth of an input signal to the PCM is restricted to 4 kHz. Input signal varies in amplitude from V to V. It has an average power of 30 mW. Required signal to noise ratio is 20 dB. The PCM modulator produces binary output. Assuming uniform quantization, find number of bits required per sample.
Solution
(i) PCM transmitter and receiver
Types of quantizers:
- uniform (mid-rise and mid-tread);
- non-uniform (companded, μ-law and A-law; optimum Lloyd–Max);
- adaptive quantizers.
Two types of uniform quantizer:
- Mid-tread: zero is a representation level (odd number of levels). Small noise near zero gives zero output.
- Mid-rise: zero is a decision threshold, with levels at ±Δ/2, … (even number of levels).
Reducing quantization error:
- more levels (more bits; 6 dB per bit);
- non-uniform quantization / companding for signals with non-uniform pdf;
- adaptive quantization;
- differential coding (DPCM), which reduces the range to be quantized;
- dithering and noise shaping, and oversampling (noise spread over a wider band, then filtered out).
(ii) Bits per sample
The range is −3.8 to +3.8 V (7.6 V). With bits:
So = 7 bits. Check:
- = 7: SNR = 102 (20.1 dB) ✓
- = 6: SNR = 25.5 (14.1 dB) ✗
✓ Checked by computer We computed the bits per sample in Python.
(i) What are the advantages and disadvantages of delta modulation compared to PCM? With the help of sketch, mention the various noises associated with delta modulation. How will you overcome these noises? (ii) A sine wave of frequency and amplitude is applied to a delta modulator of step size . Show that the slope overload distortion will occur if: where is sampling period. What is the maximum power that may be transmitted without slope overload distortion?
Solution
(i) DM compared with PCM
Advantages of DM:
- one bit per sample: very simple encoder and decoder (comparator and integrator), with no ADC/DAC;
- no word framing or synchronisation needed;
- robust to bit errors (each error gives only a one-step error);
- the bit rate can be changed easily.
Disadvantages:
- needs a much higher sampling (bit) rate for the same quality: higher bandwidth;
- suffers slope overload and granular noise;
- poorer dynamic range unless adaptive.
Noises in DM:
- Slope-overload noise: the staircase cannot follow a steep input.
- Granular noise: hunting by ±Δ about a slowly varying input.
Overcoming them:
- an optimum Δ;
- a higher ;
- adaptive DM (variable step size, e.g. CVSD);
- delta–sigma modulation (integrating the input first).
(ii) Condition for slope overload
The staircase output changes by at most Δ per sample, so its maximum slope is . The input has maximum slope (at the zero crossings). The staircase cannot follow the input, i.e. slope overload occurs, if
Maximum power without slope overload
The largest allowed amplitude is , so
(normalised to 1 Ω).
✓ Derivation checked step by step We derived the slope-overload condition and the maximum power step by step.
In a TDM digital communication system 774 voice samples (using 8 [?] bits/sample) and 36 control bytes are multiplexed in one frame. If the sampling rate for voice signals is 8000 sample/sec. calculate (i) frame duration in sec, (ii) bit rate of the system, (iii) if the upstream signal is higher in frequency than this bit rate (calculated in part ii) by 1 ppm, calculate the number of frames after which one negative stuffing byte will be provided.
Solution
Frame contents
774 voice samples × 8 bits + 36 control bytes × 8 bits:
(i) Frame duration
Each voice channel contributes one sample per frame at 8000 samples/s, so
(ii) Bit rate
(This is the SONET STS-1 rate.)
(iii) Negative stuffing
If the incoming (upstream) signal is faster by 1 ppm, the excess data per frame is
One extra byte (8 bits) accumulates after
So a negative stuffing byte (an extra data byte placed in an overhead position) is needed about every 1235 frames, i.e. every 0.154 s.
✓ Checked by computer We computed the frame duration, bit rate and stuffing interval in Python.
Describe the basic elements of a PCM system.
Solution
Basic elements of a PCM system
Transmitter
- Low-pass (anti-aliasing) filter: band-limits the message to (e.g. 3.4 kHz for speech).
- Sampler: samples at (8 kHz), giving PAM; a sample-and-hold keeps each value steady for conversion.
- Quantizer: rounds each sample to one of levels. It is uniform, or non-uniform with companding (μ-law or A-law) for speech.
- Encoder: converts each level to an -bit binary code word (e.g. 8 bits, so 64 kb/s per channel).
- Line coder and multiplexer: forms the transmitted waveform (AMI, HDB3), with framing.
Transmission path
- Regenerative repeaters at intervals: equalise, retime, decide, regenerate clean pulses. Noise does not accumulate.
Receiver
- Regeneration circuit: decision device with clock recovery.
- Decoder (D/A converter): converts code words back to quantized PAM samples (plus an expander, if companding is used).
- Reconstruction low-pass filter: recovers the analog signal from the samples.
- Synchronisation: bit, word and frame timing are recovered at the receiver.
✓ Answer checked step by step Standard description.
Bring cut the concept of TDM with a block schematic.
Solution
Time-division multiplexing (TDM)
In TDM, several signals share one channel in time. Each is sampled in turn, and its samples are interleaved in time slots of a repeating frame. Each signal occupies the whole channel bandwidth, but only during its own slot. (In FDM, by contrast, each signal occupies its own frequency band all the time.)
Block schematic
- Low-pass filters band-limit each of the N messages to W.
- A commutator (electronic switch) samples each message in turn, at per message. One revolution is one frame of duration , with N slots of each.
- The interleaved PAM pulses are sent directly, or quantized and encoded (PCM-TDM). A synchronising (framing) pulse or word is added.
- At the receiver, a decommutator synchronised with the commutator directs each sample to its own output. Low-pass filters reconstruct each message.
Features
- The bit rate is
e.g. T1 (24 channels × 8 bits × 8000 + 8 kb/s framing = 1.544 Mb/s); E1 (32 slots × 64 kb/s = 2.048 Mb/s).
- Advantages: simple digital circuitry, no filter banks; less crosstalk from non-linearities; well suited to digital switching.
- Requirements: precise synchronisation between commutator and decommutator; the channel bandwidth must allow short pulses without ISI.
✓ Answer checked step by step Standard description.
A signal having a range of 300 to 3400 kHz is transmitted using binary PCM on a channel whose bit rate is 40,000 bits per second. Design the PCM system and draw the block diagram.
Solution
Reading of the data. The range “300 to 3400 kHz” must be 300 to 3400 Hz (a telephone voice signal), since a 40 kb/s channel cannot carry a 3.4 MHz signal by PCM.
Design
- Sampling rate:
- the highest frequency is 3.4 kHz, so the Nyquist rate is 6.8 kHz;
- the bits per sample are then limited to , so ;
- using the full channel, = 8 kHz, which leaves a guard band of 1.2 kHz above the Nyquist rate (practical anti-aliasing filter).
- Quantization: = 5 bits gives = 32 levels. SQNR for a full-load sinusoid: dB. Companding (μ- or A-law) keeps the SNR more uniform over the speech range.
- Bit rate: kb/s, matching the channel.
- Bandwidth: minimum = 20 kHz (Nyquist pulses).
Block diagram
- Transmitter:
- band-pass or low-pass filter (300–3400 Hz);
- sample-and-hold at 8 kHz;
- compressor;
- 5-bit quantizer and encoder;
- parallel-to-serial converter and line coder, giving 40 kb/s.
- Receiver:
- regenerator;
- serial-to-parallel converter and 5-bit decoder (D/A);
- expander;
- low-pass reconstruction filter (3.4 kHz).
✓ Answer checked step by step We designed the system for the given bit rate, reading the signal range as 300–3400 Hz.
Select any THREE of the following statements, read them carefully and identify the correct and the incorrect ones. Justify your answer using not more than 200 words in each case:- Digital transmission has more advantages than disadvantages as compared to analog transmission.
Solution
The statement is correct.
Justification
Advantages of digital transmission:
- Noise immunity and regeneration: repeaters regenerate clean pulses, so noise does not accumulate. Long-haul quality is independent of distance.
- Error control: coding detects and corrects errors.
- Multiplexing and switching: easy TDM, and digital switching; voice, data and video are integrated (ISDN, IP networks).
- Security: easy encryption.
- Processing and storage: easy compression and signal processing; signals are stored without degradation.
- Cheap, reliable VLSI hardware; flexible system design.
- Exchange of bandwidth for SNR: PCM, efficient modulation and coding.
Disadvantages:
- Greater bandwidth (e.g. 64 kb/s PCM needs about 32 kHz, against 4 kHz for analog speech), though compression and multilevel modulation reduce this.
- Need for synchronisation (bit, frame).
- Quantization noise, and A/D and D/A conversion.
- A sharp threshold (“cliff”) effect: performance collapses when the SNR falls below threshold.
On balance the advantages far outweigh the disadvantages. This is why modern telephone, broadcasting, mobile and data networks are all digital.
✓ Answer checked step by step Standard reasoning.
Select any three of the following statements, read them carefully and identify the correct and the incorrect ones. Justify your answer using not more than 200 words in each case The bandwidth of a PCM signal is much larger than that of original base band.
Solution
The statement is correct.
Justification
- A message of bandwidth is sampled at . Each sample is coded into bits, so the bit rate is
- The minimum (Nyquist) transmission bandwidth is , so
For rectangular pulses it is about .
- Example: telephone speech, = 3.4 kHz, = 8 kHz, = 8, gives 64 kb/s and kHz, against the 3.4 kHz baseband: about 10 times larger.
- This increase is the price for PCM’s advantages. The SNR increases by about 6 dB per bit, i.e. exponentially with bandwidth, and the signal can be regenerated without noise accumulation.
- The bandwidth can be reduced by multilevel (M-ary) signalling, DPCM or ADPCM (32 kb/s), and speech compression.
✓ Answer checked step by step Standard reasoning.
A delta modulator has the message signal . Determine the minimum sampling frequency required to prevent slope overload, assuming the step size to be 0.1 m.
Solution
Maximum slope of the message
Both cosines equal 1 at = 0, so the maximum slope is
Condition for no slope overload
Answer: a minimum sampling rate of about 8.8 kHz (with the step size 0.1 in the units of ).
✓ Checked by computer We computed the maximum slope and the sampling rate in Python.
Select any three of the following statements, read them carefully and identify the correct and the incorrect ones. Justify your answer using not more than 200 words in each case PCM is considered very well, but other modulation systems are also used.
Solution
The statement is correct.
Justification
- PCM is regarded very highly: it offers excellent noise immunity (regeneration), a 6 dB SNR improvement per bit, easy multiplexing (TDM), easy encryption and storage, and compatibility with digital switching and computers. It is the standard for digital telephony (64 kb/s, G.711), CDs (16-bit linear PCM) and many instruments.
- Other modulation systems are still used, because PCM also has drawbacks: a large bandwidth (about ), complex synchronisation and ADC/DAC hardware, and quantization noise.
- DPCM and ADPCM (32 kb/s speech) and delta / adaptive delta modulation (simple hardware, robust to errors, e.g. CVSD in military and Bluetooth voice) reduce the bit rate or the complexity.
- Analog modulation (AM, FM) remains in broadcasting, where receivers must be cheap and backward compatible.
- PAM, PWM and PPM are used in control systems, power electronics and optical links.
- Digital carrier modulation (ASK, FSK, PSK, QAM, OFDM) is essential for transmitting the PCM bits over band-pass channels (radio, modems).
- Vocoders and linear predictive coders give speech at 2.4–13 kb/s for mobile phones.
- So the choice depends on the bandwidth, the power, the cost and the quality required. PCM is the reference, but not the only answer.
✓ Answer checked step by step Standard reasoning.
Find the signal-to-quantization noise ratio in a binary PCM system, if the number of quantization levels is 64:
Solution
Bits per sample
SQNR for a full-load sinusoid
Equivalently, dB.
Answer: about 37.9 dB. (For a signal uniformly distributed over the full range, , i.e. 36.1 dB.)
✓ Checked by computer We computed the SQNR.
This question has the following parts.
(i) Differentiate between FDM and TDM pictorially. Enumerate the advantages of one over the other.
(ii) 24-telephones, each band limited to 3.4 kHz, are to be time division multiplexed using PCM. Calculate the bandwidth of the PCM system for 128 quantization levels with 8 kHz sampling frequency
Solution
(i) FDM and TDM
| FDM | TDM |
|---|---|
| Each channel occupies its own frequency band all the time; channels are separated by guard bands | Each channel occupies the whole band during its own time slot, in turn |
| Analog (modulators, band-pass filters) | Mostly digital (sampling, switching) |
| Needs many filters and subcarriers; crosstalk from non-linearities (intermodulation) | Simple circuitry; crosstalk only from ISI; needs precise synchronisation |
| Suited to analog signals (radio, cable TV, old carrier telephony) | Suited to digital signals (PCM, computer data) |
Advantages of TDM over FDM:
- simpler and cheaper digital hardware (no filter banks);
- less sensitivity to non-linearities;
- easy integration with digital switching and processing;
- flexible allocation of slots.
Advantages of FDM:
- no synchronisation is needed;
- suited to analog signals and to radio broadcasting;
- dispersion of the channel causes less trouble.
(ii) Bandwidth of the 24-channel PCM-TDM system
(With one framing bit per frame, Mb/s and = 676 kHz.)
✓ Checked by computer We computed the bit rate and bandwidth.
Great a block diagram for a differential encoding and decoding system. Explain how it works by showing the encoding and decoding for the sequence 001111010001. Assume that the reference digit is a binary 1. Show that error proportion cannot occur.
Solution
Block diagram
- Encoder: the encoded bit is (XNOR with the previous encoded bit, through a one-bit delay). A 1 keeps the level; a 0 changes it.
- Decoder: , comparing each received bit with the previous one.
Encoding 001111010001 (reference = 1)
| k | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| – | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | |
| 1 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | |
| – | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 |
The decoded data equal the original.
No error propagation
- Each decoded bit uses only the two most recent received bits; there is no feedback of decoded bits.
- A single channel error in corrupts only and . All later bits are decoded correctly.
- An inversion of the whole received sequence (polarity reversal) causes no errors, since .
So errors cannot propagate.
✓ Answer checked step by step We worked the encoding and decoding in Python (XNOR rule).
Justify the statement pulse modulation is not digital whereas pulse code modulation is digital Obtain the bandwidth for 128 quantization levels and 8 kHz sampling frequency of a practical PCM system consisting of 24 telephone channels, each band limited to 3.4 kHz in time division multiplexing. Deduce formulae used.
Solution
Pulse modulation is not digital; PCM is digital
- In pulse-amplitude, pulse-width and pulse-position modulation (PAM, PWM, PPM), the samples are taken at discrete times, but a parameter of each pulse (amplitude, width, position) varies continuously in proportion to the sample value. The information is therefore still carried in analog form. Noise added to the amplitude, width or position directly corrupts the message, and it cannot be removed by regeneration.
- In PCM, each sample is quantized to one of a finite set of levels, and coded into a group of binary pulses. The transmitted signal takes only two values (0, 1) in discrete time. It is truly digital, so it can be regenerated, error-coded and processed digitally.
Bandwidth of PCM-TDM: formula
channels, each sampled at , bits per sample:
The minimum (Nyquist) bandwidth for binary pulses is
Numbers
24 channels, 128 levels ( = 7), = 8 kHz:
(Practical systems with rectangular pulses need about = 1.344 MHz; adding framing bits raises it slightly.)
✓ Derivation checked step by step We derived the bandwidth formula and computed it.
This question has the following parts.
(i) Which type of communication system will you prefer for speech processing? Why?
(ii) With the help of a suitable schematic diagram describe the working of a delta modulation system. Discuss its limitation.
Solution
(i) Preferred system for speech processing
Digital communication (PCM, or its derivatives DPCM, ADPCM and delta modulation) is preferred for speech:
- noise immunity: regenerative repeaters prevent noise build-up on long links;
- digital processing: easy compression (ADPCM, LPC vocoders, CELP at 4–16 kb/s), echo cancellation, encryption, storage and switching;
- multiplexing: TDM of many speech channels, and integration with data;
- error control and consistent quality, independent of distance;
- cheap VLSI codecs.
Speech is highly redundant (strong correlation between samples, limited bandwidth), so differential and predictive coding (DPCM, ADPCM, DM) give large bit-rate savings. Speech also has a large dynamic range, so companded PCM is used.
(ii) Delta modulation system
- Transmitter:
- the input is compared with the staircase approximation ;
- a one-bit quantizer outputs +Δ (bit 1) if , and −Δ (bit 0) otherwise, at each sampling instant (several times the Nyquist rate);
- the accumulator adds these steps to update .
- Receiver: an identical accumulator rebuilds the staircase from the received bits. A low-pass filter smooths it into .
Limitations
- Slope overload: the output cannot follow inputs whose slope exceeds .
- Granular noise: hunting about slowly varying inputs.
- High sampling (bit) rate needed for good quality, so a large bandwidth.
- Limited dynamic range with a fixed step.
Adaptive DM (variable step size) overcomes these largely.
✓ Answer checked step by step Standard answer.
Briefly explain the principle of PCM, differential PCM and delta modulation.
Solution
Pulse code modulation (PCM)
The analog signal is:
- band-limited;
- sampled at ;
- each sample is quantized to one of levels;
- encoded into an -bit binary word.
The bit stream ( bits/s) is transmitted and regenerated. At the receiver it is decoded to PAM samples and low-pass filtered. The quality is set by the number of bits:
Differential PCM (DPCM)
- Adjacent samples are correlated, so a predictor estimates each sample from the previous reconstructed samples. Only the prediction error is quantized and coded.
- The error has a smaller variance than the signal, so fewer bits are needed for the same SNR. The prediction gain is .
- The receiver adds the same prediction to the received error.
Delta modulation (DM)
- DM is DPCM with a one-bit quantizer and a simple accumulator (integrator) as predictor, operated at a sampling rate several times the Nyquist rate.
- Each bit tells whether the staircase approximation should step up or down by Δ.
- It is very simple, but suffers slope overload and granular noise. Adaptive DM varies Δ to reduce them.
✓ Answer checked step by step Standard explanation.
Describe the schematic arrangement of pulse-code modulation by using optical fibre.
Solution
PCM over optical fibre
Transmitter
The analog signal is filtered, sampled, quantized and encoded into a PCM bit stream. Several channels are time-division multiplexed, and a line code (e.g. NRZ, or Manchester or 5B/6B for clock content and dc balance) is applied.
A driver circuit switches the current through an optical source:
- an LED (short links, multimode fibre, low rates); or
- a laser diode (long links, single-mode fibre, high rates; biased near threshold for fast switching).
The light is switched on for 1 and off for 0: intensity modulation / on–off keying.
The light is coupled into the optical fibre through a connector.
Transmission
The fibre has low attenuation (0.2–0.5 dB/km at 1300–1550 nm), very wide bandwidth, immunity to EMI, and small size. Repeaters (regenerators) or optical amplifiers (EDFA) are used on long routes. Splices and connectors join the sections.
Receiver
- A photodetector (PIN or avalanche photodiode) converts the light pulses back into a current.
- A pre-amplifier (transimpedance) and post-amplifier, then an equaliser and a filter.
- Clock recovery and a decision circuit regenerate the bit stream.
- The demultiplexer and PCM decoder convert each word back to a sample, and the low-pass filter reconstructs the analog signal.
Advantages: very high capacity (Gb/s per fibre), long repeater spacing, no electromagnetic interference or crosstalk, security, light weight. This is the backbone of the telephone and data networks (SDH/SONET).
✓ Answer checked step by step Standard description.
Select any Three of the following statements and indicate with justification whether they are correct or incorrect. Your answer must not exceed 200 words for each statement: Pulse Code Modulation (PCM) systems for voice communication employ companding.
Solution
The statement is correct.
Justification
- Speech signals have a large dynamic range (about 40 dB between loud and soft talkers and syllables). Small amplitudes occur much more often than large ones (a Laplacian-like pdf).
- With uniform quantization, the quantization noise is fixed (), so weak signals have a poor SNR. Covering the whole range adequately would need about 12 bits per sample.
- Companding (compressing before uniform quantization and expanding after decoding) gives, in effect, non-uniform quantization: fine steps for small amplitudes, coarse steps for large ones. The SNR is then nearly constant over a wide range of input levels: about 38 dB over 40 dB of range with 8 bits, instead of 12.
- Standard telephone PCM (ITU-T G.711) therefore uses μ-law (μ = 255; North America, Japan) or A-law (A = 87.6; Europe, India) companding. The curves are implemented as 15 or 13 linear segments in the codec.
✓ Answer checked step by step Standard reasoning.
Explain a scheme for demodulation of PPM signals.
Solution
Demodulation of PPM
In PPM, the position (time shift) of each fixed-width pulse, relative to its unmodulated position (set by a clock), is proportional to the sample value. A PPM signal is demodulated by converting it to PWM, and then low-pass filtering.
Pulse regeneration: the received pulses are cleaned (amplified, clipped and shaped) to remove noise.
Synchronisation: reference pulses are recovered at the unmodulated pulse positions (the clock) using a synchronising circuit (or the separate sync pulses sent).
PPM to PWM conversion:
- each reference pulse sets an S–R flip-flop (output high);
- the PPM pulse resets it.
The flip-flop output is a pulse whose width equals the time between the reference and the PPM pulse, i.e. proportional to the sample value: a PWM signal.
Low-pass filtering / integration: the average value of a PWM wave varies with the width, so a low-pass filter recovers the message , apart from a dc term that a capacitor removes.
(Alternatively: the reference pulse starts a linear ramp, and the PPM pulse samples the ramp. This gives PAM directly, which is then low-pass filtered.)
✓ Answer checked step by step Standard description.
Why is companding used in PCM Systems? Describe any one companding law.
Solution
Why companding is used
- Speech (and many signals) have a wide dynamic range and a non-uniform amplitude distribution: small amplitudes are far more frequent.
- With a uniform quantizer the noise power is the same for all signal levels, so the SNR of weak signals is poor, while strong signals have more SNR than needed.
- Companding:
- compresses the signal with a logarithmic characteristic before uniform quantization, so that small signals are boosted and use more levels;
- expands after decoding, with the inverse characteristic.
The μ-law
(The sign of follows ; and are normalised to their maximum values.)
- For : . The characteristic is linear for small signals, with a high gain of (about 46 for μ = 255), a 33 dB boost.
- For : . It is logarithmic for large signals, so the SNR is constant.
- μ = 0 gives uniform quantization. μ = 255 is used in North America and Japan (8-bit PCM, implemented as 15 segments in ITU-T G.711).
- The expander applies the inverse:
(The A-law, with A = 87.6, used in Europe and India, is linear for and logarithmic above.)
✓ Answer checked step by step Standard description.
With the help of a block diagram, explain a Radio-telemetery transmitter using frequency-division multiplex with TDM for sub-communication.
Solution
Radio-telemetry transmitter (FDM with TDM sub-commutation)
In aerospace and missile telemetry, many measurements of very different bandwidths must be sent over one radio link. Wideband signals each get their own frequency channel (FDM). Many slowly varying signals share one channel by time multiplexing (TDM).
- Sensors and signal conditioning: transducers (temperature, pressure, strain, vibration) and amplifiers scale each signal to a standard range.
- Commutator (TDM): slowly varying signals (e.g. temperatures, sampled a few times per second) are sampled in sequence by a mechanical or electronic commutator, forming a PAM (or PCM) time-multiplexed signal. Synchronising pulses mark the frame. Sub-commutation (a second, slower commutator feeding one segment of the main commutator) handles very slow channels.
- Subcarrier oscillators (SCOs): each wideband signal, and the TDM signal, frequency-modulates its own voltage-controlled subcarrier oscillator, on standard IRIG subcarrier frequencies (400 Hz to tens of kHz), with set deviation (±7.5% or ±15%).
- Mixing (FDM): the outputs of all SCOs are summed through band-pass filters, forming a composite frequency-division multiplexed baseband.
- RF transmitter: the composite signal frequency- (or phase-) modulates the RF carrier (FM/FM system). It is amplified and radiated by the antenna.
At the ground station: an RF receiver, then band-pass filters and discriminators for each subcarrier. A decommutator, synchronised by the frame pulses, separates the TDM channels.
✓ Answer checked step by step Standard description.
More on Digital Communication
- All Electrical Engineering PYQ solutions, topic by topic
- Digital Communication topic-wise PYQs (questions only, for practice)
- Electrical Engineering PYQ analysis: which units carry the marks year by year
- Year-wise question papers
- Electrical Engineering booklist
Questions: UPSC Civil Services (Main) Examination, Electrical Engineering Paper II, 1995–2026. Solutions: Optional Province. Found an error? Tell us.

