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

TypeNameDefaultDescription
Modelica.SIunits.TemperatureTnom (from SpiceTwoPort)300.15Reference temperature
Modelica.SIunits.CurrentIS1e-16Saturation current at reference temperature
Modelica.SIunits.VoltageEG1.11Energy gap for temperature effect on saturation current
RealN1Current emission coefficient
RealXTI3Saturation current temperature exponent
RealArea1Relative area occupied by diode
IntegerLevel2Transistor modeling level (Ebers-Moll = 1; Gummel-Poon = 2)
RealEMin-100if x < EMin, the exp(x) function is linearized
RealEMax40if x > EMax, the exp(x) function is linearized

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