* Z:\home\khalils\Downloads\files\data\raw_asc\LT1242.asc
* Generated by LTspice 26.0.1 for Windows.
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\LT1242.asy)
Rload +20V 0 20
C5 N008 0 100p
C1 N019 0 220p
C3 N015 N014 .005
D6 0 N004 BZX84C6V2L
C2 N016 0 .1
L1 N001 0 16 Rser=.05 Rpar=10K
MQ1 N006 N013 N018 N018 IRF7303
R2 N014 N011 100K
L4 N002 +20V 1
C7 IN N003 470p
R13 IN N017 1.32Meg
D5 N006 N003 MURS320
L2 N006 IN 100 Rser=.05 Rpar=10K
R7 N018 N017 1K
C8 N002 0 20
D4 N004 N005 BZX84C15L
L3 N009 0 18.8 Rser=.1 Rpar=10K
D1 N008 N007 BAT54
R9 N007 N011 152K
C9 +20V 0 3.3 Rser=.1
C4 N007 0 .0022
R14 IN N003 660K
C6 N005 0 22
D2 N009 N010 BAT54
R1 N018 0 .67
V1 IN 0 200
XU1 N015 N011 N017 N019 0 N012 N005 N016 LT1242 ;pnba COMP)FB)Isense)Rt/Ct)GND)Output)Vcc)Vref
R4 N011 0 20K
R17 N009 N008 510
K1 L1 L2 L3 1
C10 N017 0 50p
R10 N010 N005 39
R15 +20V 0 750
R18 IN N005 400K
D3 N001 N002 MBRS340
R8 N013 N012 12
R3 N016 N019 12K
.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
.tran 2m
.lib LT1242.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 5945676 13421556
WIRE 2176 -80 2016 -80
WIRE 2368 -80 2176 -80
WIRE 2592 -80 2368 -80
WIRE 2704 -80 2592 -80
WIRE 2832 -80 2704 -80
WIRE 2016 -64 2016 -80
WIRE 2592 -64 2592 -80
WIRE 2704 -64 2704 -80
WIRE 2176 -32 2176 -80
WIRE 2832 -32 2832 -80
WIRE 2880 -32 2832 -32
WIRE 3040 -32 2944 -32
WIRE 3136 -32 3104 -32
WIRE 3184 -32 3136 -32
WIRE 3312 -32 3264 -32
WIRE 3440 -32 3312 -32
WIRE 3568 -32 3440 -32
WIRE 2880 -16 2880 -32
WIRE 2944 -16 2944 -32
WIRE 3136 -16 3136 -32
WIRE 3312 -16 3312 -32
WIRE 3440 -16 3440 -32
WIRE 3568 -16 3568 -32
WIRE 2368 16 2368 -80
WIRE 2016 32 2016 16
WIRE 2592 32 2592 0
WIRE 2704 32 2704 16
WIRE 2704 32 2592 32
WIRE 2704 48 2704 32
WIRE 1904 80 1856 80
WIRE 2064 80 1968 80
WIRE 2176 80 2176 48
WIRE 2176 80 2128 80
WIRE 2880 80 2880 64
WIRE 2880 80 2832 80
WIRE 2944 80 2944 64
WIRE 3136 80 3136 48
WIRE 3136 80 2944 80
WIRE 3312 80 3312 48
WIRE 3312 80 3136 80
WIRE 3440 80 3440 64
WIRE 3440 80 3312 80
WIRE 3568 80 3568 64
WIRE 3568 80 3440 80
WIRE 3568 96 3568 80
WIRE 2704 128 2704 112
WIRE 2832 128 2832 80
WIRE 2832 128 2704 128
WIRE 1776 208 1648 208
WIRE 1840 208 1776 208
WIRE 1968 208 1904 208
WIRE 2048 208 1968 208
WIRE 2640 208 2128 208
WIRE 2880 208 2640 208
WIRE 1776 224 1776 208
WIRE 1968 224 1968 208
WIRE 2880 224 2880 208
WIRE 1648 240 1648 208
WIRE 2176 272 2176 80
WIRE 2400 272 2176 272
WIRE 2464 272 2400 272
WIRE 2560 272 2544 272
WIRE 2640 272 2640 208
WIRE 2640 272 2624 272
WIRE 2400 288 2400 272
WIRE 1776 320 1776 288
WIRE 1968 320 1968 288
WIRE 2880 320 2880 304
WIRE 2176 336 2176 272
WIRE 2704 352 2704 128
WIRE 2400 384 2400 352
WIRE 1648 400 1648 320
WIRE 2016 400 1648 400
WIRE 2464 432 2336 432
WIRE 2656 432 2544 432
WIRE 1648 464 1648 400
WIRE 1776 464 1648 464
WIRE 1904 464 1856 464
WIRE 2016 464 1968 464
WIRE 1648 480 1648 464
WIRE 1872 528 1760 528
WIRE 2016 528 1872 528
WIRE 1872 544 1872 528
WIRE 1760 560 1760 528
WIRE 2368 560 2368 96
WIRE 2368 560 2336 560
WIRE 2400 560 2368 560
WIRE 2704 560 2704 448
WIRE 2704 560 2480 560
WIRE 1648 576 1648 560
WIRE 2704 576 2704 560
WIRE 2016 592 1968 592
WIRE 2368 608 2368 560
WIRE 1872 624 1872 608
WIRE 1760 656 1760 640
WIRE 1968 656 1968 592
WIRE 1968 656 1760 656
WIRE 1760 672 1760 656
WIRE 2704 672 2704 656
WIRE 2176 704 2176 656
WIRE 2368 704 2368 672
WIRE 1760 752 1760 736
LINE Normal 2912 288 2912 -16 2
SYMBOL cap 2352 608 R0
SYMATTR InstName C10
SYMATTR Value 50p
SYMBOL cap 2384 288 R0
SYMATTR InstName C6
SYMATTR Value 22
SYMBOL res 3424 -32 R0
SYMATTR InstName R15
SYMATTR Value 750
SYMBOL res 2352 0 R0
SYMATTR InstName R13
SYMATTR Value 1.32Meg
SYMBOL res 1632 224 R0
SYMATTR InstName R9
SYMATTR Value 152K
SYMBOL cap 1968 448 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C3
SYMATTR Value .005
SYMBOL diode 2688 112 M180
WINDOW 0 28 62 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D5
SYMATTR Value MURS320
SYMBOL cap 1744 672 R0
SYMATTR InstName C1
SYMATTR Value 220p
SYMBOL res 1872 448 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 100K
SYMBOL schottky 1904 192 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D1
SYMATTR Value BAT54
SYMBOL res 3552 -32 R0
SYMATTR InstName Rload
SYMATTR Value 20
SYMBOL res 2560 256 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R10
SYMATTR Value 39
SYMBOL PowerProducts\\LT1242 2176 496 R0
SYMATTR InstName U1
SYMBOL res 2144 192 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R17
SYMATTR Value 510
SYMBOL res 1744 544 R0
SYMATTR InstName R3
SYMATTR Value 12K
SYMBOL cap 3120 -16 R0
SYMATTR InstName C8
SYMATTR Value 20
SYMBOL NMOS 2656 352 R0
SYMATTR InstName Q1
SYMATTR Value IRF7303
SYMBOL ind2 2960 -32 M0
WINDOW 0 1 32 Right 2
WINDOW 3 3 70 Right 2
SYMATTR InstName L1
SYMATTR Value 16
SYMATTR SpiceLine Rser=.05 Rpar=10K
SYMBOL zener 1904 96 R270
WINDOW 0 36 32 VTop 2
WINDOW 3 -4 32 VBottom 2
SYMATTR InstName D6
SYMATTR Value BZX84C6V2L
SYMBOL RES 2688 560 R0
SYMATTR InstName R1
SYMATTR Value .67
SYMBOL ind2 2864 208 R0
WINDOW 0 -5 42 Right 2
WINDOW 3 -4 77 Right 2
SYMATTR InstName L3
SYMATTR Value 18.8
SYMATTR SpiceLine Rser=.1 Rpar=10K
SYMBOL schottky 2624 256 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D2
SYMATTR Value BAT54
SYMBOL schottky 3040 -48 M90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D3
SYMATTR Value MBRS340
SYMBOL VOLTAGE 2016 -80 R0
SYMATTR InstName V1
SYMATTR Value 200
SYMBOL cap 1952 224 R0
SYMATTR InstName C5
SYMATTR Value 100p
SYMBOL ind2 3168 -16 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L4
SYMATTR Value 1
SYMATTR Type ind
SYMBOL res 2688 -80 R0
SYMATTR InstName R14
SYMATTR Value 660K
SYMBOL ind2 2864 80 M180
WINDOW 0 -2 87 Right 2
WINDOW 3 0 44 Right 2
SYMATTR InstName L2
SYMATTR Value 100
SYMATTR SpiceLine Rser=.05 Rpar=10K
SYMBOL zener 2064 96 R270
WINDOW 0 36 32 VTop 2
WINDOW 3 -4 32 VBottom 2
SYMATTR InstName D4
SYMATTR Value BZX84C15L
SYMBOL res 2560 416 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R8
SYMATTR Value 12
SYMBOL cap 1760 224 R0
SYMATTR InstName C4
SYMATTR Value .0022
SYMBOL cap 1856 544 R0
SYMATTR InstName C2
SYMATTR Value .1
SYMBOL polcap 3296 -16 R0
SYMATTR InstName C9
SYMATTR Value 3.3
SYMATTR SpiceLine Rser=.1
SYMBOL cap 2576 -64 R0
SYMATTR InstName C7
SYMATTR Value 470p
SYMBOL res 1632 464 R0
SYMATTR InstName R4
SYMATTR Value 20K
SYMBOL res 2160 -48 R0
SYMATTR InstName R18
SYMATTR Value 400K
SYMBOL res 2496 544 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R7
SYMATTR Value 1K
FLAG 2704 672 0
FLAG 1760 752 0
FLAG 1872 624 0
FLAG 1648 576 0
FLAG 2176 704 0
FLAG 1776 320 0
FLAG 1968 320 0
FLAG 2400 384 0
FLAG 2880 320 0
FLAG 2016 32 0
FLAG 1856 80 0
FLAG 3568 -32 +20V
FLAG 3568 96 0
FLAG 2368 704 0
FLAG 2016 -80 IN
TEXT 2928 568 Left 2 !.tran 2m
TEXT 2912 -40 Bottom 2 !K1 L1 L2 L3 1