* SPICE netlist
VIN FGND 0 PULSE(20 -70 0 100n 100n 0.2ms 0.4ms 7)
Q1 N004 N003 N002 0 2N3906
Q3 N003 N002 N001 0 2N3906
R6 N001 N002 400R
V1 N001 0 100
V4 0 N016 100
R8 N003 N014 500k
D1 FGND N004 Z17V
D2 N010 FGND Z17V
Q2 N010 N014 N015 0 2N3904
R1 N015 N016 400R
Q4 N014 N015 N016 0 2N3904
Q5 FVCC N008 P001 0 2SC5200
Q6 FVEE N008 P002 0 2SA1943
R3 P001 N009 0.5R
R5 N009 P002 0.5R
R7 N009 N008 300R
M4 N011 N010 FVEE FVEE IRFP9240
XU1 FGND N009 FVCC FVEE N008 LT1006 ;pnba In+)In-)V+)V-)OUT
C2 N004 FGND 100n
C3 FGND N010 100n
C5 N009 N008 1p
R2 N009 0 100R
C7 FVCC FVEE 100n
D5 N009 FVCC D
D6 FVEE N009 D
D8 N010 FVEE D
D9 N007 N006 D
V2 N007 0 36
D10 N011 N012 D
V3 0 N012 36
M1 N001 N005 N006 N006 IRFP240
D11 N006 N005 D
D12 N004 N005 D
M3 N016 N013 N011 N011 IRFP9240
D13 N013 N011 D
D14 N013 N010 D
Q7 N006 N004 FVCC 0 2SC5200
D3 FVCC N004 D
.tran 3ms
.include my.lib
.include standard.bjt

* LTspice schematic (.asc)
Version 4
SHEET 1 1680 1552
WIRE -104 -760 -280 -760
WIRE 424 -760 -104 -760
WIRE 520 -760 424 -760
WIRE -280 -728 -280 -760
WIRE -104 -680 -216 -680
WIRE -168 -632 -280 -632
WIRE 424 -632 424 -760
WIRE -104 -552 -104 -584
WIRE 200 -552 -104 -552
WIRE 376 -552 264 -552
WIRE 424 -488 424 -536
WIRE 424 -488 376 -488
WIRE 424 -424 424 -488
WIRE 520 -424 488 -424
WIRE 424 -344 424 -424
WIRE -104 -296 -104 -552
WIRE 344 -296 -104 -296
WIRE 360 -296 344 -296
WIRE -280 -232 -280 -632
WIRE 424 -232 424 -248
WIRE 424 -232 344 -232
WIRE 424 -200 424 -232
WIRE 520 -200 424 -200
WIRE 424 -168 424 -200
WIRE 360 -120 280 -120
WIRE 648 -56 72 -56
WIRE -104 -40 -104 -296
WIRE -56 -40 -104 -40
WIRE 280 -40 280 -120
WIRE 296 -40 280 -40
WIRE 392 -40 360 -40
WIRE 72 -8 72 -56
WIRE 88 -8 72 -8
WIRE 264 8 152 8
WIRE 280 8 280 -40
WIRE 280 8 264 8
WIRE 296 8 280 8
WIRE 392 8 392 -40
WIRE 392 8 376 8
WIRE 424 8 392 8
WIRE 648 8 648 -56
WIRE 648 8 424 8
WIRE 728 8 648 8
WIRE 744 8 728 8
WIRE 840 8 744 8
WIRE -456 24 -840 24
WIRE -104 24 -456 24
WIRE -56 24 -104 24
WIRE -40 24 -56 24
WIRE 88 24 -40 24
WIRE -840 56 -840 24
WIRE -40 88 -104 88
WIRE 264 136 264 8
WIRE 360 136 264 136
WIRE 424 216 424 184
WIRE 520 216 424 216
WIRE 424 232 424 216
WIRE 424 232 376 232
WIRE 424 280 424 232
WIRE -104 296 -104 88
WIRE 376 296 -104 296
WIRE 424 424 424 376
WIRE 536 424 488 424
WIRE 424 488 424 424
WIRE 424 488 376 488
WIRE 424 536 424 488
WIRE -104 552 -104 296
WIRE 248 552 -104 552
WIRE 376 552 312 552
WIRE -104 600 -104 552
WIRE -280 648 -280 -152
WIRE -168 648 -280 648
WIRE -104 696 -216 696
WIRE -280 776 -280 744
WIRE -104 776 -280 776
WIRE 424 776 424 632
WIRE 424 776 -104 776
WIRE 536 776 424 776
FLAG -840 136 0
FLAG 520 -680 0
FLAG 840 88 0
FLAG 520 -200 FVCC
FLAG 520 216 FVEE
FLAG -456 24 FGND
FLAG 728 -360 FVCC
FLAG 728 -296 FVEE
FLAG 728 -56 FVCC
FLAG 744 72 FVEE
FLAG 520 -344 0
FLAG 536 344 0
FLAG 536 696 0
FLAG 120 -24 FVCC
FLAG 120 40 FVEE
SYMBOL voltage -840 40 R0
SYMATTR Value PULSE(20 -70 0 100n 100n 0.2ms 0.4ms 7)
SYMATTR InstName VIN
SYMBOL pnp -168 -584 M180
SYMATTR InstName Q1
SYMATTR Value 2N3906
SYMBOL pnp -216 -632 R180
SYMATTR InstName Q3
SYMATTR Value 2N3906
SYMBOL res -120 -776 R0
SYMATTR InstName R6
SYMATTR Value 400R
SYMBOL voltage 520 -776 R0
SYMATTR Value 100
SYMATTR InstName V1
SYMBOL voltage 536 680 R0
SYMATTR InstName V4
SYMATTR Value 100
SYMBOL res -296 -248 R0
SYMATTR InstName R8
SYMATTR Value 500k
SYMBOL zener -88 24 R180
SYMATTR InstName D1
SYMATTR Value Z17V
SYMBOL zener -88 88 R180
SYMATTR InstName D2
SYMATTR Value Z17V
SYMBOL npn -168 600 R0
SYMATTR InstName Q2
SYMATTR Value 2N3904
SYMBOL res -120 680 R0
SYMATTR InstName R1
SYMATTR Value 400R
SYMBOL npn -216 648 M0
SYMATTR InstName Q4
SYMATTR Value 2N3904
SYMBOL npn 360 -168 R0
SYMATTR InstName Q5
SYMATTR Value 2SC5200
SYMBOL pnp 360 184 M180
SYMATTR Value 2SA1943
SYMATTR InstName Q6
SYMBOL res 408 -88 R0
SYMATTR InstName R3
SYMATTR Value 0.5R
SYMBOL res 408 -8 R0
SYMATTR InstName R5
SYMATTR Value 0.5R
SYMBOL res 392 -8 R90
SYMATTR InstName R7
SYMATTR Value 300R
SYMBOL pmos 376 376 M180
SYMATTR InstName M4
SYMATTR Value IRFP9240
SYMBOL OpAmps\\LT1006 120 -56 R0
SYMATTR InstName U1
SYMBOL cap -72 -40 R0
SYMATTR InstName C2
SYMATTR Value 100n
SYMBOL cap -56 24 R0
SYMATTR InstName C3
SYMATTR Value 100n
SYMBOL cap 360 -56 R90
SYMATTR InstName C5
SYMATTR Value 1p
SYMBOL res 824 -8 R0
SYMATTR InstName R2
SYMATTR Value 100R
SYMBOL cap 712 -360 R0
SYMATTR InstName C7
SYMATTR Value 100n
SYMBOL diode 744 8 R180
SYMATTR InstName D5
SYMBOL diode 760 72 R180
SYMATTR InstName D6
SYMBOL diode 392 296 R180
SYMATTR InstName D8
SYMBOL diode 488 -440 R90
SYMATTR InstName D9
SYMBOL voltage 520 -440 R0
SYMATTR Value 36
SYMATTR InstName V2
SYMBOL diode 424 440 R270
SYMATTR InstName D10
SYMBOL voltage 536 328 R0
SYMATTR Value 36
SYMATTR InstName V3
SYMBOL nmos 376 -632 R0
SYMATTR InstName M1
SYMATTR Value IRFP240
SYMBOL diode 392 -488 R180
SYMATTR InstName D11
SYMBOL diode 200 -536 R270
SYMATTR InstName D12
SYMBOL pmos 376 632 M180
SYMATTR InstName M3
SYMATTR Value IRFP9240
SYMBOL diode 392 552 R180
SYMATTR InstName D13
SYMBOL diode 312 536 R90
SYMATTR InstName D14
SYMBOL npn 360 -344 R0
SYMATTR InstName Q7
SYMATTR Value 2SC5200
SYMBOL diode 360 -232 R180
SYMATTR InstName D3