annotate pa-GAN190.asc @ 20:3341ef03cb66

Add PWM modulator
author Daniel O'Connor <darius@dons.net.au>
date Mon, 27 Nov 2023 13:19:37 +1030
parents 2832aefd442c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
20
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
1 Version 4
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
2 SHEET 1 2852 912
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
3 WIRE 224 144 128 144
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
4 WIRE 384 144 224 144
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
5 WIRE 576 144 512 144
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
6 WIRE 816 144 576 144
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
7 WIRE 1040 144 944 144
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
8 WIRE 1120 144 1040 144
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
9 WIRE 1312 144 1200 144
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
10 WIRE 1424 144 1312 144
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
11 WIRE 1584 144 1424 144
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
12 WIRE 1664 144 1648 144
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
13 WIRE 1824 144 1744 144
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
14 WIRE 1936 144 1904 144
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
15 WIRE 2048 144 1936 144
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
16 WIRE 384 192 288 192
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
17 WIRE 576 192 512 192
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
18 WIRE 656 192 576 192
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
19 WIRE 1312 192 1312 144
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
20 WIRE 128 240 128 144
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
21 WIRE 224 240 224 192
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
22 WIRE 288 240 288 192
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
23 WIRE 352 240 288 240
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
24 WIRE 384 240 352 240
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
25 WIRE 576 240 512 240
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
26 WIRE 816 240 816 224
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
27 WIRE 944 240 944 224
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
28 WIRE 384 272 288 272
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
29 WIRE 656 272 656 192
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
30 WIRE 704 272 656 272
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
31 WIRE 1216 272 784 272
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
32 WIRE 1584 272 1584 144
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
33 WIRE 1936 272 1936 144
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
34 WIRE 2048 272 2048 144
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
35 WIRE 288 304 288 272
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
36 WIRE 384 304 288 304
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
37 WIRE 1424 304 1424 144
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
38 WIRE 576 384 576 240
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
39 WIRE 704 384 576 384
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
40 WIRE 1328 384 784 384
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
41 WIRE 128 480 128 320
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
42 WIRE 224 480 224 320
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
43 WIRE 224 480 128 480
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
44 WIRE 288 480 288 304
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
45 WIRE 288 480 224 480
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
46 WIRE 448 480 448 336
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
47 WIRE 448 480 288 480
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
48 WIRE 1312 480 1312 352
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
49 WIRE 1424 480 1424 464
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
50 WIRE 1424 480 1312 480
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
51 WIRE 1584 480 1584 336
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
52 WIRE 1584 480 1424 480
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
53 WIRE 1936 480 1936 336
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
54 WIRE 1936 480 1584 480
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
55 WIRE 2048 480 2048 352
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
56 WIRE 2048 480 1936 480
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
57 WIRE 448 512 448 480
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
58 WIRE 1424 512 1424 480
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
59 WIRE 352 608 352 240
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
60 WIRE 352 608 320 608
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
61 WIRE 384 704 320 704
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
62 FLAG 448 512 0
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
63 FLAG 576 192 D0
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
64 FLAG 288 192 RFDrive
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
65 FLAG 576 144 MOD_RAIL
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
66 FLAG 2048 144 RFOut
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
67 FLAG 1040 144 HV
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
68 FLAG 1312 144 SW
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
69 FLAG 816 240 0
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
70 FLAG 944 240 0
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
71 FLAG 1424 512 0
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
72 FLAG 224 144 VCC
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
73 FLAG 352 608 DRIVE
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
74 FLAG 384 704 SHAPE
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
75 SYMBOL Voltage 128 224 R0
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
76 WINDOW 3 37 53 Left 2
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
77 SYMATTR Value 5
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
78 SYMATTR InstName V1
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
79 SYMBOL Voltage 816 128 R0
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
80 WINDOW 3 -70 51 Left 2
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
81 SYMATTR Value 12
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
82 SYMATTR InstName V2
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
83 SYMATTR SpiceLine Rser=10m Cpar=1p
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
84 SYMBOL Voltage 224 224 R0
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
85 WINDOW 3 -51 126 Left 2
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
86 SYMATTR Value PULSE(0 5 0 200p 200p {Ton} {Tperiod})
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
87 SYMATTR InstName V3
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
88 SYMBOL ISL55110 416 176 R0
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
89 WINDOW 3 -55 -78 Top 2
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
90 SYMATTR InstName U1
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
91 SYMBOL Voltage 944 128 R0
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
92 WINDOW 0 -8 -4 Left 2
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
93 SYMATTR InstName V4
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
94 SYMATTR Value 100
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
95 SYMATTR SpiceLine Rser=10m Cpar=1p
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
96 SYMBOL ind 1104 160 R270
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
97 WINDOW 0 32 56 VTop 2
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
98 WINDOW 3 5 56 VBottom 2
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
99 SYMATTR InstName L1
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
100 SYMATTR Value {L1}
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
101 SYMATTR SpiceLine Rser=35m
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
102 SYMBOL ind 1648 160 R270
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
103 WINDOW 0 32 56 VTop 2
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
104 WINDOW 3 -8 58 VBottom 2
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
105 SYMATTR InstName L2
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
106 SYMATTR Value {L2}
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
107 SYMATTR SpiceLine Rser=35m
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
108 SYMBOL cap 1648 128 R90
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
109 WINDOW 0 0 32 VBottom 2
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
110 WINDOW 3 40 27 VTop 2
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
111 SYMATTR InstName C2
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
112 SYMATTR Value {C2}
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
113 SYMBOL cap 1600 336 R180
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
114 WINDOW 0 24 56 Left 2
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
115 WINDOW 3 30 8 Left 2
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
116 SYMATTR InstName C1
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
117 SYMATTR Value {C1}
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
118 SYMBOL Res 2032 256 R0
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
119 WINDOW 0 32 43 Left 2
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
120 SYMATTR InstName R1
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
121 SYMATTR Value {R1}
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
122 SYMBOL Res 800 256 R90
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
123 WINDOW 0 0 56 VBottom 2
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
124 WINDOW 3 35 59 VTop 2
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
125 SYMATTR InstName R4
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
126 SYMATTR Value 0
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
127 SYMBOL Res 800 368 R90
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
128 WINDOW 0 0 56 VBottom 2
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
129 WINDOW 3 36 53 VTop 2
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
130 SYMATTR InstName R2
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
131 SYMATTR Value 0
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
132 SYMBOL GAN190-650FBE 1296 272 R0
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
133 WINDOW 3 -54 59 Left 1
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
134 SYMATTR InstName U2
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
135 SYMBOL GAN190-650FBE 1408 384 R0
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
136 WINDOW 3 -62 66 Left 1
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
137 SYMATTR InstName U3
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
138 SYMBOL ind 1808 160 R270
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
139 WINDOW 0 32 56 VTop 2
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
140 WINDOW 3 5 56 VBottom 2
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
141 SYMATTR InstName L3
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
142 SYMATTR Value 61n
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
143 SYMBOL cap 1920 272 R0
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
144 SYMATTR InstName C3
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
145 SYMATTR Value 306p
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
146 SYMBOL Modulator 256 656 R0
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
147 SYMATTR InstName X2
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
148 TEXT 504 448 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 = 5p\n.param C2 = 176p\n.param L1 = 3u\n.param L2 = 140n\n.param R1 = 50
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
149 TEXT 952 608 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)))
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
150 TEXT 1712 528 Left 2 !*.tran 0 1.8u 1.7u\n*.tran 0 5u 1.7u\n*.tran 0 2.5u 1.5u\n.tran 16u
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
151 TEXT 1720 624 Left 2 !.fourier {F0} 9 -1 V(rfout)
3341ef03cb66 Add PWM modulator
Daniel O'Connor <darius@dons.net.au>
parents: 10
diff changeset
152 TEXT 496 664 Left 2 !*.step param dutypct 5 35 2\n*.step param C1 5p 80p 5p\n*.step param C2 120p 200p 5p\n*.step param L2 80n 220n 10n