Diode2

Improved diode model

    Diode2

Library

Modelica/Electrical/Analog/Semiconductors

Description

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

Diode2_0

NameLabelDescriptionData TypeValid Values

mo_T_heatPort

T_heatPort

T_heatPort

Structure

mo_T_heatPort/fixed

fixed

Cell of scalars

true
false

mo_T_heatPort/start

start

Cell of scalars

mo_useHeatPort

useHeatPort

=true, if heatPort is enabled

Number

0
1

mo_T

T

Fixed device temperature if useHeatPort = false

Scalar

mo_Vf

Vf

Forward voltage

Scalar

mo_Ids

Ids

Reverse saturation current

Scalar

mo_Rs

Rs

Ohmic resistance

Scalar

mo_Vt

Vt

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

Scalar

mo_N

N

Emission coefficient

Scalar

mo_Bv

Bv

Reverse breakdown voltage

Scalar

mo_Gp

Gp

Parallel conductance for numerical stability

Scalar

Diode2_1

NameLabelDescriptionData TypeValid Values

mo__nmodifiers

Number of Modifiers

Specifies the number of modifiers

Number

mo__modifiers

Modifiers

Add new modifier

Structure

mo__modifiers/varname

Variable name

Cell of strings

'v'
'i'
'LossPower'
'vd'
'id'
'VdMax'
'iVdMax'
'diVdMax'
'Vt_applied'

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

p

implicit

Positive electrical pin

input

1

n

implicit

Negative electrical pin

output

1

Port 3

implicit

Conditional heat port

input

mo_useHeatPort

See Also