At 7/27/2011 02:29 AM, you wrote:
How to make my own ideal diode in ltspice? Does anyone know what is the "Is Rs N Cjo M tt Iave Vpeak mfg type" value of the diode that I should put in? What I meant by ideal diode is that I get 0 current when V<0 and then a sudden peak after V>0. So the Vthreshold is exactly at 0V.
Thanks
I would recommend using the level 2 switch model to create an ideal diode, as it often simulates better. You can even make the diode voltage 0. Some examples I have used:
zero volt diode:
.model sw_diodesw(Ron=1 Roff=1000K Vt=0 Vh=-0.05 level=2)
Sdiode anode cathode anode cathode sw_diode
Logic using switches:
negative threshold switch
.model sw_m sw(Ron=1 Roff=1000K Vt=-1.0 Vh=-0.05 level=2)
positive threshold switch
.model sw_p sw(Ron=1 Roff=1000K Vt=1.0 Vh=-0.05 level=2)
logic inverter:
Sm1 Vcc vinv 0 Vin sw_m
Sp1 vinv 0 Vin 0 sw_p
logic buffer:
Sp2 vbuf Vcc Vin 0 sw_p
Sm2 0 vbuf 0 Vin sw_m