Corrected LM311

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

* LM311 VOLTAGE COMPARATOR "MACROMODEL" SUBCIRCUIT

* CREATED USING PARTS VERSION 4.03 ON 03/07/90 AT 08:15


* REV (N/A)
* CONNECTIONS: EMITTER OUT
* | NON-INVERTING INPUT
* | | INVERTING INPUT
* | | | NEGATIVE POWER SUPPLY
* | | | | BALANCE
* | | | | | BAL / STROBE
* | | | | | | OPEN COLLECTOR OUTPUT
* | | | | | | | POSITIVE POWER SUPPLY
.subckt LM311 1 2 3 4 5 6 7 8
*
F1 9 8 V1 1 ; (current controlled current source) + voltage bias
IEE 9 11 DC 100.0E-6 ; (DC current source) + current bias
VI1 21 2 DC 0.45 ; (DC voltage source) in+ DC offset
VI2 22 3 DC 0.45 ; (DC voltage source) in- DC offset
;.......Q..B..E
Q1 9 21 11 QIN
Q2 10 22 11 QIN
Q3 9 10 4 QMO
Q4 10 10 4 QMI
.model QIN PNP(IS=800.0E-18 BF=500)
.model QMI NPN(IS=800.0E-18 BF=1002)
.model QMO NPN(IS=800.0E-18 BF=1000 CJC=1E-15 TR=102.5E-9)
;.....N+.N-.NC+.NC-.value
E1 12 7 9 4 1 ; (voltage controlled voltage source)
V1 12 13 DC 0 ; (DC voltage source) virtual buffer
;.......Q..B..E
Q5 7 13 1 QOC
.model QOC NPN(IS=800.0E-18 BF=103.5E3 CJC=1E-15 TF=11.60E-12 TR=48.19E-9)
DP 4 8 DX
RP 8 4 6.667E3
.model DX D(IS=800.0E-18)
*
.ends

You might also like