NivaarExam PrepOfficial exam papers ↗

22-Elec-A3 Signals and Communications · December 2019

Question 3 of 5: PCM System Design — Quantisation Levels, Noise Power and Bit Rate

Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)

Notes on this paper

Paper format. National Examinations, December 2019 — 16-Elec-A3 Signals and Communications. Three hours, closed book (an approved Casio or Sharp calculator is permitted). Answer all 5 questions; all 5 questions are of equal value (20 marks each, 100 marks total). Candidates are urged to submit a clear statement of any assumption made where a question admits more than one reading.

Reference texts.

Note on scope. This sitting carries no printed figures: every system in Questions 4 and 5 is specified analytically, so all block diagrams and plots below are constructed from the given equations. Where the examiner asks for a "plot", a labelled sketch with the correct line positions, weights and signs is what earns the marks — each figure here is drawn to that standard.

Question 3: PCM System Design — Quantisation Levels, Noise Power and Bit Rate (20 marks)

Question text not reproduced: the examination questions are © Engineers and Geoscientists BC. Open the official past paper (linked at the top of this page) to read the question, then follow the worked solution below.

Given.

QuantitySymbolValue
Message bandwidth$W$8 kHz
Signal range—−3 V to +3 V
Peak-to-peak span$V_{pp}$6 V
Peak value$V_p$3 V
Maximum quantisation error$e_{\max}$0.5 % of $V_p$
Level constraint$L$a power of 2

Find. The smallest admissible $L$; the quantisation noise power; the reconstructed SNR under a sinusoidal signal model; the SNR change when $L$ is doubled; the word length; and the resulting bit rate.

Approach. Convert the 0.5 % accuracy specification into a bound on the step size, round up to the next power of two, then apply the standard uniform-quantiser noise model $N_q = \Delta^2/12$ and the Nyquist sampling rate.

  1. Translate the accuracy specification into a step-size bound. A uniform quantiser with step $\Delta$ produces an error uniformly distributed on $[-\Delta/2,\ +\Delta/2]$, so the worst-case error is $\Delta/2$. Requiring this to stay within 0.5 % of the 3 V peak, $$\frac{\Delta}{2} \le 0.005\,V_p = 0.005(3) = 0.015\ \text{V} \quad\Longrightarrow\quad \Delta \le 0.030\ \text{V}$$
  2. Convert the step-size bound into a level count. The $L$ levels must span the full 6 V range, so $\Delta = V_{pp}/L$ and $$L \ge \frac{V_{pp}}{\Delta} = \frac{6}{0.030} = 200$$ The smallest power of two that satisfies this is $2^8 = 256$ (since $2^7 = 128 \lt 200$): $$\boxed{L = 256\ \text{levels}}$$
  3. Recompute the realised step size and verify the specification. $$\Delta = \frac{V_{pp}}{L} = \frac{6}{256} = 0.023438\ \text{V} \qquad \frac{\Delta}{2} = 0.011719\ \text{V} \le 0.015\ \text{V}\ \checkmark$$ The realised worst-case error is 0.39 % of peak, comfortably inside the 0.5 % budget.
  4. Compute the quantisation noise power. For a uniformly distributed error the mean-square value is $$N_q = \frac{1}{\Delta}\int_{-\Delta/2}^{\Delta/2} e^2\,de = \frac{\Delta^2}{12} = \frac{(0.023438)^2}{12}$$ $$\boxed{N_q = 4.578\times10^{-5}\ \text{W}\ \ (\text{i.e. V}^2)}$$
  5. Compute the signal power under the sinusoidal model. A full-scale sinusoid has amplitude equal to the peak, $A = V_p = 3$ V, so $$S = \frac{A^2}{2} = \frac{3^2}{2} = 4.5\ \text{W}$$
  6. Form the signal-to-quantisation-noise ratio. $$\text{SNR} = \frac{S}{N_q} = \frac{4.5}{4.578\times10^{-5}} = 98\,304$$ $$\boxed{\text{SNR} = 10\log_{10}(98\,304) = 49.93\ \text{dB}}$$ This agrees exactly with the textbook rule for a full-scale sinusoid, $\text{SNR}_{\text{dB}} = 6.02n + 1.76 = 6.02(8) + 1.76 = 49.92$ dB, which is a useful independent check on both $L$ and $\Delta$.
  7. Determine the effect of doubling the number of levels. Doubling $L$ halves $\Delta$ and therefore quarters $N_q$, while $S$ is unchanged: $$\Delta \text{SNR} = 10\log_{10}(4) = 6.02\ \text{dB}$$ $$\boxed{\text{SNR increases by } 6.02\ \text{dB (from 49.93 dB to 55.95 dB)}}$$ Equivalently: every additional bit buys about 6 dB, the single most quoted result in PCM design.
  8. Determine the word length. $$n = \log_2 L = \log_2 256$$ $$\boxed{n = 8\ \text{bits per sample}}$$
  9. Determine the sampling rate and bit rate. Nyquist requires $f_s \ge 2W = 2(8\ \text{kHz}) = 16$ kHz; taking the minimum, $$R_b = n f_s = 8 \times 16\,000$$ $$\boxed{R_b = 128\ \text{kbit/s}}$$ In practice a modest guard band would push $f_s$ slightly above 16 kHz to allow a realisable anti-aliasing filter; the ideal-filter figure of 128 kbit/s is the answer expected here.
QuantityResult
(a) Smallest number of levels$L = 256$
   Realised step size$\Delta = 23.44$ mV
(b) Quantisation noise power$N_q = 4.578\times10^{-5}$ V$^2$
(c) Signal power (sinusoid)$S = 4.50$ W
(c) SNR$98\,304 = 49.93$ dB
(d) SNR change on doubling $L$$+6.02$ dB (to 55.95 dB)
(e) Bits per sample$n = 8$
(f) Sampling rate / bit rate$f_s = 16$ kHz, $R_b = 128$ kbit/s