Mercurial > ~darius > hgwebdir.cgi > pa
changeset 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 | fee4cbc13f6a |
files | pa-VHFPA04F-GAN190.asc pa-VHFPA04F-GAN190.plt |
diffstat | 2 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pa-VHFPA04F-GAN190.asc Mon Nov 27 13:23:31 2023 +1030 +++ b/pa-VHFPA04F-GAN190.asc Mon Nov 27 13:26:38 2023 +1030 @@ -156,4 +156,4 @@ 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 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 TEXT 1448 904 Left 2 !.fourier {F0} 9 -1 V(rfout) -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 +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