modelDiode2
Improved diode model
Extends from Modelica.Electrical.Analog.Interfaces.OnePort (Component with two electrical pins p and n and current i from p to n), Modelica.Electrical.Analog.Interfaces.ConditionalHeatPort (Partial model to include a conditional HeatPort in order to describe the power loss via a thermal network).
Information
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
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | useHeatPort (from ConditionalHeatPort) | false | = true, if heatPort is enabled |
| SI.Temperature | T (from ConditionalHeatPort) | 293.15 | Fixed device temperature if useHeatPort = false |
| SI.Voltage | Vf | 0.7 | Forward voltage |
| SI.Current | Ids | 1e-13 | Reverse saturation current |
| SI.Resistance | Rs | 16 | Ohmic resistance |
| SI.Voltage | Vt | Modelica.Constants.R*T/Modelica.Constants.F | Thermal voltage (kT/q), 0.026 at normal conditions (around 20 degC) |
| Real | N | 1 | Emission coefficient |
| SI.Voltage | Bv | 100 | Reverse breakdown voltage |
| SI.Conductance | Gp | 1e-6 | Parallel conductance for numerical stability |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| PositivePin | p (from TwoPin) | Positive electrical pin | |
| NegativePin | n (from TwoPin) | Negative electrical pin | |
| Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_a | heatPort (from ConditionalHeatPort) | Conditional heat port |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Voltage | v (from TwoPin) | Voltage drop of the two pins (= p.v - n.v) | |
| SI.Current | i (from OnePort) | Current flowing from pin p to pin n | |
| SI.Power | LossPower (from ConditionalHeatPort) | Loss power leaving component via heatPort | |
| SI.Temperature | T_heatPort (from ConditionalHeatPort) | Temperature of heatPort | |
| SI.Voltage | vd | Voltage across pure diode part | |
| SI.Current | id | Diode current |
Revisions
- November 2015
by Stefan Vorkoetter
implemented dynamic temperature dependency - November 2015
by Kristin Majetta
defined parameter Vt based on fixed temperature - June 2014
by Stefan Vorkoetter, Kristin Majetta, and Christoph Clauss
implemented - October 2011 Stefan Vorkoetter - new model proposed.