Skip to main content

Chapter 4 · 2 hours

Sampling

IOE past exam questions

Past questions and answers

32 questions set from this chapter, 3 of them more than once. Most asked first.

  • Asked 3 times
  • 2076 Baisakh · 2+4 marks
  • 2076 Bhadra · 2+4 marks
  • 2074 Bhadra · 2+4 marks

What is aliasing in sampling? Determine the Nyquist rate for the continuous time signal x(t) = 1 + cos(2,000πt) + sin(4,000πt)

Answer

Aliasing

Aliasing is the overlap of the shifted spectra of a sampled signal when the sampling frequency is less than twice the highest frequency (fs<2fmf_s < 2f_m). High-frequency components then appear as false low frequencies ("aliases"), and the original signal cannot be recovered. For example, a 7 kHz tone sampled at 10 kHz looks like a 3 kHz tone.

Nyquist rate of x(t)=1+cos⁡(2000πt)+sin⁡(4000πt)x(t) = 1 + \cos(2000\pi t) + \sin(4000\pi t)

Find the frequency of each term using ω=2πf\omega = 2\pi f:

Termω\omega (rad/s)ff (Hz)
1100 (DC)
cos⁡(2000πt)\cos(2000\pi t)2000π2000\pi1000
sin⁡(4000πt)\sin(4000\pi t)4000π4000\pi2000

Highest frequency: fm=2000f_m = 2000 Hz.

Nyquist rate fN=2fm=2×2000=4000 HzNyquist interval TN=1fN=14000=0.25 ms\begin{aligned} \text{Nyquist rate } f_N &= 2f_m = 2 \times 2000 = 4000\ \text{Hz} \\ \text{Nyquist interval } T_N &= \frac{1}{f_N} = \frac{1}{4000} = 0.25\ \text{ms} \end{aligned}

Answer: Nyquist rate =4000= 4000 samples/s (4 kHz), i.e. ωs=8000π\omega_s = 8000\pi rad/s; Nyquist interval =0.25= 0.25 ms.

  • Asked 2 times
  • 2081 Chaitra · 3+3 marks
  • 2075 Baisakh · 6 marks

Define sampling theorem and Nyquist criteria for sampling. Find the Nyquist rate for the signal: x(t) = 20 sin(500πt) + 10 cos(300πt) − 50 cos(1000πt)

Answer

Sampling theorem

A continuous-time signal that is band-limited to fmf_m Hz (no frequency components above fmf_m) is completely described by its samples taken at a uniform rate fs≥2fmf_s \ge 2f_m. The signal can then be exactly recovered from the samples by passing them through an ideal low-pass filter with cutoff between fmf_m and fs−fmf_s - f_m.

Nyquist criterion

  • The minimum sampling rate fN=2fmf_N = 2f_m is the Nyquist rate; its reciprocal TN=12fmT_N = \frac{1}{2f_m} is the Nyquist interval (maximum gap between samples).
  • If fs<2fmf_s < 2f_m, the spectral copies overlap and aliasing occurs. In practice fsf_s is kept above 2fm2f_m (e.g. audio: fm=20f_m = 20 kHz, fs=44.1f_s = 44.1 kHz).

Nyquist rate of x(t)=20sin⁡(500πt)+10cos⁡(300πt)−50cos⁡(1000πt)x(t) = 20\sin(500\pi t) + 10\cos(300\pi t) - 50\cos(1000\pi t)

Termω\omega (rad/s)f=ω/2πf = \omega/2\pi (Hz)
20sin⁡(500πt)20\sin(500\pi t)500π500\pi250
10cos⁡(300πt)10\cos(300\pi t)300π300\pi150
−50cos⁡(1000πt)-50\cos(1000\pi t)1000π1000\pi500

Highest frequency fm=500f_m = 500 Hz (the amplitudes do not matter).

fN=2fm=2×500=1000 HzTN=11000=1 ms\begin{aligned} f_N &= 2f_m = 2\times500 = 1000\ \text{Hz} \\ T_N &= \frac{1}{1000} = 1\ \text{ms} \end{aligned}

Answer: Nyquist rate =1000= 1000 samples/s (1 kHz, or 2000π2000\pi rad/s); Nyquist interval =1= 1 ms.

  • Asked 2 times
  • 2079 Asoj · 6 marks
  • 2079 Chaitra · 6 marks

What is aliasing and how can it be prevented?

Answer

Aliasing is the distortion that occurs when a signal is sampled at a rate lower than twice its highest frequency (fs<2fmf_s < 2f_m). The shifted copies of the spectrum overlap, so high-frequency components fold back and appear as lower frequencies. After this, the original signal cannot be recovered by any filter.

Why it happens

Sampling with an impulse train of rate fsf_s makes the spectrum periodic:

Xs(f)=fs∑k=−∞∞X(f−kfs)X_s(f) = f_s\sum_{k=-\infty}^{\infty}X(f - kf_s)

Each copy occupies kfs−fmkf_s - f_m to kfs+fmkf_s + f_m. The copies are separate only if fs−fm≥fmf_s - f_m \ge f_m, i.e. fs≥2fmf_s \ge 2f_m.

 fs > 2fm (no aliasing):
   ___       ___       ___
  /   \     /   \     /   \
-+--+--+---+--+--+---+--+--+--> f
  -fm 0 fm    fs        2fs

 fs < 2fm (aliasing: tails overlap):
   ____ ____ ____
  /    X    X    \
-+---+----+----+---> f
     0    fs   2fs

Example: A 700 Hz tone sampled at 1000 Hz gives samples identical to a 300 Hz tone (∣700−1000∣=300|700 - 1000| = 300 Hz). The 700 Hz tone has been "aliased" to 300 Hz.

Effects

  • False frequencies appear in the reconstructed signal.
  • In images, aliasing causes jagged edges and moiré patterns; in video, wheels seem to turn backwards.

Prevention

  1. Sample above the Nyquist rate: choose fs>2fmf_s > 2f_m, usually with a margin (e.g. CD audio uses 44.1 kHz for a 20 kHz band).
  2. Anti-aliasing (pre-)filter: pass the analog signal through a low-pass filter with cutoff fs/2f_s/2 before the sampler. Real signals are never perfectly band-limited, and noise has high frequencies; the filter removes these before they can fold back.
  3. Guard band: since practical filters are not ideal, keep fsf_s comfortably above 2fm2f_m so that the filter's transition band fits between fmf_m and fs−fmf_s - f_m.
  4. Oversampling: sample at a much higher rate, then filter and decimate digitally; this relaxes the analog filter requirement.
x(t) -> [Anti-aliasing LPF, fc = fs/2] -> [Sampler fs] -> [ADC]
  • 2082 Chaitra · 2+4 marks

Define sampling theorem. Determine the Nyquist rate and Nyquist interval for the given continuous time signal. x(t) = (1/2π) cos(4000πt) cos(1000πt)

Answer

Sampling theorem

A band-limited signal with no frequency components above fmf_m Hz can be completely represented by, and exactly recovered from, its uniformly spaced samples if the sampling frequency satisfies fs≥2fmf_s \ge 2f_m. The minimum rate 2fm2f_m is the Nyquist rate; recovery is done with an ideal low-pass filter.

Nyquist rate of x(t)=12πcos⁡(4000πt)cos⁡(1000πt)x(t) = \frac{1}{2\pi}\cos(4000\pi t)\cos(1000\pi t)

Step 1: convert the product to a sum using cos⁡Acos⁡B=12[cos⁡(A+B)+cos⁡(A−B)]\cos A\cos B = \frac{1}{2}[\cos(A+B) + \cos(A-B)]:

x(t)=12π⋅12[cos⁡(5000πt)+cos⁡(3000πt)]=14πcos⁡(5000πt)+14πcos⁡(3000πt)\begin{aligned} x(t) &= \frac{1}{2\pi}\cdot\frac{1}{2}\left[\cos(5000\pi t) + \cos(3000\pi t)\right] \\ &= \frac{1}{4\pi}\cos(5000\pi t) + \frac{1}{4\pi}\cos(3000\pi t) \end{aligned}

Step 2: frequencies.

Componentω\omega (rad/s)ff (Hz)
cos⁡(5000πt)\cos(5000\pi t)5000π5000\pi2500
cos⁡(3000πt)\cos(3000\pi t)3000π3000\pi1500

Highest frequency fm=2500f_m = 2500 Hz.

Step 3: Nyquist rate and interval.

fN=2fm=2×2500=5000 HzTN=1fN=15000=0.2 ms\begin{aligned} f_N &= 2f_m = 2\times2500 = 5000\ \text{Hz} \\ T_N &= \frac{1}{f_N} = \frac{1}{5000} = 0.2\ \text{ms} \end{aligned}

Answer: Nyquist rate =5000= 5000 samples/s (5 kHz, ωN=10000π\omega_N = 10000\pi rad/s); Nyquist interval =0.2= 0.2 ms =200 μ= 200\ \mus.

Note: the highest frequency is not 2000 Hz (from cos⁡4000πt\cos 4000\pi t alone); multiplication creates the sum frequency 2500 Hz.

  • 2082 Kartik · 3+3 marks

State and prove the sampling theorem. Find the Nyquist rate and Nyquist interval for the signal x(t) = (1/2π) cos(4000πt) cos(1000πt)

Answer

Sampling theorem

Statement: A signal x(t)x(t) band-limited to ωm\omega_m (X(jω)=0X(j\omega) = 0 for ∣ω∣>ωm|\omega| > \omega_m) is uniquely determined by its samples x(nT)x(nT) if the sampling frequency ωs=2πT≥2ωm\omega_s = \frac{2\pi}{T} \ge 2\omega_m.

Proof: Model sampling as multiplication by an impulse train:

xp(t)=x(t) p(t),p(t)=∑n=−∞∞δ(t−nT)x_p(t) = x(t)\,p(t), \qquad p(t) = \sum_{n=-\infty}^{\infty}\delta(t - nT)

The FT of the periodic impulse train is P(jω)=2πT∑kδ(ω−kωs)P(j\omega) = \frac{2\pi}{T}\sum_k\delta(\omega - k\omega_s). Multiplication in time is convolution in frequency:

Xp(jω)=12πX(jω)∗P(jω)=1T∑k=−∞∞X(j(ω−kωs))\begin{aligned} X_p(j\omega) &= \frac{1}{2\pi}X(j\omega) * P(j\omega) \\ &= \frac{1}{T}\sum_{k=-\infty}^{\infty}X(j(\omega - k\omega_s)) \end{aligned}

So the sampled spectrum is the original spectrum repeated every ωs\omega_s. The copy at k=0k=0 spans −ωm-\omega_m to ωm\omega_m, and the next starts at ωs−ωm\omega_s - \omega_m. They do not overlap if ωs−ωm≥ωm\omega_s - \omega_m \ge \omega_m, i.e. ωs≥2ωm\omega_s \ge 2\omega_m. Then an ideal low-pass filter with gain TT and cutoff ωm≤ωc≤ωs−ωm\omega_m \le \omega_c \le \omega_s - \omega_m passes only the k=0k=0 copy, giving back X(jω)X(j\omega) and hence x(t)x(t) exactly. If ωs<2ωm\omega_s < 2\omega_m, the copies overlap (aliasing) and recovery is impossible. Hence proved.

Nyquist rate of x(t)=12πcos⁡(4000πt)cos⁡(1000πt)x(t) = \frac{1}{2\pi}\cos(4000\pi t)\cos(1000\pi t)

x(t)=14π[cos⁡(5000πt)+cos⁡(3000πt)]x(t) = \frac{1}{4\pi}\left[\cos(5000\pi t) + \cos(3000\pi t)\right]

Frequencies: 5000π2π=2500\frac{5000\pi}{2\pi} = 2500 Hz and 3000π2π=1500\frac{3000\pi}{2\pi} = 1500 Hz, so fm=2500f_m = 2500 Hz.

fN=2fm=5000 Hz,TN=15000=0.2 msf_N = 2f_m = 5000\ \text{Hz}, \qquad T_N = \frac{1}{5000} = 0.2\ \text{ms}

Answer: Nyquist rate =5000= 5000 samples/s (5 kHz); Nyquist interval =0.2= 0.2 ms.

  • 2081 Asoj · 4+4 marks

Explain the Nyquist Criteria for sampling and aliasing effect. Find the Nyquist rate for the signal x(t) = 30 sin(100πt) + 40 cos(400πt) sin(300πt).

Answer

Nyquist criterion

For a signal band-limited to fmf_m Hz, the sampling frequency must satisfy

fs≥2fmf_s \ge 2f_m

The minimum value fN=2fmf_N = 2f_m is the Nyquist rate and TN=1/(2fm)T_N = 1/(2f_m) is the Nyquist interval. When this holds, the spectral copies produced by sampling, Xs(f)=fs∑kX(f−kfs)X_s(f) = f_s\sum_k X(f - kf_s), do not overlap, and an ideal low-pass filter of cutoff fmf_m to fs−fmf_s - f_m recovers the original signal exactly.

Aliasing effect

If fs<2fmf_s < 2f_m, the copies at 00 and ±fs\pm f_s overlap. A component of frequency f>fs/2f > f_s/2 then appears at the alias frequency ∣f−kfs∣|f - kf_s| (the nearest one in 00 to fs/2f_s/2). Example: 900 Hz sampled at 1200 Hz looks like 300 Hz. The overlap cannot be undone after sampling. It is prevented by an anti-aliasing low-pass filter before the sampler and by choosing fs>2fmf_s > 2f_m.

 fs >= 2fm:  /\     /\     /\        separate copies
           -+--+---+--+---+--+--> f
              0       fs     2fs
 fs < 2fm:   /\/\/\/\/\              copies overlap
           -+----+----+---> f
            0    fs   2fs

Nyquist rate of x(t)=30sin⁡(100πt)+40cos⁡(400πt)sin⁡(300πt)x(t) = 30\sin(100\pi t) + 40\cos(400\pi t)\sin(300\pi t)

Convert the product using sin⁡Acos⁡B=12[sin⁡(A+B)+sin⁡(A−B)]\sin A\cos B = \frac{1}{2}[\sin(A+B) + \sin(A-B)] with A=300πtA = 300\pi t, B=400πtB = 400\pi t:

40cos⁡(400πt)sin⁡(300πt)=20[sin⁡(700πt)+sin⁡(−100πt)]=20sin⁡(700πt)−20sin⁡(100πt)\begin{aligned} 40\cos(400\pi t)\sin(300\pi t) &= 20\left[\sin(700\pi t) + \sin(-100\pi t)\right] \\ &= 20\sin(700\pi t) - 20\sin(100\pi t) \end{aligned}

So

x(t)=10sin⁡(100πt)+20sin⁡(700πt)x(t) = 10\sin(100\pi t) + 20\sin(700\pi t)
Componentω\omega (rad/s)ff (Hz)
10sin⁡(100πt)10\sin(100\pi t)100π100\pi50
20sin⁡(700πt)20\sin(700\pi t)700π700\pi350

Highest frequency fm=350f_m = 350 Hz.

fN=2fm=700 Hz,TN=1700=1.43 msf_N = 2f_m = 700\ \text{Hz}, \qquad T_N = \frac{1}{700} = 1.43\ \text{ms}

Answer: Nyquist rate =700= 700 samples/s (ωN=1400π\omega_N = 1400\pi rad/s); Nyquist interval ≈1.43\approx 1.43 ms.

  • 2080 Asoj · 8 marks

Consider an analog signal x(t) = 3cos 200πt + 2sin 300πt − 3cos 500πt. i) Determine the minimum sampling rate required to avoid aliasing. ii) Suppose that the signal is to be sampled at the rate of Fs = 400 Hz. What is the discrete time signal obtained after sampling? iii) Find reconstructed signal xᵣ(t) from sampled signal calculated above in (ii).

Answer

Frequencies in x(t)x(t) (ω=2πf\omega = 2\pi f):

Termω\omega (rad/s)ff (Hz)
3cos⁡200πt3\cos200\pi t200π200\pi100
2sin⁡300πt2\sin300\pi t300π300\pi150
−3cos⁡500πt-3\cos500\pi t500π500\pi250

(i) Minimum sampling rate

fm=250f_m = 250 Hz, so

Fs,min⁡=2fm=2×250=500 HzF_{s,\min} = 2f_m = 2\times250 = 500\ \text{Hz}

Answer: 500 samples/s (Nyquist rate).

(ii) Discrete-time signal for Fs=400F_s = 400 Hz

Put t=nT=n/Fs=n/400t = nT = n/F_s = n/400:

x[n]=3cos⁡(200πn400)+2sin⁡(300πn400)−3cos⁡(500πn400)=3cos⁡(πn2)+2sin⁡(3πn4)−3cos⁡(5πn4)\begin{aligned} x[n] &= 3\cos\left(\frac{200\pi n}{400}\right) + 2\sin\left(\frac{300\pi n}{400}\right) - 3\cos\left(\frac{500\pi n}{400}\right) \\ &= 3\cos\left(\frac{\pi n}{2}\right) + 2\sin\left(\frac{3\pi n}{4}\right) - 3\cos\left(\frac{5\pi n}{4}\right) \end{aligned}

The last term has digital frequency 5π/4>π5\pi/4 > \pi, so it is aliased. Since cos⁡(5πn4)=cos⁡(2πn−3πn4)=cos⁡(3πn4)\cos\left(\frac{5\pi n}{4}\right) = \cos\left(2\pi n - \frac{3\pi n}{4}\right) = \cos\left(\frac{3\pi n}{4}\right):

x[n]=3cos⁡(πn2)+2sin⁡(3πn4)−3cos⁡(3πn4)x[n] = 3\cos\left(\frac{\pi n}{2}\right) + 2\sin\left(\frac{3\pi n}{4}\right) - 3\cos\left(\frac{3\pi n}{4}\right)

In normalized frequency: 100400=14\frac{100}{400} = \frac14, 150400=38\frac{150}{400} = \frac38, and 250400=58\frac{250}{400} = \frac58, which aliases to 1−58=381 - \frac58 = \frac38 (i.e. 150 Hz).

(iii) Reconstructed signal

An ideal reconstruction filter passes only ∣f∣≤Fs/2=200|f| \le F_s/2 = 200 Hz, so each digital frequency ω\omega in [0,π][0, \pi] maps back to f=ωFs2πf = \frac{\omega F_s}{2\pi}:

Digital termω\omegaAnalog ff
3cos⁡(πn/2)3\cos(\pi n/2)π/2\pi/2100 Hz
2sin⁡(3πn/4)2\sin(3\pi n/4)3π/43\pi/4150 Hz
−3cos⁡(3πn/4)-3\cos(3\pi n/4)3π/43\pi/4150 Hz
xr(t)=3cos⁡(200πt)+2sin⁡(300πt)−3cos⁡(300πt)x_r(t) = 3\cos(200\pi t) + 2\sin(300\pi t) - 3\cos(300\pi t)

Answer: xr(t)=3cos⁡200πt+2sin⁡300πt−3cos⁡300πtx_r(t) = 3\cos 200\pi t + 2\sin 300\pi t - 3\cos 300\pi t.

Because Fs=400F_s = 400 Hz is below the Nyquist rate (500 Hz), the 250 Hz component has been aliased to 150 Hz, so xr(t)≠x(t)x_r(t) \ne x(t).

  • 2079 Jestha · 2+4 marks

State Nyquist's sampling theorem. Find the Nyquist rate for the given CT signal x(t) = (1/2π) cos(50πt) cos(500πt)

Answer

Nyquist sampling theorem

A continuous-time signal band-limited to fmf_m Hz can be exactly recovered from its uniformly spaced samples if the sampling rate is at least twice the highest frequency, fs≥2fmf_s \ge 2f_m. The minimum rate 2fm2f_m is the Nyquist rate, and 1/(2fm)1/(2f_m) is the Nyquist interval. Sampling below this rate causes aliasing.

Nyquist rate of x(t)=12πcos⁡(50πt)cos⁡(500πt)x(t) = \frac{1}{2\pi}\cos(50\pi t)\cos(500\pi t)

Using cos⁡Acos⁡B=12[cos⁡(A+B)+cos⁡(A−B)]\cos A\cos B = \frac{1}{2}[\cos(A+B) + \cos(A-B)]:

x(t)=12π⋅12[cos⁡(550πt)+cos⁡(450πt)]=14πcos⁡(550πt)+14πcos⁡(450πt)\begin{aligned} x(t) &= \frac{1}{2\pi}\cdot\frac{1}{2}\left[\cos(550\pi t) + \cos(450\pi t)\right] \\ &= \frac{1}{4\pi}\cos(550\pi t) + \frac{1}{4\pi}\cos(450\pi t) \end{aligned}
Componentω\omega (rad/s)ff (Hz)
cos⁡(550πt)\cos(550\pi t)550π550\pi275
cos⁡(450πt)\cos(450\pi t)450π450\pi225

Highest frequency fm=275f_m = 275 Hz.

fN=2fm=2×275=550 HzTN=1550=1.82 ms\begin{aligned} f_N &= 2f_m = 2\times275 = 550\ \text{Hz} \\ T_N &= \frac{1}{550} = 1.82\ \text{ms} \end{aligned}

Answer: Nyquist rate =550= 550 samples/s (ωN=1100π\omega_N = 1100\pi rad/s); Nyquist interval ≈1.82\approx 1.82 ms.

  • 2078 Baisakh · 2+6 marks

What is impulse train sampling? How do you reconstruct original signal from its sample?

Answer

Impulse train sampling

Impulse train (ideal) sampling multiplies the continuous signal x(t)x(t) by a periodic train of unit impulses spaced TT seconds apart. The result is a train of impulses whose strengths are the sample values:

xp(t)=x(t)∑n=−∞∞δ(t−nT)=∑n=−∞∞x(nT) δ(t−nT)x_p(t) = x(t)\sum_{n=-\infty}^{\infty}\delta(t - nT) = \sum_{n=-\infty}^{\infty}x(nT)\,\delta(t - nT)

TT is the sampling period and ωs=2π/T\omega_s = 2\pi/T the sampling frequency.

Spectrum of the sampled signal

p(t)=∑δ(t−nT)↔P(jω)=2πT∑kδ(ω−kωs)p(t) = \sum\delta(t - nT) \leftrightarrow P(j\omega) = \frac{2\pi}{T}\sum_k\delta(\omega - k\omega_s). Multiplication in time is convolution in frequency:

Xp(jω)=12πX(jω)∗P(jω)=1T∑k=−∞∞X(j(ω−kωs))X_p(j\omega) = \frac{1}{2\pi}X(j\omega) * P(j\omega) = \frac{1}{T}\sum_{k=-\infty}^{\infty}X\big(j(\omega - k\omega_s)\big)

So Xp(jω)X_p(j\omega) is X(jω)X(j\omega) repeated at every multiple of ωs\omega_s, scaled by 1/T1/T.

 X(jw)            Xp(jw), ws > 2wm
   /\               /\      /\      /\
  /  \             /  \    /  \    /  \
-+-+--+-->  w   --+--+--+-+--+--+-+--+--> w
 -wm 0 wm          -ws    0  wm   ws

Reconstruction from samples

  1. Condition: x(t)x(t) must be band-limited to ωm\omega_m, and ωs>2ωm\omega_s > 2\omega_m (Nyquist). Then the copies do not overlap.
  2. Ideal low-pass filter: pass xp(t)x_p(t) through an LPF with gain TT and cutoff ωc\omega_c, where ωm<ωc<ωs−ωm\omega_m < \omega_c < \omega_s - \omega_m (usually ωc=ωs/2\omega_c = \omega_s/2):
H(jω)={T,∣ω∣<ωc0,otherwise⇒Xr(jω)=Xp(jω)H(jω)=X(jω)H(j\omega) = \begin{cases} T, & |\omega| < \omega_c \\ 0, & \text{otherwise}\end{cases} \quad\Rightarrow\quad X_r(j\omega) = X_p(j\omega)H(j\omega) = X(j\omega)
  1. Time-domain view (interpolation): the filter's impulse response is h(t)=Tsin⁡(ωct)πth(t) = \frac{T\sin(\omega_c t)}{\pi t}. Convolving it with the impulse train gives
xr(t)=∑n=−∞∞x(nT) Tωcπ sin⁡(ωc(t−nT))ωc(t−nT)x_r(t) = \sum_{n=-\infty}^{\infty}x(nT)\,\frac{T\omega_c}{\pi}\,\frac{\sin\big(\omega_c(t - nT)\big)}{\omega_c(t - nT)}

With ωc=ωs/2\omega_c = \omega_s/2 this becomes xr(t)=∑x(nT) sinc(t−nTT)x_r(t) = \sum x(nT)\,\text{sinc}\left(\frac{t - nT}{T}\right): each sample is replaced by a sinc pulse, and the sum of these pulses fills in the values between samples exactly.

 x(t) --(x)--> xp(t) --> [ LPF: gain T, cutoff wc ] --> xr(t) = x(t)
         ^
     p(t) = sum delta(t - nT)

Practical note: an ideal LPF is non-causal, so real systems use a zero-order hold (D/A converter) followed by a smoothing filter, and sample a little above the Nyquist rate to leave a guard band.

  • 2078 Poush · 4+2 marks

Explain practical sampling method using a circuit diagram. Describe band-pass sampling theorem.

Answer

Practical sampling

Ideal impulses cannot be generated, so in practice sampling is done with pulses of finite width using an electronic switch (natural sampling) or a sample-and-hold (S/H) circuit (flat-top sampling).

Sample-and-hold circuit:

           S (FET switch)          buffer
 x(t) ---[ buffer ]---o/ o----+----[ >  ]----> xs(t)
                      ^       |
       sampling pulse |      === C (hold
       (period T)            |   capacitor)
                            GND

Working:

  1. Sample mode: a short sampling pulse closes the switch S (a FET). The capacitor CC charges quickly to the input value x(nT)x(nT) through the low output resistance of the input buffer.
  2. Hold mode: the switch opens. The capacitor holds the voltage for the rest of the period TT because the output buffer has very high input impedance. The output is a staircase (flat-top samples), which the ADC then converts.
  3. Mathematically, flat-top sampling = ideal sampling followed by a hold filter h(t)h(t) (a pulse of width τ\tau). Its spectrum is Xs(jω)=1TH(jω)∑kX(j(ω−kωs))X_s(j\omega) = \frac{1}{T}H(j\omega)\sum_k X(j(\omega - k\omega_s)), with H(jω)=τ sincH(j\omega) = \tau\,\text{sinc}-shaped. This causes the aperture effect (slight high-frequency loss), corrected with an equalizer 1/H(jω)1/H(j\omega) at reconstruction.

With natural sampling (switch only, no capacitor), the pulse tops follow the signal and the spectrum copies are only weighted by constants, so no aperture distortion occurs.

Band-pass sampling theorem

For a band-pass signal occupying fLf_L to fHf_H with bandwidth B=fH−fLB = f_H - f_L, sampling at 2fH2f_H is not necessary. The signal can be recovered from samples taken at a rate as low as 2B2B, provided

2fHk≤fs≤2fLk−1,k=1,2,…,⌊fHB⌋\frac{2f_H}{k} \le f_s \le \frac{2f_L}{k-1}, \qquad k = 1, 2, \dots, \left\lfloor\frac{f_H}{B}\right\rfloor

In particular, if fHf_H is an integer multiple of BB, then fs=2Bf_s = 2B works. Example: a signal from 20 to 25 kHz (B=5B = 5 kHz, fH=5Bf_H = 5B) can be sampled at 10 kHz instead of 50 kHz.

  • 2080 Chaitra · 4 marks

How does Nyquist criteria prevent aliasing? Explain with diagram.

Answer

The Nyquist criterion says a signal band-limited to fmf_m must be sampled at fs≥2fmf_s \ge 2f_m. It prevents aliasing because it keeps the spectral copies created by sampling from overlapping.

How it works: Sampling at rate fsf_s makes the spectrum periodic:

Xs(f)=fs∑k=−∞∞X(f−kfs)X_s(f) = f_s\sum_{k=-\infty}^{\infty}X(f - kf_s)

The original band occupies −fm-f_m to fmf_m. The first copy starts at fs−fmf_s - f_m. There is no overlap when

fs−fm≥fm  ⇒  fs≥2fmf_s - f_m \ge f_m \;\Rightarrow\; f_s \ge 2f_m
 (a) fs > 2fm : copies separate, guard band
     ___         ___         ___
    /   \       /   \       /   \
 --+--+--+-----+--+--+-----+--+--+--> f
  -fm 0 fm  fs-fm fs      2fs
            |<->| guard band
     [ LPF cutoff fs/2 recovers centre copy ]

 (b) fs = 2fm : copies just touch (ideal LPF needed)
     ___ ___ ___
    /   V   V   \
 --+---+---+---+--> f
       0   fs  2fs

 (c) fs < 2fm : copies overlap -> aliasing
     ____ ____
    /    X    \
 --+---+---+----> f
       0   fs

Explanation:

  • In (a), the original spectrum stays separate, so an ideal low-pass filter with cutoff fs/2f_s/2 removes the copies and gives back x(t)x(t) exactly.
  • In (b), recovery is possible only with an ideal brick-wall filter.
  • In (c), the tail of the copy at fsf_s folds into the band 00 to fs/2f_s/2. Those components appear at false frequencies ∣f−fs∣|f - f_s| and cannot be separated by any filter. This is aliasing.

Example: A 3 kHz tone needs fs≥6f_s \ge 6 kHz. At fs=8f_s = 8 kHz it is recovered correctly; at fs=4f_s = 4 kHz it appears as ∣3−4∣=1|3 - 4| = 1 kHz.

In practice, an anti-aliasing low-pass filter (cutoff fs/2f_s/2) is placed before the sampler to make sure the signal really is band-limited.

  • 2080 Chaitra · 4 marks

Find the Nyquist rate and interval for the following signal: x(t) = 2cos(100πt) cos(300πt)

Answer

Step 1: convert the product to a sum using 2cos⁡Acos⁡B=cos⁡(A+B)+cos⁡(A−B)2\cos A\cos B = \cos(A+B) + \cos(A-B):

x(t)=2cos⁡(100πt)cos⁡(300πt)=cos⁡(400πt)+cos⁡(200πt)\begin{aligned} x(t) &= 2\cos(100\pi t)\cos(300\pi t) \\ &= \cos(400\pi t) + \cos(200\pi t) \end{aligned}

Step 2: frequencies (f=ω/2πf = \omega/2\pi):

Componentω\omega (rad/s)ff (Hz)
cos⁡(400πt)\cos(400\pi t)400π400\pi200
cos⁡(200πt)\cos(200\pi t)200π200\pi100

Highest frequency fm=200f_m = 200 Hz.

Step 3: Nyquist rate and interval.

fN=2fm=2×200=400 HzTN=1fN=1400=2.5 ms\begin{aligned} f_N &= 2f_m = 2\times200 = 400\ \text{Hz} \\ T_N &= \frac{1}{f_N} = \frac{1}{400} = 2.5\ \text{ms} \end{aligned}

Answer: Nyquist rate =400= 400 samples/s (ωN=800π\omega_N = 800\pi rad/s); Nyquist interval =2.5= 2.5 ms.

Note: the highest frequency is 200 Hz, not 150 Hz; multiplying two sinusoids creates the sum frequency.

  • 2079 Chaitra · 2+4 marks

Define sampling theorem. Determine the Nyquist rate for the continuous time signal x(t) = 1 + cos(2000πt) + sin(4000πt).

Answer

Sampling theorem

Sampling theorem: A continuous-time signal x(t)x(t) that is band-limited to ωM\omega_M (that is, X(jω)=0X(j\omega)=0 for ∣ω∣>ωM|\omega|>\omega_M) is uniquely determined by its samples x(nT)x(nT) if the sampling frequency satisfies

ωs=2πT>2ωMorfs>2fM\omega_s = \frac{2\pi}{T} > 2\omega_M \quad\text{or}\quad f_s > 2f_M

The minimum rate 2fM2f_M is called the Nyquist rate, and TN=1/(2fM)T_N = 1/(2f_M) is the Nyquist interval.

The original signal is recovered by passing the samples through an ideal low-pass filter of cutoff between ωM\omega_M and ωs−ωM\omega_s-\omega_M and gain TT.

Nyquist rate of x(t)=1+cos⁡(2000πt)+sin⁡(4000πt)x(t) = 1 + \cos(2000\pi t) + \sin(4000\pi t)

Write each term as cos⁡(2πft)\cos(2\pi f t) or sin⁡(2πft)\sin(2\pi f t) and read its frequency:

Termω\omega (rad/s)ff (Hz)
11 (DC)0000
cos⁡(2000πt)\cos(2000\pi t)2000π2000\pi10001000
sin⁡(4000πt)\sin(4000\pi t)4000π4000\pi20002000

The highest frequency present is fM=2000f_M = 2000 Hz, so

fN=2fM=2×2000=4000 HzωN=2πfN=8000π rad/s\begin{aligned} f_N &= 2 f_M = 2 \times 2000 = 4000\ \text{Hz} \\ \omega_N &= 2\pi f_N = 8000\pi\ \text{rad/s} \end{aligned}

Answer: Nyquist rate = 4000 Hz (4000 samples/s, or 8000π8000\pi rad/s).

  • 2078 Chaitra · 2+4 marks

What do you mean by aliasing? Compute Nyquist rate for x(t) = 5cos(1500πt) − 2sin(2000πt) + 3sin(1850πt).

Answer

Aliasing

Aliasing is the distortion that occurs when a signal is sampled at a rate lower than its Nyquist rate (fs<2fMf_s < 2f_M). The shifted copies of the spectrum in the sampled signal overlap, so a high-frequency component "folds back" and appears as a lower frequency (its alias). After overlap the original spectrum cannot be separated by any filter, so the signal cannot be recovered exactly.

Example: a 700 Hz tone sampled at fs=1000f_s = 1000 Hz gives the same samples as a 1000−700=3001000-700 = 300 Hz tone.

   overlap (aliasing) when ws < 2wM
     ___       ___       ___
    /   \     /   \     /   \
   /     \   /     \   /     \
--/-------\-/-------\-/-------\--> w
       -ws  \ /  0   \ /  ws
             X        X   <- overlapped region

Nyquist rate of x(t)=5cos⁡(1500πt)−2sin⁡(2000πt)+3sin⁡(1850πt)x(t) = 5\cos(1500\pi t) - 2\sin(2000\pi t) + 3\sin(1850\pi t)

Termω\omega (rad/s)f=ω/2πf = \omega/2\pi (Hz)
5cos⁡(1500πt)5\cos(1500\pi t)1500π1500\pi750750
−2sin⁡(2000πt)-2\sin(2000\pi t)2000π2000\pi10001000
3sin⁡(1850πt)3\sin(1850\pi t)1850π1850\pi925925

The maximum frequency is fM=1000f_M = 1000 Hz.

fN=2fM=2×1000=2000 Hzf_N = 2 f_M = 2 \times 1000 = 2000\ \text{Hz}

Answer: Nyquist rate = 2000 Hz (2000 samples/s, i.e. ωN=4000π\omega_N = 4000\pi rad/s).

  • 2077 Chaitra · 6 marks

Define Nyquist sampling theorem. Explain using frequency domain analysis of impulse train sampling.

Answer

Nyquist sampling theorem: a signal band-limited to ωM\omega_M is completely determined by its samples x(nT)x(nT) if ωs=2π/T>2ωM\omega_s = 2\pi/T > 2\omega_M. The minimum rate 2ωM2\omega_M is the Nyquist rate.

Frequency-domain analysis of impulse-train sampling

Let x(t)x(t) be band-limited to ωM\omega_M. Impulse-train sampling multiplies it by a periodic impulse train of period TT:

p(t)=∑n=−∞∞δ(t−nT),xp(t)=x(t)p(t)=∑n=−∞∞x(nT) δ(t−nT)p(t) = \sum_{n=-\infty}^{\infty} \delta(t - nT), \qquad x_p(t) = x(t)p(t) = \sum_{n=-\infty}^{\infty} x(nT)\,\delta(t-nT)

The Fourier transform of the impulse train is also an impulse train, with spacing ωs=2π/T\omega_s = 2\pi/T:

P(jω)=2πT∑k=−∞∞δ(ω−kωs)P(j\omega) = \frac{2\pi}{T}\sum_{k=-\infty}^{\infty}\delta(\omega - k\omega_s)

Multiplication in time is convolution in frequency:

Xp(jω)=12π X(jω)∗P(jω)=1T∑k=−∞∞X(j(ω−kωs))\begin{aligned} X_p(j\omega) &= \frac{1}{2\pi}\, X(j\omega) * P(j\omega) \\ &= \frac{1}{T}\sum_{k=-\infty}^{\infty} X\big(j(\omega - k\omega_s)\big) \end{aligned}

So the spectrum of the sampled signal is the original spectrum, scaled by 1/T1/T, repeated at every multiple of ωs\omega_s.

X(jw):            /\
                 /  \
           -----/----\------> w
              -wM    wM

Xp(jw), ws > 2wM (no overlap):
    /\        /\        /\
   /  \      /  \      /  \
--/----\----/----\----/----\--> w
    -ws        0        ws
       gap between copies = ws - 2wM

Conclusion from the spectrum

  • The copy centred at k=0k=0 occupies −ωM-\omega_M to ωM\omega_M; the next copy starts at ωs−ωM\omega_s - \omega_M.
  • The copies do not overlap only if ωs−ωM>ωM\omega_s - \omega_M > \omega_M, i.e. ωs>2ωM\omega_s > 2\omega_M. This is the Nyquist condition.
  • When it holds, an ideal low-pass filter with gain TT and cutoff ωc\omega_c such that ωM<ωc<ωs−ωM\omega_M < \omega_c < \omega_s - \omega_M passes only the k=0k=0 copy, giving back X(jω)X(j\omega) exactly. Hence x(t)x(t) is fully recovered.
  • If ωs<2ωM\omega_s < 2\omega_M, the copies overlap (aliasing) and x(t)x(t) cannot be recovered.
  • 2075 Bhadra · 2+4 marks

What do you mean by sampling, state the requirement of sampling frequency? Determine Nyquist rate for x(t) = (1/2π) cos(100πt) cos(300πt)

Answer

Sampling and the required sampling frequency

Sampling is the process of converting a continuous-time signal x(t)x(t) into a discrete-time signal x[n]=x(nT)x[n] = x(nT) by taking its values at equally spaced instants t=nTt = nT. TT is the sampling interval and fs=1/Tf_s = 1/T the sampling frequency.

Requirement: for a signal band-limited to fMf_M, the sampling frequency must be more than twice the highest frequency:

fs>2fMf_s > 2 f_M

2fM2f_M is the Nyquist rate. If this holds, x(t)x(t) can be reconstructed exactly from its samples by an ideal low-pass filter; if not, aliasing occurs.

Nyquist rate of x(t)=12πcos⁡(100πt)cos⁡(300πt)x(t) = \frac{1}{2\pi}\cos(100\pi t)\cos(300\pi t)

The product must first be written as a sum, using cos⁡Acos⁡B=12[cos⁡(A−B)+cos⁡(A+B)]\cos A\cos B = \tfrac12[\cos(A-B) + \cos(A+B)]:

x(t)=12π⋅12[cos⁡(300πt−100πt)+cos⁡(300πt+100πt)]=14π[cos⁡(200πt)+cos⁡(400πt)]\begin{aligned} x(t) &= \frac{1}{2\pi}\cdot\frac{1}{2}\big[\cos(300\pi t - 100\pi t) + \cos(300\pi t + 100\pi t)\big] \\ &= \frac{1}{4\pi}\big[\cos(200\pi t) + \cos(400\pi t)\big] \end{aligned}
Termω\omega (rad/s)ff (Hz)
cos⁡(200πt)\cos(200\pi t)200π200\pi100100
cos⁡(400πt)\cos(400\pi t)400π400\pi200200

fM=200f_M = 200 Hz, so

fN=2fM=400 Hzf_N = 2 f_M = 400\ \text{Hz}

Answer: Nyquist rate = 400 Hz (400 samples/s, ωN=800π\omega_N = 800\pi rad/s).

  • 2073 Magh · 3+3 marks

What is aliasing effect and how can we overcome it? Determine Nyquist rate for a continuous time signal x(t) = 2sin40πt + 10cos200πt + 5cos100πt.

Answer

Aliasing effect

Aliasing is the distortion that occurs when a signal is sampled at a rate lower than its Nyquist rate (fs<2fMf_s < 2f_M). The shifted copies of the spectrum in the sampled signal overlap, so a high-frequency component "folds back" and appears as a lower frequency (its alias). After overlap the original spectrum cannot be separated by any filter, so the signal cannot be recovered exactly.

Example: a 700 Hz tone sampled at fs=1000f_s = 1000 Hz gives the same samples as a 1000−700=3001000-700 = 300 Hz tone.

How to overcome aliasing:

  1. Sample fast enough: choose fs>2fMf_s > 2f_M (in practice fsf_s is kept 2.5 to 5 times fMf_M to leave a guard band).
  2. Anti-aliasing filter: pass the signal through an analog low-pass filter with cutoff fs/2f_s/2 before sampling, so that no component above fs/2f_s/2 reaches the sampler. Real signals and noise are never strictly band-limited, so this filter is always used in practice.
  3. Use a reconstruction filter with a sharp cutoff so that neighbouring spectral copies are rejected.

Nyquist rate of x(t)=2sin⁡40πt+10cos⁡200πt+5cos⁡100πtx(t) = 2\sin 40\pi t + 10\cos 200\pi t + 5\cos 100\pi t

Termω\omega (rad/s)ff (Hz)
2sin⁡40πt2\sin 40\pi t40π40\pi2020
10cos⁡200πt10\cos 200\pi t200π200\pi100100
5cos⁡100πt5\cos 100\pi t100π100\pi5050

fM=100f_M = 100 Hz.

fN=2fM=2×100=200 Hzf_N = 2 f_M = 2\times 100 = 200\ \text{Hz}

Answer: Nyquist rate = 200 Hz (200 samples/s, ωN=400π\omega_N = 400\pi rad/s).

  • 2073 Bhadra · 2+3 marks

What is sampling? Determine the Nyquist rate for the following signal: x(t) = 1 + cos(200πt) + sin(4000πt)

Answer

Sampling

Sampling is the conversion of a continuous-time signal x(t)x(t) into a discrete-time sequence x[n]=x(nT)x[n] = x(nT) by taking its values at regular intervals TT (sampling period). The sampling frequency is fs=1/Tf_s = 1/T. By the sampling theorem, a band-limited signal can be recovered from its samples if fs>2fMf_s > 2f_M, where fMf_M is its highest frequency. Sampling is the first step of analog-to-digital conversion.

Nyquist rate of x(t)=1+cos⁡(200πt)+sin⁡(4000πt)x(t) = 1 + \cos(200\pi t) + \sin(4000\pi t)

Termω\omega (rad/s)ff (Hz)
110000 (DC)
cos⁡(200πt)\cos(200\pi t)200π200\pi100100
sin⁡(4000πt)\sin(4000\pi t)4000π4000\pi20002000

fM=2000f_M = 2000 Hz.

fN=2fM=4000 Hzf_N = 2 f_M = 4000\ \text{Hz}

Answer: Nyquist rate = 4000 Hz (4000 samples/s).

  • 2073 Bhadra · 3 marks

Write a short note on the Nyquist theorem.

Answer

The Nyquist (sampling) theorem states that a continuous-time signal band-limited to a highest frequency fMf_M can be exactly recovered from its samples if it is sampled at a rate

fs>2fMf_s > 2 f_M
  • 2fM2f_M is the Nyquist rate; TN=1/(2fM)T_N = 1/(2f_M) is the Nyquist interval.
  • In the frequency domain, sampling repeats the spectrum X(jω)X(j\omega) at every multiple of ωs\omega_s. With ωs>2ωM\omega_s > 2\omega_M the copies do not overlap.
  • Recovery is done with an ideal low-pass filter (gain TT, cutoff between ωM\omega_M and ωs−ωM\omega_s - \omega_M).
  • If fs<2fMf_s < 2f_M, copies overlap and aliasing occurs; high frequencies appear as low ones and the signal is lost.
  • In practice an anti-aliasing low-pass filter is placed before the sampler and fsf_s is kept above 2fM2f_M (e.g. audio with fM=20f_M = 20 kHz is sampled at 44.1 kHz).
  • 2072 Magh · 2 marks

What do you mean by sampling? Explain.

Answer

Sampling is the process of converting a continuous-time signal x(t)x(t) into a discrete-time signal by measuring its value at equally spaced instants t=nTt = nT:

x[n]=x(nT),n=0,±1,±2,…x[n] = x(nT), \qquad n = 0, \pm1, \pm2, \dots

Here TT is the sampling period and fs=1/Tf_s = 1/T is the sampling rate. Mathematically it is modelled as multiplying x(t)x(t) by an impulse train p(t)=∑nδ(t−nT)p(t)=\sum_n \delta(t-nT). Sampling is the first step in analog-to-digital conversion and lets continuous signals be processed by digital systems. A band-limited signal can be rebuilt from its samples only if fs>2fMf_s > 2f_M (sampling theorem); otherwise aliasing occurs.

  • 2072 Magh · 4 marks

The signal is sampled at the rate Fs = 300 samples/sec. Determine the frequency of the discrete-time signal x[n] = xₐ(nT), T = 1/Fs [The analog signal xₐ(t) is not given on the paper.]

Answer

The analog signal is not printed in the question. This answer assumes the standard textbook signal used with Fs=300F_s = 300 Hz (Proakis):

xa(t)=3cos⁡50πt+10sin⁡300πt−cos⁡100πtx_a(t) = 3\cos 50\pi t + 10\sin 300\pi t - \cos 100\pi t

The same method works for any given xa(t)x_a(t).

Method

Sampling at t=nT=n/Fst = nT = n/F_s turns an analog frequency FF into a discrete-time frequency

f=FFs cycles/sample,ω=2πFFs rad/samplef = \frac{F}{F_s}\ \text{cycles/sample}, \qquad \omega = 2\pi\frac{F}{F_s}\ \text{rad/sample}

Frequencies of each term

TermFF (Hz)f=F/300f = F/300ω=2πf\omega = 2\pi f
3cos⁡50πt3\cos 50\pi t25251/121/12π/6\pi/6
10sin⁡300πt10\sin 300\pi t1501501/21/2π\pi
−cos⁡100πt-\cos 100\pi t50501/61/6π/3\pi/3

Discrete-time signal

x[n]=xa ⁣(n300)=3cos⁡πn6+10sin⁡(πn)−cos⁡πn3\begin{aligned} x[n] &= x_a\!\left(\frac{n}{300}\right) \\ &= 3\cos\frac{\pi n}{6} + 10\sin(\pi n) - \cos\frac{\pi n}{3} \end{aligned}

Since sin⁡(πn)=0\sin(\pi n) = 0 for every integer nn, the 150 Hz term gives all-zero samples:

x[n]=3cos⁡πn6−cos⁡πn3x[n] = 3\cos\frac{\pi n}{6} - \cos\frac{\pi n}{3}

Answer: the discrete-time frequencies are f=1/12, 1/2, 1/6f = 1/12,\ 1/2,\ 1/6 cycles/sample (ω=π/6, π, π/3\omega = \pi/6,\ \pi,\ \pi/3 rad/sample). The highest frequency is 150 Hz, so the Nyquist rate is 300 Hz; sampling at exactly 300 Hz loses the sine term, which shows why FsF_s must be strictly greater than 2Fmax2F_{max}.

  • 2072 Asoj · 1+2+3 marks

What is impulse train sampling? Explain the aliasing effect that may occur in impulse train sampling. How do you reconstruct original signal from its sample?

Answer

Impulse-train sampling

Impulse-train sampling is the mathematical model of ideal sampling: x(t)x(t) is multiplied by a periodic train of unit impulses of period TT:

xp(t)=x(t)∑n=−∞∞δ(t−nT)=∑n=−∞∞x(nT) δ(t−nT)x_p(t) = x(t)\sum_{n=-\infty}^{\infty}\delta(t-nT) = \sum_{n=-\infty}^{\infty} x(nT)\,\delta(t-nT)

Each impulse carries the sample value x(nT)x(nT) as its area.

Aliasing in impulse-train sampling

The spectrum of the sampled signal is

Xp(jω)=1T∑k=−∞∞X(j(ω−kωs)),ωs=2πTX_p(j\omega) = \frac{1}{T}\sum_{k=-\infty}^{\infty} X\big(j(\omega - k\omega_s)\big), \qquad \omega_s = \frac{2\pi}{T}

i.e. copies of X(jω)X(j\omega) at every multiple of ωs\omega_s.

  • If ωs>2ωM\omega_s > 2\omega_M, the copies are separate.
  • If ωs<2ωM\omega_s < 2\omega_M, the copy at ωs\omega_s begins at ωs−ωM\omega_s - \omega_M, which is below ωM\omega_M, so the copies overlap. Frequencies above ωs/2\omega_s/2 fold back into the band and add to the true components. This is aliasing; the original spectrum can no longer be separated.
ws < 2wM:
     ____     ____     ____
    /    \   /    \   /    \
---/------\-/------\-/------\---> w
         -ws  \/ 0  \/  ws
              overlap = aliasing

Reconstruction from samples

If ωs>2ωM\omega_s > 2\omega_M, pass xp(t)x_p(t) through an ideal low-pass filter with gain TT and cutoff ωc\omega_c, where ωM<ωc<ωs−ωM\omega_M < \omega_c < \omega_s - \omega_M (usually ωc=ωs/2\omega_c = \omega_s/2). The filter keeps only the k=0k=0 copy, so its output is x(t)x(t). In time,

h(t)=Tsin⁡ωctπt,xr(t)=∑nx(nT) Tsin⁡ωc(t−nT)π(t−nT)h(t) = \frac{T\sin\omega_c t}{\pi t}, \qquad x_r(t) = \sum_{n} x(nT)\,\frac{T\sin\omega_c(t-nT)}{\pi(t-nT)}

This is band-limited (sinc) interpolation. Practical systems use simpler approximations: zero-order hold (staircase) or first-order hold (straight-line interpolation) followed by smoothing.

  • 2071 Magh · 3+3 marks

What is aliasing effect and how can we overcome it? Determine the Nyquist rate for a continuous time signal x(t) = 6cos50πt + 20sin300πt − 10cos100πt.

Answer

Aliasing effect

Aliasing is the distortion that occurs when a signal is sampled at a rate lower than its Nyquist rate (fs<2fMf_s < 2f_M). The shifted copies of the spectrum in the sampled signal overlap, so a high-frequency component "folds back" and appears as a lower frequency (its alias). After overlap the original spectrum cannot be separated by any filter, so the signal cannot be recovered exactly.

Example: a 700 Hz tone sampled at fs=1000f_s = 1000 Hz gives the same samples as a 1000−700=3001000-700 = 300 Hz tone.

How to overcome aliasing:

  1. Sample fast enough: choose fs>2fMf_s > 2f_M (in practice fsf_s is kept 2.5 to 5 times fMf_M to leave a guard band).
  2. Anti-aliasing filter: pass the signal through an analog low-pass filter with cutoff fs/2f_s/2 before sampling, so that no component above fs/2f_s/2 reaches the sampler. Real signals and noise are never strictly band-limited, so this filter is always used in practice.
  3. Use a reconstruction filter with a sharp cutoff so that neighbouring spectral copies are rejected.

Nyquist rate of x(t)=6cos⁡50πt+20sin⁡300πt−10cos⁡100πtx(t) = 6\cos 50\pi t + 20\sin 300\pi t - 10\cos 100\pi t

Termω\omega (rad/s)ff (Hz)
6cos⁡50πt6\cos 50\pi t50π50\pi2525
20sin⁡300πt20\sin 300\pi t300π300\pi150150
−10cos⁡100πt-10\cos 100\pi t100π100\pi5050

fM=150f_M = 150 Hz.

fN=2fM=2×150=300 Hzf_N = 2 f_M = 2\times150 = 300\ \text{Hz}

Answer: Nyquist rate = 300 Hz (300 samples/s, ωN=600π\omega_N = 600\pi rad/s). (Sampling at exactly 300 Hz would make every sample of sin⁡300πt\sin 300\pi t zero, so in practice fsf_s must be strictly greater than 300 Hz.)

  • 2071 Bhadra · 5 marks

Explain aliasing that may occur in any arbitrary band-limited signal x(t) with band-width 'W'.

Answer

Let x(t)x(t) be band-limited with bandwidth WW, i.e. X(jω)=0X(j\omega) = 0 for ∣ω∣>W|\omega| > W (in rad/s). It is sampled with an impulse train of period TT, sampling frequency ωs=2π/T\omega_s = 2\pi/T.

Spectrum of the sampled signal

Xp(jω)=1T∑k=−∞∞X(j(ω−kωs))X_p(j\omega) = \frac{1}{T}\sum_{k=-\infty}^{\infty} X\big(j(\omega - k\omega_s)\big)

The baseband copy (k=0k=0) occupies [−W,W][-W, W]. The copy for k=1k=1 occupies [ωs−W, ωs+W][\omega_s - W,\ \omega_s + W].

Three cases

CaseConditionResult
Over-samplingωs>2W\omega_s > 2WGap of ωs−2W\omega_s - 2W between copies; no aliasing
Criticalωs=2W\omega_s = 2WCopies just touch; ideal LPF needed
Under-samplingωs<2W\omega_s < 2WCopies overlap from ωs−W\omega_s - W to WW: aliasing
ws < 2W :
       k=0           k=1
     _______       _______
    /       \     /       \
---/----------\-/----------\---> w
  -W     ws-W  W  ws       ws+W
          |<-->|
         overlap

What aliasing does

  • In the overlap band ωs−W<∣ω∣<W\omega_s - W < |\omega| < W, XpX_p is the sum of the original spectrum and the tail of the neighbouring copy. A component at ω0>ωs/2\omega_0 > \omega_s/2 appears at the alias frequency ωs−ω0\omega_s - \omega_0.
  • A low-pass filter cannot separate the two, so the reconstructed signal differs from x(t)x(t): high frequencies are lost and false low frequencies appear.
  • Example: W=2π(1000)W = 2\pi(1000), ωs=2π(1500)\omega_s = 2\pi(1500). A 900 Hz component appears at 1500−900=6001500 - 900 = 600 Hz.

Avoiding it: sample at ωs>2W\omega_s > 2W and place an anti-aliasing low-pass filter of cutoff ωs/2\omega_s/2 before the sampler.

  • 2071 Bhadra · 4+4 marks

Discuss different methods to reconstruct a signal. Determine the Nyquist rate for a continuous time signal x(t) = (1/2π) cos(200πt) cos(300πt).

Answer

Methods of reconstruction

Reconstruction (interpolation) means rebuilding the continuous signal x(t)x(t) from its samples x(nT)x(nT).

  1. Ideal (band-limited) interpolation: pass the impulse-sampled signal through an ideal LPF with gain TT and cutoff ωc=ωs/2\omega_c = \omega_s/2:
xr(t)=∑n=−∞∞x(nT) sin⁡ ⁣(ωc(t−nT))ωc(t−nT)⋅ωcTπx_r(t) = \sum_{n=-\infty}^{\infty} x(nT)\,\frac{\sin\!\big(\omega_c(t-nT)\big)}{\omega_c(t-nT)}\cdot\frac{\omega_c T}{\pi}

Each sample is replaced by a sinc pulse; the result equals x(t)x(t) exactly when ωs>2ωM\omega_s > 2\omega_M. It is not realizable because the ideal LPF is non-causal. 2. Zero-order hold (ZOH): each sample is held constant until the next sample, giving a staircase. Impulse response h0(t)=1h_0(t) = 1 for 0≤t<T0 \le t < T. Simple (used in DACs) but adds distortion, so a smoothing (reconstruction) filter follows it. 3. First-order hold (linear interpolation): adjacent samples are joined by straight lines. Impulse response is a triangle of width 2T2T. Smoother than ZOH but still approximate.

ZOH:   _    __          FOH:    /\
      | |__|  |__              /  \__/\
      staircase                straight lines

Nyquist rate of x(t)=12πcos⁡(200πt)cos⁡(300πt)x(t) = \frac{1}{2\pi}\cos(200\pi t)\cos(300\pi t)

Use cos⁡Acos⁡B=12[cos⁡(A−B)+cos⁡(A+B)]\cos A\cos B = \tfrac12[\cos(A-B) + \cos(A+B)]:

x(t)=12π⋅12[cos⁡(100πt)+cos⁡(500πt)]=14πcos⁡(100πt)+14πcos⁡(500πt)\begin{aligned} x(t) &= \frac{1}{2\pi}\cdot\frac12\big[\cos(100\pi t) + \cos(500\pi t)\big] \\ &= \frac{1}{4\pi}\cos(100\pi t) + \frac{1}{4\pi}\cos(500\pi t) \end{aligned}
Termω\omega (rad/s)ff (Hz)
cos⁡(100πt)\cos(100\pi t)100π100\pi5050
cos⁡(500πt)\cos(500\pi t)500π500\pi250250

fM=250f_M = 250 Hz.

fN=2fM=500 Hzf_N = 2 f_M = 500\ \text{Hz}

Answer: Nyquist rate = 500 Hz (500 samples/s, ωN=1000π\omega_N = 1000\pi rad/s).

  • 2070 Magh · 6 marks

State and prove sampling theorem for low pass signals.

Answer

Statement (low-pass sampling theorem): If a continuous-time signal x(t)x(t) is band-limited with X(jω)=0X(j\omega) = 0 for ∣ω∣>ωM|\omega| > \omega_M, then x(t)x(t) is uniquely determined by its samples x(nT)x(nT), n=0,±1,…n = 0, \pm1, \dots, provided

ωs=2πT>2ωM\omega_s = \frac{2\pi}{T} > 2\omega_M

2ωM2\omega_M is the Nyquist rate.

Proof. Let x(t)x(t) be band-limited: X(jω)=0X(j\omega) = 0 for ∣ω∣>ωM|\omega| > \omega_M.

Step 1 – sampling model. Sample with the impulse train p(t)=∑nδ(t−nT)p(t) = \sum_n \delta(t-nT):

xp(t)=x(t)p(t)=∑n=−∞∞x(nT) δ(t−nT)x_p(t) = x(t)p(t) = \sum_{n=-\infty}^{\infty} x(nT)\,\delta(t-nT)

Step 2 – transform of p(t)p(t). p(t)p(t) is periodic with period TT; its Fourier series coefficients are all 1/T1/T, so

P(jω)=2πT∑k=−∞∞δ(ω−kωs),ωs=2πTP(j\omega) = \frac{2\pi}{T}\sum_{k=-\infty}^{\infty}\delta(\omega - k\omega_s), \qquad \omega_s = \frac{2\pi}{T}

Step 3 – multiplication property.

Xp(jω)=12πX(jω)∗P(jω)=1T∑k=−∞∞X(j(ω−kωs))\begin{aligned} X_p(j\omega) &= \frac{1}{2\pi}X(j\omega) * P(j\omega) \\ &= \frac{1}{T}\sum_{k=-\infty}^{\infty} X\big(j(\omega - k\omega_s)\big) \end{aligned}

Step 4 – no-overlap condition. The k=0k=0 copy lies in [−ωM,ωM][-\omega_M, \omega_M] and the k=1k=1 copy starts at ωs−ωM\omega_s - \omega_M. They do not overlap if

ωs−ωM>ωM  ⇒  ωs>2ωM\omega_s - \omega_M > \omega_M \;\Rightarrow\; \omega_s > 2\omega_M

Step 5 – recovery. Pass xp(t)x_p(t) through an ideal LPF H(jω)=TH(j\omega) = T for ∣ω∣<ωc|\omega| < \omega_c, 0 otherwise, with ωM<ωc<ωs−ωM\omega_M < \omega_c < \omega_s - \omega_M. Only the k=0k=0 term survives:

Xr(jω)=H(jω)Xp(jω)=T⋅1TX(jω)=X(jω)X_r(j\omega) = H(j\omega)X_p(j\omega) = T\cdot\frac{1}{T}X(j\omega) = X(j\omega)

Hence xr(t)=x(t)x_r(t) = x(t): the samples determine x(t)x(t) uniquely. ■\blacksquare

X(jw)          Xp(jw), ws > 2wM          LPF H(jw)
  /\         /\      /\      /\         ______
 /  \       /  \    /  \    /  \       |      |
-wM wM   -ws        0       ws       -wc     wc

In time domain the recovered signal is the sinc interpolation x(t)=∑nx(nT) sin⁡(ωs(t−nT)/2)ωs(t−nT)/2x(t) = \sum_n x(nT)\,\dfrac{\sin(\omega_s(t-nT)/2)}{\omega_s(t-nT)/2} (with ωc=ωs/2\omega_c = \omega_s/2).

  • 2070 Bhadra · 1+5 marks

What do you mean by aliasing? Explain with the help of frequency domain analysis for impulse-train sampling.

Answer

Aliasing

Aliasing is the overlapping of spectral copies that happens when a signal is sampled below its Nyquist rate (ωs<2ωM\omega_s < 2\omega_M); high-frequency components then appear as lower frequencies and the signal cannot be recovered.

Frequency-domain analysis of impulse-train sampling

Let x(t)x(t) be band-limited to ωM\omega_M. Impulse-train sampling multiplies it by a periodic impulse train of period TT:

p(t)=∑n=−∞∞δ(t−nT),xp(t)=x(t)p(t)=∑n=−∞∞x(nT) δ(t−nT)p(t) = \sum_{n=-\infty}^{\infty} \delta(t - nT), \qquad x_p(t) = x(t)p(t) = \sum_{n=-\infty}^{\infty} x(nT)\,\delta(t-nT)

The Fourier transform of the impulse train is also an impulse train, with spacing ωs=2π/T\omega_s = 2\pi/T:

P(jω)=2πT∑k=−∞∞δ(ω−kωs)P(j\omega) = \frac{2\pi}{T}\sum_{k=-\infty}^{\infty}\delta(\omega - k\omega_s)

Multiplication in time is convolution in frequency:

Xp(jω)=12π X(jω)∗P(jω)=1T∑k=−∞∞X(j(ω−kωs))\begin{aligned} X_p(j\omega) &= \frac{1}{2\pi}\, X(j\omega) * P(j\omega) \\ &= \frac{1}{T}\sum_{k=-\infty}^{\infty} X\big(j(\omega - k\omega_s)\big) \end{aligned}

So the spectrum of the sampled signal is the original spectrum, scaled by 1/T1/T, repeated at every multiple of ωs\omega_s.

Case 1: ωs>2ωM\omega_s > 2\omega_M (no aliasing)

    /\        /\        /\
   /  \      /  \      /  \
--/----\----/----\----/----\---> w
    -ws        0        ws

The copies are separate. An ideal LPF (gain TT, cutoff ωM<ωc<ωs−ωM\omega_M < \omega_c < \omega_s - \omega_M) recovers X(jω)X(j\omega) exactly.

Case 2: ωs<2ωM\omega_s < 2\omega_M (aliasing)

     ____    ____    ____
    /    \  /    \  /    \
---/------\/------\/------\---> w
        -ws   0     ws
         overlapped regions add

The k=1k=1 copy starts at ωs−ωM<ωM\omega_s - \omega_M < \omega_M, so it overlaps the baseband copy. In the band ωs−ωM<∣ω∣<ωM\omega_s - \omega_M < |\omega| < \omega_M, the spectrum is a sum of two copies. A component at ω0>ωs/2\omega_0 > \omega_s/2 shows up at ωs−ω0\omega_s - \omega_0.

Example: x(t)=cos⁡(2π⋅700t)x(t) = \cos(2\pi\cdot 700t) sampled at fs=1000f_s = 1000 Hz. The copy at 1000−700=3001000 - 700 = 300 Hz lies inside the LPF band, so the output of reconstruction is a 300 Hz tone instead of 700 Hz.

Aliasing is prevented by sampling at ωs>2ωM\omega_s > 2\omega_M and using an anti-aliasing filter before sampling.

  • 2069 Bhadra · 6 marks

What is sampling. How are spectrum of continuous time signal and its sampled version related? Illustrate with diagram.

Answer

Sampling

Sampling converts a continuous-time signal x(t)x(t) into samples x(nT)x(nT) taken every TT seconds (ωs=2π/T\omega_s = 2\pi/T). It is modelled as multiplication by an impulse train:

xp(t)=x(t)∑n=−∞∞δ(t−nT)=∑nx(nT)δ(t−nT)x_p(t) = x(t)\sum_{n=-\infty}^{\infty}\delta(t-nT) = \sum_n x(nT)\delta(t-nT)

Relation between the two spectra

The impulse train has transform P(jω)=2πT∑kδ(ω−kωs)P(j\omega) = \dfrac{2\pi}{T}\sum_k \delta(\omega - k\omega_s). By the multiplication property,

Xp(jω)=12πX(jω)∗P(jω)=1T∑k=−∞∞X(j(ω−kωs))\begin{aligned} X_p(j\omega) &= \frac{1}{2\pi}X(j\omega) * P(j\omega) \\ &= \frac{1}{T}\sum_{k=-\infty}^{\infty} X\big(j(\omega - k\omega_s)\big) \end{aligned}

So the spectrum of the sampled signal is:

  • the original spectrum X(jω)X(j\omega) scaled by 1/T1/T,
  • repeated periodically at every integer multiple of ωs\omega_s,
  • hence periodic in ω\omega with period ωs\omega_s.
(a) Original X(jw), band-limited to wM
            /\  A
           /  \
     -----/----\-----> w
        -wM    wM

(b) Sampled Xp(jw), ws > 2wM   (height A/T)
   /\        /\        /\
  /  \      /  \      /  \
-/----\----/----\----/----\--> w
  -ws         0        ws

(c) Sampled Xp(jw), ws < 2wM  -> overlap (aliasing)
    ___ ___ ___
   /   X   X   \
--/-------------\--> w

Interpretation

  • If ωs>2ωM\omega_s > 2\omega_M, the copies do not overlap and the original spectrum can be cut out with an ideal LPF of gain TT; x(t)x(t) is recovered exactly.
  • If ωs<2ωM\omega_s < 2\omega_M, the copies overlap and the spectrum near ωs/2\omega_s/2 is corrupted (aliasing).
  • For the discrete-time sequence x[n]=x(nT)x[n] = x(nT), the DTFT is X(ejΩ)=Xp(jΩ/T)X(e^{j\Omega}) = X_p(j\Omega/T), i.e. the same picture with frequency axis scaled so that ωs\omega_s maps to 2π2\pi.
  • 2083 Bhadra (new course) · 1+3+3 marks

What do you mean by band limited signals? Explain aliasing effect with examples. Find the Nyquist rate and Nyquist time interval of the following signal. x(t) = 3sin(230πt) + 50cos(225πt) + sin(200πt)

Answer

Band-limited signal

A signal x(t)x(t) is band-limited if its Fourier transform is zero above some finite frequency ωM\omega_M: X(jω)=0X(j\omega) = 0 for ∣ω∣>ωM|\omega| > \omega_M. Example: a sum of sinusoids, or speech after a 3.4 kHz low-pass filter.

Aliasing effect with example

When a band-limited signal is sampled at fs<2fMf_s < 2f_M, the shifted copies of its spectrum overlap. A component of frequency f0>fs/2f_0 > f_s/2 then gives the same samples as a lower frequency ∣f0−kfs∣|f_0 - kf_s| and is mistaken for it. This is aliasing.

Example: x1(t)=cos⁡(2π⋅10t)x_1(t) = \cos(2\pi\cdot 10t) and x2(t)=cos⁡(2π⋅50t)x_2(t) = \cos(2\pi\cdot 50t), sampled at fs=40f_s = 40 Hz:

x2[n]=cos⁡ ⁣(2π5040n)=cos⁡ ⁣(2πn+2πn4)=cos⁡ ⁣(2π1040n)=x1[n]x_2[n] = \cos\!\left(2\pi\frac{50}{40}n\right) = \cos\!\left(2\pi n + \frac{2\pi n}{4}\right) = \cos\!\left(2\pi\frac{10}{40}n\right) = x_1[n]

The samples are identical, so 50 Hz is an alias of 10 Hz. Aliasing is avoided by sampling above the Nyquist rate and using an anti-aliasing filter.

Nyquist rate and interval of x(t)=3sin⁡(230πt)+50cos⁡(225πt)+sin⁡(200πt)x(t) = 3\sin(230\pi t) + 50\cos(225\pi t) + \sin(200\pi t)

Termω\omega (rad/s)ff (Hz)
3sin⁡(230πt)3\sin(230\pi t)230π230\pi115115
50cos⁡(225πt)50\cos(225\pi t)225π225\pi112.5112.5
sin⁡(200πt)\sin(200\pi t)200π200\pi100100

fM=115f_M = 115 Hz.

fN=2fM=2×115=230 HzTN=1fN=1230=4.348 ms\begin{aligned} f_N &= 2f_M = 2 \times 115 = 230\ \text{Hz} \\ T_N &= \frac{1}{f_N} = \frac{1}{230} = 4.348\ \text{ms} \end{aligned}

Answer: Nyquist rate = 230 Hz; Nyquist interval = 1/230 s ≈ 4.35 ms.

  • 2083 Baisakh (new course) · 2+2+2 marks

Define sampling theorem. Explain the aliasing effect and its cause. Find the Nyquist rate and Nyquist time interval of the following signal. x(t) = 5cos(150πt) + 10sin(350πt) + cos(150πt)

Answer

Sampling theorem

Sampling theorem: A continuous-time signal x(t)x(t) that is band-limited to ωM\omega_M (that is, X(jω)=0X(j\omega)=0 for ∣ω∣>ωM|\omega|>\omega_M) is uniquely determined by its samples x(nT)x(nT) if the sampling frequency satisfies

ωs=2πT>2ωMorfs>2fM\omega_s = \frac{2\pi}{T} > 2\omega_M \quad\text{or}\quad f_s > 2f_M

The minimum rate 2fM2f_M is called the Nyquist rate, and TN=1/(2fM)T_N = 1/(2f_M) is the Nyquist interval.

Aliasing effect and its cause

Aliasing is the appearance of a high-frequency component as a false lower frequency after sampling.

Cause: sampling repeats the spectrum at every multiple of ωs\omega_s: Xp(jω)=1T∑kX(j(ω−kωs))X_p(j\omega) = \frac1T\sum_k X(j(\omega - k\omega_s)). If ωs<2ωM\omega_s < 2\omega_M (under-sampling), or if the signal is not band-limited, neighbouring copies overlap. Frequencies above fs/2f_s/2 fold back into 00 to fs/2f_s/2 and cannot be separated. Example: 700 Hz sampled at 1 kHz looks like 300 Hz.

Nyquist rate and interval of x(t)=5cos⁡(150πt)+10sin⁡(350πt)+cos⁡(150πt)x(t) = 5\cos(150\pi t) + 10\sin(350\pi t) + \cos(150\pi t)

The first and last terms have the same frequency, so x(t)=6cos⁡(150πt)+10sin⁡(350πt)x(t) = 6\cos(150\pi t) + 10\sin(350\pi t).

Termω\omega (rad/s)ff (Hz)
6cos⁡(150πt)6\cos(150\pi t)150π150\pi7575
10sin⁡(350πt)10\sin(350\pi t)350π350\pi175175

fM=175f_M = 175 Hz.

fN=2fM=350 HzTN=1350=2.857 ms\begin{aligned} f_N &= 2 f_M = 350\ \text{Hz} \\ T_N &= \frac{1}{350} = 2.857\ \text{ms} \end{aligned}

Answer: Nyquist rate = 350 Hz; Nyquist interval = 1/350 s ≈ 2.86 ms.

  • 2082 Bhadra (new course) · 3+2 marks

State and prove the sampling theorem. What is aliasing effect? Explain.

Answer

Statement

A continuous-time signal x(t)x(t) band-limited to ωM\omega_M (X(jω)=0X(j\omega) = 0 for ∣ω∣>ωM|\omega| > \omega_M) is uniquely determined by its samples x(nT)x(nT) if the sampling frequency ωs=2π/T>2ωM\omega_s = 2\pi/T > 2\omega_M.

Proof. Let x(t)x(t) be band-limited: X(jω)=0X(j\omega) = 0 for ∣ω∣>ωM|\omega| > \omega_M.

Step 1 – sampling model. Sample with the impulse train p(t)=∑nδ(t−nT)p(t) = \sum_n \delta(t-nT):

xp(t)=x(t)p(t)=∑n=−∞∞x(nT) δ(t−nT)x_p(t) = x(t)p(t) = \sum_{n=-\infty}^{\infty} x(nT)\,\delta(t-nT)

Step 2 – transform of p(t)p(t). p(t)p(t) is periodic with period TT; its Fourier series coefficients are all 1/T1/T, so

P(jω)=2πT∑k=−∞∞δ(ω−kωs),ωs=2πTP(j\omega) = \frac{2\pi}{T}\sum_{k=-\infty}^{\infty}\delta(\omega - k\omega_s), \qquad \omega_s = \frac{2\pi}{T}

Step 3 – multiplication property.

Xp(jω)=12πX(jω)∗P(jω)=1T∑k=−∞∞X(j(ω−kωs))\begin{aligned} X_p(j\omega) &= \frac{1}{2\pi}X(j\omega) * P(j\omega) \\ &= \frac{1}{T}\sum_{k=-\infty}^{\infty} X\big(j(\omega - k\omega_s)\big) \end{aligned}

Step 4 – no-overlap condition. The k=0k=0 copy lies in [−ωM,ωM][-\omega_M, \omega_M] and the k=1k=1 copy starts at ωs−ωM\omega_s - \omega_M. They do not overlap if

ωs−ωM>ωM  ⇒  ωs>2ωM\omega_s - \omega_M > \omega_M \;\Rightarrow\; \omega_s > 2\omega_M

Step 5 – recovery. Pass xp(t)x_p(t) through an ideal LPF H(jω)=TH(j\omega) = T for ∣ω∣<ωc|\omega| < \omega_c, 0 otherwise, with ωM<ωc<ωs−ωM\omega_M < \omega_c < \omega_s - \omega_M. Only the k=0k=0 term survives:

Xr(jω)=H(jω)Xp(jω)=T⋅1TX(jω)=X(jω)X_r(j\omega) = H(j\omega)X_p(j\omega) = T\cdot\frac{1}{T}X(j\omega) = X(j\omega)

Hence xr(t)=x(t)x_r(t) = x(t): the samples determine x(t)x(t) uniquely. ■\blacksquare

Aliasing effect

If ωs<2ωM\omega_s < 2\omega_M, the k=1k=1 copy in Xp(jω)X_p(j\omega) starts at ωs−ωM\omega_s - \omega_M, which is less than ωM\omega_M, so neighbouring copies overlap. In the overlap region the spectral values add, and a component at ω0>ωs/2\omega_0 > \omega_s/2 appears at ωs−ω0\omega_s - \omega_0. The LPF then outputs a distorted signal. This is aliasing.

Example: 700 Hz sampled at 1000 Hz gives the same samples as 300 Hz.

It is avoided by sampling above the Nyquist rate and using an anti-aliasing LPF before sampling.

  • 2082 Bhadra (new course) · 3 marks

Determine the Nyquist rate for the signal x(t) = 5cos(3,000πt)sin(1,000πt).

Answer

The product must be written as a sum of sinusoids. Use sin⁡Acos⁡B=12[sin⁡(A+B)+sin⁡(A−B)]\sin A\cos B = \tfrac12[\sin(A+B) + \sin(A-B)] with A=1000πtA = 1000\pi t, B=3000πtB = 3000\pi t:

x(t)=5cos⁡(3000πt)sin⁡(1000πt)=52[sin⁡(4000πt)+sin⁡(−2000πt)]=2.5sin⁡(4000πt)−2.5sin⁡(2000πt)\begin{aligned} x(t) &= 5\cos(3000\pi t)\sin(1000\pi t) \\ &= \frac52\big[\sin(4000\pi t) + \sin(-2000\pi t)\big] \\ &= 2.5\sin(4000\pi t) - 2.5\sin(2000\pi t) \end{aligned}
Termω\omega (rad/s)ff (Hz)
2.5sin⁡(4000πt)2.5\sin(4000\pi t)4000π4000\pi20002000
−2.5sin⁡(2000πt)-2.5\sin(2000\pi t)2000π2000\pi10001000

fM=2000f_M = 2000 Hz, so

fN=2fM=4000 Hzf_N = 2 f_M = 4000\ \text{Hz}

Answer: Nyquist rate = 4000 Hz (4000 samples/s, ωN=8000π\omega_N = 8000\pi rad/s). Note it is not twice 1500 Hz: multiplication creates sum and difference frequencies.

Questions from Old Question Collection (Signal Analysis EX 651) (IOE Signal Analysis (EX 651) exam papers from 2069 to 2082) and 2080 course paper (ENEX 255) (IOE Signals and Systems (ENEX 255, new course) papers: 2082 Bhadra, 2083 Baisakh, 2083 Bhadra). Answers are written for this site; check them against your class notes.

Chapter titles and hours from the IOE syllabus ↗