Menu Close

Pulse modulation: UPSC Electrical Engineering Optional PYQ Solutions (1995–2026)

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

Cover of the UPSC Prelims Topic-wise PYQ book with detailed explanations

From the Optional Province team

Preparing for Prelims too?

Our UPSC Prelims Topic-wise PYQ Book covers every Prelims question with detailed explanations, so you can see exactly where UPSC asks from. Now available as a hard copy and an eBook.

Buy Hard Copy on AmazonBuy eBook (PDF)

Download a free sample

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).

2026 · Paper II · Q5e · 10 marks

Solution

Sampling rate

fs=3×(2×3kHz)=18kHz,Δ=0.25V

(i) Maximum amplitude without slope overload

The staircase can rise by at most Δ per sampling interval, i.e. at a slope Δfs. The maximum slope of Asin2πfmt is 2πfmA. So we need

2πfmA≤Δfs⇒Amax=Δfs2πfm=0.25×180002π×1000=0.716V

(ii) Output SNR after the low-pass filter

The granular noise is uniformly distributed in (−Δ,Δ), so its power is Δ2/3, spread uniformly over 0–fs. The filter (bandwidth W = 3 kHz) passes the fraction W/fs:

Nq=Δ23⋅Wfs

The signal power is

S=Amax22=Δ2fs28π2fm2

SNR=3fs38π2fm2W=3×(18000)38π2×(1000)2×3000=73.9⇒18.7dB

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.

↑ Back to the question list

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.

2025 · Paper II · Q6b · 20 marks

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

Tframe=18000=125μs,time per pulse slot=12525=5μs

Spacing between successive pulses=5−1=4μs

(ii) Nyquist-rate sampling (fs=2×3.4=6.8 kHz)

Tframe=16800=147.1μs,slot=147.125=5.88μs

Spacing=5.88−1=4.88μs

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.

↑ Back to the question list

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.

2025 · Paper II · Q7b(i) · 10 marks

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

10101110Polar NRZBipolar NRZ (AMI)Differential ManchesterPolar RZDifferential Manchester: transition at every mid-bit; extra transition at the bit start for a 0 (initial level assumed high)
  1. Polar NRZ: +V for 1, −V for 0, held for the full bit.
  2. 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.
  3. 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.)
  4. 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.

↑ Back to the question list

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?

2025 · Paper II · Q7b(ii) · 10 marks

Solution

Bits per sample

4096=212⇒n=12

1. Maximum sinusoidal signal (full-load)

SNR=1.76+6.02n=1.76+72.24=74.0dB

2. Smallest signal (40 dB below the maximum)

The quantization noise is fixed, so the SNR falls by the same 40 dB:

SNRmin=74.0−40=34.0dB

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:

SNRmin=34+10=44dB

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.

↑ Back to the question list

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.

2024 · Paper II · Q6c · 10 marks

Solution

Sampling rate

The message is a sinusoid of frequency fm. Its Nyquist rate is 2fm, so

fs=10×2fm=20fm

Slope-overload condition

2πfmA≤Δfs=Δ×20fm

Amax=20Δ2π=20×0.252π=0.796V

Answer: about 0.80 V. The result is independent of the message frequency, because fs scales with it.

✓ Checked by computer We computed the maximum amplitude.

↑ Back to the question list

A 2Vpp 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.

2024 · Paper II · Q7b(ii) · 10 marks

Solution

Step size

The dynamic range is 2 V (peak to peak). The maximum quantization error is Δ/2, which must not exceed 1% of 2 V, i.e. 0.02 V:

Δ2≤0.02⇒Δ≤0.04V⇒L=2Δ≥50

Bits per sample

2n≥50⇒n=6(64levels)

Minimum sampling rate

fs=2×8kHz=16kHz

Bit rate

Rb=nfs=6×16000=96kb/s

Answer: n = 6, fs = 16 kHz, bit rate = 96 kb/s.

✓ Checked by computer We computed the number of bits, the sampling rate and the bit rate.

↑ Back to the question list

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.

2023 · Paper II · Q1c · 10 marks

Solution

Minimum sampling rate

fs,min=2×15=30kHz

Actual sampling rate (20% higher)

fs=1.2×30=36kHz

Bits per sample

1024=210⇒n=10

Bit rate

Rb=10×36000=360kb/s

Answer: 30 kHz minimum sampling rate; 360 kb/s.

✓ Checked by computer We computed the rates.

↑ Back to the question list

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.

2023 · Paper II · Q2c · 10 marks

Solution

Sampling rate

fs=10×(2×4kHz)=80kHz,Δ=0.1V

Maximum amplitude without slope overload (test signal 1 kHz)

Amax=Δfs2πfm=0.1×800002π×1000=1.27V

Maximum power (in a 1 Ω load)

Pmax=Amax22=1.27322=0.81W

Answer: 1.27 V; 0.81 W (normalised to 1 Ω).

✓ Checked by computer We computed the maximum amplitude and power in Python.

↑ Back to the question list

Show that, with a non-uniform quantizer, the mean square value of the quantization error is approximately equal to 112∑iΔi2pi, where Δi is the ith step size and pi is the probability that the input signal amplitude lies within the ith interval. Assume that the step size Δi is small compared with the excursion of the input signal.

2022 · Paper II · Q5d · 10 marks

Solution

Setting

Let the quantizer have intervals Ii of width Δi, each with representation level yi at its midpoint. The input x has pdf fX(x). The quantization error is q=x−yi when x∈Ii.

Mean-square error

q2=∑i∫Ii(x−yi)2fX(x)dx

Small-step assumption

When Δi is small compared with the excursion of the signal, fX(x) is nearly constant over each interval:

fX(x)≈piΔifor x∈Ii

where pi=P(x∈Ii) is the probability that the input lies in the i-th interval.

Then

q2≈∑ipiΔi∫−Δi/2Δi/2u2du=∑ipiΔi⋅Δi312

q2≈112∑iΔi2pi

For a uniform quantizer (Δi=Δ), this reduces to Δ2/12, since ∑pi=1. With non-uniform quantization, small steps where pi 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.

↑ Back to the question list

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.

2021 · Paper II · Q1e · 10 marks

Solution

Optimum single-tap predictor

The prediction is x̂[n]=ax[n−1]. The prediction error variance is

σe2=E[(x[n]−ax[n−1])2]=σx2(1−2aρ1+a2)

where ρ1=Rx(Ts)/Rx(0)=0.75.

Minimising with respect to a:

dσe2da=0⇒aopt=ρ1=0.75

σe,min2=σx2(1−ρ12)=σx2(1−0.5625)=0.4375σx2

Processing (prediction) gain

Gp=σx2σe2=11−ρ12=10.4375=2.29⇒3.59dB

Answer: processing gain ≈ 2.29 (3.6 dB).

✓ Checked by computer We computed the optimum coefficient and the gain.

↑ Back to the question list

In a binary PCM system, if the quantizing noise amplitude Nq 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 n≥log210[log10(50P)]=3.32log10(50P)

2019 · Paper II · Q1a(i) · 5 marks

Solution

Setting

Let the peak-to-peak analog level be Vpp. With n bits there are M=2n levels, so the step size is

Δ=Vpp2n

Maximum quantizing error

|Nq|max=Δ2=Vpp2n+1

Requirement

This must not exceed P% of Vpp:

Vpp2n+1≤P100Vpp⇒2n+1≥100P⇒2n≥50P

Taking logarithms:

n≥log250P=log210⋅log1050P

n≥3.32log10(50P)

Example: P = 0.1% gives n≥3.32log10500=8.96, so n=9. ∎

✓ Proof checked step by step We showed the result step by step.

↑ Back to the question list

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?

2019 · Paper II · Q1a(ii) · 5 marks

Solution

Bits per sample

For a uniform quantizer with M levels, the average SNR is about M2 (for a signal using the full range uniformly), i.e. 6.02n dB. For at least 40 dB:

M2≥104⇒M≥100⇒n=7(M=128)

Data rate

R=7×8000=56kb/s=7000bytes/s

Recording time on a 700 MB CD (MB = 106 bytes)

t=700×1067000=1.0×105s=1667min

That is about 27.8 hours.

Answer: about 1667 minutes. (With 1 MB = 220 bytes, about 1748 minutes.)

✓ Checked by computer We computed the bits per sample and the storage time in Python.

↑ Back to the question list

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.

2019 · Paper II · Q3a(i) · 6 marks

Solution

Differential encoder and decoder

EncoderdkXNORekdelay Tek−1Decoderekdelay TXNORdk
  • Encoder: each transmitted bit is

ek=dk⊕ek−1

(XNOR). A data 1 leaves the encoded level unchanged, and a 0 changes it.

  • Decoder:

d̂k=ek⊕ek−1

The decoder compares each received bit with the previous one.

Encoding 101100011001 (reference e0 = 1)

k 0 1 2 3 4 5 6 7 8 9 10 11 12
data dk – 1 0 1 1 0 0 0 1 1 0 0 1
encoded ek 1 1 0 0 0 1 0 1 1 1 0 1 1
decoded d̂k – 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, ek and ek−1. There is no feedback in the decoder.
  • A single error in ek therefore affects only d̂k and d̂k+1 (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 ek⊕ek−1=ek⊕ek−1. 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).

↑ Back to the question list

Consider a continuous input signal whose amplitude m lies in the range (−mmax,+mmax). This is applied to a uniform quantizer of mid-rise type where the step size is given by Δ=2⋅mmaxL, where L denotes the number of representation levels. Let σQ2 represent the variance of the quantization error and R represent the number of bits per sample. Show that σQ2=Δ212. Using this result, show that σQ2=13mmax2⋅2−2R and that the output signal to noise ratio of a uniform quantizer is (SNR)o=(3Pmmax2)⋅2−2R

2019 · Paper II · Q3a(ii) · 8 marks

Solution

Quantization noise variance

For a mid-rise uniform quantizer with L levels over (−mmax,mmax):

Δ=2mmaxL

When the step is small, the error Q is uniformly distributed over (−Δ/2,Δ/2), with fQ(q)=1/Δ. Its mean is 0, and

σQ2=∫−Δ/2Δ/2q21Δdq=1Δ⋅q33|−Δ/2Δ/2=Δ212

In terms of the bits per sample

With R bits per sample, L=2R:

Δ=2mmax2R

σQ2=112⋅4mmax222R=13mmax22−2R

Output SNR

With P the average power of the message:

(SNR)o=PσQ2=(3Pmmax2)22R

(The printed 2−2R should read 2+2R: the SNR rises by about 6 dB per extra bit.)

Example: for a full-load sinusoid, P=mmax2/2, so SNR=1.5×22R, i.e. 1.76+6.02R dB. ∎

✓ Proof checked step by step We derived the three results step by step.

↑ Back to the question list

Consider a sine wave of frequency fm and amplitude Am, that is applied to a delta modulator of step size Δ. Derive the condition which, if satisfied, leads to the occurrence of slope overload error.

2019 · Paper II · Q3a(iii) · 6 marks

Solution

Delta modulator

The DM staircase approximation mq(t) changes by ±Δ every sampling period Ts. Its largest possible slope is

ΔTs=Δfs

Input

m(t)=Amsin2πfmt

has slope

dmdt=2πfmAmcos2πfmt

with maximum value 2πfmAm (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

max|dmdt|>ΔTs⇔2πfmAm>ΔTs

That is,

Am>Δ2πfmTs

slope overload (staircase lags the steep part)granular noise(hunting about a flat input)t

To avoid it, Δ or fs 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.

↑ Back to the question list

A signal having probability density function f(x)={ke−|x|;−4<x<40;elsewhere is quantized with four quantization levels.

(i) Determine the value of k.

(ii) Determine step size s.

(iii) Determine the four quantization levels.

2018 · Paper II · Q1a(i) · 6 marks · also asked 2018 (Q1a(ii)), 2018 (Q1a(iii))

Solution

(i) The constant k

∫−44ke−|x|dx=2k∫04e−xdx=2k(1−e−4)=1

k=12(1−e−4)=0.509

(ii) Step size (uniform quantizer over the range −4 to 4, four levels)

s=4−(−4)4=2

(iii) Quantization levels

The intervals are (−4, −2), (−2, 0), (0, 2) and (2, 4). With mid-point representation levels:

{−3,−1,+1,+3}

(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.

↑ Back to the question list

Design a PCM system that multiplexes three signals m1, m2 and m3 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?

2018 · Paper II · Q3a(i) · 6 marks · also asked 2018 (Q3a(ii)), 2018 (Q3a(iii)), 2018 (Q3a(iv))

Solution

(i) Block diagram

m₁LPFm₂LPF⋮mNLPFcommutator (fs)channel(PAM / PCM)decommutator (synchronised)LPFm₁LPFm₂LPFmN
  • m2 (10 kHz) is sampled at 20 kHz, twice as often as m1 and m3 (10 kHz each).
  • A commutator with 4 segments, m1,m2,m3,m2, 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:

10+20+10=40k samples/s

Rb=40000×8=320kb/s

Tb=1320×103=3.125μs

(iii) Channel bandwidth (Nyquist minimum)

B=Rb2=160kHz

(About 320 kHz for rectangular pulses, first null.)

(iv) Commutator speed

Each revolution must take one sample of m1 and of m3 at 10 kHz, and two of m2:

speed=10000rev/s

✓ Checked by computer We computed the rates and bandwidth.

↑ Back to the question list

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 x(t)=sin(2000πt) 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.

2017 · Paper II · Q1b · 10 marks

Solution

Sampling rate

fs=5×(2×5000)=50kHz

(i) Minimum step size

The signal x(t)=sin(2000πt) has A=1 and fm=1 kHz. For no slope overload:

Δ≥2πfmAfs=2π×1000×150000=0.126V

(ii) Maximum SNR (with Δ at this value and a reconstruction filter of bandwidth W = 5 kHz)

SNR=3fs38π2fm2W=3×(5×104)38π2×106×5000=950⇒29.8dB

Answer: (i) Δ = 0.126 V; (ii) SNR ≈ 950 (29.8 dB).

✓ Checked by computer We computed the step size and SNR in Python.

↑ Back to the question list

What do you mean by aliasing? How can aliasing be removed? State and explain Shannon’s sampling theorem.

2016 · Paper II · Q1d · 10 marks

Solution

Aliasing

When a signal is sampled at a rate fs, its spectrum is repeated at multiples of fs. If fs<2W (where W 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.

−fs0fsfs > 2W: replicas separatefs < 2W: overlap (aliasing)f

Removing (preventing) aliasing

  1. Use an anti-aliasing low-pass filter before the sampler, to band-limit the signal to W.
  2. Sample at a rate higher than the Nyquist rate, fs>2W, 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 W Hz, i.e. with no frequency components above W, is completely described by its samples taken at uniform intervals of Ts≤1/(2W) seconds, i.e. at a rate fs≥2W (the Nyquist rate). It can be exactly recovered from the samples by an ideal low-pass filter of bandwidth W.

Explanation:

  • Ideal sampling multiplies x(t) by an impulse train. The spectrum of the sampled signal is

Xs(f)=fs∑nX(f−nfs)

  • If fs≥2W, the replicas do not overlap, and an ideal low-pass filter (cut-off between W and fs−W) recovers X(f).
  • In time, the reconstruction is

x(t)=∑nx(nTs)sinc(2W(t−nTs))

(interpolation by sinc functions).

✓ Answer checked step by step Standard explanation.

↑ Back to the question list

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.

2016 · Paper II · Q4c(ii) · 10 marks

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.
Modulatorm(t)Σ+−one-bit quantizersgn( )samplerfsDM bitsto channelaccumulator(delay + Σ)m̂(t)Demodulatorreceivedbitsaccumulator(integrator)low-passfilteroutput

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 n (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 (staircase lags the steep part)granular noise(hunting about a flat input)t
  • Slope overload occurs when the input slope exceeds Δfs. A larger Δ reduces slope overload.
  • Granular noise is the hunting of ±Δ about a slowly varying or constant input. Its power (Δ2/3 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.

↑ Back to the question list

(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 x(t)=5cos(2000)πtcos(5000)πt is sampled. Calculate the minimum sampling rate that will be needed to recover the signal back from its samples.

2016 · Paper II · Q5e · 10 marks

Solution

(i) Displacement range of the accelerometer

For sinusoidal motion at frequency f = 10 Hz, displacement and acceleration are related by a=ω2x. So

xmax=amaxω2=100(2π×10)2=1003948=0.0253m

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 fmax must be sampled at a rate

fs≥2fmax

(the Nyquist rate) to be recovered without aliasing. The minimum interval 1/(2fmax) is the Nyquist interval.

2. Minimum sampling rate

x(t)=5cos2000πtcos5000πt=2.5[cos7000πt+cos3000πt]

The components are at 1.5 kHz and 3.5 kHz. The highest is 3.5 kHz, so

fs,min=2×3.5=7kHz

✓ Checked by computer We computed the displacement range and the Nyquist rate.

↑ Back to the question list

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 Ts affect the performance-noise and accuracy/data rate?

2015 · Paper II · Q6c · 10 marks

Solution

PCM and DM

PCM DM
Bits per sample n (e.g. 8) 1
Sampling rate Just above the Nyquist rate Several times the Nyquist rate
Coding The sample’s absolute value, to 2n 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 (Δ2/12) 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 fs.
  • 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 Ts (sampling interval)

slope overload (staircase lags the steep part)granular noise(hunting about a flat input)t
  • Step size δ:
    • large δ: less slope overload, but more granular noise;
    • small δ: less granular noise, but more slope overload.
  • Sampling interval Ts:
    • smaller Ts (higher fs) allows the staircase to follow faster signals (the slope limit is δ/Ts);
    • it also spreads the granular noise over a wider band, so less of it falls within the message band (in-band noise ∝ 1/fs);
    • SNR ∝fs3 (about 9 dB per doubling of fs), but the data rate =fs rises.

Accuracy is thus bought with data rate.

✓ Answer checked step by step Standard comparison.

↑ Back to the question list

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.

2014 · Paper II · Q4c · 20 marks

Solution

Derivation

  • A full-load sinusoid of amplitude Am covers the range 2Am with L levels, so

Δ=2AmL

  • Signal power:

S=Am22

  • Quantization noise power (uniform error over a step):

Nq=Δ212=Am23L2

SNq=Am2/2Am2/(3L2)=32L2

(SN)dB=1.76+20log10L=1.76+6.02n(L=2n)

Requirement: 55.8 dB

1.5L2≥105.58=3.80×105⇒L≥503.4

For binary coding, L=2n:

6.02n≥55.8−1.76=54.04⇒n≥8.98⇒n=9

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.

↑ Back to the question list

Derive an expression for the Bandwidth of ‘P.C.M.’ system.

2014 · Paper II · Q5b · 10 marks

Solution

PCM bandwidth

  • Message bandwidth W; sampling rate fs≥2W.
  • Each sample is coded with n bits (L=2n levels).
  • Bit rate: Rb=nfs bits/s, so the bit duration is

Tb=1nfs

  • A binary pulse train of rate Rb can be transmitted without ISI over a channel of minimum (Nyquist) bandwidth Rb/2, using ideal sinc pulses. Pulses with a raised-cosine spectrum of roll-off α need (1+α)Rb/2.

Minimum transmission bandwidth

BT≥Rb2=nfs2

With Nyquist-rate sampling (fs=2W):

BT≥nW

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 Rb=nfs.)

✓ Derivation checked step by step We derived the bandwidth step by step.

↑ Back to the question list

A channel with bit rate, Rb=36 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 (fs), assuming fm=3.2 kHz.

2014 · Paper II · Q5c · 10 marks

Solution

Conditions

Rb=nfs≤36kb/s,fs≥2fm=6.4kHz

Maximum bits per sample

n≤360006400=5.625⇒n=5

Levels

M=25=32

Sampling rate (using the full channel)

fs=360005=7.2kHz(>6.4kHz, leaving a guard band)

Answer: N = 5 bits, M = 32 levels, fs = 7.2 kHz.

✓ Checked by computer We chose n, M and fs to fit the channel.

↑ Back to the question list

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.

2014 · Paper II · Q7c · 10 marks

Solution

Maximum signal without slope overload

For a sinusoid Asin2πfmt and a DM of step Δ and rate fs, there is no slope overload if 2πfmA≤Δfs. So the largest permissible amplitude is

Amax=Δfs2πfm

Smax=Amax22=Δ2fs28π2fm2

Granular noise

Without overload, the error lies in (−Δ,Δ). It is assumed uniformly distributed, with power

∫−ΔΔq22Δdq=Δ23

This power is spread uniformly from 0 to fs. The reconstruction filter of bandwidth W passes

Nq=Δ23⋅Wfs

Maximum output SNR

SNRmax=SmaxNq=38π2⋅fs3fm2W

So the SNR rises as fs3: 9 dB for each doubling of the sampling rate. (With fm=W: SNR=0.038(fs/W)3.)

✓ Derivation checked step by step We derived the maximum SNR step by step.

↑ Back to the question list

How is DPCM better than PCM? With the help of illustrations, show how DPCM signals are generated and decoded.

2013 · Paper II · Q6c(i) · 10 marks

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

Gp=σx2σe2

typically 6–10 dB for speech.

Generation (transmitter)

Transmitterm[n]Σ−e[n]quantizerencoderDPCM outΣpredictorm̂[n]mq[n] = m̂[n] + eq[n]Receiver: decoder → Σ (adds the same predictor output) → reconstructed samples → low-pass filter
  1. The input sample m[n] is compared with the prediction m̂[n]. The prediction error is

e[n]=m[n]−m̂[n]

  1. e[n] is quantized to eq[n] and encoded (n bits).
  2. The predictor input is the reconstructed sample

mq[n]=m̂[n]+eq[n]

so the transmitter predicts from exactly what the receiver will have. This prevents quantization errors accumulating.

  1. The predictor is a linear (FIR) predictor:

m̂[n]=∑kakmq[n−k]

Decoding (receiver)

  1. The decoder recovers eq[n].
  2. It adds the output of an identical predictor, m̂[n], to give mq[n]=m̂[n]+eq[n].
  3. 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 e[n].

✓ Answer checked step by step Standard explanation.

↑ Back to the question list

Cover of the UPSC Mains Topic-wise and Year-wise PYQs book (2013–2026)

From the Optional Province team

Strengthen your GS papers

Our UPSC Mains Topic-wise & Year-wise PYQ Book (2013–2026) maps every GS question to the syllabus, so you know what UPSC asks and how often. Now available as a hard copy and an eBook.

Buy Hard Copy on AmazonBuy eBook (PDF)

Download a free sample

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 X={x1,x2,⋯,x8} and the corresponding probability vector P={0.2,0.12,0.06,0.15,0.07,0.1,0.13,0.17} Design a Huffman code for this source; find L‾, the average codeword length for the Huffman code; and determine the efficiency of the code.

2012 · Paper II · Q1f(i) · 5 marks · also asked 2012 (Q1f(ii))

Solution

(i) PCM system

Sampling rate:

fs=Rbn=100×1068=12.5MHz

Maximum message bandwidth (Nyquist):

Wmax=fs2=6.25MHz

SQNR for a full-load sinusoid:

1.76+6.02×8=49.9dB

(The 1 MHz frequency is within the limit and does not affect the SQNR.)

(ii) Huffman code

Repeatedly combine the two least probable entries:

  1. 0.06+0.07=0.13
  2. 0.10+0.12=0.22
  3. 0.13+0.13=0.26
  4. 0.15+0.17=0.32
  5. 0.20+0.22=0.42
  6. 0.26+0.32=0.58
  7. 0.42+0.58=1

Codewords (assigning 0 and 1 at each branch):

Symbol x1 x2 x3 x4 x5 x6 x7 x8
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

L‾=∑pili=0.2(2)+(0.12+0.15+0.10+0.13+0.17)(3)+(0.06+0.07)(4)

=0.40+2.01+0.52=2.93bits/symbol

Entropy

H=−∑pilog2pi=2.904bits/symbol

Efficiency

η=HL‾=2.9042.93=99.1%

✓ Checked by computer We computed the bandwidth and SNR, and built the Huffman code in Python.

↑ Back to the question list

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 N02=10−9 W/Hz

(iii) Explain cyclic codes.

2012 · Paper II · Q8b(i) · 8 marks · also asked 2012 (Q8b(ii)), 2012 (Q8b(iii))

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.
Modulatorm(t)Σ+−one-bit quantizersgn( )samplerfsDM bitsto channelaccumulator(delay + Σ)m̂(t)Demodulatorreceivedbitsaccumulator(integrator)low-passfilteroutput

(ii) Capacity of the AWGN channel

N=N0B=2×10−9×106=2×10−3W,SN=102×10−3=5000

C=Blog2(1+SN)=106log2(5001)=12.3Mb/s

(iii) Cyclic codes

  • A cyclic code is a linear block code in which every cyclic shift of a codeword is also a codeword.
  • Codewords (c0,c1,…,cn−1) are represented as polynomials c(x)=c0+c1x+…+cn−1xn−1. Every codeword is a multiple of a generator polynomial g(x) of degree n−k, which divides xn+1.
  • Encoding:
    • non-systematic: c(x)=m(x)g(x);
    • systematic: append the remainder of xn−km(x) divided by g(x) as parity bits.
  • Decoding: divide the received polynomial by g(x). 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 g=1+x+x3;
    • CRC codes, used for error detection in data networks;
    • BCH and Reed–Solomon codes.
  • They detect burst errors of length up to n−k.

✓ Checked by computer We computed the channel capacity in Python.

↑ Back to the question list

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?

2011 · Paper II · Q4c(i) · 8 marks · also asked 2011 (Q4c(ii))

Solution

(i) Theoretical bandwidth for a digital signal

  • By Nyquist’s criterion, a channel of bandwidth B can carry up to 2B independent pulses (symbols) per second without ISI, using ideal sinc pulses. So the minimum (theoretical) bandwidth for a symbol rate Rs is

Bmin=Rs2

  • For binary signalling, Rs=Rb, so B=Rb/2. With M-ary signalling, Rs=Rb/log2M, so

B=Rb2log2M

  • Justification: the ideal low-pass channel of bandwidth B has impulse response sinc(2Bt), with zeros every 1/(2B). Pulses spaced 1/(2B) apart therefore do not interfere at the sampling instants.
  • Practical pulses (raised cosine, roll-off α) need B=(1+α)Rs/2. Rectangular NRZ pulses need about Rb (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.
    It is a quick, visual assessment of a digital link.

✓ Answer checked step by step Standard explanation.

↑ Back to the question list

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.

2011 · Paper II · Q5c(i) · 5 marks · also asked 2011 (Q5c(ii)), 2011 (Q5c(iii)), 2011 (Q5c(iv))

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:

    1. equalises and amplifies the pulses;
    2. re-times them using a recovered clock;
    3. decides whether each pulse is a 1 or a 0 (comparator);
    4. 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

Transmittermessagem(t)low-passfiltersampler(fs ≥ 2W)quantizer(L levels)encoder(n bits)PCMoutputChannel and receiverchannel +repeatersregenerator(decision)decoder(D/A)reconstructionlow-pass filteroutputm̂(t)
  1. The regenerator recovers the bit stream.
  2. The decoder (serial-to-parallel conversion, then D/A) converts each n-bit word into the corresponding quantized amplitude, as a train of PAM pulses (sample-and-hold, giving a staircase).
  3. The reconstruction low-pass filter (cut-off W) 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 (c=mG) and checked with a parity-check matrix (syndrome s=rHT). 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.

↑ Back to the question list

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?

2011 · Paper II · Q6c(i) · 12 marks · also asked 2011 (Q6c(ii))

Solution

(i) PCM design

(1) Sampling rate: bandwidth 100 Hz, so the minimum (Nyquist) sampling rate is

fs=2×100=200samples/s

(2) Bits per word: the accuracy is ±0.1% of full scale. With full scale 20 V, the maximum error is Δ/2≤0.02 V, so Δ≤0.04 V and

L≥200.04=500

Equivalently,

n≥3.32log10(500.1)=8.96

So n = 9 bits (512 levels).

(3) Bit rate:

Rb=9×200=1800b/s

(4) Minimum absolute channel bandwidth:

B=Rb2=900Hz

(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.

↑ Back to the question list

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?

2010 · Paper II · Q4c · 20 marks

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

Modulatorm(t)Σ+−one-bit quantizersgn( )samplerfsDM bitsto channelaccumulator(delay + Σ)m̂(t)Demodulatorreceivedbitsaccumulator(integrator)low-passfilteroutput

Threshold and overloading effects

slope overload (staircase lags the steep part)granular noise(hunting about a flat input)t
  • 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 Δfs (for a sinusoid, 2πfmA>Δfs), the staircase cannot keep up. The error becomes large and the output lags the input.

Reducing slope-overload noise

  1. Increase the sampling rate fs (oversampling).
  2. Increase the step size Δ (at the cost of more granular noise).
  3. 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).
  4. Pre-filtering (integrating) the input: delta–sigma modulation codes the integral of the signal, reducing its slope requirements.
  5. Limiting the high-frequency content of the input by low-pass filtering, or using pre-emphasis carefully.

✓ Answer checked step by step Standard explanation.

↑ Back to the question list

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.

2010 · Paper II · Q5c · 20 marks

Solution

Conversion of an analog signal into PCM

Transmittermessagem(t)low-passfiltersampler(fs ≥ 2W)quantizer(L levels)encoder(n bits)PCMoutputChannel and receiverchannel +repeatersregenerator(decision)decoder(D/A)reconstructionlow-pass filteroutputm̂(t)
  1. Band-limiting: a low-pass (anti-aliasing) filter restricts the signal to W Hz.
  2. Sampling: the signal is sampled at fs≥2W (e.g. 8 kHz for speech), giving PAM samples (sample-and-hold).
  3. Quantization: each sample is rounded to the nearest of L=2n discrete levels, which introduces quantization noise.
  4. Encoding: each level is represented by an n-bit binary code word (e.g. 8 bits for telephony).
  5. 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.
0.510.51μ = 255μ = 5μ = 0 (uniform)|x|/xmax|y|/ymax

Model of the process

message → compressor c(x) → uniform quantizer and encoder → channel → decoder → expander c−1(y) → output

  • μ-law (North America, Japan; μ = 255):

|y|=ln(1+μ|x|)ln(1+μ)

  • A-law (Europe, India; A = 87.6):

|y|=A|x|1+lnA(0≤|x|≤1/A),|y|=1+ln(A|x|)1+lnA(1/A≤|x|≤1)

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.

↑ Back to the question list

(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 −3.8 V to +3.8 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.

2009 · Paper II · Q4b · 20 marks

Solution

(i) PCM transmitter and receiver

Transmittermessagem(t)low-passfiltersampler(fs ≥ 2W)quantizer(L levels)encoder(n bits)PCMoutputChannel and receiverchannel +repeatersregenerator(decision)decoder(D/A)reconstructionlow-pass filteroutputm̂(t)

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:

−2Δ2ΔΔ/23Δ/2mid-riseinputoutput
Mid-rise: a step (riser) at zero input; levels at ±Δ/2, ±3Δ/2, …
−2Δ2ΔΔ2Δmid-treadinputoutput
Mid-tread: a flat tread at zero; levels at 0, ±Δ, ±2Δ, …
  • 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 n bits:

Δ=7.62n,Nq=Δ212

SNR=PNq=0.03×12×22n7.62≥100(20dB)

22n≥100×57.760.36=16044⇒n≥6.98

So n = 7 bits. Check:

  • n = 7: SNR = 102 (20.1 dB) ✓
  • n = 6: SNR = 25.5 (14.1 dB) ✗

✓ Checked by computer We computed the bits per sample in Python.

↑ Back to the question list

(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 fm and amplitude Am is applied to a delta modulator of step size Δ. Show that the slope overload distortion will occur if: Am>Δ2πfmTs where Ts is sampling period. What is the maximum power that may be transmitted without slope overload distortion?

2009 · Paper II · Q5c · 20 marks

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 (staircase lags the steep part)granular noise(hunting about a flat input)t
  • 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 fs;
  • 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 Δ/Ts. The input m(t)=Amsin2πfmt has maximum slope 2πfmAm (at the zero crossings). The staircase cannot follow the input, i.e. slope overload occurs, if

2πfmAm>ΔTs⇔Am>Δ2πfmTs

Maximum power without slope overload

The largest allowed amplitude is Amax=Δ/(2πfmTs), so

Pmax=Amax22=Δ28π2fm2Ts2=Δ2fs28π2fm2

(normalised to 1 Ω).

✓ Derivation checked step by step We derived the slope-overload condition and the maximum power step by step.

↑ Back to the question list

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.

2006 · Paper II · Q6b · 20 marks

Solution

Frame contents

774 voice samples × 8 bits + 36 control bytes × 8 bits:

(774+36)×8=6480bits/frame

(i) Frame duration

Each voice channel contributes one sample per frame at 8000 samples/s, so

Tframe=18000=125μs

(ii) Bit rate

R=6480125×10−6=51.84Mb/s

(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

10−6×6480=6.48×10−3bits

One extra byte (8 bits) accumulates after

86.48×10−3=1235frames

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.

↑ Back to the question list

Describe the basic elements of a PCM system.

2005 · Paper II · Q6b · 20 marks

Solution

Basic elements of a PCM system

Transmittermessagem(t)low-passfiltersampler(fs ≥ 2W)quantizer(L levels)encoder(n bits)PCMoutputChannel and receiverchannel +repeatersregenerator(decision)decoder(D/A)reconstructionlow-pass filteroutputm̂(t)

Transmitter

  1. Low-pass (anti-aliasing) filter: band-limits the message to W (e.g. 3.4 kHz for speech).
  2. Sampler: samples at fs≥2W (8 kHz), giving PAM; a sample-and-hold keeps each value steady for conversion.
  3. Quantizer: rounds each sample to one of L=2n levels. It is uniform, or non-uniform with companding (μ-law or A-law) for speech.
  4. Encoder: converts each level to an n-bit binary code word (e.g. 8 bits, so 64 kb/s per channel).
  5. 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

  1. Regeneration circuit: decision device with clock recovery.
  2. Decoder (D/A converter): converts code words back to quantized PAM samples (plus an expander, if companding is used).
  3. Reconstruction low-pass filter: recovers the analog signal from the samples.
  4. Synchronisation: bit, word and frame timing are recovered at the receiver.

✓ Answer checked step by step Standard description.

↑ Back to the question list

Bring cut the concept of TDM with a block schematic.

2005 · Paper II · Q7b · 20 marks

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

m₁LPFm₂LPF⋮mNLPFcommutator (fs)channel(PAM / PCM)decommutator (synchronised)LPFm₁LPFm₂LPFmN
  1. Low-pass filters band-limit each of the N messages to W.
  2. A commutator (electronic switch) samples each message in turn, at fs≥2W per message. One revolution is one frame of duration Ts=1/fs, with N slots of Ts/N each.
  3. The interleaved PAM pulses are sent directly, or quantized and encoded (PCM-TDM). A synchronising (framing) pulse or word is added.
  4. 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

R=N×n×fs(+framing)

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.

↑ Back to the question list

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.

2005 · Paper II · Q7c · 20 marks

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 n≤40000/6800=5.9, so n=5;
    • using the full channel, fs=40000/5 = 8 kHz, which leaves a guard band of 1.2 kHz above the Nyquist rate (practical anti-aliasing filter).
  • Quantization: n = 5 bits gives L = 32 levels. SQNR for a full-load sinusoid: 1.76+6.02×5≈31.9 dB. Companding (μ- or A-law) keeps the SNR more uniform over the speech range.
  • Bit rate: 5×8000=40 kb/s, matching the channel.
  • Bandwidth: minimum Rb/2 = 20 kHz (Nyquist pulses).

Block diagram

Transmittermessagem(t)low-passfiltersampler(fs ≥ 2W)quantizer(L levels)encoder(n bits)PCMoutputChannel and receiverchannel +repeatersregenerator(decision)decoder(D/A)reconstructionlow-pass filteroutputm̂(t)
  • Transmitter:
    1. band-pass or low-pass filter (300–3400 Hz);
    2. sample-and-hold at 8 kHz;
    3. compressor;
    4. 5-bit quantizer and encoder;
    5. parallel-to-serial converter and line coder, giving 40 kb/s.
  • Receiver:
    1. regenerator;
    2. serial-to-parallel converter and 5-bit decoder (D/A);
    3. expander;
    4. 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.

↑ Back to the question list

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.

2004 · Paper II · Q200w/1d · 20 marks

Solution

The statement is correct.

Justification

Advantages of digital transmission:

  1. Noise immunity and regeneration: repeaters regenerate clean pulses, so noise does not accumulate. Long-haul quality is independent of distance.
  2. Error control: coding detects and corrects errors.
  3. Multiplexing and switching: easy TDM, and digital switching; voice, data and video are integrated (ISDN, IP networks).
  4. Security: easy encryption.
  5. Processing and storage: easy compression and signal processing; signals are stored without degradation.
  6. Cheap, reliable VLSI hardware; flexible system design.
  7. Exchange of bandwidth for SNR: PCM, efficient modulation and coding.

Disadvantages:

  1. 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.
  2. Need for synchronisation (bit, frame).
  3. Quantization noise, and A/D and D/A conversion.
  4. 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.

↑ Back to the question list

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.

2003 · Paper II · Q200w/5d · 20 marks

Solution

The statement is correct.

Justification

  • A message of bandwidth W is sampled at fs≥2W. Each sample is coded into n bits, so the bit rate is

Rb=nfs≥2nW

  • The minimum (Nyquist) transmission bandwidth is Rb/2, so

BT≥nW

For rectangular pulses it is about Rb=2nW.

  • Example: telephone speech, W = 3.4 kHz, fs = 8 kHz, n = 8, gives 64 kb/s and BT≥32 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.

↑ Back to the question list

A delta modulator has the message signal m(t)=6sin2π(10)t+4sin2π(20)t. Determine the minimum sampling frequency required to prevent slope overload, assuming the step size to be 0.1 m.

2002 · Paper II · Q7b · 20 marks

Solution

Maximum slope of the message

dmdt=6(2π×10)cos2π(10)t+4(2π×20)cos2π(20)t

Both cosines equal 1 at t = 0, so the maximum slope is

|dmdt|max=120π+160π=280π=879.6units/s

Condition for no slope overload

Δfs≥879.6⇒fs≥879.60.1=8796Hz

Answer: a minimum sampling rate of about 8.8 kHz (with the step size 0.1 in the units of m).

✓ Checked by computer We computed the maximum slope and the sampling rate in Python.

↑ Back to the question list

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.

2002 · Paper II · Q200w/5d · 20 marks

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 nW), 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.

↑ Back to the question list

Find the signal-to-quantization noise ratio in a binary PCM system, if the number of quantization levels is 64:

2002 · Paper II · Q6b · 20 marks

Solution

Bits per sample

L=64=26⇒n=6

SQNR for a full-load sinusoid

SNq=32L2=1.5×4096=6144⇒37.9dB

Equivalently, 1.76+6.02×6=37.9 dB.

Answer: about 37.9 dB. (For a signal uniformly distributed over the full range, S/Nq=L2=4096, i.e. 36.1 dB.)

✓ Checked by computer We computed the SQNR.

↑ Back to the question list

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

2001 · Paper II · Q5d(i) · 10 marks · also asked 2001 (Q5d(ii))

Solution

(i) FDM and TDM

FDMtimefch 1ch 2ch 3ch 4TDMtimef11223344
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

128levels⇒n=7bits

Rb=24×7×8000=1.344Mb/s

Bmin=Rb2=672kHz

(With one framing bit per frame, Rb=(24×7+1)×8000=1.352 Mb/s and B = 676 kHz.)

✓ Checked by computer We computed the bit rate and bandwidth.

↑ Back to the question list

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.

2001 · Paper II · Q6b · 20 marks

Solution

Block diagram

EncoderdkXNORekdelay Tek−1Decoderekdelay TXNORdk
  • Encoder: the encoded bit is ek=dk⊕ek−1 (XNOR with the previous encoded bit, through a one-bit delay). A 1 keeps the level; a 0 changes it.
  • Decoder: d̂k=ek⊕ek−1, comparing each received bit with the previous one.

Encoding 001111010001 (reference e0 = 1)

k 0 1 2 3 4 5 6 7 8 9 10 11 12
dk – 0 0 1 1 1 1 0 1 0 0 0 1
ek 1 0 1 1 1 1 1 0 0 1 0 1 1
d̂k – 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 ek corrupts only d̂k and d̂k+1. All later bits are decoded correctly.
  • An inversion of the whole received sequence (polarity reversal) causes no errors, since ek⊕ek−1=ek⊕ek−1.

So errors cannot propagate.

✓ Answer checked step by step We worked the encoding and decoding in Python (XNOR rule).

↑ Back to the question list

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.

2000 · Paper II · Q5d · 20 marks

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

N channels, each sampled at fs, n=log2L bits per sample:

Rb=Nnfs

The minimum (Nyquist) bandwidth for binary pulses is

B=Rb2=Nnfs2

Numbers

24 channels, 128 levels (n = 7), fs = 8 kHz:

Rb=24×7×8000=1.344Mb/s

B=1.344×1062=672kHz

(Practical systems with rectangular pulses need about Rb = 1.344 MHz; adding framing bits raises it slightly.)

✓ Derivation checked step by step We derived the bandwidth formula and computed it.

↑ Back to the question list

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.

2000 · Paper II · Q6b(i) · 10 marks · also asked 2000 (Q6b(ii))

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

Modulatorm(t)Σ+−one-bit quantizersgn( )samplerfsDM bitsto channelaccumulator(delay + Σ)m̂(t)Demodulatorreceivedbitsaccumulator(integrator)low-passfilteroutput
  • Transmitter:
    • the input m(t) is compared with the staircase approximation m̂(t);
    • a one-bit quantizer outputs +Δ (bit 1) if m>m̂, and −Δ (bit 0) otherwise, at each sampling instant (several times the Nyquist rate);
    • the accumulator adds these steps to update m̂(t).
  • Receiver: an identical accumulator rebuilds the staircase from the received bits. A low-pass filter smooths it into m(t).

Limitations

slope overload (staircase lags the steep part)granular noise(hunting about a flat input)t
  1. Slope overload: the output cannot follow inputs whose slope exceeds Δfs.
  2. Granular noise: hunting about slowly varying inputs.
  3. High sampling (bit) rate needed for good quality, so a large bandwidth.
  4. Limited dynamic range with a fixed step.

Adaptive DM (variable step size) overcomes these largely.

✓ Answer checked step by step Standard answer.

↑ Back to the question list

Briefly explain the principle of PCM, differential PCM and delta modulation.

2000 · Paper II · Q6b · 20 marks

Solution

Pulse code modulation (PCM)

Transmittermessagem(t)low-passfiltersampler(fs ≥ 2W)quantizer(L levels)encoder(n bits)PCMoutputChannel and receiverchannel +repeatersregenerator(decision)decoder(D/A)reconstructionlow-pass filteroutputm̂(t)

The analog signal is:

  1. band-limited;
  2. sampled at fs≥2W;
  3. each sample is quantized to one of L=2n levels;
  4. encoded into an n-bit binary word.

The bit stream (nfs 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:

SQNR=1.76+6.02ndB

Differential PCM (DPCM)

Transmitterm[n]Σ−e[n]quantizerencoderDPCM outΣpredictorm̂[n]mq[n] = m̂[n] + eq[n]Receiver: decoder → Σ (adds the same predictor output) → reconstructed samples → low-pass filter
  • Adjacent samples are correlated, so a predictor estimates each sample from the previous reconstructed samples. Only the prediction error e[n]=m[n]−m̂[n] 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 Gp=σm2/σe2.
  • The receiver adds the same prediction to the received error.

Delta modulation (DM)

Modulatorm(t)Σ+−one-bit quantizersgn( )samplerfsDM bitsto channelaccumulator(delay + Σ)m̂(t)Demodulatorreceivedbitsaccumulator(integrator)low-passfilteroutput
  • 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.

↑ Back to the question list

Describe the schematic arrangement of pulse-code modulation by using optical fibre.

1999 · Paper II · Q12b · 20 marks

Solution

PCM over optical fibre

m(t)PCMencoderLED / laserdriveropticalfibrephotodiode(PIN / APD)amplifier +regeneratordecoder+ LPFelectrical → optical (on–off keying of light) → electrical

Transmitter

  1. 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.

  2. 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.

  3. 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

  1. A photodetector (PIN or avalanche photodiode) converts the light pulses back into a current.
  2. A pre-amplifier (transimpedance) and post-amplifier, then an equaliser and a filter.
  3. Clock recovery and a decision circuit regenerate the bit stream.
  4. 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.

↑ Back to the question list

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.

1998 · Paper II · Q200w/9a · 20 marks

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 (Δ2/12), 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.
0.510.51μ = 255μ = 5μ = 0 (uniform)|x|/xmax|y|/ymax

✓ Answer checked step by step Standard reasoning.

↑ Back to the question list

Explain a scheme for demodulation of PPM signals.

1998 · Paper II · Q10c · 20 marks

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.

receivedPPM pulsespulseregenerationS–R flip-flop(set: reference,reset: PPM pulse)PWM signallow-passfilter → m(t)reference (clock) pulses from the synchronising circuit set the flip-flop
  1. Pulse regeneration: the received pulses are cleaned (amplified, clipped and shaped) to remove noise.

  2. Synchronisation: reference pulses are recovered at the unmodulated pulse positions (the clock) using a synchronising circuit (or the separate sync pulses sent).

  3. 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.

  4. Low-pass filtering / integration: the average value of a PWM wave varies with the width, so a low-pass filter recovers the message m(t), 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.

↑ Back to the question list

Why is companding used in PCM Systems? Describe any one companding law.

1997 · Paper II · Q10b · 20 marks

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 Δ2/12 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.
    This is equivalent to non-uniform quantization. It gives an SNR nearly independent of signal level over a wide range (e.g. 38 dB over 40 dB), with fewer bits (8 instead of about 12 for telephone quality).

The μ-law

0.510.51μ = 255μ = 5μ = 0 (uniform)|x|/xmax|y|/ymax

|y|=ln(1+μ|x|)ln(1+μ),0≤|x|≤1

(The sign of y follows x; x and y are normalised to their maximum values.)

  • For μ|x|≪1: y≈μx/ln(1+μ). The characteristic is linear for small signals, with a high gain of μ/ln(1+μ) (about 46 for μ = 255), a 33 dB boost.
  • For μ|x|≫1: y≈ln(μ|x|)/ln(1+μ). 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:

|x|=(1+μ)|y|−1μ

(The A-law, with A = 87.6, used in Europe and India, is linear for |x|<1/A and logarithmic above.)

✓ Answer checked step by step Standard description.

↑ Back to the question list

With the help of a block diagram, explain a Radio-telemetery transmitter using frequency-division multiplex with TDM for sub-communication.

1995 · Paper II · Q12c · 20 marks

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).

sensor 1sensor 2sensor 3commutator(TDM)SCO 1 (FM)wideband sensorSCO 2 (FM)ΣRF FMtransmitterantennaSCO: subcarrier oscillator (IRIG channels); the subcarriers are frequency-division multiplexed
  1. Sensors and signal conditioning: transducers (temperature, pressure, strain, vibration) and amplifiers scale each signal to a standard range.
  2. 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.
  3. 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%).
  4. Mixing (FDM): the outputs of all SCOs are summed through band-pass filters, forming a composite frequency-division multiplexed baseband.
  5. 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.

↑ Back to the question list

More on Digital Communication

Questions: UPSC Civil Services (Main) Examination, Electrical Engineering Paper II, 1995–2026. Solutions: Optional Province. Found an error? Tell us.

Spotted an error? Tell us.

We classify every PYQ with care, but mistakes can slip in. If a question is in the wrong topic, has a typo, the wrong year, or is missing, let us know. We review every report and update the page.

Report an Error
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted