chiark
/
gitweb
/
~ijackson
/
trains.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
more accurate peco_y peco_c[rl]
[trains.git]
/
spice
/
test.cir
1
OPMODEL1.CIR - OPAMP MODEL SINGLE-POLE
2
*
3
* OPAMP MACRO MODEL, SINGLE-POLE
4
* connections: non-inverting input
5
* | inverting input
6
* | | output
7
* | | |
8
.SUBCKT OPAMP1 1 2 6
9
* INPUT IMPEDANCE
10
RIN 1 2 10MEG
11
* DC GAIN=100K AND POLE1=100HZ
12
* UNITY GAIN = DCGAIN X POLE1 = 10MHZ
13
EGAIN 3 0 1 2 100K
14
RP1 3 4 1K
15
CP1 4 0 1.5915UF
16
* OUTPUT BUFFER AND RESISTANCE
17
EBUFFER 5 0 4 0 1
18
ROUT 5 6 10
19
.ENDS
20
*
21
VS 1 0 AC 1
22
XOP 1 0 3 OPAMP1
23
RL 3 0 1K
24
*
25
* ANALYSIS
26
.AC DEC 5 1 100MEG
27
* VIEW RESULTS
28
*.PLOT AC VM(3)
29
.print AC VM(3) vp(3)
30
.PROBE
31
.END