NivaarExam PrepOfficial exam papers ↗

22-Elec-A3 Signals and Communications · December 2018

Question 2 of 5: Uniform PCM — Signal-to-Quantisation-Noise Ratio and Bit Rate

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

Notes on this paper

Paper format. National Examinations, December 2018 — 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 state any assumption made where a question admits more than one reading.

Reference texts.

Note on the Question 4 figure. The block diagram shows both summing junctions drawn as plain adders — there are no minus signs at any input — so the printed arm gains are the multipliers exactly as shown: −3/4 on the first delay output into the input adder, +1/2 on the second delay output into the same adder, and +1/2 on the first delay output feeding forward to the output adder. The consequence, developed in Question 4, is that one pole falls outside the unit circle. That is a genuine property of the printed network, and the answer below treats it as such.

Question 2: Uniform PCM — Signal-to-Quantisation-Noise Ratio 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$B$8 kHz
Signal range—−2 V to +2 V
Peak-to-peak span$V_{pp}$4 V
Signal peak amplitude (sinusoid model)$A$2 V
Quantisation noise model—sinusoid of amplitude $A_n$
Required signal-to-noise ratio$\text{SNR}$60 dB

Find. (a) SNR as a function of $A_n$; (b) the $A_n$ that meets 60 dB; (c) the number of quantisation levels $L$; (d) the word length $n$ in bits per sample; and (e) the resulting bit rate $R_b$.

Approach. Both signal and noise are modelled as sinusoids, so both powers are simply (amplitude)$^2/2$ and the ratio reduces to a ratio of squared amplitudes. Convert the decibel specification to a linear ratio, solve for $A_n$, then link $A_n$ to the step size through the peak quantisation error, and finish with Nyquist sampling.

  1. (a) Express both powers. Modelling the message as a full-scale sinusoid $m(t)=A\cos\omega t$ with $A=2$ V, its mean-square value is $$S = \frac{A^{2}}{2} = \frac{2^{2}}{2} = 2\ \text{W}.$$ The quantisation noise is likewise modelled as a sinusoid of amplitude $A_n$, so $$N = \frac{A_n^{2}}{2}.$$ The ratio is therefore $$\boxed{\ \text{SNR} = \frac{S}{N} = \frac{A^{2}/2}{A_n^{2}/2} = \frac{A^{2}}{A_n^{2}} = \frac{4}{A_n^{2}}\ }$$ The factors of one-half cancel, which is precisely why the question tells you to model both as sinusoids — it removes any dependence on the waveform's crest factor.
  2. (b) Impose the 60 dB requirement. Converting from decibels, $$\text{SNR}_{\text{lin}} = 10^{60/10} = 10^{6}.$$ Substituting into the result of Step 1 and solving, $$\frac{4}{A_n^{2}} = 10^{6} \;\Longrightarrow\; A_n^{2} = 4\times10^{-6} \;\Longrightarrow\; \boxed{A_n = 2\times10^{-3}\ \text{V} = 2\ \text{mV}}$$
  3. (c) Relate the noise amplitude to the step size. With rounding to the nearest level, the quantisation error of a uniform quantiser of step $\Delta$ is bounded by $\pm\Delta/2$. Modelling that error as a sinusoid means its peak value is $A_n$, so $$A_n = \frac{\Delta}{2} \;\Longrightarrow\; \Delta = 2A_n = 4\times10^{-3}\ \text{V} = 4\ \text{mV}.$$ The quantiser must cover the full 4 V span in steps of $\Delta$, so the number of levels is $$L = \frac{V_{pp}}{\Delta} = \frac{4}{4\times10^{-3}} \;\Longrightarrow\; \boxed{L = 1000\ \text{levels}}$$
  4. (d) Convert levels to bits. An $n$-bit word addresses $2^{n}$ levels, so $n$ must satisfy $2^{n} \ge L$: $$n = \lceil \log_2 1000 \rceil = \lceil 9.966 \rceil = \boxed{10\ \text{bits per sample}}$$ Ten bits provide 1024 levels, comfortably covering the 1000 required (and delivering a slightly better SNR than the 60 dB specified). Rounding down to 9 bits would give only 512 levels and miss the specification by some 5.9 dB — the ceiling is mandatory.
  5. (e) Sample and compute the bit rate. By the sampling theorem the minimum (Nyquist) sampling rate for a message of bandwidth $B=8$ kHz is $$f_s = 2B = 16\ \text{kHz},$$ and each sample carries $n$ bits, so $$R_b = n f_s = 10 \times 16\,000 \;\Longrightarrow\; \boxed{R_b = 160\ \text{kbit/s}}$$

Check: modelling assumptions stated explicitly. Two conventions were adopted where the question leaves a choice. (i) The quantiser is assumed to round to the nearest level, giving a peak error of $\Delta/2$; a truncating quantiser has a peak error of $\Delta$, which would halve the step and double $L$ to 2000, requiring 11 bits and a 176 kbit/s bit rate. (ii) Sampling is assumed to be at exactly the Nyquist rate; any practical guard band raises $f_s$ and hence $R_b$ proportionally. Both assumptions follow the question's own framing ("the required SNR", "the bit rate of the quantized signal") and are the standard textbook readings.

QuantitySymbolResult
(a) SNR in terms of $A_n$$\text{SNR}$$A^{2}/A_n^{2} = 4/A_n^{2}$
(b) Noise amplitude for 60 dB$A_n$2 mV
(c) Quantiser step size$\Delta$4 mV
(c) Number of levels$L$1000
(d) Word length$n$10 bits/sample (1024 levels)
(e) Sampling rate$f_s$16 kHz
(e) Bit rate$R_b$160 kbit/s