* SPICE netlist
C1 N004 0 1
L1 IN N001 22 Rser=10m Rpar=2K
R1 N002 N006 1Meg
R2 N006 0 37.4K
D1 N001 N002 MBRS360
R3 N002 N008 .38
C2 N002 0 4.7 x3 Rser=10m
V1 IN 0 PWL(0 0 .2m 16)
R4 IN N003 499K
R5 N003 0 147K
C3 N014 0 4700p Rser=5.1K
C4 N013 0 .01
R6 N009 0 28.7K
D2 N008 N011 LXK2-PW14 N=8
C5 N015 0 47n
MQ1 N011 N010 0 0 IRF1310
V2 N012 0 4
R7 N012 N013 124K
R8 IN N007 1Meg
R9 N007 0 165K
XU1 N005 N015 NC_01 N013 N009 N003 N004 IN N001 N010 N010 N006 N008 N002 N014 N007 0 0 0 LT3954 ;pnba Vref)PWM)_Vmode)DIM/SS)Rt)EN/UVLO)INTVcc)Vin)SW)SYNC)PWMout)FB)ISN)ISP)Vc)CTRL)GND)PGND)GNDK
.tran 25m startup

* LTspice schematic (.asc)
Version 4
SHEET 1 1280 672
WIRE -384 -336 -640 -336
WIRE -256 -336 -384 -336
WIRE 16 -336 -256 -336
WIRE 96 -336 16 -336
WIRE 320 -336 176 -336
WIRE 352 -336 320 -336
WIRE 448 -336 416 -336
WIRE 512 -336 448 -336
WIRE 640 -336 512 -336
WIRE -640 -320 -640 -336
WIRE -256 -320 -256 -336
WIRE 512 -320 512 -336
WIRE 16 -288 16 -336
WIRE 512 -240 512 -256
WIRE -640 -224 -640 -240
WIRE -256 -224 -256 -240
WIRE -160 -224 -256 -224
WIRE 208 -224 192 -224
WIRE 288 -224 272 -224
WIRE -256 -208 -256 -224
WIRE 448 -192 448 -336
WIRE 320 -160 320 -336
WIRE 320 -160 192 -160
WIRE -384 -144 -384 -336
WIRE -256 -112 -256 -128
WIRE -160 -96 -176 -96
WIRE 448 -96 448 -112
WIRE 448 -96 192 -96
WIRE 640 -96 640 -336
WIRE 640 -96 544 -96
WIRE 448 -80 448 -96
WIRE 640 -80 640 -96
WIRE -384 -32 -384 -64
WIRE -160 -32 -384 -32
WIRE 320 -32 192 -32
WIRE -384 -16 -384 -32
WIRE 448 16 448 0
WIRE 640 16 640 0
WIRE 640 16 576 16
WIRE -256 32 -272 32
WIRE -160 32 -176 32
WIRE 288 32 192 32
WIRE 640 32 640 16
WIRE 320 48 320 -32
WIRE 544 48 544 -96
WIRE 544 48 320 48
WIRE 288 64 288 32
WIRE 576 64 576 16
WIRE 576 64 288 64
WIRE -384 80 -384 64
WIRE -160 96 -288 96
WIRE 208 96 192 96
WIRE 640 144 640 96
WIRE -496 160 -576 160
WIRE -384 160 -416 160
WIRE -160 160 -384 160
WIRE 240 160 192 160
WIRE 320 160 304 160
WIRE -576 176 -576 160
WIRE -384 176 -384 160
WIRE -240 224 -256 224
WIRE -160 224 -176 224
WIRE 224 224 192 224
WIRE 592 224 224 224
WIRE -384 256 -384 240
WIRE 640 256 640 240
WIRE -576 272 -576 256
WIRE -32 304 -32 288
WIRE 64 304 64 288
WIRE -288 336 -288 96
WIRE 224 336 224 224
WIRE 224 336 -288 336
FLAG 288 -224 0
FLAG 448 16 0
FLAG 512 -240 0
FLAG -640 -224 0
FLAG -256 -112 0
FLAG 320 160 0
FLAG -272 32 0
FLAG -32 304 0
FLAG -640 -336 IN
FLAG 640 256 0
FLAG -384 256 0
FLAG -256 224 0
FLAG -576 272 0
FLAG 64 304 0
FLAG -384 80 0
FLAG 208 96 0
SYMBOL cap 208 -208 R270
SYMATTR InstName C1
SYMATTR Value 1
SYMBOL ind 80 -320 R270
SYMATTR InstName L1
SYMATTR Value 22
SYMATTR SpiceLine Rser=10m Rpar=2K
SYMBOL res 432 -208 R0
SYMATTR InstName R1
SYMATTR Value 1Meg
SYMBOL res 432 -96 R0
SYMATTR InstName R2
SYMATTR Value 37.4K
SYMBOL schottky 352 -320 R270
SYMATTR InstName D1
SYMATTR Value MBRS360
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL res 624 -96 R0
SYMATTR InstName R3
SYMATTR Value .38
SYMBOL cap 496 -320 R0
SYMATTR Value2 x3
SYMATTR Value 4.7
SYMATTR InstName C2
SYMATTR SpiceLine Rser=10m
SYMBOL voltage -640 -336 R0
SYMATTR Value PWL(0 0 .2m 16)
SYMATTR InstName V1
SYMBOL res -272 -336 R0
SYMATTR InstName R4
SYMATTR Value 499K
SYMBOL res -272 -224 R0
SYMATTR InstName R5
SYMATTR Value 147K
SYMBOL cap 240 144 M90
SYMATTR InstName C3
SYMATTR Value 4700p
SYMATTR SpiceLine Rser=5.1K
SYMBOL cap -400 176 R0
SYMATTR InstName C4
SYMATTR Value .01
SYMBOL res -160 16 R90
SYMATTR InstName R6
SYMATTR Value 28.7K
SYMBOL LED 624 32 R0
SYMATTR Value LXK2-PW14
SYMATTR Value2 N=8
SYMATTR InstName D2
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL cap -176 208 R90
SYMATTR InstName C5
SYMATTR Value 47n
SYMBOL nmos 592 144 R0
SYMATTR InstName Q1
SYMATTR Value IRF1310
SYMBOL voltage -576 160 R0
SYMATTR InstName V2
SYMATTR Value 4
SYMBOL res -512 176 R270
SYMATTR InstName R7
SYMATTR Value 124K
SYMBOL res -400 -160 R0
SYMATTR Value 1Meg
SYMATTR InstName R8
SYMBOL res -400 -32 R0
SYMATTR InstName R9
SYMATTR Value 165K
SYMBOL PowerProducts\\LT3954 16 0 R0
SYMATTR InstName U1