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_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_v

v

v

Structure

mo_v/fixed

fixed

Cell of scalars

true
false

mo_v/start

start

Cell of scalars

mo_i

i

i

Structure

mo_i/fixed

fixed

Cell of scalars

true
false

mo_i/start

start

Cell of scalars

mo_LossPower

LossPower

LossPower

Structure

mo_LossPower/fixed

fixed

Cell of scalars

true
false

mo_LossPower/start

start

Cell of scalars

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_vd

vd

vd

Structure

mo_vd/fixed

fixed

Cell of scalars

true
false

mo_vd/start

start

Cell of scalars

mo_id

id

id

Structure

mo_id/fixed

fixed

Cell of scalars

true
false

mo_id/start

start

Cell of scalars

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