* (C) Copyright Efficient Power Conversion Corporation. All rights reserved. ***************************************************************************** * Version History: * 1.00: 12/15/2022 - Initial Model Creation .subckt EPC2203 gatein drainin sourcein .param aWg=115 A1=3.7225 k2=2.4725 k3=0.15 rpara=0.045856 rpara_s_factor=0.23 + aITc=0.00414 arTc=-0.0069 k2Tc=0.0008 x0_0=1.5764 x0_1=-0.1 x0_0_TC=-0.0025 x0_1_TC=0 + dgs1=4.3e-07 dgs2=2.6e-13 dgs3=0.8 dgs4=0.23 + ags1=7.1874e-11 ags2=4.3702e-11 ags3=1.8083 ags4=0.23132 + ags5=-2.2481e-11 ags6=10.762 ags7=1.2289 + agd1=3.9208e-15 agd2=1.4276e-12 agd3=-3.7081 agd4=34.585 + agd5=8.7701e-12 agd6=-9.4657 agd7=2.5229 + agd8=2.0154e-13 agd9=-353.48 agd10=15.057 + asd1=3.9053e-11 asd2=5.3294e-11 asd3=-0.6675 asd4=26.865 + asd5=4.8374e-11 asd6=-15.156 asd7=1.4717 asd8=0 + asd9=-3.023e+01 asd10=2.523e+01 rg_value=0.4 rd drainin drain ((1-rpara_s_factor)*rpara*(1-arTc*(Temp-25))) rs sourcein source (rpara_s_factor*rpara*(1-arTc*(Temp-25))) rg gatein gate (rg_value) *Large resistors to aid convergence rcsdconv drain source (100000Meg/aWg) rcgsconv gate source (100000Meg/aWg) rcgdconv gate drain (100000Meg/aWg) gswitch drain source cur='if(v(drain,source)>0, + (A1*(1-aITc*(Temp-25))*log(1.0+exp((v(gate,source)-(k2*(1-k2Tc*(Temp-25))))/k3))* + v(drain,source)/(1 + (x0_0*(1-x0_0_TC*(Temp-25))+x0_1*(1-x0_1_TC*(Temp-25))*v(gate,source))*v(drain,source)) ), + (-A1*(1-aITc*(Temp-25))*log(1.0+exp((v(gate,drain)-(k2*(1-k2Tc*(Temp-25))))/k3))* + v(source,drain)/(1 + (x0_0*(1-x0_0_TC*(Temp-25))+x0_1*(1-x0_1_TC*(Temp-25))*v(gate,drain))*v(source,drain)) ) ) ' ggsdiode gate source cur='if( v(gate,source) < 10, + 0.125*aWg/1077*(dgs1*(exp((v(gate,source))/dgs3)-1)+dgs2*(exp((v(gate,source))/dgs4)-1)), + 0.125*aWg/1077*(dgs1*(exp((10)/dgs3)-1)+dgs2*(exp((10)/dgs4)-1)) )' ggddiode gate drain cur='if( v(gate,drain) < 10, + 0.125*aWg/1077*(dgs1*(exp((v(gate,drain))/dgs3)-1)+dgs2*(exp((v(gate,drain))/dgs4)-1)), + 0.125*aWg/1077*(dgs1*(exp((10)/dgs3)-1)+dgs2*(exp((10)/dgs4)-1)) )' cgs gate source ags1 gcgs gate source chg='0.5*ags2*ags4*log(1+exp((v(gate,source)-ags3)/ags4))+ + ags5*ags7*log(1+exp((v(source,drain)-ags6)/ags7))' cgd gate drain agd1 gcgd gate drain chg='0.5*ags2*ags4*log(1+exp((v(gate,drain)-ags3)/ags4))+ + agd2*agd4*log(1+exp((v(gate,drain)-agd3)/agd4))+ + agd5*agd7*log(1+exp((v(gate,drain)-agd6)/agd7))+ + agd8*agd10*log(1+exp((v(gate,drain)-agd9)/agd10))' csd source drain asd1 gcsd source drain chg='asd2*asd4*log(1+exp((v(source,drain)-asd3)/asd4))+ + asd5*asd7*log(1+exp((v(source,drain)-asd6)/asd7))+ + asd8*asd10*log(1+exp((v(source,drain)-asd9)/asd10))' .ends