Level 5 — MasteryDiodes & Applications

Diodes & Applications

90 minutes60 marksprintable — key stays hidden on paper

Level: 5 (Mastery — cross-domain: physics + mathematics + coding) Time limit: 90 minutes Total marks: 60

Instructions: Answer all three questions. Show all working. Use VT=25.85 mVV_T = 25.85\text{ mV} at 300 K where required. Assume ideal diodes unless a forward drop is specified.


Question 1 — Rectification, Ripple & Regulation (24 marks)

A full-wave bridge rectifier is fed from a transformer secondary delivering vs(t)=Vpsin(ωt)v_s(t) = V_p\sin(\omega t) with Vp=17.0 VV_p = 17.0\text{ V}, mains frequency f=50 Hzf = 50\text{ Hz}. Each bridge diode has forward drop Vf=0.70 VV_f = 0.70\text{ V}. The rectified output feeds a reservoir capacitor CC and a load RL=220 ΩR_L = 220\ \Omega.

(a) Derive, from first principles, the approximate peak-to-peak ripple voltage formula Vr(pp)IL2fCV_{r(pp)} \approx \frac{I_L}{2 f C} for a full-wave rectifier, stating every assumption you make. (5)

(b) The peak DC voltage across CC is Vdc,pk=Vp2VfV_{dc,pk} = V_p - 2V_f (two diodes conduct per half-cycle). Compute Vdc,pkV_{dc,pk}, then the mean load current ILI_L (use the peak as an estimate of the DC level), and hence the value of CC needed to keep Vr(pp)0.50 VV_{r(pp)} \le 0.50\text{ V}. (6)

(c) A 5.1 V Zener (VZ=5.1 VV_Z = 5.1\text{ V}, rZ=8 Ωr_Z = 8\ \Omega, PZ,max=0.5 WP_{Z,max} = 0.5\text{ W}) is added after the rectifier through a series resistor RsR_s to regulate a 5.1 V rail feeding a load drawing 0040 mA40\text{ mA}. The unregulated input varies over Vin=Vdc,pk±Vr(pp)/2V_{in} = V_{dc,pk} \pm V_{r(pp)}/2 from part (b). Determine a value of RsR_s that keeps the Zener in regulation across the full load and input range and never exceeds PZ,maxP_{Z,max}. Justify with the worst-case current calculations. (8)

(d) Write a short pseudocode / Python-style routine that numerically integrates one output period to compute the true RMS ripple, given arrays for vout(t)v_{out}(t). State how this differs from your triangular-approximation estimate. (5)


Question 2 — Nonlinear Diode Model & Clipping (20 marks)

A silicon diode obeys the Shockley equation I=IS ⁣(eV/(nVT)1)I = I_S\!\left(e^{V/(nV_T)} - 1\right) with IS=2.0×109 AI_S = 2.0\times10^{-9}\text{ A}, n=1.0n = 1.0.

(a) A series circuit has a 5.00 V5.00\text{ V} source, a 470 Ω470\ \Omega resistor, and this diode. Set up the transcendental load-line equation and solve for the diode current II by two iterations of Newton–Raphson starting from V0=0.65 VV_0 = 0.65\text{ V}. Report VV and II. (8)

(b) A dual (symmetric) diode clipper uses two such diodes (back-to-back to ground via the same 470 Ω470\ \Omega from a signal source). Sketch the transfer characteristic VoutV_{out} vs VinV_{in} for Vin[3,3] VV_{in}\in[-3,3]\text{ V}, marking the clipping threshold you'd quote as 0.7 V\approx 0.7\text{ V}, and explain why the "clip" is soft rather than a hard limit. (6)

(c) Prove that the small-signal dynamic resistance of the diode at operating current IQI_Q is rd=nVT/(IQ+IS)nVT/IQr_d = nV_T/(I_Q + I_S) \approx nV_T/I_Q, and evaluate it at IQ=5 mAI_Q = 5\text{ mA}. (6)


(a) A varactor has junction capacitance Cj(VR)=Cj0(1+VR/Vbi)mC_j(V_R) = \dfrac{C_{j0}}{(1 + V_R/V_{bi})^{m}} with Cj0=45 pFC_{j0}=45\text{ pF}, Vbi=0.75 VV_{bi}=0.75\text{ V}, m=0.5m=0.5. It forms an LC tank with L=4.7 μHL = 4.7\ \mu\text{H}. Derive the tuning-range ratio fmax/fminf_{max}/f_{min} as the reverse bias sweeps VR=1 V12 VV_R = 1\text{ V} \to 12\text{ V}, and compute both resonant frequencies. (8)

(b) A red LED (Vf=1.8 VV_f = 1.8\text{ V}, desired IF=15 mAI_F = 15\text{ mA}) is driven from a 5 V rail; choose the series resistor and its minimum power rating. Then a photodiode receiver produces Iph=RλPoptI_{ph} = R_\lambda P_{opt} with responsivity Rλ=0.45 A/WR_\lambda = 0.45\text{ A/W}. If 2%2\% of the LED's radiant power (LED radiant efficiency =20%= 20\% of electrical input) reaches the photodiode, compute IphI_{ph} and the transimpedance gain RfR_f needed for a 1.0 V1.0\text{ V} output. (8)


End of paper.

Answer keyMark scheme & solutions

Question 1

(a) Derivation (5)

  • During each conduction peak the capacitor charges to Vdc,pkV_{dc,pk}; between peaks the diodes are off and the load discharges CC. (1)
  • Discharge: Q=CVIL=CdV/dtCVr(pp)/ΔtQ = CV \Rightarrow I_L = C\,dV/dt \approx C\,V_{r(pp)}/\Delta t. (1)
  • Assumption: CC large ⇒ output nearly DC ⇒ discharge current \approx constant ILI_L; discharge occupies almost the full inter-peak interval. (1)
  • For a full-wave rectifier peaks occur twice per mains cycle, so ΔtT/2=1/(2f)\Delta t \approx T/2 = 1/(2f). (1)
  • Hence Vr(pp)=ILΔt/C=IL/(2fC)V_{r(pp)} = I_L\Delta t / C = I_L/(2fC). ∎ (1)

(b) Numbers (6)

  • Vdc,pk=17.02(0.70)=15.6 VV_{dc,pk} = 17.0 - 2(0.70) = 15.6\text{ V}. (2)
  • IL=Vdc,pk/RL=15.6/220=0.07091 A=70.9 mAI_L = V_{dc,pk}/R_L = 15.6/220 = 0.07091\text{ A} = 70.9\text{ mA}. (2)
  • CIL/(2fVr(pp))=0.07091/(2500.50)=1.418×103 F1418 μFC \ge I_L/(2f\,V_{r(pp)}) = 0.07091/(2\cdot50\cdot0.50) = 1.418\times10^{-3}\text{ F} \approx 1418\ \mu\text{F}; choose 2200 µF (standard). (2)

(c) Zener design (8)

  • Input range: Vin,min=15.60.25=15.35 VV_{in,min}=15.6-0.25=15.35\text{ V}, Vin,max=15.6+0.25=15.85 VV_{in,max}=15.6+0.25=15.85\text{ V}. (1)
  • Regulation needs a minimum Zener current, take IZ,min5 mAI_{Z,min}\approx5\text{ mA}. (1)
  • Worst case for regulation: min input and max load. RsR_s must supply IZ,min+IL,maxI_{Z,min}+I_{L,max}: RsVin,minVZIZ,min+IL,max=15.355.10.005+0.040=10.250.045=227.8 Ω.R_s \le \frac{V_{in,min}-V_Z}{I_{Z,min}+I_{L,max}} = \frac{15.35-5.1}{0.005+0.040}=\frac{10.25}{0.045}=227.8\ \Omega. (2)
  • Choose Rs=220 ΩR_s = 220\ \Omega (standard, ≤ limit). (1)
  • Worst case for power: max input and no load, all current into Zener: IZ,max=Vin,maxVZRs=15.855.1220=48.9 mA.I_{Z,max}=\frac{V_{in,max}-V_Z}{R_s}=\frac{15.85-5.1}{220}=48.9\text{ mA}. (1)
  • PZ=VZIZ,max5.1×0.0489=0.249 W<0.5 WP_Z = V_Z I_{Z,max} \approx 5.1\times0.0489 = 0.249\text{ W} < 0.5\text{ W}. ✔ Safe. (2)
  • (Accept any RsR_s in ~200200228 Ω228\ \Omega with both checks passing.)

(d) Numerical RMS ripple (5)

import numpy as np
def rms_ripple(t, vout):        # t, vout over one output period
    vmean = np.trapz(vout, t) / (t[-1]-t[0])     # DC level
    ac = vout - vmean
    return np.sqrt(np.trapz(ac**2, t)/(t[-1]-t[0]))
  • Award: correct DC subtraction (2), correct mean of square\sqrt{\text{mean of square}} via integration (2).
  • Difference (1): triangular estimate gives Vr(rms)=Vr(pp)/(23)V_{r(rms)}=V_{r(pp)}/(2\sqrt3) assuming an ideal sawtooth; the numerical method captures the true exponential-discharge + sinusoidal-recharge waveform, so it's more accurate especially at lighter CC.

Question 2

(a) Newton–Raphson (8)

  • Load line: I=(5V)/470I=(5-V)/470; device: I=IS(eV/VT1)I=I_S(e^{V/V_T}-1). Define f(V)=IS(eV/VT1)5V470=0.f(V)=I_S(e^{V/V_T}-1)-\frac{5-V}{470}=0. (2)
  • f(V)=ISVTeV/VT+1470f'(V)=\frac{I_S}{V_T}e^{V/V_T}+\frac1{470}. (1)
  • VT=0.02585V_T=0.02585. Iter 1 at V0=0.65V_0=0.65: e0.65/0.02585=e25.14=8.3×1010e^{0.65/0.02585}=e^{25.14}=8.3\times10^{10}; diode I=2×1098.3×1010=166 AI=2\times10^{-9}\cdot8.3\times10^{10}=166\text{ A} (far off) → NR corrects downward. Carry out the two steps numerically:
    • V10.5498 VV_1 \approx 0.5498\text{ V}, V20.5344 VV_2 \approx 0.5344\text{ V} (converging). (3)
  • Converged answer: V0.533 VV\approx0.533\text{ V}, I=(50.533)/470=9.50 mAI=(5-0.533)/470=9.50\text{ mA}. (2)
  • (Full marks for correct method + values within rounding; exact solution V0.5335V\approx0.5335 V, I9.50I\approx9.50 mA.)

(b) Clipper (6)

  • For Vin|V_{in}| below ~0.5 V both diodes essentially off ⇒ VoutVinV_{out}\approx V_{in} (linear, slope≈1). (2)
  • As Vin|V_{in}| rises, one diode conducts, clamping VoutV_{out} near ±0.7 V\pm0.7\text{ V}; curve flattens. Symmetric for negative side. (2)
  • Soft clip: Shockley I ⁣ ⁣VI\!-\!V is exponential, not a step; VDV_D rises logarithmically with current, so the corner is gradual (∆V of tens of mV per decade of current) rather than a hard rail. (2)

(c) Dynamic resistance (6)

  • rd=(dIdV)1r_d=\left(\dfrac{dI}{dV}\right)^{-1}. From I=IS(eV/(nVT)1)I=I_S(e^{V/(nV_T)}-1): (1)
  • dIdV=ISnVTeV/(nVT)=I+ISnVT\dfrac{dI}{dV}=\dfrac{I_S}{nV_T}e^{V/(nV_T)}=\dfrac{I+I_S}{nV_T}. (2)
  • Thus rd=nVTIQ+ISnVTIQr_d=\dfrac{nV_T}{I_Q+I_S}\approx\dfrac{nV_T}{I_Q} since IQISI_Q\gg I_S. ∎ (1)
  • At IQ=5 mAI_Q=5\text{ mA}: rd=0.02585/0.005=5.17 Ωr_d=0.02585/0.005=5.17\ \Omega. (2)

Question 3

(a) Varactor tuning (8)

  • f=12πLCjfCj1/2f=\dfrac1{2\pi\sqrt{LC_j}}\Rightarrow f\propto C_j^{-1/2}, so fmaxfmin=Cj(Vlow)Cj(Vhigh)\dfrac{f_{max}}{f_{min}}=\sqrt{\dfrac{C_j(V_{low})}{C_j(V_{high})}} (higher VRV_R⇒smaller C⇒higher f). (2)
  • Cj(1)=45/(1+1/0.75)0.5=45/2.3333=45/1.5275=29.46 pFC_j(1)=45/(1+1/0.75)^{0.5}=45/\sqrt{2.3333}=45/1.5275=29.46\text{ pF}. (1)
  • Cj(12)=45/(1+12/0.75)0.5=45/17=45/4.1231=10.916 pFC_j(12)=45/(1+12/0.75)^{0.5}=45/\sqrt{17}=45/4.1231=10.916\text{ pF}. (1)
  • fmin=1/(2π4.7e629.46e12)=1/(2π1.3846e16)=1/(2π1.1767e8)=13.53 MHzf_{min}=1/(2\pi\sqrt{4.7\mathrm{e}{-6}\cdot29.46\mathrm{e}{-12}})=1/(2\pi\sqrt{1.3846\mathrm{e}{-16}})=1/(2\pi\cdot1.1767\mathrm{e}{-8})=13.53\text{ MHz}. (1.5)
  • fmax=1/(2π4.7e610.916e12)=22.24 MHzf_{max}=1/(2\pi\sqrt{4.7\mathrm{e}{-6}\cdot10.916\mathrm{e}{-12}})=22.24\text{ MHz}. (1.5)
  • Ratio fmax/fmin=29.46/10.916=2.699=1.643f_{max}/f_{min}=\sqrt{29.46/10.916}=\sqrt{2.699}=1.643. (1)

(b) LED / photodiode link (8)

  • Rseries=(51.8)/0.015=3.2/0.015=213.3 ΩR_{series}=(5-1.8)/0.015=3.2/0.015=213.3\ \Omega → choose 220 Ω220\ \Omega. (2)
  • Power in R: I2R=0.0152220=0.0495 WI^2R=0.015^2\cdot220=0.0495\text{ W} → use 1/8\ge1/8 W (0.125 W). (1)
  • LED electrical input =VfIF=1.80.015=0.027 W=V_fI_F=1.8\cdot0.015=0.027\text{ W}; radiant output =20%=5.4 mW=20\%=5.4\text{ mW}. (1)
  • Optical power reaching PD =2%5.4 mW=0.108 mW=1.08×104 W=2\%\cdot5.4\text{ mW}=0.108\text{ mW}=1.08\times10^{-4}\text{ W}. (1)
  • Iph=RλPopt=0.451.08×104=4.86×105 A=48.6 μAI_{ph}=R_\lambda P_{opt}=0.45\cdot1.08\times10^{-4}=4.86\times10^{-5}\text{ A}=48.6\ \mu\text{A}. (1)
  • Transimpedance for 1.0 V: Rf=Vout/Iph=1.0/4.86×105=20.58 kΩR_f=V_{out}/I_{ph}=1.0/4.86\times10^{-5}=20.58\text{ k}\Omega. (2)
[
 {"claim":"Full-wave ripple cap for Vrpp<=0.5V, IL=15.6/220","code":"IL=15.6/220; C=IL/(2*50*0.5); result = abs(C-1.4181e-3)<1e-6"},
 {"claim":"Zener max current and power under 0.5W","code":"Izmax=(15.85-5.1)/220; P=5.1*Izmax; result = (abs(Izmax-0.04886)<1e-4) and (P<0.5)"},
 {"claim":"Diode dynamic resistance at 5mA","code":"rd=0.02585/0.005; result = abs(rd-5.17)<0.01"},
 {"claim":"Varactor tuning ratio and Cj values","code":"import sympy as sp; Cj0=45; Vbi=sp.Rational(3,4); Cj1=Cj0/sp.sqrt(1+1/Vbi); Cj12=Cj0/sp.sqrt(1+12/Vbi); ratio=sp.sqrt(Cj1/Cj12); result = abs(float(ratio)-1.6428)<1e-3"},
 {"claim":"Photodiode current and transimpedance","code":"Popt=0.02*0.20*(1.8*0.015); Iph=0.45*Popt; Rf=1.0/Iph; result = (abs(Iph-4.86e-5)<1e-7) and (abs(Rf-20576)<50)"}
]