Mercurial > ~darius > hgwebdir.cgi > pa
comparison pa-VHFPA04F-GAN190.asc @ 23:433956871fec
Uncomment step directive and fix plotting.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Mon, 27 Nov 2023 13:26:38 +1030 |
parents | 8d7aa773caeb |
children |
comparison
equal
deleted
inserted
replaced
22:8d7aa773caeb | 23:433956871fec |
---|---|
154 SYMATTR InstName U5 | 154 SYMATTR InstName U5 |
155 TEXT 1440 576 Left 2 !*.tran 0 440n 240n\n*.tran 0 1.8u 1.7u\n.tran 0 5u 1.7u\n*.tran 0 2.5u 1.5u\n*.tran 0 5u | 155 TEXT 1440 576 Left 2 !*.tran 0 440n 240n\n*.tran 0 1.8u 1.7u\n.tran 0 5u 1.7u\n*.tran 0 2.5u 1.5u\n*.tran 0 5u |
156 TEXT 880 1024 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)\n.meas IPEAK_U2 max(abs(Ix(U2:Drain)))\n.meas V_IPEAK_U2 FIND abs(V(SW)) WHEN Ix(U2:Drain) = IPEAK_U2 * 0.999 cross=1\n.meas VPEAK_U2 max(abs(V(SW)))\n.meas I_VPEAK_U2 FIND abs(Ix(U2:Drain)) WHEN V(SW) = VPEAK_U2 * 0.999 cross=1 | 156 TEXT 880 1024 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)\n.meas IPEAK_U2 max(abs(Ix(U2:Drain)))\n.meas V_IPEAK_U2 FIND abs(V(SW)) WHEN Ix(U2:Drain) = IPEAK_U2 * 0.999 cross=1\n.meas VPEAK_U2 max(abs(V(SW)))\n.meas I_VPEAK_U2 FIND abs(Ix(U2:Drain)) WHEN V(SW) = VPEAK_U2 * 0.999 cross=1 |
157 TEXT 1448 696 Left 2 !.param F0 = 35.24Meg\n.param Tperiod = 1 / {F0}\n.param dutypct = 32\n.param Ton = 1 / {F0} * {dutypct} / 100\n.param C1 = 220p\n.param C2 = 200p\n.param L1 = 130n\n.param L2 = 178n\n.param R1 = 50 | 157 TEXT 1448 696 Left 2 !.param F0 = 35.24Meg\n.param Tperiod = 1 / {F0}\n.param dutypct = 32\n.param Ton = 1 / {F0} * {dutypct} / 100\n.param C1 = 220p\n.param C2 = 200p\n.param L1 = 130n\n.param L2 = 178n\n.param R1 = 50 |
158 TEXT 1448 904 Left 2 !.fourier {F0} 9 -1 V(rfout) | 158 TEXT 1448 904 Left 2 !.fourier {F0} 9 -1 V(rfout) |
159 TEXT 488 1112 Left 2 !*.step param dutypct 20 60 5\n*.step param C1 150p 400p 10p\n*.step param C2 80p 300p 5p\n.step param L2 80n 300n 15n | 159 TEXT 488 1112 Left 2 !*.step param dutypct 20 60 5\n*.step param C1 150p 400p 10p\n*.step param C2 80p 300p 5p\n*.step param L2 80n 300n 15n |