modelDj

Junction diode model of Ebers-Moll BJT

Extends from Interfaces.PassiveOnePort (Partial model invoking one bondgraphic connector).

Information

The junction diode element is a passive OnePort element. It inherits the effort and flow variables from the passive OnePort. Junction diodes are a special class of non-linear resistors.

The junction diode model is a simple diode with an exponential characteristic. The diode formula essentially is:

f = Is*(exp(e/Vt) - 1)

However, if the exponent e/Vt reaches either an upper limit EMax or a lower limit Emin, the diode characterisic is linearly continued to avoid overflow or underflow, respectively.

The causality of the junction diode element is free.


Potential variables:

 e:     Bondgraphic effort variable

 f:     Bondgraphic flow variable, normalized positive for flows into the model


Parameters:

 Is:    Transport saturation current (default value = 1e-16 Amp)

 Vt:    Thermal voltage (default value = 0.02585 Volt)

 EMin:  Minimum exponent (default value = -100)

 EMax:  Maximum exponent (default value = 40)


Equations:

ExMin = exp(EMin)
ExMax = exp(EMax)
f = if (e/Vt < EMin) then Is*(ExMin*(e/Vt - EMin + 1) - 1) else if (e/Vt > EMax) then Is*(ExMax*(e/Vt - EMax + 1) - 1) else Is*(exp(e/Vt) - 1)

Parameters

TypeNameDefaultDescription
Modelica.SIunits.CurrentIs1.e-16Transport saturation current
Modelica.SIunits.VoltageVt0.02585Voltage equivalent of temperature (kT/qn)
RealEMin-100if x < EMin, the exp(x) function is linearized
RealEMax40if x > EMax, the exp(x) function is linearized

Connectors

TypeNameDefaultDescription
BondLib.Interfaces.BondConBondCon1 (from PassiveOnePort)Bond graph connector

Components

TypeNameDefaultDescription
Reale (from PassiveOnePort)Bondgraphic effort
Realf (from PassiveOnePort)Bondgraphic flow