* SPICE netlist
MQ1 N003 N008 N009 N009 Si4412DY
MQ2 N009 N012 0 0 Si4412DY
L1 N009 N010 15
D1 0 N009 MBRS140
R1 N010 OUT .025
R2 N010 N025 200
R3 OUT N026 200
R4 N016 0 4.93K
R5 N016 N019 300
R6 N014 N015 3K
C1 N019 0 1
C2 N015 0 .33
C3 N021 0 .1
R7 N003 N020 5K
C4 N001 N009 .68
C5 N005 0 2.2
D2 N005 N001 1N4148
D3 N001 N004 1N4148
C6 N004 0 .1
R8 IN N017 100K
R9 N013 0 4K
R10 IN N013 4K
C7 N003 0 47
V1 IN 0 24
V2 OUT 0 PWL(0 12 1m 12 10m 17)
R11 N008 N007 5
MQ3 IN N011 N002 N002 Si9803DY
XU1 N001 N007 N009 MP_01 N017 0 N013 N011 N006 N003 N023 N021 N020 N024 N018 N018 N018 N014 N016 OUT N025 N010 N026 N003 N004 N005 N012 0 LT1505 ;pnba Boost)Tgate)SW))_SHDN)AGND)UVLO)INFET)CLP)CLN)COMP1)CAP)_FLAG)4.1V)4.2V)3 Cell)FB)Vc)Prog)BAT2)Sense)SPIN)BAT)Vcc)BoostC)Gbias)Bgate)PGND
R12 N002 N003 .025
C8 N003 N006 1
R13 N022 N023 1K
C9 N022 0 .68
R14 N006 N002 500
.tran 10m
.ic V(vc)=1 V(prg)=2.5

* LTspice schematic (.asc)
Version 4
SHEET 1 2144 1168
WIRE 656 -584 -176 -584
WIRE -976 -536 -1072 -536
WIRE -880 -536 -976 -536
WIRE -832 -536 -880 -536
WIRE -704 -536 -736 -536
WIRE -656 -536 -704 -536
WIRE -528 -536 -576 -536
WIRE -464 -536 -528 -536
WIRE -336 -536 -464 -536
WIRE -288 -536 -336 -536
WIRE 512 -536 -288 -536
WIRE -1072 -520 -1072 -536
WIRE -288 -520 -288 -536
WIRE -464 -504 -464 -536
WIRE 416 -504 -16 -504
WIRE 544 -504 416 -504
WIRE 656 -504 656 -584
WIRE 656 -504 608 -504
WIRE 416 -488 416 -504
WIRE -704 -472 -704 -536
WIRE -288 -440 -288 -456
WIRE -1072 -424 -1072 -440
WIRE 416 -408 416 -424
WIRE -336 -376 -336 -536
WIRE -176 -376 -176 -584
WIRE -16 -376 -16 -504
WIRE 176 -376 112 -376
WIRE 288 -376 176 -376
WIRE 656 -376 656 -504
WIRE 656 -376 352 -376
WIRE 176 -360 176 -376
WIRE 656 -344 656 -376
WIRE -880 -328 -880 -536
WIRE -704 -328 -704 -392
WIRE -640 -328 -704 -328
WIRE -528 -328 -528 -536
WIRE -528 -328 -576 -328
WIRE 512 -328 512 -536
WIRE 112 -312 112 -376
WIRE 112 -312 80 -312
WIRE 176 -280 176 -296
WIRE -528 -248 -528 -328
WIRE -432 -248 -528 -248
WIRE 304 -248 80 -248
WIRE 464 -248 384 -248
WIRE 512 -200 512 -232
WIRE 512 -200 400 -200
WIRE 656 -200 656 -280
WIRE 656 -200 512 -200
WIRE 720 -200 656 -200
WIRE 848 -200 800 -200
WIRE 864 -200 848 -200
WIRE 976 -200 944 -200
WIRE 1056 -200 976 -200
WIRE -704 -184 -704 -328
WIRE -432 -184 -704 -184
WIRE 400 -184 400 -200
WIRE 400 -184 80 -184
WIRE 512 -184 512 -200
WIRE 1056 -184 1056 -200
WIRE -976 -152 -976 -536
WIRE 656 -152 656 -200
WIRE -752 -120 -752 -488
WIRE -432 -120 -752 -120
WIRE 400 -120 80 -120
WIRE 400 -104 400 -120
WIRE 464 -104 400 -104
WIRE 1056 -88 1056 -104
WIRE -976 -56 -976 -72
WIRE -432 -56 -976 -56
WIRE 96 -56 80 -56
WIRE 192 -56 176 -56
WIRE 288 -56 256 -56
WIRE 512 -56 512 -88
WIRE 656 -56 656 -88
WIRE -976 -40 -976 -56
WIRE 848 -24 848 -200
WIRE 848 -24 752 -24
WIRE 976 -24 976 -200
WIRE 1072 -24 976 -24
WIRE 176 8 80 8
WIRE 320 8 176 8
WIRE 320 24 320 8
WIRE 976 24 976 -24
WIRE -976 56 -976 40
WIRE 176 56 176 8
WIRE -880 72 -880 -248
WIRE -432 72 -880 72
WIRE 112 72 80 72
WIRE 320 120 320 104
WIRE -464 136 -464 -424
WIRE -432 136 -464 136
WIRE 112 136 112 72
WIRE 112 136 80 136
WIRE 848 168 848 -24
WIRE -576 200 -656 200
WIRE -432 200 -512 200
WIRE 112 200 112 136
WIRE 112 200 80 200
WIRE 176 200 176 136
WIRE 320 200 320 184
WIRE -640 264 -656 264
WIRE -528 264 -576 264
WIRE -432 264 -448 264
WIRE 112 264 80 264
WIRE 112 328 80 328
WIRE 112 392 112 328
WIRE 112 392 80 392
WIRE 112 424 112 392
WIRE 16 488 16 456
WIRE 752 488 752 -24
WIRE 752 488 16 488
WIRE -112 520 -112 456
WIRE 848 520 848 248
WIRE 848 520 -112 520
WIRE -240 552 -240 456
WIRE 976 552 976 104
WIRE 976 552 -240 552
WIRE -368 584 -368 456
WIRE 1072 584 1072 -24
WIRE 1072 584 -368 584
FLAG 512 -56 0
FLAG 656 -56 0
FLAG 112 424 0
FLAG 320 200 0
FLAG 288 -56 0
FLAG 176 200 0
FLAG -656 264 0
FLAG -656 200 0
FLAG 176 -280 0
FLAG 416 -408 0
FLAG -976 56 0
FLAG -288 -440 0
FLAG 1056 -88 0
FLAG -1072 -424 0
FLAG -1072 -536 IN
FLAG 1056 -200 OUT
SYMBOL NMOS 464 -328 R0
SYMATTR InstName Q1
SYMATTR Value Si4412DY
SYMBOL nmos 464 -184 R0
SYMATTR InstName Q2
SYMATTR Value Si4412DY
SYMBOL ind 704 -184 R270
SYMATTR InstName L1
SYMATTR Value 15
SYMBOL schottky 640 -88 M180
SYMATTR InstName D1
SYMATTR Value MBRS140
SYMBOL RES 848 -216 M90
SYMATTR InstName R1
SYMATTR Value .025
SYMBOL res 832 152 R0
SYMATTR InstName R2
SYMATTR Value 200
SYMBOL res 960 8 R0
SYMATTR InstName R3
SYMATTR Value 200
SYMBOL res 160 40 R0
SYMATTR InstName R4
SYMATTR Value 4.93K
SYMBOL res 304 8 R0
SYMATTR InstName R5
SYMATTR Value 300
SYMBOL res 80 -40 R270
SYMATTR InstName R6
SYMATTR Value 3K
SYMBOL cap 304 120 R0
SYMATTR InstName C1
SYMATTR Value 1
SYMBOL cap 192 -40 R270
SYMATTR InstName C2
SYMATTR Value .33
SYMBOL cap -512 184 R90
SYMATTR InstName C3
SYMATTR Value .1
SYMBOL res -480 -520 R0
SYMATTR InstName R7
SYMATTR Value 5K
SYMBOL cap 640 -344 R0
SYMATTR InstName C4
SYMATTR Value .68
SYMBOL cap 160 -360 R0
SYMATTR InstName C5
SYMATTR Value 2.2
SYMBOL diode 288 -360 R270
SYMATTR InstName D2
SYMATTR Value 1N4148
SYMBOL diode 608 -520 R90
SYMATTR InstName D3
SYMATTR Value 1N4148
SYMBOL cap 400 -488 R0
SYMATTR InstName C6
SYMATTR Value .1
SYMBOL res -896 -344 R0
SYMATTR InstName R8
SYMATTR Value 100K
SYMBOL res -992 -56 R0
SYMATTR InstName R9
SYMATTR Value 4K
SYMBOL res -992 -168 R0
SYMATTR InstName R10
SYMATTR Value 4K
SYMBOL cap -304 -520 R0
SYMATTR InstName C7
SYMATTR Value 47
SYMBOL VOLTAGE -1072 -536 R0
SYMATTR InstName V1
SYMATTR Value 24
SYMBOL voltage 1056 -200 R0
SYMATTR InstName V2
SYMATTR Value PWL(0 12 1m 12 10m 17)
SYMBOL res 400 -264 R90
SYMATTR InstName R11
SYMATTR Value 5
SYMBOL PMOS -832 -488 R270
SYMATTR InstName Q3
SYMATTR Value Si9803DY
SYMBOL POWERPRODUCTS\\LT1505 -176 40 R0
SYMATTR InstName U1
SYMBOL res -672 -552 M90
SYMATTR InstName R12
SYMATTR Value .025
SYMBOL cap -576 -344 R90
SYMATTR InstName C8
SYMATTR Value 1
SYMBOL res -544 248 M90
SYMATTR InstName R13
SYMATTR Value 1K
SYMBOL cap -576 248 R90
SYMATTR InstName C9
SYMATTR Value .68
SYMBOL res -720 -376 M180
SYMATTR InstName R14
SYMATTR Value 500