---
title: Final exam
heading: "Final exam: diodes, transistors and single-stage amplifiers"
eyebrow: C5 · Final exam
type: problems
---

::: hook
Twelve problems from the whole course: junctions and diode models, rectifiers, clamps and regulators, MOSFETs and BJTs at DC, bias design, switches and their losses, small-signal models, amplifier stages and their frequency response, the CMOS inverter and the linear power supply. Give yourself three hours, work without the lessons open, and write out your reasoning before checking each answer. Use $V_T$ = 25.85 mV, 0.7 V for a conducting junction and $V_{CE,\text{sat}}$ = 0.2 V. "Another set" deals a different exam.
:::

::: pool
pick: 12

::: check
kind: parts
given: Na = 1e17 | 1e18; Nd = 1e15 | 1e16; VR = 3 | 12

## An abrupt silicon junction ($n_i = 10^{10}$ cm⁻³, $\varepsilon = 11.7\varepsilon_0$) has $N_a$ = {Na} and $N_d$ = {Nd} cm⁻³, reverse biased by {VR} V.

::: part
answer: 0.02585*ln(Na*Nd/1e20)
unit: V
tolerance: 0.5%

### What is its built-in voltage?

::: misses
- [any] $V_T\ln(N_aN_d/n_i^2)$.
:::
:::

::: part
answer: sqrt(2*11.7*8.854e-12*(0.02585*ln(Na*Nd/1e20) + VR)/1.602e-19*(Na + Nd)/(Na*Nd)/1e6)*1e6
unit: µm
tolerance: 0.5%

### How wide is its depletion region?

::: misses
- [any] $\sqrt{\frac{2\varepsilon(V_{bi} + V_R)}{q}\frac{N_a + N_d}{N_aN_d}}$.
:::
:::
:::

::: check
kind: parts
given: Vs = 1.5 | 4; R = 0.22 | 1; VD0 = 0.6 | 0.65; rD = 10 | 20

## A diode is in series with {R} kΩ across {Vs} V.

::: part
answer: (Vs - VD0)/(R*1000 + rD)*1000
unit: mA
tolerance: 0.5%

### What current does a piecewise-linear model ({VD0} V plus {rD} Ω) give?

::: misses
- [any] $\frac{V_s - V_{D0}}{R + r_D}$.
:::
:::

::: part
answer: 0.02585*ln((Vs - 0.7)/(R*1000)/1e-14)
unit: V
tolerance: 0.1%

### Starting from the 0.7 V model, what voltage does one iteration give for $I_S = 10^{-14}$ A?

::: misses
- [any] $V_T\ln(I/I_S)$ with $I = (V_s - 0.7)/R$.
:::
:::
:::

::: check
kind: parts
given: Vs = 12 | 20; IL = 0.1 | 1; Vr = 0.5 | 2; f = 50 | 60

## A bridge rectifier from a {Vs} V peak, {f} Hz source supplies {IL} A with {Vr} V of ripple.

::: part
answer: IL/(2*f*Vr)*1e6
unit: µF
tolerance: 0.5%

### What capacitor does it need?

::: misses
- [any] $I_L/(2fV_r)$.
:::
:::

::: part
answer: sqrt(2*Vr/(Vs - 1.4))*180/pi
unit: °
tolerance: 0.5%

### Over what angle do its diodes conduct each half cycle?

::: misses
- [any] $\sqrt{2V_r/V_p}$ radians, with $V_p = V_s - 1.4$.
:::
:::
:::

::: check
kind: parts
given: Vp = 10 | 50; m = 0.3 | 0.7; fm = 2 | 10

## A {Vp} V peak source feeds a voltage doubler; separately, an envelope detector follows AM of depth {m} with audio to {fm} kHz.

::: part
answer: 2*Vp - 1.4
unit: V
tolerance: 0.5%

### What does the doubler reach with no load?

::: misses
- [any] $2V_p - 2V_D$.
:::
:::

::: part
answer: sqrt(1 - m^2)/(m*2*pi*fm*1000)*1e6
unit: µs
tolerance: 0.5%

### What is the detector's longest RC?

::: misses
- [any] $\sqrt{1 - m^2}/(m\omega_m)$.
:::
:::
:::

::: check
kind: parts
given: Vin = 12 | 15; VZ = 5.1 | 6.8; RS = 150 | 330; RL = 0.47 | 1

## A {VZ} V Zener regulator has $R_S$ = {RS} Ω from {Vin} V and a {RL} kΩ load.

::: part
answer: (Vin - VZ)/RS*1000 - VZ/RL
unit: mA
tolerance: 0.5%

### What current flows in the Zener?

::: misses
- [any] $I_S - I_L$.
:::
:::

::: part
answer: VZ*(Vin - VZ)/RS*1000
unit: mW
tolerance: 0.5%

### What does it dissipate with no load?

::: misses
- [any] $V_ZI_S$.
:::
:::
:::

::: check
kind: parts
given: K = 0.5 | 2; Vt = 0.7 | 1; VG = 3 | 5; RS = 1 | 2.2; RD = 1 | 2

## An NMOS ($K$ = {K} mA/V², $V_t$ = {Vt} V) has its gate at {VG} V, $R_S$ = {RS} kΩ and $R_D$ = {RD} kΩ to 12 V.

::: part
answer: K/2*((sqrt(1 + 2*K*RS*(VG - Vt)) - 1)/(K*RS))^2
unit: mA
tolerance: 0.5%

### What current flows?

::: misses
- [any] Solve $\frac K2R_Sv_{OV}^2 + v_{OV} = V_G - V_t$.
:::
:::

::: part
answer: 2*K/2*((sqrt(1 + 2*K*RS*(VG - Vt)) - 1)/(K*RS))^2/((sqrt(1 + 2*K*RS*(VG - Vt)) - 1)/(K*RS))
unit: mS
tolerance: 0.5%

### What is its transconductance there?

::: misses
- [any] $g_m = 2I_D/v_{OV}$.
:::
:::
:::

::: check
kind: parts
given: VBB = 2 | 4; RB = 10 | 47; RE = 1 | 2.2; beta = 50 | 250; RC = 1 | 1.5; VCC = 10 | 12

## A base supply of {VBB} V drives an NPN (β = {beta}) through {RB} kΩ, with {RE} kΩ in the emitter and {RC} kΩ to {VCC} V.

::: part
answer: (VBB - 0.7)/(RE + RB/(beta + 1))
unit: mA
tolerance: 0.5%

### What emitter current flows?

::: misses
- [any] $\frac{V_{BB} - 0.7}{R_E + R_B/(\beta + 1)}$.
:::
:::

::: part
answer: VCC - beta/(beta + 1)*(VBB - 0.7)/(RE + RB/(beta + 1))*RC - (VBB - 0.7)/(RE + RB/(beta + 1))*RE
unit: V
tolerance: 0.5%

### What is $V_{CE}$?

::: misses
- [any] $V_{CC} - \alpha I_ER_C - I_ER_E$.
:::
:::
:::

::: check
kind: parts
given: VCC = 9 | 12 | 15; IC = 0.5 | 2; ID = 0.25 | 1; K = 1 | 4

## Design two bias points from scratch.

::: part
answer: (VCC/10 + 0.7)/(IC/10)
unit: kΩ
tolerance: 0.5%

### A BJT stage on {VCC} V for {IC} mA ($V_E = V_{CC}/10$, $I_C/10$ in the divider): what is $R_2$?

::: misses
- [any] $V_B/(I_C/10)$ with $V_B = V_{CC}/10 + 0.7$.
:::
:::

::: part
answer: 1 + 1 + sqrt(2*ID/K)
unit: V
tolerance: 0.5%

### A MOSFET stage ($V_t$ = 1 V, $K$ = {K} mA/V²) for {ID} mA with its source at 1 V: where must the gate be?

::: misses
- [any] $V_S + V_t + \sqrt{2I_D/K}$.
:::
:::
:::

::: check
kind: parts
given: I = 2 | 8; Ron = 10 | 50; D = 0.4 | 0.8; th = 3 | 40; TA = 25 | 40

## A MOSFET with $R_{on}$ = {Ron} mΩ carries {I} A at duty {D}, with {th} °C/W to the air at {TA} °C.

::: part
answer: D*I^2*Ron/1000
unit: W
tolerance: 0.5%

### What is its conduction loss?

::: misses
- [any] $DI^2R_{on}$.
:::
:::

::: part
answer: TA + D*I^2*Ron/1000*th
unit: °C
tolerance: 0.5%

### What is its junction temperature, ignoring switching loss?

::: misses
- [any] $T_A + P\theta_{JA}$.
:::
:::
:::

::: check
kind: parts
given: IC = 0.5 | 2; beta = 80 | 300; VA = 50 | 150

## A BJT at {IC} mA has β = {beta} and $V_A$ = {VA} V.

::: part
answer: beta*0.02585/IC
unit: kΩ
tolerance: 0.5%

### What is $r_\pi$?

::: misses
- [any] $\beta V_T/I_C$.
:::
:::

::: part
answer: -IC/0.02585*VA/IC
tolerance: 0.5%

### What gain would it give with an ideal current-source load?

::: misses
- [any] $-g_mr_o = -V_A/V_T$.
:::
:::
:::

::: check
kind: parts
given: R1 = 47 | 100; R2 = 10 | 22; IC = 0.5 | 2; beta = 100 | 250; RC = 4.7 | 10; RL = 10 | 47

## A bypassed CE stage at {IC} mA (β = {beta}) has $R_1$ = {R1} kΩ, $R_2$ = {R2} kΩ, $R_C$ = {RC} kΩ and a {RL} kΩ load.

::: part
answer: -IC/0.02585*(RC*RL/(RC + RL))
tolerance: 0.5%

### What is its gain?

::: misses
- [any] $-g_m(R_C \parallel R_L)$.
:::
:::

::: part
answer: 1/(1/R1 + 1/R2 + IC/(beta*0.02585))
unit: kΩ
tolerance: 0.5%

### What is its input resistance?

::: misses
- [any] $R_1 \parallel R_2 \parallel r_\pi$.
:::
:::
:::

::: check
kind: parts
given: IE = 1 | 5; beta = 50 | 200; Rsig = 1 | 20; RL = 0.1 | 1

## An emitter follower at {IE} mA (β = {beta}) is fed from {Rsig} kΩ and drives $R_L'$ = {RL} kΩ.

::: part
answer: 0.02585/IE*1000 + Rsig*1000/(beta + 1)
unit: Ω
tolerance: 0.5%

### What output resistance does it present (before $R_E$)?

::: misses
- [any] $r_e + R_\text{sig}/(\beta + 1)$.
:::
:::

::: part
answer: RL*1000/(RL*1000 + 0.02585/IE*1000 + Rsig*1000/(beta + 1))
tolerance: 0.5%

### What is its overall gain?

::: misses
- [any] $\frac{R_L'}{R_L' + r_e + R_\text{sig}/(\beta + 1)}$.
:::
:::
:::

::: check
kind: parts
given: gm = 2 | 8; RD = 4.7 | 15; RS = 0.25 | 1; Rsig = 0.05 | 0.5

## A MOSFET with $g_m$ = {gm} mS has $R_D$ = {RD} kΩ (unloaded, $r_o$ neglected).

::: part
answer: -RD/(1/gm + RS)
tolerance: 0.5%

### As a CS stage with an unbypassed $R_S$ = {RS} kΩ, what is its gain?

::: misses
- [any] $-\frac{R_D}{1/g_m + R_S}$.
:::
:::

::: part
answer: (1/gm)/(1/gm + Rsig)*gm*RD
tolerance: 0.5%

### As a common-gate stage driven from {Rsig} kΩ, what is its overall gain?

::: misses
- [any] Input divider with $1/g_m$, then $g_mR_D$.
:::
:::
:::

::: check
kind: parts
given: Rsig = 0.6 | 5; RB = 5 | 20; rpi = 1 | 5; C1 = 1 | 10; RC = 2.2 | 10; RL = 4.7 | 47; C2 = 1 | 10

## A CE stage has $R_\text{sig}$ = {Rsig} kΩ, $R_B$ = {RB} kΩ, $r_\pi$ = {rpi} kΩ, $C_1$ = {C1} µF; $R_C$ = {RC} kΩ, $R_L$ = {RL} kΩ, $C_2$ = {C2} µF.

::: part
answer: 1/(2*pi*(Rsig + RB*rpi/(RB + rpi))*1000*C1*1e-6)
unit: Hz
tolerance: 0.5%

### What corner does the input capacitor give?

::: misses
- [any] $C_1$ sees $R_\text{sig} + R_B \parallel r_\pi$.
:::
:::

::: part
answer: 1/(2*pi*(RC + RL)*1000*C2*1e-6)
unit: Hz
tolerance: 0.5%

### And the output capacitor?

::: misses
- [any] $C_2$ sees $R_C + R_L$.
:::
:::
:::

::: check
kind: parts
given: VDD = 1.2 | 3.3 | 5; Vt = 0.3 | 0.6; C = 0.01 | 0.5; k = 0.5 | 2

## A matched CMOS inverter ({VDD} V, {Vt} V thresholds, $k$ = {k} mA/V²) drives {C} nF.

::: part
answer: (3*VDD + 2*Vt)/8
unit: V
tolerance: 0.5%

### What are its noise margins?

::: misses
- [any] $\frac{3V_{DD} + 2V_t}{8}$.
:::
:::

::: part
answer: 2/(1.75 - 3*Vt/VDD + (Vt/VDD)^2)*C*1e-9/(k*1e-3*VDD)*1e9
unit: ns
tolerance: 0.5%

### What is $t_{PHL}$?

::: misses
- [any] $\alpha_nC/(k_nV_{DD})$.
:::
:::
:::

::: check
kind: parts
given: Vo = 5 | 12; IL = 0.5 | 2; beta = 25 | 50; f = 50 | 60

## A Zener-follower supply delivers {Vo} V at {IL} A (β ≥ {beta}) from a {f} Hz bridge, with 2 V of headroom, 2 V of ripple and 5 mA in the Zener.

::: part
answer: IL/(2*f*2)*1e6
unit: µF
tolerance: 0.5%

### What reservoir capacitor?

::: misses
- [any] $I_L/(2fV_r)$.
:::
:::

::: part
answer: 1.3/(IL/beta + 0.005)
unit: Ω
tolerance: 0.5%

### What $R_S$?

::: misses
- [any] $\frac{V_\text{valley} - V_Z}{I_L/\beta + I_{Z,\text{min}}}$.
:::
:::
:::
:::
