* SPICE netlist
XU1 N018 N020 N018 NC_01 NC_02 N018 NC_03 NC_04 N005 IN N003 N001 N004 N009 N008 N011 0 N013 N014 MP_05 N012 N006 MP_06 N010 OUT N002 N015 0 MP_07 0 N022 MP_08 NC_09 0 N017 N021 N016 N007 LT3791 ;pnba CTRL)SS)PWM)_OPENLED)_SHORTLED)Vref)ISmon)IVinmon)EN/UVLO)IVinP)IVinN)Vin)INTVcc)TG1)BST1)SW1)PGND)BG1)BG2))SW2)BST2))TG2)ISP)ISN)SNSP)SNSN))SGND)PWMOUT))CLKOUT)SYNC)RT)Vc)FB)OVLO
C1 N020 0 20n
C2 N021 0 22n Rser=1K
V1 IN 0 16
R1 IN N001 3m
R2 IN N005 332K
R3 N005 0 121K
C3 IN N003 470n
C4 0 N004 4.7
R5 IN N007 1Meg
R6 N007 0 54.9K
R7 N017 0 86.6K
C5 N018 0 .1
MQ1 N001 N009 N011 N011 RJK0651DPB
MQ2 N011 N013 N015 N015 RJK0651DPB
L1 N011 N012 10 Rser=20m Rpar=5K
C6 N008 N011 .1
D1 N004 N008 MBRS1100
C7 N006 N012 .1
D2 N004 N006 MBRS1100
MQ3 OUT N010 N012 N012 Si4840DY
MQ4 N012 N014 N015 N015 Si4840DY
R8 N015 0 4m
R9 OUT N016 1Meg
R10 N016 0 44.2K
R11 OUT N002 50m
C8 OUT 0 4.7 x5
MQ5 N019 N022 0 0 Si4840DY
R4 N003 N001 50
D6 N002 N019 LXK2-PW14 M=2 N=5
.tran 4m startup

* LTspice schematic (.asc)
Version 4
SHEET 1 1984 1344
WIRE 304 -672 -352 -672
WIRE 992 -656 -256 -656
WIRE -944 -640 -992 -640
WIRE -864 -640 -944 -640
WIRE -752 -640 -864 -640
WIRE -544 -640 -752 -640
WIRE -496 -640 -544 -640
WIRE -352 -640 -352 -672
WIRE -352 -640 -416 -640
WIRE 880 -640 -160 -640
WIRE -992 -624 -992 -640
WIRE -544 -560 -544 -640
WIRE -528 -560 -544 -560
WIRE -448 -560 -464 -560
WIRE -432 -560 -448 -560
WIRE -352 -560 -352 -640
WIRE -752 -544 -752 -640
WIRE -992 -528 -992 -544
WIRE -64 -528 -64 -544
WIRE 32 -528 -64 -528
WIRE 160 -528 32 -528
WIRE -544 -512 -544 -560
WIRE -448 -512 -448 -560
WIRE -352 -512 -352 -560
WIRE -256 -512 -256 -656
WIRE -160 -512 -160 -640
WIRE -64 -512 -64 -528
WIRE -752 -448 -752 -464
WIRE -608 -448 -752 -448
WIRE 32 -448 32 -464
WIRE 32 -448 0 -448
WIRE 512 -448 32 -448
WIRE -752 -432 -752 -448
WIRE -864 -400 -864 -640
WIRE -608 -352 -656 -352
WIRE 160 -352 160 -464
WIRE 160 -352 0 -352
WIRE 784 -352 576 -352
WIRE 832 -352 784 -352
WIRE 880 -352 880 -640
WIRE 880 -352 832 -352
WIRE 896 -352 880 -352
WIRE 992 -352 992 -656
WIRE 992 -352 976 -352
WIRE -752 -336 -752 -352
WIRE 160 -336 160 -352
WIRE 304 -336 304 -672
WIRE 576 -336 576 -352
WIRE 832 -336 832 -352
WIRE -864 -304 -864 -320
WIRE -656 -304 -656 -352
WIRE -656 -304 -864 -304
WIRE -864 -288 -864 -304
WIRE 512 -288 512 -448
WIRE 256 -256 0 -256
WIRE 720 -256 624 -256
WIRE 832 -256 832 -272
WIRE -864 -192 -864 -208
WIRE 160 -160 160 -272
WIRE 160 -160 0 -160
WIRE 304 -160 304 -240
WIRE 304 -160 160 -160
WIRE 384 -160 304 -160
WIRE 512 -160 512 -224
WIRE 512 -160 464 -160
WIRE 576 -160 576 -240
WIRE 576 -160 512 -160
WIRE 688 -160 576 -160
WIRE 304 -144 304 -160
WIRE 576 -144 576 -160
WIRE 256 -64 0 -64
WIRE 656 -64 624 -64
WIRE 784 -32 784 -352
WIRE 304 32 304 -48
WIRE 304 32 0 32
WIRE 432 32 304 32
WIRE 576 32 576 -48
WIRE 576 32 432 32
WIRE 432 48 432 32
WIRE 784 64 784 48
WIRE 784 64 752 64
WIRE 992 64 992 -352
WIRE 784 80 784 64
WIRE 16 128 0 128
WIRE 432 144 432 128
WIRE 784 176 784 160
WIRE -704 224 -720 224
WIRE -608 224 -624 224
WIRE 16 224 0 224
WIRE -704 320 -720 320
WIRE -624 320 -640 320
WIRE -608 320 -624 320
WIRE 656 320 656 -64
WIRE 656 320 0 320
WIRE -624 416 -624 320
WIRE -608 416 -624 416
WIRE 688 416 688 -160
WIRE 688 416 0 416
WIRE -624 512 -624 416
WIRE -608 512 -624 512
WIRE 720 512 720 -256
WIRE 720 512 0 512
WIRE 992 528 992 128
WIRE -544 592 -544 576
WIRE -448 592 -448 576
WIRE -352 592 -352 576
WIRE -256 592 -256 576
WIRE -64 592 -64 576
WIRE 752 592 752 64
WIRE 752 592 -64 592
WIRE -160 608 -160 576
WIRE 944 608 -160 608
WIRE 992 640 992 624
WIRE -448 672 -448 656
WIRE -256 672 -256 656
FLAG -544 592 0
FLAG -448 672 0
FLAG -352 592 0
FLAG -256 672 0
FLAG -992 -528 0
FLAG -752 -336 0
FLAG -64 -608 0
FLAG -864 -192 0
FLAG -720 224 0
FLAG -720 320 0
FLAG 16 224 0
FLAG 432 144 0
FLAG 16 128 0
FLAG 784 176 0
FLAG 992 640 0
FLAG 832 -352 OUT
FLAG 832 -256 0
FLAG -944 -640 IN
SYMBOL PowerProducts\\LT3791 -304 32 R0
SYMATTR InstName U1
SYMBOL cap -464 592 R0
SYMATTR InstName C1
SYMATTR Value 20n
SYMBOL cap -272 592 R0
SYMATTR Value 22n
SYMATTR SpiceLine Rser=1K
SYMATTR InstName C2
SYMBOL voltage -992 -640 R0
SYMATTR InstName V1
SYMATTR Value 16
SYMBOL res -512 -624 R270
SYMATTR InstName R1
SYMATTR Value 3m
SYMBOL res -768 -560 R0
SYMATTR InstName R2
SYMATTR Value 332K
SYMBOL res -768 -448 R0
SYMATTR InstName R3
SYMATTR Value 121K
SYMBOL cap -528 -544 R270
SYMATTR InstName C3
SYMATTR Value 470n
SYMBOL cap -80 -608 R0
SYMATTR InstName C4
SYMATTR Value 4.7
SYMBOL res -880 -416 R0
SYMATTR InstName R5
SYMATTR Value 1Meg
SYMBOL res -880 -304 R0
SYMATTR InstName R6
SYMATTR Value 54.9K
SYMBOL res -608 208 R90
SYMATTR InstName R7
SYMATTR Value 86.6K
SYMBOL cap -640 304 R90
SYMATTR InstName C5
SYMATTR Value .1
SYMBOL nmos 256 -336 R0
SYMATTR InstName Q1
SYMATTR Value RJK0651DPB
SYMBOL nmos 256 -144 R0
SYMATTR InstName Q2
SYMATTR Value RJK0651DPB
SYMBOL ind 368 -144 R270
SYMATTR InstName L1
SYMATTR Value 10
SYMATTR SpiceLine Rser=20m Rpar=5K
SYMBOL cap 144 -336 R0
SYMATTR InstName C6
SYMATTR Value .1
SYMBOL schottky 144 -528 R0
SYMATTR InstName D1
SYMATTR Value MBRS1100
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL cap 496 -288 R0
SYMATTR InstName C7
SYMATTR Value .1
SYMBOL schottky 16 -528 R0
SYMATTR InstName D2
SYMATTR Value MBRS1100
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL nmos 624 -336 M0
SYMATTR InstName Q3
SYMATTR Value Si4840DY
SYMBOL nmos 624 -144 M0
SYMATTR InstName Q4
SYMATTR Value Si4840DY
SYMBOL res 416 32 R0
SYMATTR InstName R8
SYMATTR Value 4m
SYMBOL res 768 -48 R0
SYMATTR InstName R9
SYMATTR Value 1Meg
SYMBOL res 768 64 R0
SYMATTR InstName R10
SYMATTR Value 44.2K
SYMBOL res 880 -336 R270
SYMATTR InstName R11
SYMATTR Value 50m
SYMBOL cap 816 -336 R0
SYMATTR Value2 x5
SYMATTR Value 4.7
SYMATTR InstName C8
SYMBOL nmos 944 528 R0
SYMATTR InstName Q5
SYMATTR Value Si4840DY
SYMBOL res -448 -544 R270
SYMATTR InstName R4
SYMATTR Value 50
SYMBOL LED 976 64 R0
SYMATTR Value2 M=2 N=5
SYMATTR Value LXK2-PW14
SYMATTR InstName D6
SYMATTR Description Diode
SYMATTR Type diode