1. Theory
- Definition: The SPICE diode model is the standard compact model of a pn or Schottky junction diode: an exponential current source with an emission coefficient, a series resistance, a depletion and diffusion charge, a reverse breakdown branch, temperature scaling and noise sources (MathWorks; Buffalo table; Modelica).
- Parameters: The core SPICE3 set has fifteen or sixteen parameters, IS, RS, N, TT, CJO, VJ, M, EG, XTI, KF, AF, FC, BV, IBV and TNOM, with the defaults most simulators share (Buffalo table; Modelica; All About Circuits).
- Extensions: PSpice-style models add a recombination current (ISR, NR), a high-injection knee (IKF), a second breakdown branch and temperature coefficients for RS, BV and IKF (MathWorks).
- Advanced models: For MOSFET source and drain junctions, JUNCAP2 splits the diode into bottom, STI-edge and gate-edge parts and adds SRH, trap-assisted and band-to-band tunnelling currents and avalanche breakdown (JUNCAP2 summary).
2. Working Principle
- Forward conduction: The intrinsic junction follows ; at high current the drop across RS and the high-injection factor bend the exponential (MathWorks; All About Circuits).
- Charge storage: The depletion charge follows the law and is continued linearly above FC times VJ to avoid the singularity at VJ, while the diffusion charge is TT times the current (MathWorks).
- Breakdown: A reverse exponential with slope set by NBV places the current IBV at the voltage BV, giving a sharp knee for zener and avalanche diodes (MathWorks; All About Circuits).
- Temperature: IS rises with temperature through XTI and EG, which makes the forward voltage at fixed current fall by about 2 per kelvin, and VJ and CJO shift with the band gap (MathWorks; computed).
3. Applications
- Discrete-diode models: Vendor and datasheet-derived cards for rectifiers, signal, Schottky, germanium and zener diodes (All About Circuits).
- Integrated junctions: Source and drain junctions of MOSFETs, well diodes and ESD diodes in design kits, using JUNCAP2 or SPICE diodes with area and perimeter scaling (JUNCAP2 summary; background knowledge).
- Circuit simulation: Rectifiers, clamps, mixers, detectors and reference circuits, where TT and CJO set switching and RF behaviour (All About Circuits; background knowledge).
- Temperature sensors and references: The forward-voltage temperature coefficient set by EG and XTI (MathWorks; computed).
DC Current
| Name | Formula | Related Formulae | Variables/Constants |
|---|---|---|---|
| Shockley diode current with emission coefficient | |||
| Recombination and high-injection extension | |||
| Reverse breakdown |
Charge and Capacitance
| Name | Formula | Related Formulae | Variables/Constants |
|---|---|---|---|
| Depletion capacitance with forward-bias linearization | |||
| Diffusion (transit-time) charge and capacitance |
Temperature, Noise and Advanced Models
| Name | Formula | Related Formulae | Variables/Constants |
|---|---|---|---|
| Temperature scaling of the saturation current | |||
| Diode noise sources | |||
| JUNCAP2 geometric junction model |
Important Questions
Ques: How are the SPICE diode parameters extracted from a datasheet?
All About Circuits works through a 1N4004 rectifier. N is chosen as 2 for a power rectifier; IS then follows from one point of the forward curve, 1 at 0.925 , which with gives 18.8 (reproduced, computed). CJO is read from the capacitance curve near zero bias, 30 at 1 ; M is set to 0.333 for a linearly graded junction; BV and IBV come from the leakage specification of 5 at 400 . TT would be , but no recovery charge is given, so it stays at zero. Finally RS is tuned against the high-current part of the curve, where 28.6 brings the 1.4 current to about 12 . Real extractions fit IS and N to the whole low-current curve. Reference: ‘SPICE Models’, Lessons in Electric Circuits, Volume III (Semiconductors), Chapter 3, All About Circuits (author not named on the page) (fetch-tool summary).
Ques: Does the datasheet 1N4004 model reproduce the currents the article reports?
Only partly. With IS = 18.8 , N = 2 and RS = 0, a pure exponential gives 1.10 at 0.925 at the 27 SPICE default (computed), matching the article. At 1.4 , however, the same model gives about 10.7 (computed), not the 16.2 the article reports; 16.2 needs about 21 of resistance in the path (computed), so the simulated circuit probably had some series resistance or the value was misreported (my reading). With RS = 28.6 the computed currents at 27 are 12.2 at 1.4 and 0.73 at 0.925 , reproducing the article’s values exactly. The article’s card also writes CJO=30 without a unit suffix, which SPICE reads as 30 farads, not 30 (background knowledge for SPICE suffixes). Reference: ‘SPICE Models’, Lessons in Electric Circuits, Volume III (Semiconductors), Chapter 3, All About Circuits (author not named on the page) (fetch-tool summary).
Ques: Why does the SPICE depletion capacitance switch to a linear form above FC times VJ?
Because diverges at , which a forward-biased diode easily reaches. MathWorks gives the SPICE remedy: below FC times VJ the charge follows the power law, and above it a quadratic charge, with constants , and , makes the capacitance a straight line. Both forms give at the boundary (computed), so charge and capacitance stay continuous. For the 1N4148 card, with CJO = 4 , M = 0.285 and VJ = 0.6 , the capacitance is 2.12 at -5 , 4.87 at the 0.3 boundary and 6.4 at 10 (computed). There the diffusion capacitance of 1.56 dominates by about 250 times (computed), so the linear form only needs to be smooth. Reference: MathWorks, ‘SPICE Diode’, Simscape Electrical block reference page (fetch-tool summary); ‘SPICE Models’, Lessons in Electric Circuits, Volume III (Semiconductors), Chapter 3, All About Circuits (author not named on the page) (fetch-tool summary).
Ques: Is the default breakdown current IBV 1 mA or A per square metre?
The two describe different conventions. The Buffalo table, Modelica’s SPICE3 modelcard and All About Circuits all give IBV a default of (the Buffalo table’s unit column says volts, a slip for amperes), the SPICE2 and SPICE3 value. MathWorks lists because its block scales IBV with an area in square metres and uses a softer two-exponential breakdown. For a diode of AREA = 1, as in a plain SPICE card, the MathWorks default is seven orders of magnitude lower (computed), so a card moved between simulators without IBV puts the breakdown knee at a different current. With NBV = 1 the knee moves by at 27 (computed). The SPICE3 value is more likely the intended default for netlists, and BV and IBV should always be set explicitly (my reading). Reference: ‘SPICE diode table’, SPICE pn-diode applet pages, University at Buffalo (author not stated) (fetch-tool summary); Modelica Association, Modelica Standard Library 4.0.0, ‘Modelica.Electrical.Spice3.Semiconductors.ModelcardDIODE’ (fetch-tool summary); ‘SPICE Models’, Lessons in Electric Circuits, Volume III (Semiconductors), Chapter 3, All About Circuits (author not named on the page) (fetch-tool summary); MathWorks, ‘SPICE Diode’, Simscape Electrical block reference page (fetch-tool summary).
Ques: How strongly does the saturation current depend on temperature?
Very strongly. MathWorks gives . With N = 1, XTI = 3 and EG = 1.11 , IS rises by 16.5 per cent per kelvin near 300 and by a factor 4.40 over 10 (computed), close to the familiar doubling every 5 . At a fixed 1 the forward voltage, 0.655 for IS = at 27 , therefore falls by 1.77 (computed). Schottky diodes use XTI = 2 and EG of about 0.69 , as in the All About Circuits cards for the 1N5711 and 1N5712, and germanium 0.67 . VJ and CJO scale too, through a band gap that MathWorks takes as 1.16 minus , 1.115 at 300 (computed). Reference: MathWorks, ‘SPICE Diode’, Simscape Electrical block reference page (fetch-tool summary); ‘SPICE Models’, Lessons in Electric Circuits, Volume III (Semiconductors), Chapter 3, All About Circuits (author not named on the page) (fetch-tool summary).
Ques: Does the MathWorks page apply the emission coefficient twice?
As read, yes. The extract defines and then writes the diffusion current as , which would put in the exponent, and the IS temperature law also divides by . Every SPICE3 parameter list, including the Buffalo table and Modelica, treats N as a single emission coefficient in (background knowledge for the SPICE3 form), and the All About Circuits extraction of the 1N4004 uses without N inside. For the 1N4004 card with N = 2, double counting would multiply the exponent’s denominator by two again and give 0.14 instead of 1.10 at 0.925 (computed). The single-N form is almost certainly intended, and the extract’s is probably the plain thermal voltage (my reading). Reference: MathWorks, ‘SPICE Diode’, Simscape Electrical block reference page (fetch-tool summary); ‘SPICE diode table’, SPICE pn-diode applet pages, University at Buffalo (author not stated) (fetch-tool summary); Modelica Association, Modelica Standard Library 4.0.0, ‘Modelica.Electrical.Spice3.Semiconductors.ModelcardDIODE’ (fetch-tool summary); ‘SPICE Models’, Lessons in Electric Circuits, Volume III (Semiconductors), Chapter 3, All About Circuits (author not named on the page) (fetch-tool summary).
Ques: What does JUNCAP2 add over the SPICE diode for MOSFET junctions?
Geometry and leakage physics. JUNCAP2 splits each junction into bottom, STI-edge and gate-edge components, scaled by area AB and perimeters LS and LG, each with its own parameters, so one card fits all layouts. Besides the ideal diffusion current it includes Shockley-Read-Hall generation, trap-assisted tunnelling and band-to-band tunnelling, , multiplied by an avalanche factor ; the SRH and TAT terms are single-piece expressions valid in forward and reverse bias. The capacitance allows any grading coefficient up to 0.95, with a default of , or 1 (computed). These terms matter for off-state leakage of scaled MOSFETs with heavily doped halos, where band-to-band tunnelling dominates (background knowledge). JUNCAP2 is the junction model used with PSP. Reference: A. J. Scholten, M. Durand, G. D. J. Smit, D. B. M. Klaassen, O. Rozeau, S. Martinie and T. Poiroux, ‘JUNCAP2 200.6.2’ model summary, NXP Semiconductors and CEA-Leti (April 2021) (fetch-tool summary).
References
- MathWorks, “SPICE Diode,” Simscape Electrical documentation, block reference page. Available: https://www.mathworks.com/help/sps/ref/spicediode.html
- “SPICE diode table,” SPICE pn-diode applet pages, University at Buffalo (author not stated). Available: https://www.acsu.buffalo.edu/~wie/applet/spice_pndiode/spice_diode_table.html
- Modelica Association, “Modelica.Electrical.Spice3.Semiconductors.ModelcardDIODE,” Modelica Standard Library 4.0.0 documentation. Available: https://doc.modelica.org/Modelica%204.0.0/Resources/helpWSM/Modelica/Modelica.Electrical.Spice3.Semiconductors.ModelcardDIODE.html
- “SPICE Models,” Lessons in Electric Circuits, Vol. III: Semiconductors, Ch. 3, All About Circuits (author not named on the page). Available: https://www.allaboutcircuits.com/textbook/semiconductors/chpt-3/spice-models
- A. J. Scholten, M. Durand, G. D. J. Smit, D. B. M. Klaassen, O. Rozeau, S. Martinie and T. Poiroux, “JUNCAP2 200.6.2,” model summary, NXP Semiconductors and CEA-Leti, Apr. 2021. Available: https://www.cea.fr/cea-tech/leti/pspsupport/Documents/Level%20104/juncap200p6_summary.pdf
Related pages in this vault: Ebers-Moll and Gummel-Poon Models, Temperature Scaling, Parameter Extraction Methods, Power Device Compact Models, PN Junction, Zener Diode, Backward Diode, Avalanche Diode, Schottky Diode, PIN Diode, GaN Power Diode, SiC Schottky Diode, Step Recovery Diode, Point Contact Diode.