modelD

Spice-style diode of the analog electrical library

Extends from Interfaces.SpiceTwoPort (TwoPort interface for Spice-style models).

Information

The Spice-style diode offers three modeling levels [1]. The Level=1 model characterizes a junction diode by its electrical properties. This model is similar to the models of the junction diodes used within the BJT and MOSFET models, but it is more accurate. In particular, it includes a description of avalanche breakdown behavior. The Level=3 model is similar to the Level=1 model, but here, the diode is characterized by its physical parameters, such as length and width of the junction. Also, this model is yet more accurate as it allows the modeler to specify a polysilicon and a metal layer, in which case the additional capacitances associated with these layers will be computed as well. The Level=2 model is an entirely different device. It represents essentially a non-linear resistor with a quadratic characteristic on both sides. Thus, the Fowler-Nordheim diode is a symmetric device.

The heating port may remain unconnected, in which case the device is being simulated at a constant temperature of Tnom.


Parameters:

 Tnom:    Reference temperature (default value = 300.15 K) Levels 1-3

 Level:   DIODE modeling level (default value = 1)
            Level=1: Non-geometric junction diode
            Level=2: Fowler-Nordheim diode
            Level=3: Geometric junction diode

 Area:    Relative area occupied by the diode (default value = 1) Level 1


Process Parameters:

 TOX:     Thin oxide thickness (default value = 1e-7 m) Levels 1-3


Basic Electrical Parameters:

 PB:      Built-in junction potential at reference temperature (default value = 0.8 Volt) Levels 1,3

 BV:      Reverse breakdown voltage at reference temperature (default value = 0 Volt) Levels 1,3
            BV must be specified as a positive number.  A value of 0 indicates that the breakdown voltage is infinite.

 IBV:     Reverse breakdown current (default value = 0 Amp) Levels 1,3
            IBV must be specified as a positive number.  A value of 0 indicates that the breakdown voltage is infinite.
            Either BV or IBV (the diodic current at breakdown) can be specified.  If both are specified and
            the values are inconsistent with each other, they will be suitably adjusted to match.

 PHP:     Built-in perimeter potential at reference temperature (default value = 0.8 Volt) Levels 1,3

 N:       Current emission coefficient (default value = 1) Levels 1,3

 IS:      Saturation current at reference temperature (default value = 1e-14 Amp) Level 1

 ISW:     Saturation current of perimeter at reference temperature (default value = 0 Amp) Level 1

 PJ:      Relative perimeter width (default value = 1) Level 1


High Current Beta Degradation Effect Parameters:

 IKF:     Forward knee current (default value = ∞ Amp) Levels 1,3

 IKR:     Reverse knee current (default value = ∞ Amp) Levels 1,3


Parasitic Resistor Parameters:

 RS:      Resistance at reference temperature (default value = 0 Ohm) Levels 1-3


Junction Capacitance Parameters:

 CJ:      Zero-bias bulk capacitance at reference temperature (default value = 0.5e-12 F) Level 1

 MJ:      Bulk junction grading coefficient (default value = 0.33) Levels 1,3

 CJSW:    Zero-bias perimeter capacitance at reference temperature (default value = 0.5e-12 F) Level 1

 MJSW:    Perimeter capacitance grading coefficient (default value = 0.33) Levels 1,3

 FC:      Forward-bias depletion capacitance coefficient (default value = 0.5) Levels 1,3


Transit Time Parameters:

 TT:      Transit time at reference temperature (default value = 0 sec) Levels 1,3


Temperature Compensation Parameters:

 TRS:     Linear temperature coefficient of resistance (default value = 0 1/K) Levels 1-3

 TCV:     Linear temperature coefficient of breakdown voltage (default value = 0 V/K) Levels 1,3

 TTT1:    Linear temperature coefficient of transit time (default value = 0 1/K) Levels 1,3

 TTT2:    Quadratic temperature coefficient of transit time (default value = 0 1/K2) Levels 1,3

 XTI:     Temperature exponent of saturation current (default value = 3) Levels 1,3
            XTI = 3 for pn-junction
            XTI = 2 for Schottky barrier diode

 EG:      Energy gap for temperature effect on saturation current at 0 K (default value = 1.11 Volt) Levels 1,3
            EG = 1.11 for Si
            EG = 0.73 for Schottky barrier diode
            EG = 0.71 for Ge


Level=2 General Parameters:

 M:       Diode multiplier (default value = 1) Levels 2,3


Level=2 Geometric Parameters:

 L:       Diode length (default value = 0 m) Levels 2,3

 W:       Diode width (default value = 0 m) Levels 2,3


Level=2 Electrical Parameters:

 JF:       Forward Fowler-Nordheim current coefficient (default value = 0 A/V2) Level 2

 JR:       Reverse Fowler-Nordheim current coefficient (default value = 0 A/V2) Level 2

 EF:       Forward Fowler-Nordheim critical electrical field (default value = 0 V/m) Level 2

 ER:       Reverse Fowler-Nordheim critical electrical field (default value = 0 V/m) Level 2


Level=3 Geometric Parameters:

 LP:       Polysilicon length (default value = 0 m) Level 3

 WP:       Polysilicon width (default value = 0 m) Level 3

 XP:       Widening of polysilicon due to masking and etching (default value = 0 m) Level 3

 XOI:      Polysilicon thickness (default value = 0 m) Level 3

 LM:       Metal length (default value = 0 m) Level 3

 WM:       Metal width (default value = 0 m) Level 3

 XM:       Widening of metal due to masking and etching (default value = 0 m) Level 3

 XOM:      Metal thickness (default value = 0 m) Level 3


Level=3 Electrical Parameters:

 JS:      Saturation current density at reference temperature (default value = 1e-4 Amp/m2) Level 3

 JSW:     Saturation current density of perimeter at reference temperature (default value = 0 Amp/m2) Level 3


Level=3 Junction Capacitance Parameters:

 CJ2:     Zero-bias bulk capacitance per meter square at reference temperature (default value = 1e-4 F/m2) Level 3

 CJSW2:   Zero-bias perimeter capacitance per meter at reference temperature (default value = 1e-9 F/m) Level 3


Numerical Parameters:

 EMin:    if x < EMin, the exp(x) function is linearized (default value = -100) Levels 1,3

 EMax:    if x > EMax, the exp(x) function is linearized (default value = 40) Levels 1,3

 GminDC:  Leakage conductance (default value = 1e-16 mho) Levels 1,3


Compiler Parameters:

 enforceStates:  State selector (default value = true) Levels 1-3
                   enforceStates = true:   Use (external) capacitive voltages as state variables
                   enforceStates = false:  Use (internal) bond graph efforts as state variables


References:

  1. Massobrio, G. and P. Antognetti (1993), Semiconductor Device Modeling with Spice, 2nd edition, McGraw Hill, New York.

Parameters

TypeNameDefaultDescription
Modelica.SIunits.TemperatureTnom (from SpiceTwoPort)300.15Reference temperature
RealinfModelica.Constants.inf
Modelica.SIunits.EntropykModelica.Constants.kBoltzmann's constant
Modelica.SIunits.ElectricChargeq1.6021892e-19Electron charge
Types.DIODElevelLevel1DIODE modeling level
RealArea1Relative device area
Process parameters
Modelica.SIunits.LengthTOX1e-7Thin oxide thickness
Electrical parameters
Modelica.SIunits.VoltagePB0.8Built-in junction potential at reference temperature
Modelica.SIunits.VoltageBV0Reverse breakdown voltage at reference temperature
Modelica.SIunits.CurrentIBV0Reverse breakdown current
Modelica.SIunits.VoltagePHP0.8Built-in perimeter potential at reference temperature
RealN1Current emission coefficient
Modelica.SIunits.CurrentIS1e-14Saturation current at reference temperature
Modelica.SIunits.CurrentISW0Saturation current of perimeter at reference temperature
RealPJ1Relative perimeter width
High current beta degradation effect
Modelica.SIunits.CurrentIKFinfForward knee current
Modelica.SIunits.CurrentIKRinfReverse knee current
Parasitic resistor parameters
Modelica.SIunits.ResistanceRS0Resistance at reference temperature
Junction capacitance parameters
Modelica.SIunits.CapacitanceCJ0.5e-12Zero-bias bulk capacitance at reference temperature
RealMJ0.33Bulk junction grading coefficient
Modelica.SIunits.CapacitanceCJSW0.5e-12Zero-bias perimeter capacitance at reference temperature
RealMJSW0.33Perimeter capacitance grading coefficient
RealFC0.5Forward-bias depletion capacitance coefficient
Transit time parameters
Modelica.SIunits.TimeTT0Transit time at reference temperature
Temperature compensation parameters
RealTRS0Linear temperature coefficient of resistance
RealTCV0Linear temperature coefficient of breakdown voltage
RealTTT10Linear temperature coefficient of transit time
RealTTT20Quadratic temperature coefficient of transit time
Types.DIODEtypeXTI3Saturation current temperature exponent
Modelica.SIunits.VoltageEG1.11Energy gap at 0K (EG=1.11: Si, EG=0.73: Schottky barrier diode, EG=0.71: Ge)
Level=2
IntegerM1Diode multiplier
Level=2 › Geometric parameters
Modelica.SIunits.LengthL0Diode length
Modelica.SIunits.LengthW0Diode width
Level=2 › Electrical parameters
RealJF0Forward Fowler-Nordheim current coefficient
RealJR0Reverse Fowler-Nordheim current coefficient
Modelica.SIunits.ElectricFieldStrengthEF0Forward Fowler-Nordheim critical electrical field
Modelica.SIunits.ElectricFieldStrengthER0Reverse Fowler-Nordheim critical electrical field
Level=3 › Geometric parameters
Modelica.SIunits.LengthLP0Polysilicon length
Modelica.SIunits.LengthWP0Polysilicon width
Modelica.SIunits.LengthXP0Widening of polysilicon due to masking and etching
Modelica.SIunits.LengthXOI0Polysilicon thickness
Modelica.SIunits.LengthLM0Metal length
Modelica.SIunits.LengthWM0Metal width
Modelica.SIunits.LengthXM0Widening of metal due to masking and etching
Modelica.SIunits.LengthXOM0Metal thickness
Level=3 › Electrical parameters
Modelica.SIunits.CurrentDensityJS1e-4Saturation current density at reference temperature
RealJSW0Saturation current density of perimeter at reference temperature
Level=3 › Junction capacitance parameters
RealCJ21e-4Zero-bias bulk capacitance per square meter at reference temperature
RealCJSW21e-9Zero-bias perimeter capacitance per meter at reference temperature
Advanced › Numerical parameters
RealEMin-100if x < EMin, the exp(x) function is linearized
RealEMax40if x > EMax, the exp(x) function is linearized
Modelica.SIunits.ConductanceGminDC1e-16Leakage conductance
Advanced › Compiler parameters
Types.EnforceCapacitorenforceStatestrueState selector

Connectors

TypeNameDefaultDescription
Modelica.Electrical.Analog.Interfaces.PositivePinp (from OnePort)Left electrical connector
Modelica.Electrical.Analog.Interfaces.NegativePinn (from OnePort)Right electrical connector
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aheatPort (from SpiceTwoPort)may remain unconnected

Components

TypeNameDefaultDescription
Modelica.SIunits.Voltagev (from OnePort)Voltage drop between the two pins
Modelica.SIunits.Currenti (from OnePort)Current flowing from pin p to pin n
RRS1
BondLib.Spice.Utilities.ID0ID0
BondLib.Electrical.Analog.Spice.Utilities.CjDDd
BondLib.Electrical.Analog.Spice.Utilities.IsignalId
BondLib.Electrical.Analog.Sensors.VoltageSensorvd
Modelica.Thermal.HeatTransfer.TemperatureSensorTdev1
Thermal.HeatTransfer.Switches.HeatBranchSw1
Thermal.HeatTransfer.Sources.FixedTemperatureT_nom