* SPICE netlist
C2 OUT COM 10 X6 Rser=1.1m
RCS N007 0 68m
Rload OUT COM {24/3}
R9 N016 0 80.6k
M1 N003 N004 N007 N007 STW11NM80
R1 N007 N006 100
C4 N006 0 1n
R2 IN N005 3.9Meg
C1 N015 0 39n
R3 N005 N012 16.2k
R4 N012 0 24.9k
C5 VDRV 0 1
R5 N013 N017 49.9k
R7 OUT N011 2.091k
R8 N011 COM 113
V1 IN 0 PULSE(170 170 20u 100n 100n 50m)
L1 N003 IN 97 Rpar=5K
L2 N002 COM 9.625 Rpar=5K
D2 N002 OUT MBRS340
R10 N014 N013 22.1k
R11 N014 0 475
R12 OUT N008 8.66k
R13 N010 N009 4.7k
C3 N011 N010 27n
C6 N011 N009 510p
L3 N001 0 2.58 Rpar=5K
D1 N001 VIN RB551VM-40
C7 VIN 0 4.7 IC=22 Rser=2m
R14 VIN IN 1Meg
C8 COM 0 10p Rpar=10G
XU2 N008 N009 VDRV N014 PC817 Igain=1m ;pnba A)K)C)E
XU1 NC_01 N016 0 N017 N013 N015 0 N006 0 N004 VDRV VIN N005 N012 MAX17595 ;pnba SLOPE)RT)DITHER)COMP)FB)SS)SGND)CS)PGND)NDRV)VDRV)VIN)EN/UVLO)OVI
XU3 N009 COM N011 TLV431 ;pnba K)A)R
.tran 6m startup
K1 L1 L2 L3 1

* LTspice schematic (.asc)
Version 4.1
SHEET 1 1952 1200
WIRE -688 -600 -864 -600
WIRE -432 -600 -688 -600
WIRE -64 -600 -368 -600
WIRE -688 -552 -688 -600
WIRE -64 -552 -64 -600
WIRE -864 -520 -864 -600
WIRE -688 -456 -688 -488
WIRE -64 -408 -64 -472
WIRE -864 -344 -864 -440
WIRE -864 -344 -976 -344
WIRE -48 -344 -864 -344
WIRE 192 -344 80 -344
WIRE 704 -344 256 -344
WIRE 832 -344 704 -344
WIRE 976 -344 832 -344
WIRE 976 -328 976 -344
WIRE 832 -312 832 -344
WIRE -976 -280 -976 -344
WIRE -48 -280 -48 -344
WIRE 80 -280 80 -344
WIRE 832 -216 832 -248
WIRE 976 -216 976 -248
WIRE 704 -200 704 -344
WIRE 704 -200 448 -200
WIRE -976 -152 -976 -200
WIRE 80 -152 80 -200
WIRE -48 -136 -48 -200
WIRE 704 -136 704 -200
WIRE 448 -120 448 -200
WIRE -672 -56 -720 -56
WIRE -96 -56 -320 -56
WIRE -864 -40 -864 -344
WIRE -864 56 -864 40
WIRE -672 56 -864 56
WIRE -272 56 -320 56
WIRE -192 56 -272 56
WIRE -48 56 -48 -40
WIRE -48 56 -112 56
WIRE -864 72 -864 56
WIRE 224 72 160 72
WIRE 448 72 448 -40
WIRE 448 72 416 72
WIRE 496 72 480 72
WIRE 608 72 576 72
WIRE 704 72 704 -56
WIRE 704 72 672 72
WIRE -272 136 -272 120
WIRE -864 168 -864 152
WIRE -672 168 -864 168
WIRE 32 168 -320 168
WIRE 64 168 32 168
WIRE 208 168 144 168
WIRE 224 168 208 168
WIRE 480 168 480 72
WIRE 480 168 416 168
WIRE 560 168 480 168
WIRE 704 168 704 72
WIRE 704 168 624 168
WIRE -864 184 -864 168
WIRE 480 248 480 168
WIRE -864 280 -864 264
WIRE -784 280 -864 280
WIRE -672 280 -720 280
WIRE 208 280 208 168
WIRE 704 296 704 168
WIRE 704 296 528 296
WIRE -864 312 -864 280
WIRE 704 344 704 296
WIRE -784 392 -816 392
WIRE -672 392 -704 392
WIRE -176 392 -320 392
WIRE 32 392 32 168
WIRE 32 392 -96 392
WIRE 208 392 208 360
WIRE 480 440 480 344
WIRE 704 456 704 424
WIRE -672 504 -688 504
WIRE -272 504 -320 504
WIRE -272 520 -272 504
WIRE -16 584 -64 584
WIRE 112 584 48 584
WIRE -560 600 -560 584
WIRE -432 600 -432 584
WIRE -272 600 -272 584
FLAG -976 -344 IN
FLAG 976 -344 OUT
FLAG -976 -152 0
FLAG -816 392 0
FLAG -432 600 0
FLAG -48 136 0
FLAG -560 600 0
FLAG -272 136 0
FLAG -864 312 0
FLAG -272 600 0
FLAG -688 504 0
FLAG -272 504 VDRV
FLAG 160 72 VDRV
FLAG 208 392 0
FLAG -64 -408 0
FLAG -688 -456 0
FLAG -688 -600 VIN
FLAG -720 -56 VIN
FLAG -64 584 0
FLAG 80 -152 COM
FLAG 832 -216 COM
FLAG 976 -216 COM
FLAG 480 440 COM
FLAG 704 456 COM
FLAG 112 584 COM
SYMBOL cap 816 -312 R0
SYMATTR Value2 X6
SYMATTR Value 10
SYMATTR SpiceLine Rser=1.1m
SYMATTR InstName C2
SYMBOL res -64 40 R0
SYMATTR InstName RCS
SYMATTR Value 68m
SYMBOL res 960 -344 R0
SYMATTR InstName Rload
SYMATTR Value {24/3}
SYMBOL res -688 376 R90
SYMATTR InstName R9
SYMATTR Value 80.6k
SYMBOL NMOS -96 -136 R0
SYMATTR InstName M1
SYMATTR Value STW11NM80
SYMBOL res -96 40 R90
SYMATTR InstName R1
SYMATTR Value 100
SYMBOL cap -288 56 R0
SYMATTR InstName C4
SYMATTR Value 1n
SYMBOL res -880 -56 R0
SYMATTR InstName R2
SYMATTR Value 3.9Meg
SYMBOL cap -720 264 R90
SYMATTR InstName C1
SYMATTR Value 39n
SYMBOL res -880 56 R0
SYMATTR InstName R3
SYMATTR Value 16.2k
SYMBOL res -880 168 R0
SYMATTR InstName R4
SYMATTR Value 24.9k
SYMBOL cap -288 520 R0
SYMATTR InstName C5
SYMATTR Value 1
SYMBOL res -80 376 R90
SYMATTR InstName R5
SYMATTR Value 49.9k
SYMBOL res 688 -152 R0
SYMATTR InstName R7
SYMATTR Value 2.091k
SYMBOL res 688 328 R0
SYMATTR InstName R8
SYMATTR Value 113
SYMBOL voltage -976 -296 M0
SYMATTR InstName V1
SYMATTR Value PULSE(170 170 20u 100n 100n 50m)
SYMBOL ind2 -64 -184 M180
SYMATTR InstName L1
SYMATTR Value 97
SYMATTR SpiceLine Rpar=5K
SYMBOL ind2 96 -296 M0
SYMATTR InstName L2
SYMATTR Value 9.625
SYMATTR SpiceLine Rpar=5K
SYMBOL schottky 192 -328 R270
SYMATTR InstName D2
SYMATTR Value MBRS340
SYMBOL res 160 152 R90
SYMATTR InstName R10
SYMATTR Value 22.1k
SYMBOL res 192 264 R0
SYMATTR InstName R11
SYMATTR Value 475
SYMBOL res 432 -136 R0
SYMATTR InstName R12
SYMATTR Value 8.66k
SYMBOL res 592 56 R90
SYMATTR InstName R13
SYMATTR Value 4.7k
SYMBOL cap 672 56 R90
SYMATTR InstName C3
SYMATTR Value 27n
SYMBOL cap 624 152 R90
SYMATTR InstName C6
SYMATTR Value 510p
SYMBOL ind2 -80 -568 R0
SYMATTR InstName L3
SYMATTR Value 2.58
SYMATTR SpiceLine Rpar=5K
SYMBOL schottky -368 -584 M270
SYMATTR InstName D1
SYMATTR Value RB551VM-40
SYMBOL cap -704 -552 R0
SYMATTR InstName C7
SYMATTR Value 4.7 IC=22
SYMATTR SpiceLine Rser=2m
SYMBOL res -880 -536 R0
SYMATTR InstName R14
SYMATTR Value 1Meg
SYMBOL cap 48 568 R90
SYMATTR InstName C8
SYMATTR Value 10p
SYMATTR SpiceLine Rpar=10G
SYMBOL Optos\\PC817A 320 120 M0
SYMATTR InstName U2
SYMBOL MAX17595 -496 184 R0
SYMATTR InstName U1
SYMBOL TLV431 480 296 M0
SYMATTR InstName U3