* SPICE netlist
C2 OUT COM 13.9 X5 Rser=1.1m
RCS N005 0 100m
Rload OUT COM 8
R9 N013 0 57.6k
M1 N002 NDRV N005 N005 IRF7468
R1 N005 N004 100
C4 N004 0 1n
R2 IN N003 499k
C1 N012 0 39n
R3 N003 N007 28.7k
R4 N007 0 17.8k
C5 VDRV 0 1
R7 OUT N011 24.9k
R8 N011 COM 2.87k
V1 IN 0 24
L1 IN N002 94.5 Rser=68.1m Rpar=5K
L2 COM N001 110 Rser=77.9m Rpar=5K
D2 N001 OUT MBRS340
R10 N009 N008 22.1k
R11 N009 0 475
R12 OUT N006 1.47k
C6 N011 N010 27n
C8 COM 0 10p Rpar=10G
R6 N008 N014 49.9k
XU4 N006 N010 VDRV N009 PC817 Igain=1m ;pnba A)K)C)E
XU1 NC_01 N013 0 N014 N008 N012 0 N004 0 NDRV VDRV IN N003 N007 MAX17596 ;pnba SLOPE)RT)DITHER)COMP)FB)SS)SGND)CS)PGND)NDRV)VDRV)VIN)EN/UVLO)OVI
XU2 N010 COM N011 TLV431 ;pnba K)A)R
K1 L1 L2 1
.tran 8m

* LTspice schematic (.asc)
Version 4.1
SHEET 1 1952 944
WIRE -864 -472 -976 -472
WIRE -48 -472 -864 -472
WIRE 320 -472 80 -472
WIRE 704 -472 384 -472
WIRE 832 -472 704 -472
WIRE 976 -472 832 -472
WIRE 976 -456 976 -472
WIRE 832 -440 832 -472
WIRE -976 -408 -976 -472
WIRE -48 -408 -48 -472
WIRE 80 -408 80 -472
WIRE 832 -344 832 -376
WIRE 976 -344 976 -376
WIRE 704 -312 704 -472
WIRE 704 -312 448 -312
WIRE -976 -280 -976 -328
WIRE 80 -280 80 -328
WIRE -48 -264 -48 -328
WIRE 448 -216 448 -312
WIRE 704 -216 704 -312
WIRE -864 -184 -864 -472
WIRE -672 -184 -864 -184
WIRE -208 -184 -320 -184
WIRE -96 -184 -208 -184
WIRE -864 -168 -864 -184
WIRE -864 -72 -864 -88
WIRE -672 -72 -864 -72
WIRE -272 -72 -320 -72
WIRE -192 -72 -272 -72
WIRE -48 -72 -48 -168
WIRE -48 -72 -112 -72
WIRE -864 -56 -864 -72
WIRE 224 -56 160 -56
WIRE 448 -56 448 -136
WIRE 448 -56 416 -56
WIRE -272 8 -272 -8
WIRE -864 40 -864 24
WIRE -672 40 -864 40
WIRE -32 40 -320 40
WIRE 64 40 -32 40
WIRE 208 40 144 40
WIRE 224 40 208 40
WIRE 480 40 416 40
WIRE 560 40 480 40
WIRE 704 40 704 -136
WIRE 704 40 624 40
WIRE -864 56 -864 40
WIRE 480 120 480 40
WIRE -864 152 -864 136
WIRE -784 152 -864 152
WIRE -672 152 -720 152
WIRE 208 152 208 40
WIRE 704 168 704 40
WIRE 704 168 528 168
WIRE -864 184 -864 152
WIRE 704 216 704 168
WIRE -784 264 -816 264
WIRE -672 264 -704 264
WIRE -224 264 -320 264
WIRE -32 264 -32 40
WIRE -32 264 -144 264
WIRE 208 264 208 232
WIRE 480 312 480 216
WIRE 704 328 704 296
WIRE -672 376 -688 376
WIRE -272 376 -320 376
WIRE -272 392 -272 376
WIRE -16 456 -64 456
WIRE 112 456 48 456
WIRE -560 472 -560 456
WIRE -432 472 -432 456
WIRE -272 472 -272 456
FLAG -976 -472 IN
FLAG 976 -472 OUT
FLAG -976 -280 0
FLAG -816 264 0
FLAG -432 472 0
FLAG -48 8 0
FLAG -560 472 0
FLAG -272 8 0
FLAG -864 184 0
FLAG -272 472 0
FLAG -688 376 0
FLAG -272 376 VDRV
FLAG 160 -56 VDRV
FLAG 208 264 0
FLAG -64 456 0
FLAG 80 -280 COM
FLAG 832 -344 COM
FLAG 976 -344 COM
FLAG 480 312 COM
FLAG 704 328 COM
FLAG 112 456 COM
FLAG -208 -184 NDRV
SYMBOL cap 816 -440 R0
SYMATTR Value2 X5
SYMATTR Value 13.9
SYMATTR SpiceLine Rser=1.1m
SYMATTR InstName C2
SYMBOL res -64 -88 R0
SYMATTR InstName RCS
SYMATTR Value 100m
SYMBOL res 960 -472 R0
SYMATTR InstName Rload
SYMATTR Value 8
SYMBOL res -688 248 R90
SYMATTR InstName R9
SYMATTR Value 57.6k
SYMBOL NMOS -96 -264 R0
SYMATTR InstName M1
SYMATTR Value IRF7468
SYMBOL res -96 -88 R90
SYMATTR InstName R1
SYMATTR Value 100
SYMBOL cap -288 -72 R0
SYMATTR InstName C4
SYMATTR Value 1n
SYMBOL res -880 -184 R0
SYMATTR InstName R2
SYMATTR Value 499k
SYMBOL cap -720 136 R90
SYMATTR InstName C1
SYMATTR Value 39n
SYMBOL res -880 -72 R0
SYMATTR InstName R3
SYMATTR Value 28.7k
SYMBOL res -880 40 R0
SYMATTR InstName R4
SYMATTR Value 17.8k
SYMBOL cap -288 392 R0
SYMATTR InstName C5
SYMATTR Value 1
SYMBOL res 688 -232 R0
SYMATTR InstName R7
SYMATTR Value 24.9k
SYMBOL res 688 200 R0
SYMATTR InstName R8
SYMATTR Value 2.87k
SYMBOL voltage -976 -424 M0
SYMATTR InstName V1
SYMATTR Value 24
SYMBOL ind2 -64 -424 R0
SYMATTR InstName L1
SYMATTR Value 94.5
SYMATTR SpiceLine Rser=68.1m Rpar=5K
SYMBOL ind2 96 -312 R180
SYMATTR InstName L2
SYMATTR Value 110
SYMATTR SpiceLine Rser=77.9m Rpar=5K
SYMBOL schottky 320 -456 R270
SYMATTR InstName D2
SYMATTR Value MBRS340
SYMBOL res 160 24 R90
SYMATTR InstName R10
SYMATTR Value 22.1k
SYMBOL res 192 136 R0
SYMATTR InstName R11
SYMATTR Value 475
SYMBOL res 432 -232 R0
SYMATTR InstName R12
SYMATTR Value 1.47k
SYMBOL cap 624 24 R90
SYMATTR InstName C6
SYMATTR Value 27n
SYMBOL cap 48 440 R90
SYMATTR InstName C8
SYMATTR Value 10p
SYMATTR SpiceLine Rpar=10G
SYMBOL res -128 248 R90
SYMATTR InstName R6
SYMATTR Value 49.9k
SYMBOL Optos\\PC817A 320 -8 M0
SYMATTR InstName U4
SYMBOL MAX17596 -496 56 R0
SYMATTR InstName U1
SYMBOL TLV431 480 168 M0
SYMATTR InstName U2