*
*LM337 negative voltage regulator
*Connections Input Adj. Output
.subckt LM337 8 1 19
.MODEL QN NPN (BF=50 TF=1N CJC=1P)
.MODEL QPOUT PNP (BF=50 TF=1N RE=.2 CJC=1P)
.MODEL QP PNP CJC=1P TF=2N
.MODEL DN D
.MODEL D2 D BV=12 IBV=100U
R10 25 6 1K
Q3 8 17 16 QPOUT
Q4 8 25 17 QP
R18 19 17 250
R19 19 16 .3
G1 8 6 1 18 .1
C7 6 2 .04U
R24 2 8 100
I_ADJ 0 1 65U
R26 8 25 200K
Q5 25 4 19 QP
R27 16 4 200
R28 7 4 7K
D1 8 7 D2
D2 8 6 DN
V1 18 19 1.25
.ENDS
** =============================================
Version 4
SymbolType CELL
RECTANGLE Normal 64 48 -64 -48
TEXT 0 -29 Center 0 LM317
SYMATTR Value LM317
SYMATTR Prefix X
SYMATTR Value2 LM317
SYMATTR Description LM317 voltage regulator
SYMATTR ModelFile LM317.sub
PIN -64 0 LEFT 8
PINATTR PinName IN
PINATTR SpiceOrder 1
PIN 0 48 BOTTOM 8
PINATTR PinName ADJ
PINATTR SpiceOrder 2
PIN 64 0 RIGHT 8
PINATTR PinName OUT
PINATTR SpiceOrder 3
1