98-Comp-A1 · December 2017
Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
98-Comp-A1, Electronics — National Exams, December 2017. Open-book, 3 hours; the paper's own NOTES/marking-scheme block states "FIVE (5) questions constitute a complete exam paper: the first 5 questions as they appear in the answer book will be marked," but all seven 20-mark questions are answered below as a complete study resource (per the standing "answer all M" rule). Unless stated otherwise, diode drops $V_D=0.7\text{V}$.
Reference texts: Sedra & Smith, Microelectronic Circuits (diode limiters, MOSFET common-gate amplifiers, active-RC matched-feedback filters and offset, BJT common-emitter amplifiers with current-source biasing, RC-ladder sinusoidal oscillators, CMOS static logic sizing, charge-redistribution SAR ADCs) — the single reference text covering every question on this paper.
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. Capacitor array $C,\,C/2,\,C/4,\,C/8,\,C/16,\,C/16$ (total $\Sigma C_i=2C$); $V_{ref}=4\text{V}$; sampling phase: $V_x$ held at $0\text{V}$ ($S_B$ closed), all bottom plates at $V_A$.
| Quantity | Value |
|---|---|
| Capacitor weights | $C,\ C/2,\ C/4,\ C/8,\ C/16,\ C/16$ |
| Total capacitance | $2C$ |
| $V_{ref}$ | $4$ V |
| $V_A$ (Part d) | $1.5$ V |
Find. $V_x$ just after $t=0$; the change in $V_x$ when $S_5$ tests $V_{ref}$; full-scale voltage and resolution using $S_1$-$S_5$; the final switch states for $V_A=1.5\text{V}$.
Approach. The top-plate node is isolated (floating) the instant $S_B$ opens, so total charge on that node is conserved across every subsequent switch change; each bottom-plate switch flip from ground to $V_{ref}$ (holding the rest fixed) shifts $V_x$ by exactly $(C_i/2C)\,V_{ref}$ — the standard capacitor-DAC step formula — letting the comparator's sign at each step run a textbook binary search on $V_A$.
| Switch | Weight ($\times V_{ref}$) | Trial value | Trial $\le1.5\text{V}$? | Result |
|---|---|---|---|---|
| $S_1$ | $1/2\to2.0\text{V}$ | $0+2.0=2.0$ | No | 0 (ground) |
| $S_2$ | $1/4\to1.0\text{V}$ | $0+1.0=1.0$ | Yes | 1 ($V_{ref}$) |
| $S_3$ | $1/8\to0.5\text{V}$ | $1.0+0.5=1.5$ | Yes (=) | 1 ($V_{ref}$) |
| $S_4$ | $1/16\to0.25\text{V}$ | $1.5+0.25=1.75$ | No | 0 (ground) |
| $S_5$ | $1/32\to0.125\text{V}$ | $1.5+0.125=1.625$ | No | 0 (ground) |
The running total after $S_2,S_3$ is exactly $1.0+0.5=1.5\text{V}=V_A$, so the conversion is exact:
$$\boxed{S_2\text{ and }S_3\text{ are high (connected to }V_{ref}\text{); }S_1,S_4,S_5\text{ (and }S_T\text{) remain grounded}}$$| Quantity | Value |
|---|---|
| $V_x$ just after $t=0$ | $-V_A$ |
| $\Delta V_x$ ($S_5$ test) | $0.125$ V |
| Full scale $V_{FS}$ | $3.875$ V |
| Resolution | $0.125$ V |
| Switches high at $V_A=1.5\text{V}$ | $S_2,\,S_3$ |