* SPICE netlist
V1 IN 0 PWL(0 0 +10u 12 +100m 12 +10u 92 +250m 12)
R1 IN N008 383K
R2 N010 0 10K
R3 N002 OUT 50m
R4 N003 N005 10
R5 OUT N011 102K
R6 N011 0 4.99K
R7 OUT N007 100K
R8 OUT N009 100K
MQ1 IN N003 N001 N001 FDB33N25
C1 0 N005 6.8n
R9 IN N004 2.2K
R10 N008 N010 90.9K
C2 N012 0 6.8
D1 0 N004 1N5373B
C3 N004 0 0.1
XU1 OUT N002 N006 N001 N005 N004 N004 N008 N010 0 N009 N007 N012 N011 LTC4364-2 ;pnba OUT)SENSE)DGATE)SOURCE)HGATE)VCC)_SHDN)UV)OV)GND)_FLT)ENOUT)TMR)FB
MQ2 N002 N006 N001 N001 FDB3682
Cload OUT 0 22 Rser=100m
Rload OUT 0 47
.tran 1

* LTspice schematic (.asc)
Version 4
SHEET 1 2368 624
WIRE -576 -312 -1184 -312
WIRE -160 -312 -576 -312
WIRE -80 -312 -160 -312
WIRE 160 -312 16 -312
WIRE 304 -312 160 -312
WIRE 496 -312 400 -312
WIRE 512 -312 496 -312
WIRE 624 -312 592 -312
WIRE 768 -312 624 -312
WIRE 864 -312 768 -312
WIRE 960 -312 864 -312
WIRE 1008 -312 960 -312
WIRE 1184 -312 1008 -312
WIRE -1184 -296 -1184 -312
WIRE 480 -296 496 -312
WIRE 640 -296 624 -312
WIRE 1008 -296 1008 -312
WIRE 1184 -296 1184 -312
WIRE -160 -264 -160 -312
WIRE 768 -264 768 -312
WIRE 0 -248 0 -264
WIRE -1184 -200 -1184 -216
WIRE 1008 -200 1008 -232
WIRE 1184 -200 1184 -216
WIRE -352 -152 -496 -152
WIRE -272 -152 -352 -152
WIRE -160 -152 -160 -184
WIRE -160 -152 -272 -152
WIRE 0 -152 0 -168
WIRE 48 -152 0 -152
WIRE 128 -152 112 -152
WIRE -496 -136 -496 -152
WIRE -352 -136 -352 -152
WIRE 864 -120 864 -312
WIRE -160 -104 -160 -152
WIRE 0 -104 0 -152
WIRE 160 -104 160 -312
WIRE 320 -104 320 -264
WIRE 480 -104 480 -296
WIRE 640 -104 640 -296
WIRE -576 -72 -576 -312
WIRE -496 -56 -496 -72
WIRE -352 -56 -352 -72
WIRE -272 -24 -272 -152
WIRE -256 -24 -272 -24
WIRE 768 -24 768 -184
WIRE 768 -24 736 -24
WIRE -576 24 -576 8
WIRE -448 24 -576 24
WIRE -576 40 -576 24
WIRE 960 40 960 -312
WIRE -448 56 -448 24
WIRE -256 56 -448 56
WIRE 864 56 864 -40
WIRE 864 56 736 56
WIRE -576 136 -576 120
WIRE -256 136 -576 136
WIRE 960 136 960 120
WIRE 960 136 736 136
WIRE -576 152 -576 136
WIRE 960 152 960 136
WIRE 400 232 400 216
WIRE -576 248 -576 232
WIRE 64 248 64 216
WIRE 960 248 960 232
WIRE 400 312 400 296
FLAG -1184 -200 0
FLAG -1184 -312 IN
FLAG -576 248 0
FLAG 64 248 0
FLAG 960 248 0
FLAG 128 -152 0
FLAG 400 312 0
FLAG -496 -56 0
FLAG -352 -56 0
FLAG 1184 -312 OUT
FLAG 1008 -200 0
FLAG 1184 -200 0
SYMBOL voltage -1184 -312 R0
SYMATTR Value PWL(0 0 +10u 12 +100m 12 +10u 92 +250m 12)
SYMATTR InstName V1
SYMBOL res -592 -88 R0
SYMATTR InstName R1
SYMATTR Value 383K
SYMBOL res -592 136 R0
SYMATTR InstName R2
SYMATTR Value 10K
SYMBOL res 496 -296 R270
SYMATTR InstName R3
SYMATTR Value 50m
SYMBOL res -16 -264 R0
SYMATTR InstName R4
SYMATTR Value 10
SYMBOL res 944 24 R0
SYMATTR InstName R5
SYMATTR Value 102K
SYMBOL res 944 136 R0
SYMATTR InstName R6
SYMATTR Value 4.99K
SYMBOL res 752 -280 R0
SYMATTR InstName R7
SYMATTR Value 100K
SYMBOL res 848 -136 R0
SYMATTR InstName R8
SYMATTR Value 100K
SYMBOL nmos -80 -264 R270
SYMATTR InstName Q1
SYMATTR Value FDB33N25
SYMBOL cap 112 -168 R90
SYMATTR Value 6.8n
SYMATTR InstName C1
SYMBOL res -176 -280 R0
SYMATTR InstName R9
SYMATTR Value 2.2K
SYMBOL res -592 24 R0
SYMATTR InstName R10
SYMATTR Value 90.9K
SYMBOL cap 384 232 R0
SYMATTR InstName C2
SYMATTR Value 6.8
SYMBOL zener -512 -72 M180
SYMATTR InstName D1
SYMATTR Value 1N5373B
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL cap -368 -136 R0
SYMATTR Value 0.1
SYMATTR InstName C3
SYMBOL LTC4364-2 240 56 R0
SYMATTR InstName U1
SYMBOL nmos 400 -264 M270
SYMATTR InstName Q2
SYMATTR Value FDB3682
SYMBOL cap 992 -296 R0
SYMATTR SpiceLine Rser=100m
SYMATTR Value 22
SYMATTR InstName Cload
SYMBOL res 1168 -312 R0
SYMATTR InstName Rload
SYMATTR Value 47