PyAMS  (the software under revision)

Diode Zener


Simple diode zener

Modelica.Electrical.Analog.Semiconductors.DiodeZener

Information

The diode zener is nonlinear element and semiconductor device, can be represented by its equivalent nonlinear current source Id dependent by the voltage in the nodes Vd and it is given by:

Parameters

NameDefaultDescription
Iss1e-12Saturation current [A]
Vt0.025Thermal voltage [V]
N1Forward emission coefficient
BV10.0Breakdown voltage [V]
IBV0.001Breakdown current [A]

PyAMS definition

from PyAMS import Signal
from PyAMS import explim

#Simple diode zener
class DiodeZener: 
     def __init__(self, n, p):
         # Signals
         self.Vd = Signal('in','voltage',n,p)
         self.Id = Signal('out','current',n,p)
         # Paramaters
         self.Iss=1.0e-12    #Saturation current
         self.Vt=0.025       #Thermal voltage
         self.N=1.0          #Forward emission coefficient
         self.BV=10.0        #Breakdown voltage
         self.IBV=0.001      #Breakdown current       
     def analog(self):
             self.Id+=self.Iss*(explim(self.Vd/self.Vt)-1)
             self.Id+=self.IBV*(explim(-(self.Vd+self.self.BV)/self.Vt)-1)*-1

Documentation generated by PyAMS