* Z:\home\khalils\Downloads\files\data\raw_asc\LT3798.asc
* Generated by LTspice 26.0.1 for Windows.
* Library below included based on ModelFile attribute of instance XU2 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\LT3798.asy)
R4 N019 0 90.9K
R2 N012 N017 40.2K
R6 N003 N005 1Meg
R3 N019 N012 40.2K
XU2 N012 N012 N017 N012 N019 N021 N018 N020 N010 N007 N003 N005 N013 N015 N016 N009 0 LT3798 ;pnba Ctrl1)Ctrl2)Ctrl3)Vref)OVP)Vc)Comp+)Comp-)FB)DCM)Vin)EN/UVLO)INTVcc)Gate)Sense)Vin_sense)GND
R11 N004 N010 90k
R14 N008 N007 2K
L2 N004 0 25 Rpar=1K
C1 N022 0 10n
C5 N003 0 10
Rload vOUT 0 50
R9 N001 N003 200K
D3 N001 N011 DFLZ33 N=6
C6 vOUT 0 100
M1 N014 N015 N016 N016 BSC42DN25NS3
L3 N006 0 25 Rpar=1K
I1 N003 0 PWL(0 0 50u -6 100u 0)
D9 N002 N001 1N4007
D8 0 vIN 1N4007
C7 N001 0 0.01
R13 N017 0 15.8K
C4 N004 N008 4.7p
R10 N010 0 4.99K
D7 0 N002 1N4007
C2 N013 0 4.7
R12 N021 N022 5k
R1 N016 0 50m
R7 N001 N009 1Meg
D6 vIN N001 1N4007
D1 N004 N003 1N4148
D4 N006 vOUT MBRS360
D2 N014 N011 1N4148
K1 L1 L2 L3 1
R5 N005 0 95.3K
V1 vIN N002 SINE(0 170 60)
C3 N020 N018 0.0001
L1 N014 N001 400 Rpar=2k
.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 7m startup
.lib LT3798.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2008 960
WIRE -368 -464 -592 -464
WIRE -256 -464 -368 -464
WIRE 224 -464 -256 -464
WIRE 864 -464 224 -464
WIRE -368 -448 -368 -464
WIRE 224 -432 224 -464
WIRE -672 -400 -720 -400
WIRE -592 -400 -592 -464
WIRE -592 -400 -608 -400
WIRE -576 -400 -592 -400
WIRE -480 -400 -512 -400
WIRE -368 -352 -368 -384
WIRE -96 -352 -144 -352
WIRE 96 -352 -16 -352
WIRE -720 -272 -720 -400
WIRE -672 -272 -720 -272
WIRE -640 -272 -672 -272
WIRE -480 -272 -480 -400
WIRE -480 -272 -560 -272
WIRE 32 -256 -16 -256
WIRE 224 -256 96 -352
WIRE 224 -256 224 -352
WIRE 224 -256 96 -256
WIRE 336 -256 224 -256
WIRE 640 -256 400 -256
WIRE 1072 -256 640 -256
WIRE -256 -240 -256 -464
WIRE -16 -224 -16 -256
WIRE 1072 -208 1072 -256
WIRE 112 -160 32 -160
WIRE 224 -160 224 -256
WIRE 224 -160 192 -160
WIRE -720 -144 -720 -272
WIRE -688 -144 -720 -144
WIRE -592 -144 -624 -144
WIRE -560 -144 -592 -144
WIRE -480 -144 -480 -272
WIRE -480 -144 -496 -144
WIRE 1072 -128 1024 -128
WIRE 224 -112 224 -160
WIRE 1024 -96 1024 -128
WIRE 1232 -96 1136 -96
WIRE 1344 -96 1296 -96
WIRE 1424 -96 1344 -96
WIRE 1456 -96 1424 -96
WIRE 1136 -80 1136 -96
WIRE 1344 -80 1344 -96
WIRE 1456 -80 1456 -96
WIRE -592 -64 -592 -144
WIRE -80 -64 -144 -64
WIRE 32 -64 32 -160
WIRE 32 -64 0 -64
WIRE 64 -64 32 -64
WIRE 416 -64 384 -64
WIRE 512 -64 496 -64
WIRE 640 -64 640 -256
WIRE 640 -64 576 -64
WIRE 864 -48 864 -464
WIRE 1072 -48 864 -48
WIRE -144 -32 -144 -64
WIRE 864 -32 864 -48
WIRE 1072 0 1072 -48
WIRE -256 32 -256 -160
WIRE 64 32 -256 32
WIRE 640 32 640 16
WIRE 640 32 384 32
WIRE 640 48 640 32
WIRE 864 48 864 32
WIRE 1136 48 1136 0
WIRE 1344 48 1344 -16
WIRE 1344 48 1136 48
WIRE 1456 48 1456 0
WIRE 1456 48 1344 48
WIRE 1344 96 1344 48
WIRE -80 128 -208 128
WIRE 32 128 -80 128
WIRE 64 128 32 128
WIRE 400 128 384 128
WIRE 496 128 464 128
WIRE 864 128 864 112
WIRE 1072 128 1072 80
WIRE 1072 128 864 128
WIRE 496 144 496 128
WIRE 640 144 640 128
WIRE 864 144 864 128
WIRE -80 160 -80 128
WIRE 32 224 32 128
WIRE 64 224 32 224
WIRE 816 224 384 224
WIRE 32 320 32 224
WIRE 64 320 32 320
WIRE 864 320 864 240
WIRE 864 320 384 320
WIRE 864 336 864 320
WIRE -208 416 -208 128
WIRE -80 416 -80 240
WIRE 64 416 -80 416
WIRE 416 416 384 416
WIRE 416 432 416 416
WIRE 864 464 864 416
WIRE -208 512 -208 496
WIRE 64 512 -208 512
WIRE 416 512 416 496
WIRE 416 512 384 512
WIRE -208 528 -208 512
WIRE -80 528 -80 416
WIRE 160 592 160 576
WIRE 288 624 288 576
WIRE 160 688 160 672
WIRE -208 768 -208 608
WIRE -80 768 -80 608
WIRE 160 768 160 752
LINE Normal 1104 80 1104 -176 2
SYMBOL diode -512 -384 M270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D9
SYMATTR Value 1N4007
SYMBOL res 624 -80 R0
SYMATTR InstName R11
SYMATTR Value 90k
SYMBOL res 1440 -96 R0
SYMATTR InstName Rload
SYMATTR Value 50
SYMBOL cap 400 144 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName C2
SYMATTR Value 4.7
SYMBOL res 16 -80 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R5
SYMATTR Value 95.3K
SYMBOL ind2 1152 -96 M0
SYMATTR InstName L3
SYMATTR Value 25
SYMATTR Type ind
SYMATTR SpiceLine Rpar=1K
SYMBOL diode 848 112 M180
WINDOW 0 44 32 Left 2
WINDOW 3 45 6 Left 2
SYMATTR InstName D2
SYMATTR Value 1N4148
SYMBOL LT3798 224 224 R0
SYMATTR InstName U2
SYMBOL cap 576 -80 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C4
SYMATTR Value 4.7p
SYMBOL res 144 576 R0
SYMATTR InstName R12
SYMATTR Value 5k
SYMBOL diode 400 -272 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D1
SYMATTR Value 1N4148
SYMBOL schottky 1232 -80 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D4
SYMATTR Value MBRS360
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL ind2 1056 -224 R0
SYMATTR InstName L2
SYMATTR Value 25
SYMATTR Type ind
SYMATTR SpiceLine Rpar=1K
SYMBOL diode -560 -128 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D7
SYMATTR Value 1N4007
SYMBOL voltage -656 -272 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 -32 56 VBottom 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value SINE(0 170 60)
SYMBOL ind2 1056 96 M180
WINDOW 0 36 80 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName L1
SYMATTR Value 400
SYMATTR Type ind
SYMATTR SpiceLine Rpar=2k
SYMBOL cap -384 -448 R0
WINDOW 3 24 59 Left 2
SYMATTR Value 0.01
SYMATTR InstName C7
SYMBOL res 208 -448 R0
SYMATTR InstName R9
SYMATTR Value 200K
SYMBOL res -224 512 M180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R3
SYMATTR Value 40.2K
SYMBOL res -96 512 R0
SYMATTR InstName R13
SYMATTR Value 15.8K
SYMBOL cap 144 688 R0
WINDOW 3 38 33 Left 2
SYMATTR Value 10n
SYMATTR InstName C1
SYMBOL res 848 320 R0
SYMATTR InstName R1
SYMATTR Value 50m
SYMBOL res 208 -176 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R6
SYMATTR Value 1Meg
SYMBOL res -96 144 R0
SYMATTR InstName R2
SYMATTR Value 40.2K
SYMBOL cap 400 496 M180
WINDOW 0 24 56 Left 2
WINDOW 3 24 8 Left 2
SYMATTR InstName C3
SYMATTR Value 0.0001
SYMBOL res -224 512 R0
SYMATTR InstName R4
SYMATTR Value 90.9K
SYMBOL cap 1328 -80 R0
SYMATTR InstName C6
SYMATTR Value 100
SYMBOL res 624 32 R0
SYMATTR InstName R10
SYMATTR Value 4.99K
SYMBOL current -16 -352 R90
WINDOW 0 -32 40 VBottom 2
WINDOW 3 32 40 VTop 2
SYMATTR InstName I1
SYMATTR Value PWL(0 0 50u -6 100u 0)
SYMBOL diode -624 -128 M270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D8
SYMATTR Value 1N4007
SYMBOL diode -672 -384 R270
WINDOW 3 0 32 VBottom 2
WINDOW 0 32 32 VTop 2
SYMATTR Value 1N4007
SYMATTR InstName D6
SYMBOL zener 848 -32 R0
WINDOW 0 43 16 Left 2
WINDOW 3 45 40 Left 2
WINDOW 123 51 65 Left 2
SYMATTR InstName D3
SYMATTR Value DFLZ33
SYMATTR Value2 N=6
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL res 512 -80 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R14
SYMATTR Value 2K
SYMBOL cap 96 -272 R90
WINDOW 0 13 1 VBottom 2
WINDOW 3 19 -8 VTop 2
SYMATTR InstName C5
SYMATTR Value 10
SYMBOL res -272 -256 R0
SYMATTR InstName R7
SYMATTR Value 1Meg
SYMBOL nmos 816 144 R0
WINDOW 0 55 25 Left 2
WINDOW 3 55 74 Left 2
WINDOW 123 55 102 Left 2
SYMATTR InstName M1
SYMATTR Value BSC42DN25NS3
FLAG -672 -272 vIN
FLAG 1424 -96 vOUT
FLAG -592 -64 0
FLAG -368 -352 0
FLAG -144 -32 0
FLAG 288 624 0
FLAG -16 -224 0
FLAG 1024 -96 0
FLAG 640 144 0
FLAG 496 144 0
FLAG 864 464 0
FLAG 1344 96 0
FLAG 160 768 0
FLAG -208 768 0
FLAG -80 768 0
FLAG -144 -352 0
TEXT 1096 -280 Bottom 2 !K1 L1 L2 L3 1
TEXT 632 752 Left 2 !.tran 7m startup