diff pa-GAN190-PP.asc @ 10:2832aefd442c

Add 'no driver' version which can simulate in normal mode. Add Python code to optimise design.
author Daniel O'Connor <darius@dons.net.au>
date Fri, 17 Nov 2023 23:47:05 +1030
parents 66aa1acc90cd
children
line wrap: on
line diff
--- a/pa-GAN190-PP.asc	Sat Oct 21 14:17:33 2023 +1030
+++ b/pa-GAN190-PP.asc	Fri Nov 17 23:47:05 2023 +1030
@@ -14,7 +14,6 @@
 WIRE 1584 144 1424 144
 WIRE 1664 144 1648 144
 WIRE 1840 144 1744 144
-WIRE 1936 144 1840 144
 WIRE 240 192 224 192
 WIRE 288 192 240 192
 WIRE 384 192 288 192
@@ -28,8 +27,8 @@
 WIRE 576 240 512 240
 WIRE 816 240 816 224
 WIRE 944 240 944 224
-WIRE 2032 240 2000 240
-WIRE 2064 240 2032 240
+WIRE 1936 240 1904 240
+WIRE 1968 240 1936 240
 WIRE 384 272 352 272
 WIRE 656 272 656 192
 WIRE 704 272 656 272
@@ -38,19 +37,19 @@
 WIRE 352 304 352 272
 WIRE 384 304 352 304
 WIRE 1424 304 1424 144
-WIRE 1936 304 1936 144
-WIRE 2000 304 2000 240
-WIRE 2064 304 2064 240
+WIRE 1840 304 1840 144
+WIRE 1904 304 1904 240
+WIRE 1968 304 1968 240
 WIRE 352 384 352 304
 WIRE 448 384 448 336
 WIRE 448 384 352 384
 WIRE 576 384 576 240
 WIRE 704 384 576 384
 WIRE 1328 384 784 384
-WIRE 2000 432 2000 384
-WIRE 2064 432 2064 384
-WIRE 2064 432 2000 432
-WIRE 2064 448 2064 432
+WIRE 1904 432 1904 384
+WIRE 1968 432 1968 384
+WIRE 1968 432 1904 432
+WIRE 1968 448 1968 432
 WIRE 128 480 128 320
 WIRE 224 480 224 320
 WIRE 224 480 128 480
@@ -74,8 +73,8 @@
 WIRE 1584 608 1424 608
 WIRE 1664 608 1648 608
 WIRE 1824 608 1744 608
-WIRE 1936 608 1936 384
-WIRE 1936 608 1824 608
+WIRE 1840 608 1840 384
+WIRE 1840 608 1824 608
 WIRE 368 656 224 656
 WIRE 384 656 368 656
 WIRE 576 656 512 656
@@ -126,9 +125,9 @@
 FLAG 1424 976 0
 FLAG 224 656 nRFDrive
 FLAG 1824 608 RFOutB
-FLAG 2064 448 0
-FLAG 2032 240 RFOut
-FLAG 1936 688 0
+FLAG 1968 448 0
+FLAG 1936 240 RFOut
+FLAG 1840 688 0
 SYMBOL Voltage 128 224 R0
 WINDOW 3 37 53 Left 2
 SYMATTR Value 5
@@ -173,7 +172,7 @@
 WINDOW 3 30 8 Left 2
 SYMATTR InstName C1
 SYMATTR Value {C1}
-SYMBOL Res 2048 288 R0
+SYMBOL Res 1952 288 R0
 WINDOW 0 32 43 Left 2
 SYMATTR InstName R1
 SYMATTR Value {R1}
@@ -235,28 +234,28 @@
 SYMBOL GAN190-650FBE 1408 848 R0
 WINDOW 3 -62 66 Left 1
 SYMATTR InstName U6
-SYMBOL ind2 1920 288 R0
+SYMBOL ind2 1824 288 R0
 WINDOW 0 20 1 Left 2
 WINDOW 3 -46 112 Left 2
 SYMATTR InstName L3
 SYMATTR Value 100n
 SYMATTR Type ind
-SYMBOL ind2 1984 288 R0
+SYMBOL ind2 1888 288 R0
 WINDOW 0 26 2 Left 2
 WINDOW 3 14 112 Left 2
 SYMATTR InstName L6
 SYMATTR Value 100n
 SYMATTR Type ind
-SYMBOL Res 1920 592 R0
+SYMBOL Res 1824 592 R0
 SYMATTR InstName R6
 SYMATTR Value 10Meg
 SYMBOL Voltage 224 688 R0
 WINDOW 3 -185 128 Left 2
 SYMATTR Value PULSE(0 5 {Tperiod / 2} 200p 200p {Ton} {TPeriod})
 SYMATTR InstName V5
-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
-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)
-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
-TEXT 608 -16 Left 2 !.fourier {F0} 9 -1 V(rfout)
-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
+TEXT 112 -272 Left 2 !.param F0 = 35.24Meg\n.param Tperiod = 1 / {F0}\n.param dutypct = 20\n.param Ton = 1 / {F0} * {dutypct} / 100\n.param C1 = 10p\n.param C2 = 111p\n.param L1 = 4u\n.param L2 = 207n\n.param R1 = 12.5
+TEXT 600 -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)\n.meas IPEAK_U2 max(abs(Ix(U2:Drain)))\n.meas V_IPEAK_U2 FIND abs(V(SW0)) WHEN Ix(U2:Drain) = IPEAK_U2 * 0.999 cross=1\n.meas VPEAK_U2 max(abs(V(SW0)))\n.meas I_VPEAK_U2 FIND abs(Ix(U2:Drain)) WHEN V(SW0) = VPEAK_U2 * 0.999 cross=1\n.meas IPEAK_U5 max(abs(Ix(U5:Drain)))\n.meas VPEAK_U5 max(abs(V(SW1)))
+TEXT 600 -16 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
+TEXT 120 56 Left 2 !.fourier {F0} 9 -1 V(rfout)
+TEXT 104 -56 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
 TEXT 1792 336 Left 2 !K1 L3 L6 1