comparison pa-GAN190-PP.asc @ 9:66aa1acc90cd

Start 5u sim from 0 time now it doens't glitch
author Daniel O'Connor <darius@dons.net.au>
date Sat, 21 Oct 2023 14:17:33 +1030
parents 0826d9d63330
children 2832aefd442c
comparison
equal deleted inserted replaced
8:0826d9d63330 9:66aa1acc90cd
254 WINDOW 3 -185 128 Left 2 254 WINDOW 3 -185 128 Left 2
255 SYMATTR Value PULSE(0 5 {Tperiod / 2} 200p 200p {Ton} {TPeriod}) 255 SYMATTR Value PULSE(0 5 {Tperiod / 2} 200p 200p {Ton} {TPeriod})
256 SYMATTR InstName V5 256 SYMATTR InstName V5
257 TEXT 112 -272 Left 2 !.param F0 = 35.24Meg\n.param Tperiod = 1 / {F0}\n.param dutypct = 36\n.param Ton = 1 / {F0} * {dutypct} / 100\n.param C1 = 10p\n.param C2 = 155p\n.param L1 = 5u\n.param L2 = 140n\n.param R1 = 12.5 257 TEXT 112 -272 Left 2 !.param F0 = 35.24Meg\n.param Tperiod = 1 / {F0}\n.param dutypct = 36\n.param Ton = 1 / {F0} * {dutypct} / 100\n.param C1 = 10p\n.param C2 = 155p\n.param L1 = 5u\n.param L2 = 140n\n.param R1 = 12.5
258 TEXT 608 -280 Left 2 !.meas PIN_HV AVG abs(V(HV)*I(V4))\n.meas PIN_MOD AVG abs(V(MOD_RAIL)*I(V2))\n.meas PIN_LV AVG abs(V(VCC)*I(V1))\n.meas POUT AVG abs(V(RFOut)*I(R1))\n.meas Efficiency Param 100*POUT/(PIN_HV + PIN_LV + PIN_MOD) 258 TEXT 608 -280 Left 2 !.meas PIN_HV AVG abs(V(HV)*I(V4))\n.meas PIN_MOD AVG abs(V(MOD_RAIL)*I(V2))\n.meas PIN_LV AVG abs(V(VCC)*I(V1))\n.meas POUT AVG abs(V(RFOut)*I(R1))\n.meas Efficiency Param 100*POUT/(PIN_HV + PIN_LV + PIN_MOD)
259 TEXT 608 -152 Left 2 !.tran 0 1.8u 1.7u\n*.tran 0 4u 1.7u\n*.tran 0 2.5u 1.5u\n*tran 0 5u 500n 259 TEXT 608 -152 Left 2 !*.tran 0 1.8u 1.7u\n*.tran 0 5u 1.7u\n*.tran 0 2.5u 1.5u\n.tran 0 5u
260 TEXT 608 -16 Left 2 !.fourier {F0} 9 -1 V(rfout) 260 TEXT 608 -16 Left 2 !.fourier {F0} 9 -1 V(rfout)
261 TEXT 104 -8 Left 2 !*.step param dutypct 20 60 4\n*.step param C1 10p 130p 10p\n*.step param C2 80p 195p 5p\n*.step param L2 80n 220n 10n 261 TEXT 104 -8 Left 2 !*.step param dutypct 20 60 4\n*.step param C1 10p 130p 10p\n*.step param C2 80p 195p 5p\n*.step param L2 80n 220n 10n
262 TEXT 1792 336 Left 2 !K1 L3 L6 1 262 TEXT 1792 336 Left 2 !K1 L3 L6 1