* SPICE netlist
MQ1 IN N003 N005 N005 RJK0305DPB
L1 N005 SNS+ 4.7 Rser=1.5m
C1 OUT 0 150 Rser=5m
R1 OUT FB 100K
R2 FB 0 31.6K
C2 N004 N005 .1
C3 N001 0 4.7
C4 N011 0 2200p
C5 SS 0 .01
V1 IN 0 12
D1 N001 N004 CMDSH2-3
MQ2 N005 N008 0 0 RJK0301DPB
Rload OUT 0 2
XU1 OUT N007 SNS+ NC_01 NC_02 0 N002 IN N001 NC_03 0 N004 N003 N005 N008 NC_04 SS ITH FB LTC3891 ;pnba SENSE-)FREQ)SENSE+)PGOOD)PLLIN/MODE)SGND)RUN)VIN)INTVcc)EXTVcc)PGND)BOOST)TG)SW)BG)ILIM)TRACK/SS)ITH)VFB
R4 SNS+ OUT 8m
R3 N007 0 41.2K
V2 N002 0 3.3
S1 ITH N006 SW 0 MySwitch
V3 N006 0 0.5
V4 SW 0 PULSE(0 1.1 1.5m 1n 1n 500u)
R5 ITH N011 10k
V5 N009 0 PWL(0 0 +2.5m 0 +1u 5)
M1 N010 N009 0 0 BSB012N03MX3
R6 OUT N010 1
.tran 3m startup

* LTspice schematic (.asc)
Version 4
SHEET 1 2080 800
WIRE -272 -400 -576 -400
WIRE -48 -400 -272 -400
WIRE -576 -384 -576 -400
WIRE 144 -384 -368 -384
WIRE 352 -384 144 -384
WIRE 144 -368 144 -384
WIRE 352 -368 352 -384
WIRE -368 -352 -368 -384
WIRE -272 -352 -272 -400
WIRE -576 -304 -576 -320
WIRE -464 -288 -544 -288
WIRE 96 -288 -80 -288
WIRE -544 -272 -544 -288
WIRE -48 -272 -48 -400
WIRE 352 -272 352 -288
WIRE -48 -192 -48 -208
WIRE -48 -192 -80 -192
WIRE 80 -192 -48 -192
WIRE 144 -192 144 -272
WIRE 448 -192 320 -192
WIRE -544 -176 -544 -192
WIRE 448 -144 432 -144
WIRE 144 -96 144 -192
WIRE 144 -96 -80 -96
WIRE 208 -96 144 -96
WIRE 320 -96 320 -192
WIRE 320 -96 288 -96
WIRE 336 -96 320 -96
WIRE 432 -96 432 -144
WIRE 432 -96 416 -96
WIRE 480 -96 432 -96
WIRE 544 -96 480 -96
WIRE 688 -96 544 -96
WIRE 880 -96 688 -96
WIRE -928 -80 -1040 -80
WIRE -800 -80 -848 -80
WIRE 144 -80 144 -96
WIRE 688 -80 688 -96
WIRE 544 -64 544 -96
WIRE -912 -32 -944 -32
WIRE -1040 -16 -1040 -80
WIRE -912 -16 -912 -32
WIRE 880 -16 880 -96
WIRE -864 0 -864 -32
WIRE -560 0 -592 0
WIRE -464 0 -480 0
WIRE 96 0 -80 0
WIRE 544 16 544 0
WIRE 688 16 688 0
WIRE 144 32 144 16
WIRE 1040 80 976 80
WIRE 320 96 320 -96
WIRE 320 96 -80 96
WIRE 880 96 880 64
WIRE 1040 96 1040 80
WIRE 480 144 480 -96
WIRE -1040 176 -1040 64
WIRE -912 176 -912 64
WIRE -912 176 -1040 176
WIRE 976 176 976 80
WIRE 976 176 928 176
WIRE -912 192 -912 176
WIRE -656 192 -800 192
WIRE -512 192 -592 192
WIRE -464 192 -512 192
WIRE 432 192 432 -96
WIRE 432 192 -80 192
WIRE 880 224 880 192
WIRE 1040 224 1040 176
WIRE -736 288 -800 288
WIRE -640 288 -672 288
WIRE -496 288 -560 288
WIRE -464 288 -496 288
WIRE 64 288 -80 288
WIRE 480 288 480 224
WIRE 480 288 64 288
WIRE 480 304 480 288
WIRE -352 368 -352 352
WIRE -192 368 -192 352
WIRE 480 400 480 384
FLAG 144 32 0
FLAG 544 16 0
FLAG 688 16 0
FLAG 480 400 0
FLAG -576 -304 0
FLAG -800 288 0
FLAG -800 192 0
FLAG 352 -272 0
FLAG 352 -384 IN
FLAG -352 368 0
FLAG -192 368 0
FLAG -592 0 0
FLAG -544 -176 0
FLAG -912 192 0
FLAG -864 0 0
FLAG -800 -80 ITH
FLAG -496 288 ITH
FLAG -512 192 SS
FLAG 64 288 FB
FLAG 448 -192 SNS+
FLAG 448 -144 OUT
FLAG -944 -32 SW
FLAG 880 224 0
FLAG 1040 224 0
SYMBOL nmos 96 -368 R0
SYMATTR InstName Q1
SYMATTR Value RJK0305DPB
SYMBOL ind 192 -80 R270
SYMATTR InstName L1
SYMATTR Value 4.7ľ
SYMATTR SpiceLine Rser=1.5m
SYMBOL cap 528 -64 R0
SYMATTR SpiceLine Rser=5m
SYMATTR Value 150ľ
SYMATTR InstName C1
SYMBOL res 464 128 R0
SYMATTR InstName R1
SYMATTR Value 100K
SYMBOL res 464 288 R0
SYMATTR InstName R2
SYMATTR Value 31.6K
SYMBOL cap 80 -176 R270
SYMATTR InstName C2
SYMATTR Value .1ľ
SYMBOL cap -592 -384 R0
SYMATTR InstName C3
SYMATTR Value 4.7ľ
SYMBOL cap -672 272 R90
SYMATTR InstName C4
SYMATTR Value 2200p
SYMBOL cap -592 176 R90
SYMATTR InstName C5
SYMATTR Value .01ľ
SYMBOL voltage 352 -384 R0
SYMATTR Value 12
SYMATTR InstName V1
SYMBOL schottky -64 -272 R0
SYMATTR Value CMDSH2-3
SYMATTR InstName D1
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL nmos 96 -80 R0
SYMATTR InstName Q2
SYMATTR Value RJK0301DPB
SYMBOL res 672 -96 R0
SYMATTR InstName Rload
SYMATTR Value 2
SYMBOL PowerProducts\\LTC3891 -272 0 R0
SYMATTR InstName U1
SYMBOL res 320 -80 R270
SYMATTR InstName R4
SYMATTR Value 8m
SYMBOL res -464 -16 R90
SYMATTR InstName R3
SYMATTR Value 41.2K
SYMBOL voltage -544 -288 R0
SYMATTR Value 3.3
SYMATTR InstName V2
SYMBOL sw -832 -80 M270
SYMATTR Value MySwitch
SYMATTR InstName S1
SYMBOL voltage -1040 -32 R0
SYMATTR Value 0.5
SYMATTR InstName V3
SYMBOL voltage -912 -32 R0
SYMATTR Value PULSE(0 1.1 1.5m 1n 1n 500u)
SYMATTR InstName V4
SYMBOL res -544 272 R90
SYMATTR InstName R5
SYMATTR Value 10k
SYMBOL voltage 1040 80 R0
SYMATTR Value PWL(0 0 +2.5m 0 +1u 5)
SYMATTR InstName V5
SYMBOL nmos 928 96 M0
SYMATTR InstName M1
SYMATTR Value BSB012N03MX3
SYMBOL res 864 -32 R0
SYMATTR InstName R6
SYMATTR Value 1