* Z:\tmp\asc_mix_bvbm4pog\mix_135.asc
* Generated by LTspice 26.0.1 for Windows.
Vgs1 in N006 AC 1
VGS N006 0 1.10
MN_1u Vout in 0 0 N_1u l=7.0u w=7.0598e+1u
RD VDD Vout 96813.97
VDS VDD 0 5V
R1 N018 0 .67
C1 N019 0 500p
C2 N016 0 .1
C3 N015 N014 .01
R2 N014 N011 200K
R3 N016 N019 13K
R4 N011 0 20K
R5 N018 N017 1K
MQ1 N004 N013 N018 N018 Si7802DN
R6 N013 N012 12
R7 N007 N011 152K
C4 N007 0 .0022
C5 N008 0 100p
D1 N008 N007 BAT54
C6 N005 0 22
R8 N010 N005 39
D2 N009 N010 BAT54
R9 IN N017 1.32Meg
R10 IN N003 10K
C7 IN N003 470p
L1 N001 0 16 Rser=.05 Rpar=2K
L2 N009 0 18.8 Rser=.1
L3 N004 IN 100 Rser=.05 Rpar=5K
D3 N001 N002 MBRS340
C8 N002 0 3.3 Rser=.1
L4 N002 +20V 1
C9 +20V 0 3.3 Rser=.1
R11 +20V 0 750
V1 IN 0 200
D4 0 N005 BZX84C15L
D5 N004 N003 MURS320
R12 N009 N008 510
R13 IN N005 400K
XU1 N015 N011 N017 N019 0 N012 N005 N016 LT1241 ;pnba COMP)FB)Isense)Rt/Ct)GND)Output)Vcc)Vref
Rload +20V 0 50
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.include cmosedu_models.txt
.ac dec 10 1 1000000
.measure AC GAIN FIND V(vout) AT = 1
K1 L1 L2 L3 .98
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\LT1241.asy)
.lib LT1241.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 3280 1072
WIRE 608 -224 608 -256
WIRE 336 -208 336 -256
WIRE 608 -96 608 -144
WIRE 336 -80 336 -128
WIRE 448 -80 336 -80
WIRE 336 -48 336 -80
WIRE 384 0 336 0
WIRE 64 32 -16 32
WIRE 288 32 64 32
WIRE 64 48 64 32
WIRE 384 48 384 0
WIRE 384 48 336 48
WIRE 336 144 336 48
WIRE 64 176 64 128
WIRE 64 304 64 256
WIRE 1520 -80 1360 -80
WIRE 1712 -80 1520 -80
WIRE 1936 -80 1712 -80
WIRE 2048 -80 1936 -80
WIRE 2176 -80 2048 -80
WIRE 1360 -64 1360 -80
WIRE 1936 -48 1936 -80
WIRE 2048 -48 2048 -80
WIRE 1520 -16 1520 -80
WIRE 1712 -16 1712 -80
WIRE 2176 -16 2176 -80
WIRE 2240 -16 2176 -16
WIRE 2384 -16 2304 -16
WIRE 2512 -16 2448 -16
WIRE 2560 -16 2512 -16
WIRE 2688 -16 2640 -16
WIRE 2784 -16 2688 -16
WIRE 2896 -16 2784 -16
WIRE 2240 0 2240 -16
WIRE 2304 0 2304 -16
WIRE 2512 0 2512 -16
WIRE 2688 0 2688 -16
WIRE 2784 0 2784 -16
WIRE 2896 0 2896 -16
WIRE 1360 32 1360 16
WIRE 1936 48 1936 16
WIRE 2048 48 2048 32
WIRE 2048 48 1936 48
WIRE 2048 80 2048 48
WIRE 2240 96 2240 80
WIRE 2240 96 2176 96
WIRE 2304 96 2304 80
WIRE 2512 96 2512 64
WIRE 2512 96 2304 96
WIRE 2688 96 2688 64
WIRE 2688 96 2512 96
WIRE 2784 96 2784 80
WIRE 2784 96 2688 96
WIRE 2896 96 2896 80
WIRE 2896 96 2784 96
WIRE 2896 112 2896 96
WIRE 1520 144 1520 64
WIRE 1568 144 1520 144
WIRE 1664 144 1632 144
WIRE 2048 160 2048 144
WIRE 2176 160 2176 96
WIRE 2176 160 2048 160
WIRE 1120 208 1024 208
WIRE 1184 208 1120 208
WIRE 1312 208 1248 208
WIRE 1392 208 1312 208
WIRE 1984 208 1472 208
WIRE 2240 208 1984 208
WIRE 1120 224 1120 208
WIRE 1312 224 1312 208
WIRE 2240 224 2240 208
WIRE 1024 240 1024 208
WIRE 1520 272 1520 144
WIRE 1744 272 1520 272
WIRE 1808 272 1744 272
WIRE 1904 272 1888 272
WIRE 1984 272 1984 208
WIRE 1984 272 1968 272
WIRE 1744 288 1744 272
WIRE 1120 320 1120 288
WIRE 1312 320 1312 288
WIRE 2240 320 2240 304
WIRE 1520 336 1520 272
WIRE 2048 352 2048 160
WIRE 1744 384 1744 352
WIRE 1024 400 1024 320
WIRE 1360 400 1024 400
WIRE 1808 432 1680 432
WIRE 2000 432 1888 432
WIRE 1024 464 1024 400
WIRE 1120 464 1024 464
WIRE 1248 464 1200 464
WIRE 1360 464 1312 464
WIRE 1024 480 1024 464
WIRE 1216 528 1104 528
WIRE 1360 528 1216 528
WIRE 1104 544 1104 528
WIRE 1216 544 1216 528
WIRE 1712 560 1712 64
WIRE 1712 560 1680 560
WIRE 1808 560 1712 560
WIRE 2048 560 2048 448
WIRE 2048 560 1888 560
WIRE 1024 576 1024 560
WIRE 2048 576 2048 560
WIRE 1360 592 1312 592
WIRE 1216 624 1216 608
WIRE 1104 656 1104 624
WIRE 1312 656 1312 592
WIRE 1312 656 1104 656
WIRE 1104 672 1104 656
WIRE 2048 672 2048 656
WIRE 1520 704 1520 656
WIRE 1104 752 1104 736
SYMBOL voltage 64 32 R0
WINDOW 3 24 44 Left 2
WINDOW 123 24 72 Left 2
WINDOW 39 0 0 Left 2
SYMATTR Value ""
SYMATTR Value2 AC 1
SYMATTR InstName Vgs1
SYMBOL voltage 64 160 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName VGS
SYMATTR Value 1.10
SYMBOL nmos4 288 -48 R0
SYMATTR InstName N_1u
SYMATTR Value N_1u
SYMATTR Value2 l=7.0u w=7.0598e+1u
SYMBOL res 320 -224 R0
SYMATTR InstName RD
SYMATTR Value 96813.97
SYMBOL voltage 608 -240 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName VDS
SYMATTR Value 5V
SYMBOL RES 2032 560 R0
SYMATTR InstName R1
SYMATTR Value .67
SYMBOL cap 1088 672 R0
SYMATTR InstName C1
SYMATTR Value 500p
SYMBOL cap 1200 544 R0
SYMATTR InstName C2
SYMATTR Value .1
SYMBOL cap 1312 448 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C3
SYMATTR Value .01
SYMBOL res 1216 448 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 200K
SYMBOL res 1088 528 R0
SYMATTR InstName R3
SYMATTR Value 13K
SYMBOL res 1008 464 R0
SYMATTR InstName R4
SYMATTR Value 20K
SYMBOL res 1904 544 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R5
SYMATTR Value 1K
SYMBOL NMOS 2000 352 R0
SYMATTR InstName Q1
SYMATTR Value Si7802DN
SYMBOL res 1904 416 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R6
SYMATTR Value 12
SYMBOL res 1008 224 R0
SYMATTR InstName R7
SYMATTR Value 152K
SYMBOL cap 1104 224 R0
SYMATTR InstName C4
SYMATTR Value .0022
SYMBOL cap 1296 224 R0
SYMATTR InstName C5
SYMATTR Value 100p
SYMBOL schottky 1248 192 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D1
SYMATTR Value BAT54
SYMBOL cap 1728 288 R0
SYMATTR InstName C6
SYMATTR Value 22
SYMBOL res 1904 256 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R8
SYMATTR Value 39
SYMBOL schottky 1968 256 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D2
SYMATTR Value BAT54
SYMBOL res 1696 -32 R0
SYMATTR InstName R9
SYMATTR Value 1.32Meg
SYMBOL res 2032 -64 R0
SYMATTR InstName R10
SYMATTR Value 10K
SYMBOL cap 1920 -48 R0
SYMATTR InstName C7
SYMATTR Value 470p
SYMBOL ind2 2320 -16 M0
WINDOW 0 1 32 Right 2
WINDOW 3 -1 70 Right 2
SYMATTR InstName L1
SYMATTR Value 16
SYMATTR SpiceLine Rser=.05 Rpar=2K
SYMBOL ind2 2224 208 R0
WINDOW 0 -4 44 Right 2
WINDOW 3 -6 73 Right 2
SYMATTR InstName L2
SYMATTR Value 18.8
SYMATTR Value2 Rser=.1
SYMBOL ind2 2224 96 M180
WINDOW 0 -2 87 Right 2
WINDOW 3 -3 43 Right 2
SYMATTR InstName L3
SYMATTR Value 100
SYMATTR SpiceLine Rser=.05 Rpar=5K
SYMBOL schottky 2384 -32 M90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D3
SYMATTR Value MBRS340
SYMBOL cap 2496 0 R0
SYMATTR InstName C8
SYMATTR Value 3.3
SYMATTR SpiceLine Rser=.1
SYMBOL ind 2544 0 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L4
SYMATTR Value 1
SYMBOL polcap 2672 0 R0
SYMATTR InstName C9
SYMATTR Value 3.3
SYMATTR SpiceLine Rser=.1
SYMBOL res 2768 -16 R0
SYMATTR InstName R11
SYMATTR Value 750
SYMBOL VOLTAGE 1360 -80 R0
SYMATTR InstName V1
SYMATTR Value 200
SYMBOL zener 1632 160 M270
WINDOW 0 36 32 VTop 2
WINDOW 3 -4 32 VBottom 2
SYMATTR InstName D4
SYMATTR Value BZX84C15L
SYMBOL diode 2032 144 M180
WINDOW 0 24 72 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D5
SYMATTR Value MURS320
SYMBOL res 1488 192 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R12
SYMATTR Value 510
SYMBOL res 1504 -32 R0
SYMATTR InstName R13
SYMATTR Value 400K
SYMBOL PowerProducts\\LT1241 1520 496 R0
SYMATTR InstName U1
SYMBOL res 2880 -16 R0
SYMATTR InstName Rload
SYMATTR Value 50
FLAG 336 144 0
FLAG 64 304 0
FLAG 448 -80 Vout
FLAG -16 32 in
FLAG 336 -256 VDD
FLAG 608 -96 0
FLAG 608 -256 VDD
FLAG 2048 672 0
FLAG 1104 752 0
FLAG 1216 624 0
FLAG 1024 576 0
FLAG 1520 704 0
FLAG 1120 320 0
FLAG 1312 320 0
FLAG 1744 384 0
FLAG 2240 320 0
FLAG 1360 32 0
FLAG 1664 144 0
FLAG 2896 -16 +20V
FLAG 2896 112 0
FLAG 1360 -80 IN
TEXT -240 -104 Left 2 !.include cmosedu_models.txt
TEXT -240 -64 Left 2 !.ac dec 10 1 1000000
TEXT -232 -144 Left 2 !.measure AC GAIN FIND V(vout) AT = 1
TEXT 3112 264 Left 2 !.tran 2m
TEXT 2936 -24 Bottom 2 !K1 L1 L2 L3 .98