* Z:\home\khalils\Downloads\files\data\raw_asc\0812b1eda031_BH-simple-2.asc
* Generated by LTspice 26.0.1 for Windows.
* Calculate contribution to cathode current
* Calculate anode current
* Calculate screen current
* Grid current (does not model low Va/Vs)
* Capacitances
* 2SA1156
* 2SC2240
* 2SA1156
* 2SK216
* 2SJ79
* 6 x 2SA1968
* 2SA970
* 2SC1815
* CM BIAS
* Sweep Parameters:\nf1 = start freq f2= stop freq\nTs = sweep duration\nVp = sine peak Vdc = sine offset
A2 f 0 0 0 0 0 N007 0 MODULATOR space=0 mark={f2} Vhigh={Vdc+Vp} Vlow={Vdc-Vp}
+ Rd=4.95 Rs=4.45 Is=6f32 Pb=1 Fc=.5 Cgs=71p2 Cgd=18p9)
I3 N022 0 TBL(-15 0 -14 3m3)
R20 -Vi N014 600
Q6 N020 N021 N025 0 2N3904
Q3 A N008 N001 0 2N5401
D2 N004 N013 1N914
R8 N021 N020 200k
Bcath cc 0 V=V(gs2)*V(at)
Q5 N019 N021 N024 0 2N3904
R10 N021 -Vb 6k8
R15 N023 -Vb 410
V3 N008 0 10 Rser=2k5
R18 -Vo N003 470
I7 0 -Vo TBL(-398 0 -397 28m)
D1 N001 N012 1N914
R4 -Vo N018 200k
R12 N002 +Vo 470
JQ2 N013 -Vi N018 J2SK389BL
R17 N010 N011 10k
Bscrn sc 0 V=V(gs2)*(1.1-V(at))
XU1 +Vo N002 N005 N009 6CA7 ;pnba Anode)Screen)Grid)Cathode
C1 0 +Vo {150p+20p}
R6 B N020 .50k
V5 0 -Vb 400 Rser=1
R14 N009 N010 10k
R7 N019 N021 200k
MQ10 -Vb N017 N011 N011 Si9407AEY m=.10
R16 -Vb N006 100
Bs S K I=1m518*V(sc)
Bgs2 gs2 0 V=V(gs)**1.5
MQ8 N016 N019 N023 N023 Si9420DY m=.15
R5 N019 A .50k
V4 N010 -Vb 100 Rser=1 Cpar=1n
Bat at 0 V=636m*atan(V(A,K)/23)
I6 0 N017 TBL(300 0 301 11m)
MQ7 -Vb N016 N009 N009 Si9407AEY m=.10
Bg G K I=(Uramp(V(G,K)+1)**1.5)*50u
JQ1 N012 +Vi N015 J2SK389BL
I5 0 N016 TBL(300 0 301 11m)
E1 0 N014 N007 0 1
C2 0 -Vo {150p+20p}
R13 N005 -Vb 100
R11 N025 -Vb 100
Cg1 G K 15.4p
R1 N022 N015 200
I1 0 N001 TBL(-15 0 -14 2m)
Bf2 f 0 V={f2/f1}**(time/Ts-1)
R9 -Vb N024 100
Cak A K 8.4p
Ba A K I=1m86*V(cc)
Bgs gs 0 V=Uramp(V(S,K)/9.3+V(G,K)*0.95)
I2 0 N004 TBL(-15 0 -14 2m)
R19 +Vi N007 600
R2 N018 N022 200
Q4 B N008 N004 0 2N5401
R3 +Vo N015 200k
XU2 -Vo N003 N006 N011 6CA7 ;pnba Anode)Screen)Grid)Cathode
MQ9 N017 N020 N023 N023 Si9420DY m=.15
Cg1a G A 1.1p
I4 0 +Vo TBL(-398 0 -397 28m)
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.model NJF NJF
.model PJF PJF
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.jft
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.model J2SK389BL NJF (Vto=-2.5 Beta=6m Lambda=1m2
.subckt 6CA7 A S G K
.ends 6CA7
.options plotwinsize=0
.tran 0 {Ts} 10u uic
.param Vdc=0 Vp=10m f1=2k f2=200k Ts=4m
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1368 1008
WIRE -688 48 -688 16
WIRE -688 160 -688 128
WIRE -656 16 -688 16
WIRE -624 16 -656 16
WIRE -464 48 -480 48
WIRE -464 128 -464 48
WIRE -464 256 -464 208
WIRE -448 48 -464 48
WIRE -448 128 -464 128
WIRE -448 176 -464 176
WIRE -448 256 -464 256
WIRE -400 208 -464 208
WIRE -400 208 -400 192
WIRE -352 48 -368 48
WIRE -352 256 -368 256
WIRE -192 192 -240 192
WIRE -144 -176 -144 -192
WIRE -144 -80 -144 -96
WIRE -144 32 -144 -80
WIRE -144 128 -144 96
WIRE -144 240 -144 224
WIRE -144 336 -144 240
WIRE -144 432 -144 416
WIRE -112 112 -240 112
WIRE -112 192 -112 112
WIRE -80 432 -144 432
WIRE -80 448 -80 432
WIRE -80 544 -80 528
WIRE -64 192 -112 192
WIRE -16 -176 -16 -192
WIRE -16 0 -16 -96
WIRE -16 32 -16 0
WIRE -16 128 -16 96
WIRE -16 320 -16 224
WIRE -16 336 -16 320
WIRE -16 432 -80 432
WIRE -16 432 -16 416
WIRE 16 -80 -144 -80
WIRE 16 0 -16 0
WIRE 32 240 -144 240
WIRE 32 320 -16 320
WIRE 64 64 64 -16
WIRE 64 80 64 64
WIRE 64 176 64 160
WIRE 128 240 112 240
WIRE 128 320 112 320
WIRE 144 -80 112 -80
WIRE 144 0 112 0
WIRE 352 208 352 160
WIRE 352 320 352 288
WIRE 352 384 352 320
WIRE 352 416 352 384
WIRE 352 528 352 512
WIRE 352 624 352 608
WIRE 368 384 352 384
WIRE 464 384 448 384
WIRE 464 464 416 464
WIRE 464 464 464 384
WIRE 464 528 464 464
WIRE 464 624 352 624
WIRE 464 624 464 608
WIRE 480 384 464 384
WIRE 512 464 464 464
WIRE 576 208 576 160
WIRE 576 352 576 288
WIRE 576 384 560 384
WIRE 576 384 576 352
WIRE 576 416 576 384
WIRE 576 528 576 512
WIRE 576 624 464 624
WIRE 576 624 576 608
WIRE 640 -224 640 -240
WIRE 640 -128 640 -160
WIRE 640 -112 640 -128
WIRE 640 -16 640 -32
WIRE 640 352 576 352
WIRE 640 512 640 352
WIRE 672 -16 640 -16
WIRE 672 320 352 320
WIRE 672 464 672 320
WIRE 720 -224 720 -240
WIRE 720 -128 640 -128
WIRE 720 -128 720 -144
WIRE 720 -64 720 -128
WIRE 752 -128 720 -128
WIRE 752 112 752 48
WIRE 752 288 752 112
WIRE 752 624 576 624
WIRE 752 624 752 384
WIRE 784 0 768 0
WIRE 784 112 752 112
WIRE 784 464 672 464
WIRE 832 208 832 192
WIRE 832 304 800 304
WIRE 832 304 832 288
WIRE 832 384 832 304
WIRE 864 624 752 624
WIRE 880 0 864 0
WIRE 912 0 880 0
WIRE 912 16 912 0
WIRE 912 112 864 112
WIRE 912 112 912 96
WIRE 912 480 832 480
WIRE 912 528 912 480
WIRE 912 624 864 624
WIRE 912 624 912 608
WIRE 960 0 912 0
WIRE 960 112 912 112
WIRE 992 208 992 192
WIRE 992 304 992 288
WIRE 992 384 992 304
WIRE 992 480 912 480
WIRE 1024 304 992 304
WIRE 1040 512 640 512
WIRE 1040 512 1040 464
WIRE 1056 0 1040 0
WIRE 1072 112 1040 112
WIRE 1072 112 1072 48
WIRE 1072 288 1072 112
WIRE 1072 624 912 624
WIRE 1072 624 1072 384
WIRE 1104 -224 1104 -240
WIRE 1104 -128 1072 -128
WIRE 1104 -128 1104 -144
WIRE 1104 -64 1104 -128
WIRE 1184 -224 1184 -240
WIRE 1184 -128 1104 -128
WIRE 1184 -128 1184 -160
WIRE 1184 -112 1184 -128
WIRE 1184 -16 1152 -16
WIRE 1184 -16 1184 -32
WIRE 1184 528 1184 512
WIRE 1184 624 1072 624
WIRE 1184 624 1184 608
IOPIN 752 -128 Out
IOPIN 128 240 In
IOPIN 128 320 In
IOPIN -240 112 In
IOPIN -352 256 Out
IOPIN -352 48 Out
IOPIN -240 192 In
IOPIN 144 -80 Out
IOPIN 352 160 In
IOPIN 144 0 Out
IOPIN 576 160 In
IOPIN 1072 -128 Out
SYMBOL pmos 800 384 R180
WINDOW 3 57 80 Left 0
WINDOW 123 56 52 Left 0
SYMATTR Value Si9407AEY
SYMATTR Value2 m=.10
SYMATTR InstName Q7
SYMBOL voltage 1184 512 M0
WINDOW 123 0 0 Left 0
WINDOW 39 40 80 Left 0
WINDOW 0 40 32 Left 0
WINDOW 3 40 56 Left 0
SYMATTR SpiceLine Rser=1
SYMATTR InstName V5
SYMATTR Value 400
SYMBOL current 832 208 M0
WINDOW 0 18 0 Left 0
WINDOW 3 80 -40 Right 0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName I5
SYMATTR Value TBL(300 0 301 11m)
SYMBOL res 448 512 R0
SYMATTR InstName R10
SYMATTR Value 6k8
SYMBOL Misc\\tetrode 1104 -16 R0
WINDOW 3 0 80 Center 0
SYMATTR Value 6CA7
SYMATTR InstName U2
SYMBOL res 464 400 R270
WINDOW 0 32 56 VTop 0
WINDOW 3 0 56 VBottom 0
SYMATTR InstName R8
SYMATTR Value 200k
SYMBOL current -144 -176 M0
WINDOW 0 40 40 Left 0
WINDOW 3 32 16 Left 0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName I1
SYMATTR Value TBL(-15 0 -14 2m)
SYMBOL SpecialFunctions\\modulate -624 16 R0
WINDOW 3 0 111 Left 0
WINDOW 123 0 136 Left 0
WINDOW 39 0 162 Left 0
SYMATTR Value space=0 mark={f2}
SYMATTR Value2 Vhigh={Vdc+Vp}
SYMATTR SpiceLine Vlow={Vdc-Vp}
SYMATTR InstName A2
SYMBOL res 128 224 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R3
SYMATTR Value 200k
SYMBOL njf -192 128 R0
WINDOW 3 44 91 Right 0
WINDOW 0 0 40 Right 0
SYMATTR Value J2SK389BL
SYMATTR InstName Q1
SYMBOL res 768 128 R270
WINDOW 0 32 56 VTop 0
WINDOW 3 0 56 VBottom 0
SYMATTR InstName R14
SYMATTR Value 10k
SYMBOL current -80 448 M0
WINDOW 0 40 24 Left 0
WINDOW 3 40 56 Left 0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName I3
SYMATTR Value TBL(-15 0 -14 3m3)
SYMBOL nmos 784 384 R0
WINDOW 0 56 24 Left 0
WINDOW 3 57 72 Left 0
WINDOW 123 57 48 Left 0
SYMATTR InstName Q8
SYMATTR Value Si9420DY
SYMATTR Value2 m=.15
SYMBOL res -128 432 R180
WINDOW 0 36 76 Left 0
WINDOW 3 36 40 Left 0
SYMATTR InstName R1
SYMATTR Value 200
SYMBOL res 352 400 R270
WINDOW 0 32 56 VTop 0
WINDOW 3 0 56 VBottom 0
SYMATTR InstName R7
SYMATTR Value 200k
SYMBOL res 768 16 R270
WINDOW 0 32 56 VTop 0
WINDOW 3 0 56 VBottom 0
SYMATTR InstName R13
SYMATTR Value 100
SYMBOL cap 1168 -224 R0
SYMATTR InstName C2
SYMATTR Value {150p+20p}
SYMBOL voltage 912 112 M180
WINDOW 0 37 71 Left 0
WINDOW 3 36 43 Left 0
WINDOW 123 0 0 Left 0
SYMATTR InstName V4
SYMATTR Value 100
SYMATTR SpiceLine Rser=1 Cpar=1n
SYMBOL res 368 304 R180
WINDOW 0 36 76 Left 0
WINDOW 3 36 40 Left 0
SYMATTR InstName R5
SYMATTR Value .50k
SYMBOL current 992 208 R0
WINDOW 0 18 0 Left 0
WINDOW 3 80 -40 Right 0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName I6
SYMATTR Value TBL(300 0 301 11m)
SYMBOL res 368 624 R180
WINDOW 0 36 76 Left 0
WINDOW 3 36 40 Left 0
SYMATTR InstName R9
SYMATTR Value 100
SYMBOL nmos 1040 384 M0
WINDOW 0 56 72 Left 0
WINDOW 3 56 24 Left 0
WINDOW 123 56 48 Left 0
SYMATTR InstName Q9
SYMATTR Value Si9420DY
SYMATTR Value2 m=.15
SYMBOL res 944 128 R270
WINDOW 0 32 56 VTop 0
WINDOW 3 0 56 VBottom 0
SYMATTR InstName R17
SYMATTR Value 10k
SYMBOL current 1104 -224 M0
WINDOW 0 32 64 Left 0
WINDOW 3 32 16 Left 0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName I7
SYMATTR Value TBL(-398 0 -397 28m)
SYMBOL res 656 -16 R180
WINDOW 0 36 76 Left 0
WINDOW 3 36 40 Left 0
SYMATTR InstName R12
SYMATTR Value 470
SYMBOL res 896 512 R0
SYMATTR InstName R15
SYMATTR Value 410
SYMBOL res 1168 -128 R0
SYMATTR InstName R18
SYMATTR Value 470
SYMBOL npn 512 416 R0
WINDOW 0 48 32 Left 0
WINDOW 3 48 64 Left 0
SYMATTR InstName Q6
SYMATTR Value 2N3904
SYMBOL res 944 16 R270
WINDOW 0 32 56 VTop 0
WINDOW 3 0 56 VBottom 0
SYMATTR InstName R16
SYMATTR Value 100
SYMBOL e -400 96 R0
WINDOW 0 40 40 Left 0
WINDOW 3 40 72 Left 0
SYMATTR InstName E1
SYMATTR Value 1
SYMBOL diode 0 32 M0
WINDOW 0 42 21 Left 0
WINDOW 3 40 44 Left 0
SYMATTR InstName D2
SYMATTR Value 1N914
SYMBOL cap 656 -224 M0
SYMATTR InstName C1
SYMATTR Value {150p+20p}
SYMBOL bv -688 32 R0
WINDOW 3 -15 176 Left 0
SYMATTR Value V={f2/f1}**(time/Ts-1)
SYMATTR InstName Bf2
SYMBOL njf -64 128 R0
WINDOW 3 44 91 Right 0
WINDOW 0 0 40 Right 0
SYMATTR Value J2SK389BL
SYMATTR InstName Q2
SYMBOL diode -128 32 M0
WINDOW 0 47 20 Left 0
WINDOW 3 40 45 Left 0
SYMATTR InstName D1
SYMATTR Value 1N914
SYMBOL res -32 320 R0
SYMATTR InstName R2
SYMATTR Value 200
SYMBOL res -352 240 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R20
SYMATTR Value 600
SYMBOL npn 416 416 M0
WINDOW 0 48 32 Left 0
WINDOW 3 48 64 Left 0
SYMATTR InstName Q5
SYMATTR Value 2N3904
SYMBOL pmos 1024 384 M180
WINDOW 123 56 52 Left 0
SYMATTR Value2 m=.10
SYMATTR InstName Q10
SYMATTR Value Si9407AEY
SYMBOL res 128 304 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R4
SYMATTR Value 200k
SYMBOL res -352 32 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R19
SYMATTR Value 600
SYMBOL res 560 192 R0
SYMATTR InstName R6
SYMATTR Value .50k
SYMBOL voltage 64 64 R0
WINDOW 0 39 25 Left 0
WINDOW 3 42 53 Left 0
WINDOW 123 0 0 Left 0
WINDOW 39 36 79 Left 0
SYMATTR InstName V3
SYMATTR Value 10
SYMATTR SpiceLine Rser=2k5
SYMBOL current -16 -176 R0
WINDOW 0 40 40 Left 0
WINDOW 3 32 16 Left 0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName I2
SYMATTR Value TBL(-15 0 -14 2m)
SYMBOL Misc\\tetrode 720 -16 M0
WINDOW 3 0 80 Center 0
SYMATTR Value 6CA7
SYMATTR InstName U1
SYMBOL current 720 -224 R0
WINDOW 0 32 16 Left 0
WINDOW 3 32 64 Left 0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName I4
SYMATTR Value TBL(-398 0 -397 28m)
SYMBOL pnp 112 64 M270
WINDOW 0 42 1 VLeft 0
WINDOW 3 23 1 VLeft 0
SYMATTR InstName Q4
SYMATTR Value 2N5401
SYMBOL pnp 112 -16 M270
WINDOW 0 44 0 VLeft 0
WINDOW 3 21 3 VLeft 0
SYMATTR InstName Q3
SYMATTR Value 2N5401
SYMBOL res 560 512 R0
SYMATTR InstName R11
SYMATTR Value 100
FLAG 64 176 0
FLAG 1184 512 0
FLAG 864 624 -Vb
FLAG 752 -128 +Vo
FLAG 128 240 +Vo
FLAG 128 320 -Vo
FLAG -240 112 -Vi
FLAG -352 256 -Vi
FLAG -352 48 +Vi
FLAG -240 192 +Vi
FLAG -80 544 0
FLAG -144 -192 0
FLAG -16 -192 0
FLAG 144 -80 A
FLAG 352 160 A
FLAG 144 0 B
FLAG 576 160 B
FLAG 880 0 -Vb
FLAG 720 -240 0
FLAG 832 192 0
FLAG 992 192 0
FLAG 1072 -128 -Vo
FLAG 1104 -240 0
FLAG 640 -240 0
FLAG 1184 -240 0
FLAG -656 16 f
FLAG -688 160 0
FLAG -464 176 0
FLAG -400 112 0
TEXT -312 -288 Left 0 !.model J2SK389BL NJF (Vto=-2.5 Beta=6m Lambda=1m2\n+ Rd=4.95 Rs=4.45 Is=6f32 Pb=1 Fc=.5 Cgs=71p2 Cgd=18p9)
TEXT 216 -288 Left 0 !.subckt 6CA7 A S G K\n* Calculate contribution to cathode current\nBat at  0 V=636m*atan(V(A,K)/23)\nBgs gs  0 V=Uramp(V(S,K)/9.3+V(G,K)*0.95)\nBgs2 gs2 0 V=V(gs)**1.5\nBcath cc  0 V=V(gs2)*V(at)\n* Calculate anode current\nBa A   K I=1m86*V(cc)\n* Calculate screen current\nBscrn sc  0 V=V(gs2)*(1.1-V(at))\nBs S   K I=1m518*V(sc)\n* Grid current (does not model low Va/Vs)\nBg G   K I=(Uramp(V(G,K)+1)**1.5)*50u\n* Capacitances\nCg1 G K 15.4p\nCak A K 8.4p\nCg1a G A 1.1p\n.ends 6CA7
TEXT -696 480 Left 0 !.options plotwinsize=0
TEXT 64 -88 Center 0 ;2SA1156
TEXT 464 336 Center 0 ;2SC2240
TEXT 912 248 Center 0 ;2SA1156
TEXT 912 376 Center 0 ;2SK216
TEXT 912 328 Center 0 ;2SJ79
TEXT 912 -184 Center 0 ;6 x 2SA1968
TEXT -80 -176 Center 0 ;2SA970
TEXT -40 504 Left 0 ;2SC1815
TEXT 888 568 Right 0 ;CM BIAS
TEXT -696 520 Left 0 !.tran 0 {Ts} 10u uic
TEXT -696 440 Left 0 !.param Vdc=0 Vp=10m f1=2k f2=200k Ts=4m
TEXT -696 312 Left 0 ;Sweep Parameters:\nf1 = start freq  f2= stop freq\nTs = sweep duration\nVp = sine peak  Vdc = sine offset