(42S) P-N Junction Diode Polarization (solver program) - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: General Software Library (/forum-13.html) +--- Thread: (42S) P-N Junction Diode Polarization (solver program) (/thread-15998.html) |
(42S) P-N Junction Diode Polarization (solver program) - Luigi Vampa - 12-02-2020 06:37 PM This is a solver program to calculate the polarization voltage of a p-n junction diode by means of a resistor. You can get the polarization current from Shockley's equation that you can find in MOHPC forum too. VCC: supply voltage (Volts). IS: saturation current (Amps). Typ. 1E-9 for Silicon. VD: diode voltage (Volts). Typ. 0.7 is a good start point. N: quality factor (n=1 ideal diode, 1<n<2 real diodes). T: temperature (Kelvin). R: resistor (Ohms) 00 { 86-Byte Prgm } 01 LBL "DIOD" 02 MVAR "VCC" 03 MVAR "IS" 04 MVAR "VD" 05 MVAR "N" 06 MVAR "T" 07 MVAR "R" 08 RCL "VCC" 09 1.60218ᴇ-19 10 RCL× "VD" 11 1.38064852ᴇ-23 12 ÷ 13 RCL÷ "N" 14 RCL÷ "T" 15 E↑X-1 16 RCL× "IS" 17 RCL× "R" 18 - 19 RCL- "VD" 20 .END. PS: step 15 now includes the proper E↑X-1 thanks to Valentín. RE: (42S) P-N Junction Diode Polarization (solver program) - Valentin Albillo - 12-02-2020 08:54 PM Hi, Luigi: Just a quick note: these 3 steps: 15 E↑X 16 1 17 - can be replaced by the single step: 15 E↑X-1 Regards. V. RE: (42S) P-N Junction Diode Polarization (solver program) - Luigi Vampa - 12-02-2020 08:55 PM (12-02-2020 08:54 PM)Valentin Albillo Wrote: ¡Gracias maestro! |