* SPICE netlist
MQ1 N003 N009 N011 N011 BSC123N08NS3
MQ2 N011 N014 0 0 BSC123N08NS3
D1 N004 N006 MBRS140
C1 N006 N011 .1
C2 N016 N017 47n
D2 0 N011 MBRS1100
L1 N011 N012 10 Rpar=2K
R1 N012 N005 3m
R2 N013 0 49.9K
C3 N008 0 .002
C4 N005 0 100
D3 N005 N004 1N4148
R3 N010 N005 150K
R4 0 N010 16.2K
C5 N004 0 1
XU1 N003 N007 N008 NC_01 NC_02 N015 NC_03 N013 N005 N012 NC_04 N014 N004 N011 N009 NC_05 NC_06 LT3845A ;pnba Vin)_SHDN)Css)Burst_EN)FB)Vc)SYNC)Fset)Sense-)Sense+)PGND)BG)Vcc)SW)TG)Boost)SGND
R5 N016 N015 14.7K
R6 N036 N007 1Meg
R7 N002 N023 1.1Meg
R8 N023 0 100K
C6 N002 0 1
C7 N029 0 10n
C8 N032 0 10n
R9 N036 N028 100K
R10 N036 N026 100K
MQ3 N005 N018 OUT OUT Si4427DY
MQ4 N021 N020 N019 N019 Si4427DY
R11 OUT N022 1.15Meg
R12 N022 N024 127K
R13 N024 N027 133K
R14 N021 N027 1.13Meg
V1 N031 0 7.35
C9 N036 0 1
R15 N030 N036 10K
R16 N030 0 10K
R17 0 N035 22.1K
R18 0 N034 24.9K
C10 N033 0 .0047
R19 OUT N019 5m
C11 N015 0 2200p Rser=20K Cpar=100p
C12 N021 N031 10m Rser=1m
D4 0 N023 zener_2V
V2 IN 0 pwl(0 36 6m 36 6.001m 40)
R20 N002 N003 5m
L2 N001 N002 10n
C13 N003 0 100
XU2 N023 N007 N029 N037 N025 N032 N035 N034 N033 0 N026 N028 N036 N030 N024 N027 N021 N020 N019 OUT N022 N018 N005 N015 N017 N003 N002 LTC4000-1 period=19 ;pnba VM)_RST)IIMON)IFB)ENC)IBMON)CX)CL)TMR)GND)_FLT)_CHRG)BIAS)NTC)FBG)BFB)BAT)BGATE)CSN)CSP)OFB)IGATE)IID)ITH)CC)CLN)IN
R21 N002 N037 31.6K
R22 N037 0 10K
R23 IN N001 2
Rload OUT 0 10
.tran 0 25m 0.1m uic

* LTspice schematic (.asc)
Version 4
SHEET 1 2720 1808
WIRE -1216 -904 -1360 -904
WIRE -1088 -904 -1136 -904
WIRE -960 -904 -1008 -904
WIRE -928 -904 -960 -904
WIRE -816 -904 -848 -904
WIRE -736 -904 -816 -904
WIRE -416 -904 -736 -904
WIRE -16 -904 -416 -904
WIRE -1360 -888 -1360 -904
WIRE -736 -888 -736 -904
WIRE -912 -856 -960 -904
WIRE -864 -856 -816 -904
WIRE -112 -856 -288 -856
WIRE 272 -856 -48 -856
WIRE -736 -808 -736 -824
WIRE -368 -808 -384 -808
WIRE -288 -808 -288 -856
WIRE -288 -808 -304 -808
WIRE -240 -808 -288 -808
WIRE -128 -808 -176 -808
WIRE -1360 -792 -1360 -808
WIRE -416 -760 -416 -904
WIRE -288 -760 -288 -808
WIRE -544 -712 -816 -712
WIRE -128 -712 -128 -808
WIRE -128 -712 -160 -712
WIRE -16 -712 -16 -904
WIRE -672 -632 -704 -632
WIRE -544 -632 -608 -632
WIRE -64 -632 -160 -632
WIRE -544 -552 -576 -552
WIRE -128 -552 -128 -648
WIRE -128 -552 -160 -552
WIRE -16 -552 -16 -616
WIRE -16 -552 -128 -552
WIRE 32 -552 -16 -552
WIRE 64 -552 32 -552
WIRE 160 -552 144 -552
WIRE 176 -552 160 -552
WIRE 272 -552 272 -856
WIRE 272 -552 256 -552
WIRE 320 -552 272 -552
WIRE 736 -552 320 -552
WIRE 1056 -552 832 -552
WIRE 1280 -552 1056 -552
WIRE 1360 -552 1280 -552
WIRE 320 -536 320 -552
WIRE 1360 -536 1360 -552
WIRE 32 -520 32 -552
WIRE -688 -472 -704 -472
WIRE -544 -472 -608 -472
WIRE -64 -472 -160 -472
WIRE -16 -440 -16 -456
WIRE 32 -440 32 -456
WIRE 320 -440 320 -472
WIRE 1360 -440 1360 -456
WIRE -544 -392 -752 -392
WIRE 160 -392 160 -552
WIRE 160 -392 -160 -392
WIRE 1056 -376 1056 -552
WIRE -576 -312 -576 -552
WIRE -544 -312 -576 -312
WIRE 272 -312 272 -552
WIRE 272 -312 -160 -312
WIRE -416 -248 -416 -264
WIRE -288 -248 -288 -264
WIRE -688 -216 -704 -216
WIRE -576 -216 -576 -312
WIRE -576 -216 -608 -216
WIRE -112 -216 -576 -216
WIRE 272 -216 272 -312
WIRE 272 -216 -32 -216
WIRE -752 -152 -752 -392
WIRE 416 -152 -752 -152
WIRE 432 -152 416 -152
WIRE 528 -152 512 -152
WIRE 1280 -120 1280 -552
WIRE -752 -72 -752 -88
WIRE 1232 -72 1280 -120
WIRE 1232 -72 896 -72
WIRE 1280 -72 1280 -120
WIRE 416 -56 416 -152
WIRE 592 -56 592 -152
WIRE 736 -56 736 -552
WIRE 816 -56 816 -504
WIRE 896 -56 896 -72
WIRE 1232 -8 992 -8
WIRE -816 8 -816 -712
WIRE -176 8 -816 8
WIRE 368 8 -176 8
WIRE 1280 40 1232 -8
WIRE 1280 40 1280 8
WIRE -864 56 -864 -856
WIRE 368 56 -864 56
WIRE 1232 56 992 56
WIRE -912 88 -912 -856
WIRE -432 88 -912 88
WIRE 144 88 -432 88
WIRE 272 88 144 88
WIRE 368 88 272 88
WIRE 144 104 144 88
WIRE 272 104 272 88
WIRE 1280 136 992 136
WIRE 272 184 272 168
WIRE 1056 184 1056 -296
WIRE 1056 184 992 184
WIRE 144 216 144 184
WIRE 144 216 -16 216
WIRE 368 216 144 216
WIRE -16 232 -16 216
WIRE 144 232 144 216
WIRE 1056 280 1056 264
WIRE 1056 280 992 280
WIRE 1056 296 1056 280
WIRE -16 328 -16 296
WIRE 144 328 144 312
WIRE 368 328 336 328
WIRE 368 376 -64 376
WIRE 1056 376 992 376
WIRE 1088 376 1056 376
WIRE 1280 376 1280 136
WIRE 1280 376 1168 376
WIRE 1280 392 1280 376
WIRE 368 424 64 424
WIRE -176 456 -176 8
WIRE -64 456 -64 376
WIRE 64 456 64 424
WIRE 368 472 176 472
WIRE 176 488 176 472
WIRE 1040 488 992 488
WIRE 1152 488 1040 488
WIRE 1152 504 1152 488
WIRE 1280 504 1280 456
WIRE 368 520 288 520
WIRE 1040 520 1040 488
WIRE 288 536 288 520
WIRE 176 568 176 552
WIRE 1152 600 1152 584
WIRE 1280 600 1280 584
WIRE 288 616 288 600
WIRE 816 616 816 600
WIRE 448 632 448 600
WIRE 672 632 672 600
WIRE 736 632 736 600
WIRE 896 632 896 600
WIRE 1040 632 1040 600
WIRE 1040 632 896 632
WIRE -432 664 -432 88
WIRE 896 664 896 632
WIRE 448 712 448 696
WIRE 672 744 672 712
WIRE 736 744 736 712
WIRE 896 760 896 728
WIRE -432 776 -432 744
WIRE 560 776 560 600
WIRE 560 776 -432 776
WIRE -432 808 -432 776
WIRE -176 840 -176 536
WIRE -64 840 -64 536
WIRE -64 840 -176 840
WIRE 64 840 64 536
WIRE 64 840 -64 840
WIRE 1040 840 1040 632
WIRE 1040 840 64 840
WIRE -432 904 -432 888
FLAG -16 -440 0
FLAG -288 -248 0
FLAG 320 -440 0
FLAG 1360 -440 0
FLAG 1360 -552 OUT
FLAG 32 -440 0
FLAG -416 -248 0
FLAG -704 -632 0
FLAG -704 -472 0
FLAG -704 -216 0
FLAG -384 -808 0
FLAG 144 328 0
FLAG 272 184 0
FLAG 176 568 0
FLAG 288 616 0
FLAG 1280 600 0
FLAG 896 760 0
FLAG 1152 600 0
FLAG -752 -72 0
FLAG -1360 -792 0
FLAG -1360 -904 IN
FLAG -736 -808 0
FLAG -432 904 0
FLAG 816 616 0
FLAG 736 744 0
FLAG 672 744 0
FLAG 448 712 0
FLAG -16 328 0
SYMBOL nmos -64 -712 R0
SYMATTR InstName Q1
SYMATTR Value BSC123N08NS3
SYMBOL nmos -64 -552 R0
SYMATTR InstName Q2
SYMATTR Value BSC123N08NS3
SYMBOL schottky -240 -792 R270
SYMATTR InstName D1
SYMATTR Value MBRS140
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL cap -144 -712 R0
SYMATTR InstName C1
SYMATTR Value .1
SYMBOL cap 528 -168 M90
SYMATTR InstName C2
SYMATTR Value 47n
SYMBOL schottky 16 -456 M180
SYMATTR InstName D2
SYMATTR Value MBRS1100
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL ind 48 -536 R270
SYMATTR InstName L1
SYMATTR Value 10
SYMATTR SpiceLine Rpar=2K
SYMBOL res 160 -536 R270
SYMATTR InstName R1
SYMATTR Value 3m
SYMBOL res -592 -488 R90
SYMATTR InstName R2
SYMATTR Value 49.9K
SYMBOL cap -608 -648 R90
SYMATTR InstName C3
SYMATTR Value .002
SYMBOL cap 304 -536 R0
SYMATTR InstName C4
SYMATTR Value 100
SYMBOL diode -48 -872 R90
SYMATTR InstName D3
SYMATTR Value 1N4148
SYMBOL res -128 -200 R270
SYMATTR InstName R3
SYMATTR Value 150K
SYMBOL res -704 -200 R270
SYMATTR InstName R4
SYMATTR Value 16.2K
SYMBOL cap -304 -824 R90
SYMATTR InstName C5
SYMATTR Value 1
SYMBOL PowerProducts\\LT3845A -352 -520 R0
SYMATTR InstName U1
SYMBOL res 528 -136 M270
SYMATTR InstName R5
SYMATTR Value 14.7K
SYMBOL res -192 552 M180
SYMATTR InstName R6
SYMATTR Value 1Meg
SYMBOL res 128 88 R0
SYMATTR InstName R7
SYMATTR Value 1.1Meg
SYMBOL res 128 216 R0
SYMATTR InstName R8
SYMATTR Value 100K
SYMBOL cap 256 104 R0
SYMATTR InstName C6
SYMATTR Value 1
SYMBOL cap 160 488 R0
SYMATTR InstName C7
SYMATTR Value 10n
SYMBOL cap 272 536 R0
SYMATTR InstName C8
SYMATTR Value 10n
SYMBOL res 48 552 M180
SYMATTR InstName R9
SYMATTR Value 100K
SYMBOL res -80 552 M180
SYMATTR InstName R10
SYMATTR Value 100K
SYMBOL pmos 736 -504 R270
SYMATTR InstName Q3
SYMATTR Value Si4427DY
SYMBOL pmos 1232 136 M180
SYMATTR InstName Q4
SYMATTR Value Si4427DY
SYMBOL res 1040 -392 R0
SYMATTR InstName R11
SYMATTR Value 1.15Meg
SYMBOL res 1040 168 R0
SYMATTR InstName R12
SYMATTR Value 127K
SYMBOL res 1040 280 R0
SYMATTR InstName R13
SYMATTR Value 133K
SYMBOL res 1184 360 R90
SYMATTR InstName R14
SYMATTR Value 1.13Meg
SYMBOL voltage 1280 488 R0
SYMATTR Value 7.35
SYMATTR InstName V1
SYMBOL cap 880 664 R0
SYMATTR InstName C9
SYMATTR Value 1
SYMBOL res 1024 504 R0
SYMATTR InstName R15
SYMATTR Value 10K
SYMBOL res 1136 488 R0
SYMATTR InstName R16
SYMATTR Value 10K
SYMBOL res 720 728 M180
SYMATTR InstName R17
SYMATTR Value 22.1K
SYMBOL res 688 728 R180
SYMATTR InstName R18
SYMATTR Value 24.9K
SYMBOL cap 432 632 R0
SYMATTR InstName C10
SYMATTR Value .0047
SYMBOL res 1264 -88 R0
SYMATTR InstName R19
SYMATTR Value 5m
SYMBOL cap -768 -152 R0
SYMATTR InstName C11
SYMATTR Value 2200p
SYMATTR SpiceLine Rser=20K Cpar=100p
SYMBOL cap 1264 392 R0
SYMATTR InstName C12
SYMATTR Value 10m
SYMATTR SpiceLine Rser=1m
SYMBOL diode -32 296 M180
SYMATTR InstName D4
SYMATTR Value zener_2V
SYMBOL voltage -1360 -904 R0
SYMATTR Value pwl(0 36 6m 36 6.001m 40)
SYMATTR InstName V2
SYMBOL res -944 -888 R270
SYMATTR InstName R20
SYMATTR Value 5m
SYMBOL ind -1104 -888 R270
SYMATTR InstName L2
SYMATTR Value 10n
SYMBOL cap -752 -888 R0
SYMATTR InstName C13
SYMATTR Value 100
SYMBOL LTC4000-1 416 248 R0
SYMATTR InstName U2
SYMBOL res -448 648 R0
SYMATTR InstName R21
SYMATTR Value 31.6K
SYMBOL res -448 792 R0
SYMATTR InstName R22
SYMATTR Value 10K
SYMBOL res -1232 -888 R270
SYMATTR InstName R23
SYMATTR Value 2
SYMBOL res 1344 -552 R0
SYMATTR InstName Rload
SYMATTR Value 10