* SPICE netlist
C2 N013 0 4.7
C3 N020 N018 0.0001
M1 N014 N015 N016 N016 BSC42DN25NS3
R1 N016 0 50m
R2 N012 N017 40.2K
R3 N019 N012 40.2K
R4 N019 0 90.9K
L1 N014 N001 400 Rpar=2k
L2 N004 0 25 Rpar=1K
L3 N006 0 25 Rpar=1K
C4 N004 N008 4.7p
C5 N003 0 10
R7 N001 N009 1Meg
D1 N004 N003 1N4148
R9 N001 N003 200K
D2 N014 N011 1N4148
D3 N001 N011 DFLZ33 N=6
D4 N006 vOUT MBRS360
C6 vOUT 0 100
R10 N010 0 4.99K
R11 N004 N010 90k
D6 vIN N001 1N4007
D7 0 N002 1N4007
D8 0 vIN 1N4007
D9 N002 N001 1N4007
V1 vIN N002 SINE(0 170 60)
C7 N001 0 0.01
R5 N005 0 95.3K
R6 N003 N005 1Meg
C1 N022 0 10n
R13 N017 0 15.8K
Rload vOUT 0 50
R12 N021 N022 5k
R14 N008 N007 2K
I1 N003 0 PWL(0 0 50u -6 100u 0)
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
K1 L1 L2 L3 1
.tran 7m startup

* LTspice schematic (.asc)
Version 4
SHEET 1 2176 1232
WIRE -736 -616 -960 -616
WIRE -624 -616 -736 -616
WIRE -144 -616 -624 -616
WIRE 496 -616 -144 -616
WIRE -736 -600 -736 -616
WIRE -144 -584 -144 -616
WIRE -1040 -552 -1088 -552
WIRE -960 -552 -960 -616
WIRE -960 -552 -976 -552
WIRE -944 -552 -960 -552
WIRE -848 -552 -880 -552
WIRE -736 -504 -736 -536
WIRE -464 -504 -512 -504
WIRE -272 -504 -384 -504
WIRE -1088 -424 -1088 -552
WIRE -1040 -424 -1088 -424
WIRE -1008 -424 -1040 -424
WIRE -848 -424 -848 -552
WIRE -848 -424 -928 -424
WIRE -336 -408 -384 -408
WIRE -144 -408 -272 -504
WIRE -144 -408 -144 -504
WIRE -144 -408 -272 -408
WIRE -32 -408 -144 -408
WIRE 272 -408 32 -408
WIRE 704 -408 272 -408
WIRE -624 -392 -624 -616
WIRE -384 -376 -384 -408
WIRE 704 -360 704 -408
WIRE -256 -312 -336 -312
WIRE -144 -312 -144 -408
WIRE -144 -312 -176 -312
WIRE -1088 -296 -1088 -424
WIRE -1056 -296 -1088 -296
WIRE -960 -296 -992 -296
WIRE -928 -296 -960 -296
WIRE -848 -296 -848 -424
WIRE -848 -296 -864 -296
WIRE 704 -280 656 -280
WIRE -144 -264 -144 -312
WIRE 656 -248 656 -280
WIRE 864 -248 768 -248
WIRE 976 -248 928 -248
WIRE 1056 -248 976 -248
WIRE 1088 -248 1056 -248
WIRE 768 -232 768 -248
WIRE 976 -232 976 -248
WIRE 1088 -232 1088 -248
WIRE -960 -216 -960 -296
WIRE -448 -216 -512 -216
WIRE -336 -216 -336 -312
WIRE -336 -216 -368 -216
WIRE -304 -216 -336 -216
WIRE 48 -216 16 -216
WIRE 144 -216 128 -216
WIRE 272 -216 272 -408
WIRE 272 -216 208 -216
WIRE 496 -200 496 -616
WIRE 704 -200 496 -200
WIRE -512 -184 -512 -216
WIRE 496 -184 496 -200
WIRE 704 -152 704 -200
WIRE -624 -120 -624 -312
WIRE -304 -120 -624 -120
WIRE 272 -120 272 -136
WIRE 272 -120 16 -120
WIRE 272 -104 272 -120
WIRE 496 -104 496 -120
WIRE 768 -104 768 -152
WIRE 976 -104 976 -168
WIRE 976 -104 768 -104
WIRE 1088 -104 1088 -152
WIRE 1088 -104 976 -104
WIRE 976 -56 976 -104
WIRE -448 -24 -576 -24
WIRE -336 -24 -448 -24
WIRE -304 -24 -336 -24
WIRE 32 -24 16 -24
WIRE 128 -24 96 -24
WIRE 496 -24 496 -40
WIRE 704 -24 704 -72
WIRE 704 -24 496 -24
WIRE 128 -8 128 -24
WIRE 272 -8 272 -24
WIRE 496 -8 496 -24
WIRE -448 8 -448 -24
WIRE -336 72 -336 -24
WIRE -304 72 -336 72
WIRE 448 72 16 72
WIRE -336 168 -336 72
WIRE -304 168 -336 168
WIRE 496 168 496 88
WIRE 496 168 16 168
WIRE 496 184 496 168
WIRE -576 264 -576 -24
WIRE -448 264 -448 88
WIRE -304 264 -448 264
WIRE 48 264 16 264
WIRE 48 280 48 264
WIRE 496 312 496 264
WIRE -576 360 -576 344
WIRE -304 360 -576 360
WIRE 48 360 48 344
WIRE 48 360 16 360
WIRE -576 376 -576 360
WIRE -448 376 -448 264
WIRE -208 440 -208 424
WIRE -80 472 -80 424
WIRE -208 536 -208 520
WIRE -576 616 -576 456
WIRE -448 616 -448 456
WIRE -208 616 -208 600
FLAG -1040 -424 vIN
FLAG 1056 -248 vOUT
FLAG -960 -216 0
FLAG -736 -504 0
FLAG -512 -184 0
FLAG -80 472 0
FLAG -384 -376 0
FLAG 656 -248 0
FLAG 272 -8 0
FLAG 128 -8 0
FLAG 496 312 0
FLAG 976 -56 0
FLAG -208 616 0
FLAG -576 616 0
FLAG -448 616 0
FLAG -512 -504 0
SYMBOL cap 32 -8 R270
SYMATTR InstName C2
SYMATTR Value 4.7
SYMBOL cap 32 344 M180
SYMATTR InstName C3
SYMATTR Value 0.0001
SYMBOL nmos 448 -8 R0
SYMATTR InstName M1
SYMATTR Value BSC42DN25NS3
SYMBOL res 480 168 R0
SYMATTR InstName R1
SYMATTR Value 50m
SYMBOL res -464 -8 R0
SYMATTR InstName R2
SYMATTR Value 40.2K
SYMBOL res -592 360 M180
SYMATTR InstName R3
SYMATTR Value 40.2K
SYMBOL res -592 360 R0
SYMATTR InstName R4
SYMATTR Value 90.9K
SYMBOL ind2 688 -56 M180
SYMATTR InstName L1
SYMATTR Value 400
SYMATTR Type ind
SYMATTR SpiceLine Rpar=2k
SYMBOL ind2 688 -376 R0
SYMATTR InstName L2
SYMATTR Value 25
SYMATTR Type ind
SYMATTR SpiceLine Rpar=1K
SYMBOL ind2 784 -248 M0
SYMATTR InstName L3
SYMATTR Value 25
SYMATTR Type ind
SYMATTR SpiceLine Rpar=1K
SYMBOL cap 208 -232 R90
SYMATTR InstName C4
SYMATTR Value 4.7p
SYMBOL cap -272 -424 R90
SYMATTR InstName C5
SYMATTR Value 10
SYMBOL res -640 -408 R0
SYMATTR InstName R7
SYMATTR Value 1Meg
SYMBOL diode 32 -424 R90
SYMATTR InstName D1
SYMATTR Value 1N4148
SYMBOL res -160 -600 R0
SYMATTR InstName R9
SYMATTR Value 200K
SYMBOL diode 480 -40 M180
SYMATTR InstName D2
SYMATTR Value 1N4148
SYMBOL zener 480 -184 R0
SYMATTR InstName D3
SYMATTR Value DFLZ33
SYMATTR Value2 N=6
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL schottky 864 -232 R270
SYMATTR InstName D4
SYMATTR Value MBRS360
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL cap 960 -232 R0
SYMATTR InstName C6
SYMATTR Value 100
SYMBOL res 256 -120 R0
SYMATTR InstName R10
SYMATTR Value 4.99K
SYMBOL res 256 -232 R0
SYMATTR InstName R11
SYMATTR Value 90k
SYMBOL diode -1040 -536 R270
SYMATTR Value 1N4007
SYMATTR InstName D6
SYMBOL diode -928 -280 R270
SYMATTR InstName D7
SYMATTR Value 1N4007
SYMBOL diode -992 -280 M270
SYMATTR InstName D8
SYMATTR Value 1N4007
SYMBOL diode -880 -536 M270
SYMATTR InstName D9
SYMATTR Value 1N4007
SYMBOL voltage -1024 -424 R270
SYMATTR InstName V1
SYMATTR Value SINE(0 170 60)
SYMBOL cap -752 -600 R0
SYMATTR Value 0.01
SYMATTR InstName C7
SYMBOL res -352 -232 R90
SYMATTR InstName R5
SYMATTR Value 95.3K
SYMBOL res -160 -328 R90
SYMATTR InstName R6
SYMATTR Value 1Meg
SYMBOL cap -224 536 R0
SYMATTR Value 10n
SYMATTR InstName C1
SYMBOL res -464 360 R0
SYMATTR InstName R13
SYMATTR Value 15.8K
SYMBOL res 1072 -248 R0
SYMATTR InstName Rload
SYMATTR Value 50
SYMBOL res -224 424 R0
SYMATTR InstName R12
SYMATTR Value 5k
SYMBOL res 144 -232 R90
SYMATTR InstName R14
SYMATTR Value 2K
SYMBOL current -384 -504 R90
SYMATTR InstName I1
SYMATTR Value PWL(0 0 50u -6 100u 0)
SYMBOL LT3798 -144 72 R0
SYMATTR InstName U2