modelJunctionDiode

Junction diode of the analog electrical library

Extends from Interfaces.OnePort (OnePort partial model of analog electrical library).

Information

The junction diode is built in bondgraphic technology from a bond graph Dj element, a 1-junction, and three bonds. A-causal bonds must be used here, because the causality depends on the embedding of the diode in its environment.

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.


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)

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
Modelica.Electrical.Analog.Interfaces.PositivePinp (from OnePort)Left electrical connector
Modelica.Electrical.Analog.Interfaces.NegativePinn (from OnePort)Right electrical connector

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