A simple and comprehensive simulation demonstrating the behaviour of a PN photodiode
#Simulations can be run on a local IDE or p5.js online IDE
-
Depletion Width W ∝ √(V_bi + V_R) (Simulation uses linear approximation: W ∝ V_R)
-
Electric Field E ≈ V_R / W
-
Drift Velocity v_d = μE
-
Thermal Voltage V_T = kT / q ≈ 0.026 V at 300 K
-
Shockley Diode Equation I_D = I_0 (e^(V / V_T) − 1)
-
Photocurrent I_ph ∝ Light Intensity (Physical form: I_ph = η qP / hν)
-
Total Photodiode Current I(V) = I_0 (e^(V / V_T) − 1) − I_ph
-
Reverse Bias Approximation For V < 0: I ≈ −I_ph − I_0