modelDj
Spice-style junction diode model for bipolar transistors
Extends from Interfaces.SpiceTwoPort (TwoPort interface for Spice-style models).
Information
The internal junction diode is used inside the junction capacitance model to compute the diodic current, which however is only used as a mathematical construct, i.e., doesn't carry any power. The diodic current, once computed, is then passed on as a modulating signal to the two non-linear current sources that actually carry the entire diodic (Ohmic) current of the bipolar junction transistor.
Parameters: Is: Transport saturation current (default value = 1e-16 Amp) EG: Energy gap for temperature effect on saturation current (default value = 1.11 Volt) N: Current emission coefficient (default value = 1) XTI: Saturation current temperature exponent (default value = 3) Area: Relative area occupied by the diode (default value = 1) Level: Transistor modeling level (Ebers-Moll = 1; Gummel-Poon = 2) (default value = 2) 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.Current | IS | 1e-16 | Saturation current at reference temperature |
| Modelica.SIunits.Voltage | EG | 1.11 | Energy gap for temperature effect on saturation current |
| Real | N | 1 | Current emission coefficient |
| Real | XTI | 3 | Saturation current temperature exponent |
| Real | Area | 1 | Relative area occupied by diode |
| Integer | Level | 2 | Transistor modeling level (Ebers-Moll = 1; Gummel-Poon = 2) |
| 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 |
|---|---|---|---|
| Modelica.Electrical.Analog.Interfaces.PositivePin | p (from OnePort) | Left electrical connector | |
| Modelica.Electrical.Analog.Interfaces.NegativePin | n (from OnePort) | Right electrical connector | |
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | heatPort (from SpiceTwoPort) | may remain unconnected |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Voltage | v (from OnePort) | Voltage drop between the two pins | |
| Modelica.SIunits.Current | i (from OnePort) | Current flowing from pin p to pin n |