* Z:\tmp\asc_dec_bjh7r6w2\0812b1eda031_BH-simple-2_dec0.asc
* Generated by LTspice 26.0.1 for Windows.
Q6 N022 N023 N027 0 2N3904
R8 N023 N022 200k
MQ9 N019 N022 N025 N025 Si9420DY m=.15
R2 N020 N024 200
Bf2 f 0 V={f2/f1}**(time/Ts-1)
D1 N001 N012 1N914
V3 N008 0 10 Rser=2k5
I5 0 N018 TBL(300 0 301 11m)
JQ1 N012 +Vi N017 J2SK389BL
R1 N024 N017 200
E1 0 N014 N007 0 1
R7 N021 N023 200k
C1 0 +Vo {150p+20p}
A2 f 0 0 0 0 0 N007 0 MODULATOR space=0 mark={f2} Vhigh={Vdc+Vp} Vlow={Vdc-Vp}
Q5 N021 N023 N026 0 2N3904
V4 N010 -Vb 100 Rser=1 Cpar=1n
.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
.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 -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 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 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 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 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 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 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 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 1072 384
WIRE 1104 -64 1104 -128
WIRE 1184 528 1184 512
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 464 400 R270
WINDOW 0 32 56 VTop 0
WINDOW 3 0 56 VBottom 0
SYMATTR InstName R8
SYMATTR Value 200k
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 -32 320 R0
SYMATTR InstName R2
SYMATTR Value 200
SYMBOL bv -688 32 R0
WINDOW 3 -15 176 Left 0
SYMATTR Value V={f2/f1}**(time/Ts-1)
SYMATTR InstName Bf2
SYMBOL diode -128 32 M0
WINDOW 0 47 20 Left 0
WINDOW 3 40 45 Left 0
SYMATTR InstName D1
SYMATTR Value 1N914
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 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 njf -192 128 R0
WINDOW 3 44 91 Right 0
WINDOW 0 0 40 Right 0
SYMATTR Value J2SK389BL
SYMATTR InstName Q1
SYMBOL res -128 432 R180
WINDOW 0 36 76 Left 0
WINDOW 3 36 40 Left 0
SYMATTR InstName R1
SYMATTR Value 200
SYMBOL e -400 96 R0
WINDOW 0 40 40 Left 0
WINDOW 3 40 72 Left 0
SYMATTR InstName E1
SYMATTR Value 1
SYMBOL res 352 400 R270
WINDOW 0 32 56 VTop 0
WINDOW 3 0 56 VBottom 0
SYMATTR InstName R7
SYMATTR Value 200k
SYMBOL cap 656 -224 M0
SYMATTR InstName C1
SYMATTR Value {150p+20p}
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 npn 416 416 M0
WINDOW 0 48 32 Left 0
WINDOW 3 48 64 Left 0
SYMATTR InstName Q5
SYMATTR Value 2N3904
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
FLAG 64 176 0
FLAG 1184 512 0
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 -80 A
FLAG 144 0 B
FLAG 880 0 -Vb
FLAG 720 -240 0
FLAG 832 192 0
FLAG 992 192 0
FLAG 640 -240 0
FLAG -656 16 f
FLAG -688 160 0
FLAG -464 176 0
FLAG -400 112 0