22-Elec-B1 Digital Signal Processing · Undated paper
Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Paper format. National Exam, May 2019 — 16-Elec-B1 Digital Signal Processing. Three hours, closed book; two approved calculators (Casio or Sharp) and one double-sided aid sheet are permitted. Six questions, each worth 12 marks; the printed rubric states that any five of the six constitute a complete paper. Marking scheme as printed: Q1 (a) 6 (b) 6; Q2 (a) 6 (b) 6; Q3 (a) 6 (b) 6; Q4 (a) 7 (b) 5; Q5 (a) 3 (b) 2 (c) 2 (d) 3 (e) 2; Q6 (a) 5 (b) 3 (c) 4. All six questions are solved here, because the set is a study resource rather than an exam script.
Reference texts. A. V. Oppenheim and R. W. Schafer, Discrete-Time Signal Processing, 3rd ed. — the standard EGBC reference for this subject (sampling Ch. 4, the z-transform Ch. 3, the DFS/DFT Ch. 8, filter structures Ch. 6, FIR design by windowing Ch. 7). Supporting: J. G. Proakis and D. G. Manolakis, Digital Signal Processing: Principles, Algorithms and Applications, 4th ed.; A. V. Oppenheim and A. S. Willsky, Signals and Systems, 2nd ed. The paper supplies its own aid sheet (DTFT analysis/synthesis pair, Parseval, a table of z-transform properties, a table of common z-transform pairs including the finite-length geometric pair, the geometric sum and series, the DFT/CTFT/DTFT property table, and the Kaiser design formulas), and the solutions below use only those.
Source-quality disclosure. Two places where the paper itself is still partly illegible are flagged in check notes at the questions concerned (Q4(b) numerator coefficient, Q5 expanded denominator); in both cases the printed information elsewhere in the same expression fixes the value uniquely. Readers comparing against another copy of the paper should treat those two items as reconstructed.
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.
Check: reconstructed coefficient. the exponent $-10$ and the denominator $1 - \tfrac12 z^{-1}$ are legible. The value is nevertheless fixed uniquely by the printed region of convergence: $|z| \gt 0$ can only be an ROC if the pole at $z = \tfrac12$ is cancelled, which requires the coefficient to be exactly $(\tfrac12)^{10} = 1/1024$. That is also entry 13 of the paper's own table of z-transform pairs with $a = \tfrac12$, $N = 10$. The answer below uses that value.
Given. Part (a): an all-pole second-order system $H(z) = 1/(1 - \tfrac14 z^{-2})$ whose impulse response is stated to be a sum of two one-sided geometric terms, which fixes the ROC as the causal one. Part (b): $H(z) = \bigl(1 - (\tfrac12)^{10}z^{-10}\bigr)/\bigl(1 - \tfrac12 z^{-1}\bigr)$ with the ROC printed as $|z| \gt 0$.
Find. (a)(i) the four constants $A_1$, $A_2$, $\alpha_1$, $\alpha_2$; (a)(ii) a justified stability verdict; (b) a justified causality verdict.
Approach. Factor the denominator of part (a) into two first-order terms, expand in partial fractions and read the constants off; then test stability by whether the ROC contains the unit circle. In part (b) let the printed ROC do the work: an ROC that reaches the whole plane except the origin is the signature of a finite-length causal sequence.
so the two poles are $z = +\tfrac12$ and $z = -\tfrac12$, and comparing with the stated form of $h[n]$ identifies the geometric ratios immediately as $\alpha_1 = \tfrac12$ and $\alpha_2 = -\tfrac12$.
and evaluate each residue at its own pole. Multiplying by $\left(1-\tfrac12 z^{-1}\right)$ and setting $z^{-1} = 2$ gives
$$A_1 = \left.\frac{1}{1 + \tfrac12 z^{-1}}\right|_{z^{-1}=2} = \frac{1}{1+1} = \frac12,$$and the mirror calculation at $z^{-1} = -2$ gives $A_2 = \tfrac12$ as well. Hence
$$\boxed{\ A_1 = A_2 = \tfrac12, \qquad \alpha_1 = \tfrac12, \qquad \alpha_2 = -\tfrac12 \ }$$The impulse response is absolutely summable, so the system is BIBO stable. Both poles lie strictly inside the unit circle, which is the same statement for a causal system.
read with $a = \tfrac12$ and $N = 10$. Therefore
$$\boxed{\ h[n] = \left(\tfrac12\right)^{n}, \quad 0 \le n \le 9, \quad \text{and } h[n] = 0 \text{ otherwise} \ }$$a truncated geometric pulse of length 10. Its samples are $1,\ 0.5,\ 0.25,\ \ldots,\ (\tfrac12)^{9} = 1/512$, and they sum to $(1 - 2^{-10})/(1 - \tfrac12) = 2 - 1/512 = 1.998$, which is $H(z)$ evaluated at $z = 1$.
| Quantity | Value |
|---|---|
| (a)(i) $\alpha_1,\ \alpha_2$ | $+\tfrac12$ and $-\tfrac12$ |
| (a)(i) $A_1,\ A_2$ | $\tfrac12$ and $\tfrac12$ |
| (a)(ii) Stability | Stable; ROC $|z| \gt \tfrac12$ contains the unit circle, $\sum|h[n]| = 2$ |
| (b) Impulse response | $h[n] = (\tfrac12)^{n}$ for $0 \le n \le 9$, zero elsewhere |
| (b) Causality | Causal (and FIR, hence also stable) |