From 8ee4df70f9a3dcf3f9900500b30c03a33a410245 Mon Sep 17 00:00:00 2001 From: Alessandro Mauri Date: Thu, 2 Nov 2023 18:38:24 +0100 Subject: [PATCH] even more diodes --- ccm_model.asc | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/ccm_model.asc b/ccm_model.asc index ee0a5b4..d509ab1 100755 --- a/ccm_model.asc +++ b/ccm_model.asc @@ -1,5 +1,5 @@ Version 4 -SHEET 1 4380 2292 +SHEET 1 6020 2292 WIRE -32 96 -80 96 WIRE 96 96 48 96 WIRE 144 96 96 96 @@ -515,18 +515,18 @@ SYMBOL diode 2400 240 R180 WINDOW 0 24 64 Left 2 WINDOW 3 24 0 Left 2 SYMATTR InstName D8 -SYMATTR Value M7 +SYMATTR Value M4 SYMBOL diode 2544 176 R0 SYMATTR InstName D9 -SYMATTR Value M7 +SYMATTR Value M4 SYMBOL diode 2976 240 R180 WINDOW 0 24 64 Left 2 WINDOW 3 24 0 Left 2 SYMATTR InstName D1 -SYMATTR Value M7 +SYMATTR Value M4 SYMBOL diode 3120 176 R0 SYMATTR InstName D2 -SYMATTR Value M7 +SYMATTR Value M4 TEXT 3416 816 Left 2 !.tran 0 20m 0 TEXT 136 1488 Left 2 !.param Ra=120k TEXT 136 1512 Left 2 !.param Rb=3.3k @@ -541,6 +541,14 @@ TEXT -1656 1728 Left 2 ;problem: since the diode losses are too much, the minimu TEXT 2360 -304 Left 2 !.model StupidDiode D(Is=100e-12 N=1.4 M=0.33 Vj=0.55 Cj=15e-12 Rs=0.3 BV=400 Ibv=50e-6 Isr=1e-9 Ikf=0.4) TEXT 2360 -272 Left 2 !.model RS1M D ( IS=948n RS=81.3m BV=1.00k IBV=5.00u CJO=27.7p M=0.333 N=2.48 TT=720n ) TEXT 2360 -240 Left 2 !.model M7 D(Is=125n Bv=1050 Ibv=5u Vpk=1000 N=2.214539 Rs=0.05 Eg=1.11 Xti=3 Iave=1 Cjo=24p M=0.33 Tt=1.5u Vp=0.5 mfg=Diotec type=Rectifier) +TEXT 2360 -208 Left 2 !.model US1M D ( IS=709n RS=82.3m BV=1.00k IBV=5.00u CJO=18.5p M=0.333 N=3.23 TT=108n ) +TEXT 2304 -304 Left 2 ;OK +TEXT 2304 -272 Left 2 ;NO +TEXT 2304 -240 Left 2 ;NO +TEXT 2304 -208 Left 2 ;OK +TEXT 2360 -176 Left 2 !.model M4 D(Is={Ir/40} Bv={Vrsm*1.05} Ibv={Ir} Vpk=Vrrm N={.8*Vf/25m/(ln(Ifav)-ln(Ir/40))} Rs={Rs} Eg={Eg} Xti={Xti} Iave={Ifav} Cjo={Cj*2} M=.33 Tt={trr} Vp=.5 mfg=Diotec type=Rectifier) +TEXT 4832 -176 Left 2 !.param Vrrm=400 Vrsm=400 Ir=5u Irsm=5u Vf=1.1 Ifav=1 Rs=.05 trr=1500n Cj=10p Eg=1.11 Xti=3 +TEXT 2304 -176 Left 2 ;NO LINE Normal 1664 256 1664 160 LINE Normal 1680 256 1680 160 LINE Normal 2592 624 2528 704