* SPICE netlist
XU1 OUT N011 N012 0 N010 0 N004 N015 N007 N007 N017 N016 MP_01 N007 NC_02 NC_03 MP_04 N008 N006 N013 MP_05 MP_06 IN N005 IN N001 N003 N009 LT3796 ;pnba Isp)Isn)TG)GND)Ismon)FB2)FB1)Vc)CTRL)Vref)SS)RT))PWM)_Fault)_Vmode))Sense)Gate)INTVcc)))Vin)EN/UVLO)Vs)Csn)Csp)Csout
V1 IN 0 36
R1 IN N001 50m
R2 IN N005 499K
R3 N005 0 97.6K
C1 N009 0 10n Rpar=40.2K
C2 N010 0 .1
C3 N015 N018 10n
R4 N016 0 31.6K
C4 N017 0 .05
C5 N013 0 4.7
MQ1 N002 N006 N008 N008 BSH114
R5 N008 0 15m
R6 OUT N011 620m
MQ2 N014 N012 N011 N011 IRF9640
D1 N014 0 LXHL-BW02 N=25
R7 OUT N004 1Meg
R8 N004 0 13.7K
C6 OUT 0 2.2 x4 Rser=10m
L1 N001 N002 22 Rser=20m
D2 N002 OUT PDS5100
R9 N018 0 10K
R10 IN N003 2K
.tran 2m startup

* LTspice schematic (.asc)
Version 4
SHEET 1 1136 1120
WIRE -456 -560 -568 -560
WIRE -280 -560 -456 -560
WIRE -184 -560 -280 -560
WIRE -88 -560 -184 -560
WIRE -72 -560 -88 -560
WIRE 72 -560 8 -560
WIRE 200 -560 152 -560
WIRE 280 -560 200 -560
WIRE 408 -560 344 -560
WIRE 520 -560 408 -560
WIRE 568 -560 520 -560
WIRE -568 -544 -568 -560
WIRE 568 -544 568 -560
WIRE -88 -528 -88 -560
WIRE 408 -512 408 -560
WIRE -456 -464 -456 -560
WIRE 568 -464 568 -480
WIRE -568 -448 -568 -464
WIRE 200 -448 200 -560
WIRE -280 -432 -280 -560
WIRE -184 -432 -184 -560
WIRE -88 -432 -88 -448
WIRE 8 -432 8 -560
WIRE 408 -416 408 -432
WIRE 408 -416 360 -416
WIRE 408 -400 408 -416
WIRE -456 -368 -456 -384
WIRE -344 -368 -456 -368
WIRE 152 -368 72 -368
WIRE -456 -352 -456 -368
WIRE 408 -304 408 -320
WIRE -344 -272 -360 -272
WIRE 200 -272 200 -352
WIRE 200 -272 72 -272
WIRE -456 -256 -456 -272
WIRE 200 -256 200 -272
WIRE -360 -176 -360 -272
WIRE -344 -176 -360 -176
WIRE 88 -176 72 -176
WIRE 200 -160 200 -176
WIRE -360 -80 -360 -176
WIRE -344 -80 -360 -80
WIRE 360 -80 360 -416
WIRE 360 -80 72 -80
WIRE -536 16 -552 16
WIRE -344 16 -472 16
WIRE 520 16 520 -560
WIRE 520 16 72 16
WIRE -424 112 -440 112
WIRE -344 112 -360 112
WIRE 520 112 520 96
WIRE 520 112 72 112
WIRE 520 192 520 112
WIRE 472 208 72 208
WIRE 88 304 72 304
WIRE 168 304 152 304
WIRE 520 320 520 288
WIRE -280 384 -280 368
WIRE -184 384 -184 368
WIRE -88 384 -88 368
WIRE 24 384 24 368
WIRE 520 400 520 384
WIRE -280 464 -280 448
WIRE -184 480 -184 464
WIRE 24 480 24 448
WIRE -280 560 -280 544
FLAG -568 -448 0
FLAG -456 -256 0
FLAG -552 16 0
FLAG -440 112 0
FLAG -280 560 0
FLAG -184 480 0
FLAG -88 384 0
FLAG 24 480 0
FLAG 168 304 0
FLAG 88 -176 0
FLAG 200 -160 0
FLAG 520 400 0
FLAG 408 -304 0
FLAG 568 -464 0
FLAG 568 -560 OUT
FLAG -568 -560 IN
SYMBOL PowerProducts\\LT3796 -136 -32 R0
SYMATTR InstName U1
SYMBOL voltage -568 -560 R0
SYMATTR InstName V1
SYMATTR Value 36
SYMBOL res -88 -544 R270
SYMATTR InstName R1
SYMATTR Value 50m
SYMBOL res -472 -480 R0
SYMATTR InstName R2
SYMATTR Value 499K
SYMBOL res -472 -368 R0
SYMATTR InstName R3
SYMATTR Value 97.6K
SYMBOL cap -472 0 R90
SYMATTR SpiceLine Rpar=40.2K
SYMATTR InstName C1
SYMATTR Value 10n
SYMBOL cap -360 96 R90
SYMATTR InstName C2
SYMATTR Value .1
SYMBOL cap -296 384 R0
SYMATTR InstName C3
SYMATTR Value 10n
SYMBOL res -200 368 R0
SYMATTR InstName R4
SYMATTR Value 31.6K
SYMBOL cap 8 384 R0
SYMATTR InstName C4
SYMATTR Value .05
SYMBOL cap 88 320 R270
SYMATTR InstName C5
SYMATTR Value 4.7
SYMBOL nmos 152 -448 R0
SYMATTR InstName Q1
SYMATTR Value BSH114
SYMBOL res 184 -272 R0
SYMATTR InstName R5
SYMATTR Value 15m
SYMBOL res 504 0 R0
SYMATTR InstName R6
SYMATTR Value 620m
SYMBOL pmos 472 288 M180
SYMATTR InstName Q2
SYMATTR Value IRF9640
SYMBOL LED 504 320 R0
SYMATTR Value2 N=25
SYMATTR InstName D1
SYMATTR Value LXHL-BW02
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL res 392 -528 R0
SYMATTR InstName R7
SYMATTR Value 1Meg
SYMBOL res 392 -416 R0
SYMATTR InstName R8
SYMATTR Value 13.7K
SYMBOL cap 552 -544 R0
SYMATTR Value2 x4
SYMATTR Value 2.2
SYMATTR InstName C6
SYMATTR SpiceLine Rser=10m
SYMBOL ind 56 -544 R270
SYMATTR InstName L1
SYMATTR Value 22
SYMATTR SpiceLine Rser=20m
SYMBOL schottky 280 -544 R270
SYMATTR InstName D2
SYMATTR Value PDS5100
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL res -296 448 R0
SYMATTR InstName R9
SYMATTR Value 10K
SYMBOL res -104 -544 R0
SYMATTR InstName R10
SYMATTR Value 2K