modelDjD
Spice-style DIODE model
Extends from Interfaces.SpiceTwoPort (Special twoPort element used by Spice models).
Information
This model computes the diodic current of a Spice-style DIODE model. Spice offers three modeling levels for DIODEs that differ in the formulae they use to compute the diodic current [1]. The Level=1 model and the Level=3 model represent junction diodes, whereas the Level=2 model represents a Fowler-Nordheim diode, essentially a non-linear resistor with a quadratic conductance characteristic.
Parameters:
Level: DIODE modeling level (default value = 1)
Level=1: Non-geometric junction diode
Level=2: Fowler-Nordheim diode
Level=3: Geometric junction diode
Tnom: Reference temperature (default value = 300.15 K)
IS: Saturation current at reference temperature (default value = 1e-14 Amp)
N: Current mission coefficient (default value = 1)
EG: Energy gap for temperature effect on saturation current at 0 K (default value = 1.11 Volt)
XTI: Temperature exponent of saturation current (default value = 3)
BV: Reverse breakdown voltage at reference temperature (default value = 0 Volt)
IBV: Reverse breakdown current (default value = 0 Amp)
TCV: Linear temperature coefficient of breakdown voltage (default value = 0 V/K)
ISW: Saturation current of perimeter at reference temperature (default value = 0 Amp)
TOX: Thin oxide thickness (default value = 1e-7 m)
Area: Relative area occupied by the diode (default value = 1)
PJ: Relative perimeter width (default value = 1)
EMin: if x < EMin, the exp(x) function is linearized (default value = -100)
EMax: if x > EMax, the exp(x) function is linearized (default value = 40)
L: Diode length (default value = 0 m)
W: Diode width (default value = 0 m)
M: Diode multiplier (default value = 1)
JS: Saturation current density at reference temperature (default value = 1e-4 Amp/m2)
JSW: Saturation current density of perimeter at reference temperature (default value = 0 Amp/m2)
JF: Forward Fowler-Nordheim current coefficient (default value = 0 A/V2)
JR: Reverse Fowler-Nordheim current coefficient (default value = 0 A/V2)
EF: Forward Fowler-Nordheim critical electrical field (default value = 0 V/m)
ER: Reverse Fowler-Nordheim critical electrical field (default value = 0 V/m)
References:
- Massobrio, G. and P. Antognetti (1993), Semiconductor Device Modeling with Spice, 2nd edition, McGraw Hill, New York, p.200.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Temperature | Tnom (from SpiceTwoPort) | 300.15 | Reference temperature |
| Modelica.SIunits.Entropy | k | Modelica.Constants.k | Boltzmann's constant |
| Modelica.SIunits.ElectricCharge | q | 1.6021892e-19 | Electron charge |
| Real | GapC1 | 7.02E-4 | First bandgap correction factor Silicon |
| Modelica.SIunits.Temperature | GapC2 | 1108.0 | Second bandgap correction factor Silicon |
| Integer | Level | 1 | DIODE modeling level (check documentation window for details) |
| Modelica.SIunits.Current | IS | 1e-14 | Saturation current at reference temperature |
| Real | N | 1 | Current emission coefficient |
| Modelica.SIunits.Voltage | EG | 1.11 | Energy gap for temperature effect on saturation current at 0 K |
| Real | XTI | 3 | Saturation current temperature exponent |
| Modelica.SIunits.Voltage | BV | 0 | Reverse breakdown voltage at reference temperature |
| Modelica.SIunits.Current | IBV | 0 | Reverse breakdown current |
| Real | TCV | 0 | Temperature coefficient of breakdown voltage |
| Modelica.SIunits.Current | ISW | 0 | Saturation current of periphery at reference temperature |
| Modelica.SIunits.Length | TOX | 1e-7 | Thin oxide thickness |
| Real | Area | 1 | Relative device area |
| Real | PJ | 0 | Relative perimeter width |
| Real | EMin | -100 | if x < EMin, the exp(x) function is linearized |
| Real | EMax | 40 | if x > EMax, the exp(x) function is linearized |
| Modelica.SIunits.Length | L | 0 | Diode length |
| Modelica.SIunits.Length | W | 0 | Diode width |
| Integer | M | 1 | Diode multiplier |
| Modelica.SIunits.CurrentDensity | JS | 1e-4 | Saturation current density at reference temperature |
| Real | JSW | 0 | Saturation current density of periphery at reference temperature |
| Real | JF | 0 | Forward FN current coefficient |
| Real | JR | 0 | Reverse FN current coefficient |
| Modelica.SIunits.ElectricFieldStrength | EF | 0 | Forward critical electrical field |
| Modelica.SIunits.ElectricFieldStrength | ER | 0 | Reverse critical electrical field |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| BondLib.Interfaces.BondCon | BondCon1 (from TwoPort) | Left bond graph connector | |
| BondLib.Interfaces.BondCon | BondCon2 (from TwoPort) | Right bond graph connector |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | e1 (from TwoPort) | Bondgraphic primary effort | |
| Real | f1 (from TwoPort) | Bondgraphic primary flow | |
| Real | e2 (from TwoPort) | Bondgraphic secondary effort | |
| Real | f2 (from TwoPort) | Bondgraphic secondary flow | |
| Modelica.SIunits.Temperature | DTemp (from SpiceTwoPort) | Difference between circuit temperature and reference temperature | |
| Real | DTempSq (from SpiceTwoPort) | Square of DTemp |