Diode

An ideal diode. Forward conducting, reverse open.

  • electrical
  • Gradara equations
  • 2 ports
BlockDiodeKinddiodeLibraryElectrical

Description

A simple diode: a very small resistance when forward biased and an open circuit when reverse biased. There is no forward voltage drop.

Example

Diodes and a Zener regulator Three diode models rectifying a 10 V sine, and a Zener diode holding 5.1 V.

10 V 50 Hz ADiodeLoad Av AGround A10 V 50 Hz BIdeal diodeLoad Bv BGround B10 V 50 Hz CDiode (exponential)Load Cv CGround C12 VR 100 ΩZener 5.1 Vv ZenerGround (Zener)
In Gradara, select a Diode block and press F1, then choose Open example. It opens as a new model in My models, ready to run.

Also in this example:DC voltageVoltage sensorGroundResistorAC voltageIdeal diodeDiode (exponential)Zener diode

Ports

Conserving terminals 2

  • Ap

    Anode. Forward current flows into p.

  • Kn

    Cathode.

Equations

Modelica
v = p.v − n.v, p.i + n.i = 0
p.i = v / 1e−4 for v > 0 (0.1 mΩ on-resistance)
p.i = 0 for v ≤ 0

Assumptions and limitations

  • Fixed 0.1 mΩ on-resistance and zero reverse current; no threshold voltage, reverse recovery, junction capacitance, or temperature effects.
  • The change between states is not handled as an event, so the solver steps across the corner at v = 0 by itself.

Tips

  • For an adjustable on-resistance and off-conductance use Ideal diode; for a realistic forward drop use Diode (exponential).

See also

Select a block in Gradara and press F1 to open its page offline.