modelDjM
Spice-style junction diode model for MOSFETs
Extends from Interfaces.SpiceTwoPort (Special twoPort element used by Spice models).
Information
The Spice-style MOSFET junction diode is a regular exponential diode. A separate model was needed to implement the Level parameter of the MOSFET models.
Parameters:
Level: MOSFET modeling level (default value = 3)
Level=0: Static injection model
Level=1: Shichman-Hodges model
Level=2: Grove-Frohman model
Level=3: Empirical model
Level=4: Simplified Grove-Frohman model
IS: Transport saturation current (default value = 0 Amp)
EG: Energy gap for temperature effect on saturation current (default value = 1.11 Volt)
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)
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 | 3 | MOSFET modeling level (check documentation window for details) |
| Modelica.SIunits.Current | IS | 0 | Saturation current at reference temperature |
| Modelica.SIunits.Voltage | EG | 1.11 | Energy gap for temperature effect on saturation current |
| Real | EMin | -100 | if x < EMin, the exp(x) function is linearized |
| Real | EMax | 40 | if x > EMax, the exp(x) function is linearized |
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 | |
| Modelica.SIunits.Voltage | Vt | Thermal voltage | |
| Modelica.SIunits.Current | ISval | Saturation current at device temperature | |
| Modelica.SIunits.Voltage | EGnom | Activation energy at reference temperature | |
| Modelica.SIunits.Voltage | EGval | Activation energy at device temperature |