* SPICE netlist
Q1 N004 VREF N012 0 BC817-25
Q2 N003 N011 N012 0 BC817-25
R1 OUT N010 8.2k
R2 N015 0 12k
Q3 VREF N008 N007 0 BC807-25
Q4 N008 N008 N006 0 BC807-25
Q5 N008 VREF N014 0 BC817-25
R3 C12 N006 220
R4 C12 N007 220
R5 N014 0 2.2k
Q6 N012 N013 0 0 BC817-25
Q7 N013 N013 0 0 BC817-25
Q8 N009 N005 C12 0 2N3906
Q9 N013 N009 N005 0 2N3906
R6 C12 N005 100
R7 N009 0 10k
Q10 N004 N004 N001 0 BC807-25
Q11 N003 N004 N002 0 BC807-25
Q12 C12 N003 PROT 0 Qmjd31c
R8 C12 N001 100
R9 C12 N002 100
Q13 N003 PROT OUT 0 BC817-25
R10 N010 N011 5k
R11 N011 N015 5k
R12 N017 N019 1
R13 N017 N016 0.47
R14 N018 N017 0.47
R15 N019 PROT 0.47
R16 N016 PROT 1
R17 OUT N018 0.47
D1 0 VREF BZX84C6V2L
V1 C12 0 25
R18 OUT 0 {Rsc}
R22 C12 VREF 200k
+Vceo=50 Vje=1200m Tf=1/(2*pi*100Meg) Eg=1.11 Xti=3
+Icrating=800m Cjc=24p Cje=40p Rc=1 Rb=.1 Re=.1
+mfg=Diotec type=npn)
+IS=9.06202e-11 BF=3418.7 NF=1.17603 VAF=29.2393
+IKF=0.108267 ISE=5.37193e-07 NE=4 BR=367.353
+NR=5 VAR=1.631 IKR=1.15207 ISC=1.15754e-09
+NC=1.49179 RB=22.4853 IRB=0.00220937 RBM=1e-12
+RE=0.0001 RC=0.138633 XTB=9.99997e-13 XTI=1e-12
+EG=1.05 CJE=3.73889e-10 VJE=0.67672 MJE=0.575056
+TF=1e-08 XTF=3.4926 VTF=12.6615 ITF=0.0523952
+CJC=3.5251e-10 VJC=0.884306 MJC=0.473486 XCJC=0.1
+FC=0.8 CJS=0 VJS=0.75 MJS=0.5
+TR=3.29803e-06 PTF=0 KF=0 AF=1
+ IKF=0.273 ISE=15.1p NE=2.00 BR=4.00 NR=1.00
+ VAR=20.0 IKR=0.675 RE=0.213 RB=0.852 RC=85.2m
+ XTB=1.5 CJE=107p VJE=1.10 MJE=0.500 CJC=34.7p VJC=0.300 MJC=0.300
+ TF=631p TR=109n EG=1.12 )
.op
.step param Rsc 1 100 0.1

* LTspice schematic (.asc)
Version 4
SHEET 1 2256 1072
WIRE -888 -536 -984 -536
WIRE -584 -536 -888 -536
WIRE -472 -536 -584 -536
WIRE -264 -536 -472 -536
WIRE -120 -536 -264 -536
WIRE 56 -536 -120 -536
WIRE 280 -536 56 -536
WIRE 360 -536 280 -536
WIRE 392 -536 360 -536
WIRE 536 -536 488 -536
WIRE 584 -536 536 -536
WIRE 680 -536 584 -536
WIRE 904 -536 824 -536
WIRE 1000 -536 904 -536
WIRE 56 -520 56 -536
WIRE 280 -520 280 -536
WIRE -120 -488 -120 -536
WIRE 584 -488 584 -536
WIRE -888 -472 -888 -536
WIRE -584 -472 -584 -536
WIRE 56 -424 56 -440
WIRE 280 -424 280 -440
WIRE 440 -424 440 -472
WIRE 536 -424 440 -424
WIRE 904 -424 904 -536
WIRE 904 -424 632 -424
WIRE 1128 -424 904 -424
WIRE -264 -408 -264 -536
WIRE 168 -376 120 -376
WIRE 216 -376 168 -376
WIRE -120 -360 -120 -408
WIRE -120 -360 -200 -360
WIRE 904 -328 904 -424
WIRE 56 -296 56 -328
WIRE 168 -296 168 -376
WIRE 168 -296 56 -296
WIRE 1128 -296 1128 -424
WIRE -888 -280 -888 -392
WIRE -584 -280 -584 -392
WIRE -120 -280 -120 -360
WIRE -760 -232 -824 -232
WIRE -648 -232 -760 -232
WIRE -264 -232 -264 -312
WIRE -184 -232 -264 -232
WIRE 280 -232 280 -328
WIRE 440 -232 440 -424
WIRE 440 -232 280 -232
WIRE 904 -216 904 -248
WIRE -472 -184 -472 -536
WIRE -888 -152 -888 -184
WIRE -760 -152 -760 -232
WIRE -760 -152 -888 -152
WIRE 56 -152 56 -296
WIRE 280 -152 280 -232
WIRE -8 -104 -40 -104
WIRE 904 -104 904 -136
WIRE 904 -104 344 -104
WIRE 904 -72 904 -104
WIRE -888 -40 -888 -152
WIRE -264 -40 -264 -232
WIRE 56 -40 56 -56
WIRE 184 -40 56 -40
WIRE 280 -40 280 -56
WIRE 280 -40 184 -40
WIRE -584 8 -584 -184
WIRE -584 8 -824 8
WIRE -472 8 -472 -104
WIRE -472 8 -584 8
WIRE -120 88 -120 -184
WIRE -8 88 -120 88
WIRE -1128 120 -1128 40
WIRE -888 136 -888 56
WIRE -584 136 -584 8
WIRE -120 136 -120 88
WIRE 184 136 184 -40
WIRE 904 168 904 8
WIRE -8 184 -8 88
WIRE -8 184 -56 184
WIRE 120 184 -8 184
WIRE -1128 296 -1128 200
WIRE -888 296 -888 216
WIRE -584 296 -584 200
WIRE -264 296 -264 40
WIRE -120 296 -120 232
WIRE 184 296 184 232
WIRE 904 296 904 248
WIRE 1128 296 1128 -216
WIRE 248 456 216 456
WIRE 392 456 328 456
WIRE 536 456 472 456
WIRE 216 504 216 456
WIRE 216 504 152 504
WIRE 536 504 536 456
WIRE 616 504 536 504
WIRE 744 504 696 504
WIRE 904 504 824 504
WIRE 216 536 216 504
WIRE 248 536 216 536
WIRE 392 536 328 536
WIRE 536 536 536 504
WIRE 536 536 472 536
FLAG 904 296 0
FLAG -888 296 0
FLAG 184 296 0
FLAG -120 296 0
FLAG -264 296 0
FLAG -40 -104 VREF
FLAG 1000 -536 OUT
IOPIN 848 -720 Out
FLAG 360 -536 C12
FLAG 536 -536 E12
FLAG -1128 296 0
FLAG 680 -536 PROT
FLAG 152 504 PROT
FLAG 904 504 OUT
FLAG -1128 40 VDD
FLAG -984 -536 VDD
FLAG -584 296 0
FLAG -584 8 VREF
FLAG 1128 296 0
SYMBOL npn -8 -152 R0
SYMATTR InstName Q1
SYMATTR Value BC817-25
SYMBOL npn 344 -152 M0
SYMATTR InstName Q2
SYMATTR Value BC817-25
SYMBOL res 888 -344 R0
SYMATTR InstName R1
SYMATTR Value 8.2k
SYMBOL res 888 152 R0
SYMATTR InstName R2
SYMATTR Value 12k
SYMBOL pnp -648 -184 M180
SYMATTR InstName Q3
SYMATTR Value BC807-25
SYMBOL pnp -824 -184 R180
SYMATTR InstName Q4
SYMATTR Value BC807-25
SYMBOL npn -824 -40 M0
SYMATTR InstName Q5
SYMATTR Value BC817-25
SYMBOL res -904 -488 R0
SYMATTR InstName R3
SYMATTR Value 220
SYMBOL res -600 -488 R0
SYMATTR InstName R4
SYMATTR Value 220
SYMBOL res -904 120 R0
SYMATTR InstName R5
SYMATTR Value 2.2k
SYMBOL npn 120 136 R0
SYMATTR InstName Q6
SYMATTR Value BC817-25
SYMBOL npn -56 136 M0
SYMATTR InstName Q7
SYMATTR Value BC817-25
SYMBOL pnp -200 -312 R180
SYMATTR InstName Q8
SYMATTR Value 2N3906
SYMBOL pnp -184 -184 M180
SYMATTR InstName Q9
SYMATTR Value 2N3906
SYMBOL res -136 -504 R0
SYMATTR InstName R6
SYMATTR Value 100
SYMBOL res -280 -56 R0
SYMATTR InstName R7
SYMATTR Value 10k
SYMBOL pnp 120 -328 R180
SYMATTR InstName Q10
SYMATTR Value BC807-25
SYMBOL pnp 216 -328 M180
SYMATTR InstName Q11
SYMATTR Value BC807-25
SYMBOL npn 392 -472 R270
SYMATTR InstName Q12
SYMATTR Value Qmjd31c
SYMBOL res 40 -536 R0
SYMATTR InstName R8
SYMATTR Value 100
SYMBOL res 264 -536 R0
SYMATTR InstName R9
SYMATTR Value 100
SYMBOL npn 536 -488 M90
SYMATTR InstName Q13
SYMATTR Value BC817-25
SYMBOL res 888 -232 R0
SYMATTR InstName R10
SYMATTR Value 5k
SYMBOL res 888 -88 R0
SYMATTR InstName R11
SYMATTR Value 5k
SYMBOL res 488 520 R90
SYMATTR InstName R12
SYMATTR Value 1
SYMBOL res 488 440 R90
SYMATTR InstName R13
SYMATTR Value 0.47
SYMBOL res 712 488 R90
SYMATTR InstName R14
SYMATTR Value 0.47
SYMBOL res 344 520 R90
SYMATTR InstName R15
SYMATTR Value 0.47
SYMBOL res 344 440 R90
SYMATTR InstName R16
SYMATTR Value 1
SYMBOL res 840 488 R90
SYMATTR InstName R17
SYMATTR Value 0.47
SYMBOL zener -568 200 R180
SYMATTR InstName D1
SYMATTR Value BZX84C6V2L
SYMBOL voltage -1128 104 R0
SYMATTR InstName V1
SYMATTR Value 25
SYMBOL res 1112 -312 R0
SYMATTR InstName R18
SYMATTR Value {Rsc}
SYMBOL res -488 -200 R0
SYMATTR InstName R22
SYMATTR Value 200k