* SPICE netlist
XU1 N015 N015 N019 N015 N012 N009 N018 N020 N010 N008 IN MP_01 N013 N016 N017 N007 0 LT3799 ;pnba Ctrl1)Ctrl2)Ctrl3)Vref)_Fault)Ct)Comp+)Comp-)FB)DCM)Vin))INTVcc)Gate)Sense)Vin_sense)GND
C1 N009 0 .01
C2 N013 0 4.7
C3 N018 N020 .001
M1 N014 N016 N017 N017 BSC42DN25NS3
R1 N017 0 .05
R2 N012 N015 200K
R3 N015 N019 40.2K
R4 N019 0 16.2K
L1 N001 N014 80
L2 0 N005 5
L3 0 N006 5
C4 N005 N008 4.7p Rser=2K
C5 IN 0 10
R7 N001 N007 1Meg
R8 N007 0 6.34K
D1 N005 IN 1N4148
R9 N001 IN 200K
D2 N014 N011 GSD2004W-V
D3 N001 N011 DFLZ33 N=4
D4 N006 OUT MBRS360
C6 OUT 0 112
D5 OUT 0 L1HZ-5780100000000 N=6 M=2
I1 0 IN pwl(0 0 10u 28 20u 0)
R10 N010 0 4.99K
R11 N005 N010 100K
D6 N002 N001 1N4007
D7 0 N003 1N4007
D8 0 N002 1N4007
D9 N003 N001 1N4007
V1 N002 N003 SINE(0 167 600)
C7 N001 0 .01
C8 N001 N004 .022
R12 N004 0 200
K1 L1 L2 L3 1.
.tran 5m

* LTspice schematic (.asc)
Version 4
SHEET 1 1728 928
WIRE -592 -464 -752 -464
WIRE -512 -464 -592 -464
WIRE -432 -464 -512 -464
WIRE -64 -464 -432 -464
WIRE 352 -464 -64 -464
WIRE -592 -448 -592 -464
WIRE -512 -448 -512 -464
WIRE -64 -448 -64 -464
WIRE -832 -416 -864 -416
WIRE -752 -416 -752 -464
WIRE -752 -416 -768 -416
WIRE -736 -416 -752 -416
WIRE -640 -416 -672 -416
WIRE -288 -400 -304 -400
WIRE -160 -400 -208 -400
WIRE -96 -400 -160 -400
WIRE -592 -368 -592 -384
WIRE -512 -368 -512 -384
WIRE -160 -352 -176 -352
WIRE -64 -352 -96 -400
WIRE -64 -352 -64 -368
WIRE -64 -352 -96 -352
WIRE 16 -352 -64 -352
WIRE 256 -352 80 -352
WIRE 512 -352 256 -352
WIRE 512 -336 512 -352
WIRE -432 -320 -432 -464
WIRE -864 -304 -864 -416
WIRE -800 -304 -864 -304
WIRE -640 -304 -640 -416
WIRE -640 -304 -720 -304
WIRE -512 -272 -512 -288
WIRE -64 -272 -64 -352
WIRE 656 -256 576 -256
WIRE 768 -256 720 -256
WIRE 848 -256 768 -256
WIRE 864 -256 848 -256
WIRE 512 -240 512 -256
WIRE 576 -240 576 -256
WIRE 768 -240 768 -256
WIRE 864 -240 864 -256
WIRE -432 -224 -432 -240
WIRE -224 -224 -432 -224
WIRE 128 -224 96 -224
WIRE 256 -224 256 -352
WIRE 256 -224 192 -224
WIRE -432 -208 -432 -224
WIRE 352 -208 352 -464
WIRE 512 -208 352 -208
WIRE -864 -192 -864 -304
WIRE -832 -192 -864 -192
WIRE -752 -192 -768 -192
WIRE -736 -192 -752 -192
WIRE -640 -192 -640 -304
WIRE -640 -192 -672 -192
WIRE 352 -192 352 -208
WIRE 512 -160 512 -208
WIRE 576 -144 576 -160
WIRE 768 -144 768 -176
WIRE 864 -144 864 -176
WIRE -752 -128 -752 -192
WIRE -304 -128 -320 -128
WIRE -224 -128 -240 -128
WIRE 256 -128 256 -144
WIRE 256 -128 96 -128
WIRE -432 -112 -432 -128
WIRE 256 -112 256 -128
WIRE 352 -112 352 -128
WIRE -224 -32 -320 -32
WIRE 112 -32 96 -32
WIRE 192 -32 176 -32
WIRE 352 -32 352 -48
WIRE 512 -32 512 -80
WIRE 512 -32 352 -32
WIRE -320 -16 -320 -32
WIRE 256 -16 256 -32
WIRE 352 -16 352 -32
WIRE -240 64 -320 64
WIRE -224 64 -240 64
WIRE 304 64 96 64
WIRE -240 160 -240 64
WIRE -224 160 -240 160
WIRE 352 160 352 80
WIRE 352 160 96 160
WIRE 352 176 352 160
WIRE -320 256 -320 64
WIRE -240 256 -240 160
WIRE -224 256 -240 256
WIRE 128 256 96 256
WIRE 128 272 128 256
WIRE 352 272 352 256
WIRE -320 352 -320 336
WIRE -224 352 -320 352
WIRE 128 352 128 336
WIRE 128 352 96 352
WIRE -320 368 -320 352
WIRE -64 416 -64 400
WIRE -320 464 -320 448
FLAG -64 416 0
FLAG -320 -128 0
FLAG 192 -32 0
FLAG 352 272 0
FLAG -320 464 0
FLAG -176 -352 0
FLAG -432 -112 0
FLAG 512 -240 0
FLAG 576 -144 0
FLAG 864 -144 0
FLAG 768 -144 0
FLAG -304 -400 0
FLAG 256 -16 0
FLAG -752 -128 0
FLAG -592 -368 0
FLAG -512 -272 0
FLAG 848 -256 OUT
FLAG -160 -400 IN
SYMBOL PowerProducts\\LT3799 -64 64 R0
SYMATTR InstName U1
SYMBOL cap -240 -144 R90
SYMATTR InstName C1
SYMATTR Value .01
SYMBOL cap 112 -16 R270
SYMATTR InstName C2
SYMATTR Value 4.7
SYMBOL cap 112 272 R0
SYMATTR InstName C3
SYMATTR Value .001
SYMBOL nmos 304 -16 R0
SYMATTR InstName M1
SYMATTR Value BSC42DN25NS3
SYMBOL res 336 160 R0
SYMATTR InstName R1
SYMATTR Value .05
SYMBOL res -336 -32 R0
SYMATTR InstName R2
SYMATTR Value 200K
SYMBOL res -336 240 R0
SYMATTR InstName R3
SYMATTR Value 40.2K
SYMBOL res -336 352 R0
SYMATTR InstName R4
SYMATTR Value 16.2K
SYMBOL ind2 496 -176 R0
SYMATTR InstName L1
SYMATTR Value 80
SYMATTR Type ind
SYMBOL ind2 496 -240 M180
SYMATTR InstName L2
SYMATTR Value 5
SYMATTR Type ind
SYMBOL ind2 592 -144 R180
SYMATTR InstName L3
SYMATTR Value 5
SYMATTR Type ind
SYMBOL cap 192 -240 R90
SYMATTR InstName C4
SYMATTR Value 4.7p
SYMATTR SpiceLine Rser=2K
SYMBOL cap -96 -368 R90
SYMATTR InstName C5
SYMATTR Value 10
SYMBOL res -448 -336 R0
SYMATTR InstName R7
SYMATTR Value 1Meg
SYMBOL res -448 -224 R0
SYMATTR InstName R8
SYMATTR Value 6.34K
SYMBOL diode 80 -368 R90
SYMATTR InstName D1
SYMATTR Value 1N4148
SYMBOL res -80 -464 R0
SYMATTR InstName R9
SYMATTR Value 200K
SYMBOL diode 336 -48 M180
SYMATTR InstName D2
SYMATTR Value GSD2004W-V
SYMBOL zener 336 -192 R0
SYMATTR InstName D3
SYMATTR Value DFLZ33
SYMATTR Value2 N=4
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL schottky 656 -240 R270
SYMATTR InstName D4
SYMATTR Value MBRS360
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL cap 752 -240 R0
SYMATTR InstName C6
SYMATTR Value 112
SYMBOL LED 848 -240 R0
SYMATTR Value2 N=6 M=2
SYMATTR InstName D5
SYMATTR Value L1HZ-5780100000000
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL current -288 -400 M90
SYMATTR InstName I1
SYMATTR Value pwl(0 0
SYMATTR Value2 10u 28
SYMATTR SpiceLine 20u 0)
SYMBOL res 240 -128 R0
SYMATTR InstName R10
SYMATTR Value 4.99K
SYMBOL res 240 -240 R0
SYMATTR InstName R11
SYMATTR Value 100K
SYMBOL diode -832 -400 R270
SYMATTR Value 1N4007
SYMATTR InstName D6
SYMBOL diode -736 -176 R270
SYMATTR InstName D7
SYMATTR Value 1N4007
SYMBOL diode -768 -176 M270
SYMATTR InstName D8
SYMATTR Value 1N4007
SYMBOL diode -672 -400 M270
SYMATTR InstName D9
SYMATTR Value 1N4007
SYMBOL voltage -816 -304 R270
SYMATTR InstName V1
SYMATTR Value SINE(0 167 600)
SYMBOL cap -608 -448 R0
SYMATTR Value .01
SYMATTR InstName C7
SYMBOL cap -528 -448 R0
SYMATTR InstName C8
SYMATTR Value .022
SYMBOL res -528 -384 R0
SYMATTR InstName R12
SYMATTR Value 200