Diode2

Improved diode model

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

This diode model is an improved version of the simple diode model. It includes a series resistance, parallel conductance, and also models reverse breakdown. The model is divided into three parts:

  • lower half of reversed bias region including breakdown: -Ids·(exp(-(vd+Bv)/(N·Vt)) + 1 - 2·exp(-Bv/(2·N·Vt)))
  • upper half of reverse biased region and forward biased region before conduction: Ids·(exp(vd/(N·Vt)) - 1)
  • forward biased region after conduction: iVdMax + (vd - VdMax)·diVdMax

Temperature dependent behaviour is modelled when useHeatPort=true. In that case, the Vt parameter is ignored, and Vt is computed as k·T/q, where

  • k is Boltzmann's constant
  • T is the heat port temperature.
  • q is the electron charge.

Parameters (9)

useHeatPort

Value: false

Type: Boolean

Description: =true, if heatPort is enabled

T

Value: 293.15

Type: Temperature (K)

Description: Fixed device temperature if useHeatPort = false

Vf

Value: 0.7

Type: Voltage (V)

Description: Forward voltage

Ids

Value: 1e-13

Type: Current (A)

Description: Reverse saturation current

Rs

Value: 16

Type: Resistance (Ω)

Description: Ohmic resistance

Vt

Value: Modelica.Constants.R * T / Modelica.Constants.F

Type: Voltage (V)

Description: Thermal voltage (kT/q), 0.026 at normal conditions (around 20 degC)

N

Value: 1

Type: Real

Description: Emission coefficient

Bv

Value: 100

Type: Voltage (V)

Description: Reverse breakdown voltage

Gp

Value: 1e-6

Type: Conductance (S)

Description: Parallel conductance for numerical stability

Connectors (3)

p

Type: PositivePin

Description: Positive electrical pin

n

Type: NegativePin

Description: Negative electrical pin

heatPort

Type: HeatPort_a

Description: Conditional heat port