mirror of
https://github.com/ra3xdh/qucs_s
synced 2025-03-28 21:13:26 +00:00
Update SpiceOpamp.lib
This commit is contained in:
parent
f44082c47d
commit
3fcb5d1444
@ -965,657 +965,6 @@ Sub:X1 _net0 _net1 _net2 _net3 _net4 gnd Type="ad822_cir"
|
||||
</Symbol>
|
||||
</Component>
|
||||
|
||||
<Component ad822a>
|
||||
<Description>
|
||||
Authors: Vadim Kuznetsov <ra3xdh@gmail.com> and Timofey Moiseev <voig1396@gmail.com>
|
||||
</Description>
|
||||
<Spice>
|
||||
.SUBCKT SpiceOpamp_AD822A gnd 1 2 99 50 25
|
||||
*
|
||||
* INPUT STAGE & POLE AT 5MHZ
|
||||
*
|
||||
R3 5 99 2456
|
||||
R4 6 99 2456
|
||||
CIN 1 2 5E-12
|
||||
C2 5 6 6.48E-12
|
||||
I1 4 50 108E-6
|
||||
IOS 1 2 1E-11
|
||||
EOS 7 1 POLY(1) (12,98) 800E-6 2.41
|
||||
J1 5 2 4 JX
|
||||
J2 6 7 4 JX
|
||||
GB1 50 2 POLY(3) (2,4) (2,5) (2,50) 0 1E-12 1E-12 1E-12
|
||||
GB2 50 7 POLY(3) (7,4) (7,5) (7,50) 0 1E-12 1E-12 1E-12
|
||||
*
|
||||
EREF 98 0 (30,0) 1
|
||||
*
|
||||
* GAIN STAGE & POLE AT 25 HZ
|
||||
*
|
||||
R5 9 98 1.234E6
|
||||
C3 9 25 32E-12
|
||||
G1 98 9 (6,5) 4.07E-4
|
||||
V1 8 98 0
|
||||
V2 98 10 -1
|
||||
D1 9 10 DX
|
||||
D2 8 9 DX
|
||||
*
|
||||
* COMMON-MODE GAIN NETWORK WITH ZERO AT 5 KHZ
|
||||
*
|
||||
R21 11 12 1E6
|
||||
R22 12 98 200
|
||||
C14 11 12 32.25E-12
|
||||
E13 11 98 POLY(2) (2,98) (1,98) 0 0.5 0.5
|
||||
*
|
||||
* POLE AT 10 MHZ
|
||||
*
|
||||
R23 18 98 1E6
|
||||
C15 18 98 15.9E-15
|
||||
G15 98 18 (9,98) 1E-6
|
||||
*
|
||||
* OUTPUT STAGE
|
||||
*
|
||||
ES 26 51 POLY(1) (18,98) 1.72 1
|
||||
RS 26 22 500
|
||||
V3 23 51 1.03951
|
||||
V4 21 23 1.36
|
||||
C16 20 25 2E-12
|
||||
C17 24 25 2E-12
|
||||
RG1 20 97 1E8
|
||||
RG2 24 97 1E8
|
||||
Q1 20 20 97 PNP
|
||||
Q2 20 21 22 NPN
|
||||
Q3 24 23 22 PNP
|
||||
Q4 24 24 51 NPN
|
||||
Q5 25 20 97 PNP 20
|
||||
Q6 25 24 51 NPN 20
|
||||
VP 96 97 0
|
||||
VN 51 52 0
|
||||
EP 96 0 POLY(1) (99,0) 0.01 1
|
||||
EN 52 0 POLY(1) (50,0) -0.015 1
|
||||
R25 30 99 275E3
|
||||
R26 30 50 275E3
|
||||
FSY1 99 0 POLY(1) VP 210.5E-6 1
|
||||
FSY2 0 50 POLY(1) VN 210.5E-6 1
|
||||
*
|
||||
* MODELS USED
|
||||
*
|
||||
.MODEL JX NJF(BETA=7.67E-4 VTO=-2.000 IS=12.5E-12)
|
||||
.MODEL NPN NPN(BF=120 VAF=150 VAR=15 RB=2E3 RE=4 RC=200)
|
||||
.MODEL PNP PNP(BF=120 VAF=150 VAR=15 RB=2E3 RE=4 RC=900)
|
||||
.MODEL DX D(IS=1E-15)
|
||||
.ENDS AD822A
|
||||
</Spice>
|
||||
<Model>
|
||||
.Def:SpiceOpamp_ad822a _net0 _net2 _net4 _net3 _net1
|
||||
Sub:X1 _net0 _net1 _net2 _net3 _net4 gnd Type="ad822a_cir"
|
||||
.Def:End
|
||||
.Def:ad822a_cir _net1 _net25 _net2 _net50 _net99 _ref
|
||||
.Def:AD822A _ref _net1 _net2 _net99 _net50 _net25
|
||||
CCCS:FSY2 _cnet12 _net50 _ref gnd G="1"
|
||||
Eqn:EqnFSY2I1 FSY2.I1="+0.0002105+1*V2" Export="no"
|
||||
Eqn:EqnFSY2Q1 FSY2.Q1="0" Export="no"
|
||||
Eqn:EqnFSY2I2 FSY2.I2="0" Export="no"
|
||||
Eqn:EqnFSY2Q2 FSY2.Q2="0" Export="no"
|
||||
CCVS:FSY2V2 _net51 _cnet10 gnd _cnet11 G="1"
|
||||
CCCS:FSY1 _cnet9 _ref _net99 gnd G="1"
|
||||
Eqn:EqnFSY1I1 FSY1.I1="+0.0002105+1*V2" Export="no"
|
||||
Eqn:EqnFSY1Q1 FSY1.Q1="0" Export="no"
|
||||
Eqn:EqnFSY1I2 FSY1.I2="0" Export="no"
|
||||
Eqn:EqnFSY1Q2 FSY1.Q2="0" Export="no"
|
||||
CCVS:FSY1V2 _net96 _cnet7 gnd _cnet8 G="1"
|
||||
CCVS:EN _cnet6 _ref _net52 gnd G="1"
|
||||
Eqn:EqnENI1 EN.I1="-0.015+1*V2" Export="no"
|
||||
Eqn:EqnENQ1 EN.Q1="0" Export="no"
|
||||
Eqn:EqnENI2 EN.I2="0" Export="no"
|
||||
Eqn:EqnENQ2 EN.Q2="0" Export="no"
|
||||
CCVS:EP _cnet5 _ref _net96 gnd G="1"
|
||||
Eqn:EqnEPI1 EP.I1="+0.01+1*V2" Export="no"
|
||||
Eqn:EqnEPQ1 EP.Q1="0" Export="no"
|
||||
Eqn:EqnEPI2 EP.I2="0" Export="no"
|
||||
Eqn:EqnEPQ2 EP.Q2="0" Export="no"
|
||||
CCVS:ES _cnet4 _net51 _net26 gnd G="1"
|
||||
Eqn:EqnESI1 ES.I1="+1.72+1*V2" Export="no"
|
||||
Eqn:EqnESQ1 ES.Q1="0" Export="no"
|
||||
Eqn:EqnESI2 ES.I2="0" Export="no"
|
||||
Eqn:EqnESQ2 ES.Q2="0" Export="no"
|
||||
CCVS:E13 _cnet3 _net98 _net11 gnd G="1"
|
||||
Eqn:EqnE13I1 E13.I1="+0.5*V2+0.5*V3" Export="no"
|
||||
Eqn:EqnE13Q1 E13.Q1="0" Export="no"
|
||||
Eqn:EqnE13I2 E13.I2="0" Export="no"
|
||||
Eqn:EqnE13Q2 E13.Q2="0" Export="no"
|
||||
Eqn:EqnE13I3 E13.I3="0" Export="no"
|
||||
Eqn:EqnE13Q3 E13.Q3="0" Export="no"
|
||||
CCCS:GB2 _cnet2 _net7 _net50 gnd G="1"
|
||||
Eqn:EqnGB2I1 GB2.I1="+1e-12*V2+1e-12*V3+1e-12*V4" Export="no"
|
||||
Eqn:EqnGB2Q1 GB2.Q1="0" Export="no"
|
||||
Eqn:EqnGB2I2 GB2.I2="0" Export="no"
|
||||
Eqn:EqnGB2Q2 GB2.Q2="0" Export="no"
|
||||
Eqn:EqnGB2I3 GB2.I3="0" Export="no"
|
||||
Eqn:EqnGB2Q3 GB2.Q3="0" Export="no"
|
||||
Eqn:EqnGB2I4 GB2.I4="0" Export="no"
|
||||
Eqn:EqnGB2Q4 GB2.Q4="0" Export="no"
|
||||
CCCS:GB1 _cnet1 _net2 _net50 gnd G="1"
|
||||
Eqn:EqnGB1I1 GB1.I1="+1e-12*V2+1e-12*V3+1e-12*V4" Export="no"
|
||||
Eqn:EqnGB1Q1 GB1.Q1="0" Export="no"
|
||||
Eqn:EqnGB1I2 GB1.I2="0" Export="no"
|
||||
Eqn:EqnGB1Q2 GB1.Q2="0" Export="no"
|
||||
Eqn:EqnGB1I3 GB1.I3="0" Export="no"
|
||||
Eqn:EqnGB1Q3 GB1.Q3="0" Export="no"
|
||||
Eqn:EqnGB1I4 GB1.I4="0" Export="no"
|
||||
Eqn:EqnGB1Q4 GB1.Q4="0" Export="no"
|
||||
CCVS:EOS _cnet0 _net1 _net7 gnd G="1"
|
||||
Eqn:EqnEOSI1 EOS.I1="+0.0008+2.41*V2" Export="no"
|
||||
Eqn:EqnEOSQ1 EOS.Q1="0" Export="no"
|
||||
Eqn:EqnEOSI2 EOS.I2="0" Export="no"
|
||||
Eqn:EqnEOSQ2 EOS.Q2="0" Export="no"
|
||||
R:R3 _net5 _net99 R="2456"
|
||||
R:R4 _net6 _net99 R="2456"
|
||||
C:CIN _net1 _net2 C="5e-12"
|
||||
C:C2 _net5 _net6 C="6.48e-12"
|
||||
Idc:I1 _net50 _net4 I="0.000108"
|
||||
Idc:IOS _net2 _net1 I="1e-11"
|
||||
EDD:EOS _cnet0 gnd _net12 _net98 I1="EOS.I1" Q1="EOS.Q1" I2="EOS.I2" Q2="EOS.Q2"
|
||||
JFET:J1 _net2 _net5 _net4 Type="nfet" Beta="0.000767" Vt0="-2" Is="1.25e-11" N="1" Lambda="0" M="0.5" Pb="1" Fc="0.5" Cgs="0" Cgd="0"
|
||||
JFET:J2 _net7 _net6 _net4 Type="nfet" Beta="0.000767" Vt0="-2" Is="1.25e-11" N="1" Lambda="0" M="0.5" Pb="1" Fc="0.5" Cgs="0" Cgd="0"
|
||||
EDD:GB1 _cnet1 gnd _net2 _net4 _net2 _net5 _net2 _net50 I1="GB1.I1" Q1="GB1.Q1" I2="GB1.I2" Q2="GB1.Q2" I3="GB1.I3" Q3="GB1.Q3" I4="GB1.I4" Q4="GB1.Q4"
|
||||
EDD:GB2 _cnet2 gnd _net7 _net4 _net7 _net5 _net7 _net50 I1="GB2.I1" Q1="GB2.Q1" I2="GB2.I2" Q2="GB2.Q2" I3="GB2.I3" Q3="GB2.Q3" I4="GB2.I4" Q4="GB2.Q4"
|
||||
VCVS:EREF _net30 _net98 _ref _ref G="1"
|
||||
R:R5 _net9 _net98 R="1.234e+06"
|
||||
C:C3 _net9 _net25 C="3.2e-11"
|
||||
VCCS:G1 _net6 _net98 _net9 _net5 G="0.000407"
|
||||
Vdc:V1 _net8 _net98 U="0"
|
||||
Vdc:V2 _net98 _net10 U="-1"
|
||||
Diode:D1 _net10 _net9 Is="1e-15" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
|
||||
Diode:D2 _net9 _net8 Is="1e-15" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
|
||||
R:R21 _net11 _net12 R="1e+06"
|
||||
R:R22 _net12 _net98 R="200"
|
||||
C:C14 _net11 _net12 C="3.225e-11"
|
||||
EDD:E13 _cnet3 gnd _net2 _net98 _net1 _net98 I1="E13.I1" Q1="E13.Q1" I2="E13.I2" Q2="E13.Q2" I3="E13.I3" Q3="E13.Q3"
|
||||
R:R23 _net18 _net98 R="1e+06"
|
||||
C:C15 _net18 _net98 C="1.59e-14"
|
||||
VCCS:G15 _net9 _net98 _net18 _net98 G="1e-06"
|
||||
EDD:ES _cnet4 gnd _net18 _net98 I1="ES.I1" Q1="ES.Q1" I2="ES.I2" Q2="ES.Q2"
|
||||
R:RS _net26 _net22 R="500"
|
||||
Vdc:V3 _net23 _net51 U="1.03951"
|
||||
Vdc:V4 _net21 _net23 U="1.36"
|
||||
C:C16 _net20 _net25 C="2e-12"
|
||||
C:C17 _net24 _net25 C="2e-12"
|
||||
R:RG1 _net20 _net97 R="1e+08"
|
||||
R:RG2 _net24 _net97 R="1e+08"
|
||||
BJT:Q1 _net20 _net20 _net97 _ref Type="pnp" Bf="120" Vaf="150" Var="15" Rb="2000" Re="4" Rc="900" Is="1e-16" Nf="1" Nr="1" Ikf="0" Ikr="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
|
||||
BJT:Q2 _net21 _net20 _net22 _ref Type="npn" Bf="120" Vaf="150" Var="15" Rb="2000" Re="4" Rc="200" Is="1e-16" Nf="1" Nr="1" Ikf="0" Ikr="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
|
||||
BJT:Q3 _net23 _net24 _net22 _ref Type="pnp" Bf="120" Vaf="150" Var="15" Rb="2000" Re="4" Rc="900" Is="1e-16" Nf="1" Nr="1" Ikf="0" Ikr="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
|
||||
BJT:Q4 _net24 _net24 _net51 _ref Type="npn" Bf="120" Vaf="150" Var="15" Rb="2000" Re="4" Rc="200" Is="1e-16" Nf="1" Nr="1" Ikf="0" Ikr="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
|
||||
BJT:Q5 _net20 _net25 _net97 _ref Type="pnp" Area="20" Bf="120" Vaf="150" Var="15" Rb="2000" Re="4" Rc="900" Is="1e-16" Nf="1" Nr="1" Ikf="0" Ikr="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
|
||||
BJT:Q6 _net24 _net25 _net51 _ref Type="npn" Area="20" Bf="120" Vaf="150" Var="15" Rb="2000" Re="4" Rc="200" Is="1e-16" Nf="1" Nr="1" Ikf="0" Ikr="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
|
||||
Vdc:VP _cnet8 _net97 U="0"
|
||||
Vdc:VN _cnet11 _net52 U="0"
|
||||
EDD:EP _cnet5 gnd _net99 _ref I1="EP.I1" Q1="EP.Q1" I2="EP.I2" Q2="EP.Q2"
|
||||
EDD:EN _cnet6 gnd _net50 _ref I1="EN.I1" Q1="EN.Q1" I2="EN.I2" Q2="EN.Q2"
|
||||
R:R25 _net30 _net99 R="275000"
|
||||
R:R26 _net30 _net50 R="275000"
|
||||
EDD:FSY1 _cnet9 gnd _cnet7 gnd I1="FSY1.I1" Q1="FSY1.Q1" I2="FSY1.I2" Q2="FSY1.Q2"
|
||||
EDD:FSY2 _cnet12 gnd _cnet10 gnd I1="FSY2.I1" Q1="FSY2.Q1" I2="FSY2.I2" Q2="FSY2.Q2"
|
||||
.Def:End
|
||||
Sub:X1 _ref _net1 _net2 _net99 _net50 _net25 Type="AD822A"
|
||||
.Def:End
|
||||
</Model>
|
||||
<Symbol>
|
||||
<Line -20 40 0 -80 #000080 2 1>
|
||||
<Line 40 0 -60 -40 #000080 2 1>
|
||||
<Line -20 40 60 -40 #000080 2 1>
|
||||
<Line 10 -20 0 -20 #000080 2 1>
|
||||
<Line 10 40 0 -20 #000080 2 1>
|
||||
<Line -40 -20 20 0 #000080 2 1>
|
||||
<Line -40 20 20 0 #000080 2 1>
|
||||
<Line -15 20 10 0 #000000 2 1>
|
||||
<Line -15 -20 10 0 #ff0000 2 1>
|
||||
<Line -10 -15 0 -10 #ff0000 2 1>
|
||||
<Line 40 0 20 0 #000080 2 1>
|
||||
<Text 15 -35 8 #000000 0 "VCC">
|
||||
<Text 15 25 8 #000000 0 "VEE">
|
||||
<.PortSym -40 -20 1 0>
|
||||
<.PortSym -40 20 2 0>
|
||||
<.PortSym 10 -40 3 270>
|
||||
<.PortSym 10 40 4 90>
|
||||
<.PortSym 60 0 5 180>
|
||||
<.ID 50 34 OP>
|
||||
</Symbol>
|
||||
</Component>
|
||||
|
||||
<Component ad822b>
|
||||
<Description>
|
||||
Authors: Vadim Kuznetsov <ra3xdh@gmail.com> and Timofey Moiseev <voig1396@gmail.com>
|
||||
</Description>
|
||||
<Spice>
|
||||
.SUBCKT SpiceOpamp_AD822B gnd 1 2 99 50 25
|
||||
*
|
||||
* INPUT STAGE & POLE AT 5MHZ
|
||||
*
|
||||
R3 5 99 2456
|
||||
R4 6 99 2456
|
||||
CIN 1 2 5E-12
|
||||
C2 5 6 6.48E-12
|
||||
I1 4 50 108E-6
|
||||
IOS 1 2 5E-12
|
||||
EOS 7 1 POLY(1) (12,98) 400E-6 2.41
|
||||
J1 5 2 4 JX
|
||||
J2 6 7 4 JX
|
||||
GB1 50 2 POLY(3) (2,4) (2,5) (2,50) 0 1E-12 1E-12 1E-12
|
||||
GB2 50 7 POLY(3) (7,4) (7,5) (7,50) 0 1E-12 1E-12 1E-12
|
||||
*
|
||||
EREF 98 0 (30,0) 1
|
||||
*
|
||||
* GAIN STAGE & POLE AT 25 HZ
|
||||
*
|
||||
R5 9 98 1.234E6
|
||||
C3 9 25 32E-12
|
||||
G1 98 9 (6,5) 4.07E-4
|
||||
V1 8 98 0
|
||||
V2 98 10 -1
|
||||
D1 9 10 DX
|
||||
D2 8 9 DX
|
||||
*
|
||||
* COMMON-MODE GAIN NETWORK WITH ZERO AT 3.5 KHZ
|
||||
*
|
||||
R21 11 12 1E6
|
||||
R22 12 98 141
|
||||
C14 11 12 45.6E-12
|
||||
E13 11 98 POLY(2) (2,98) (1,98) 0 0.5 0.5
|
||||
*
|
||||
* POLE AT 10 MHZ
|
||||
*
|
||||
R23 18 98 1E6
|
||||
C15 18 98 15.9E-15
|
||||
G15 98 18 (9,98) 1E-6
|
||||
*
|
||||
* OUTPUT STAGE
|
||||
*
|
||||
ES 26 51 POLY(1) (18,98) 1.72 1
|
||||
RS 26 22 500
|
||||
V3 23 51 1.03951
|
||||
V4 21 23 1.36
|
||||
C16 20 25 2E-12
|
||||
C17 24 25 2E-12
|
||||
RG1 20 97 1E8
|
||||
RG2 24 97 1E8
|
||||
Q1 20 20 97 PNP
|
||||
Q2 20 21 22 NPN
|
||||
Q3 24 23 22 PNP
|
||||
Q4 24 24 51 NPN
|
||||
Q5 25 20 97 PNP 20
|
||||
Q6 25 24 51 NPN 20
|
||||
VP 96 97 0
|
||||
VN 51 52 0
|
||||
EP 96 0 POLY(1) (99,0) 0.01 1
|
||||
EN 52 0 POLY(1) (50,0) -0.015 1
|
||||
R25 30 99 275E3
|
||||
R26 30 50 275E3
|
||||
FSY1 99 0 POLY(1) VP 210.5E-6 1
|
||||
FSY2 0 50 POLY(1) VN 210.5E-6 1
|
||||
*
|
||||
* MODELS USED
|
||||
*
|
||||
.MODEL JX NJF(BETA=7.67E-4 VTO=-2.000 IS=5E-12)
|
||||
.MODEL NPN NPN(BF=120 VAF=150 VAR=15 RB=2E3 RE=4 RC=200)
|
||||
.MODEL PNP PNP(BF=120 VAF=150 VAR=15 RB=2E3 RE=4 RC=900)
|
||||
.MODEL DX D(IS=1E-15)
|
||||
.ENDS AD822B
|
||||
</Spice>
|
||||
<Model>
|
||||
.Def:SpiceOpamp_ad822b _net0 _net2 _net4 _net3 _net1
|
||||
Sub:X1 _net0 _net1 _net2 _net3 _net4 gnd Type="ad822b_cir"
|
||||
.Def:End
|
||||
.Def:ad822b_cir _net1 _net25 _net2 _net50 _net99 _ref
|
||||
.Def:AD822B _ref _net1 _net2 _net99 _net50 _net25
|
||||
CCCS:FSY2 _cnet12 _net50 _ref gnd G="1"
|
||||
Eqn:EqnFSY2I1 FSY2.I1="+0.0002105+1*V2" Export="no"
|
||||
Eqn:EqnFSY2Q1 FSY2.Q1="0" Export="no"
|
||||
Eqn:EqnFSY2I2 FSY2.I2="0" Export="no"
|
||||
Eqn:EqnFSY2Q2 FSY2.Q2="0" Export="no"
|
||||
CCVS:FSY2V2 _net51 _cnet10 gnd _cnet11 G="1"
|
||||
CCCS:FSY1 _cnet9 _ref _net99 gnd G="1"
|
||||
Eqn:EqnFSY1I1 FSY1.I1="+0.0002105+1*V2" Export="no"
|
||||
Eqn:EqnFSY1Q1 FSY1.Q1="0" Export="no"
|
||||
Eqn:EqnFSY1I2 FSY1.I2="0" Export="no"
|
||||
Eqn:EqnFSY1Q2 FSY1.Q2="0" Export="no"
|
||||
CCVS:FSY1V2 _net96 _cnet7 gnd _cnet8 G="1"
|
||||
CCVS:EN _cnet6 _ref _net52 gnd G="1"
|
||||
Eqn:EqnENI1 EN.I1="-0.015+1*V2" Export="no"
|
||||
Eqn:EqnENQ1 EN.Q1="0" Export="no"
|
||||
Eqn:EqnENI2 EN.I2="0" Export="no"
|
||||
Eqn:EqnENQ2 EN.Q2="0" Export="no"
|
||||
CCVS:EP _cnet5 _ref _net96 gnd G="1"
|
||||
Eqn:EqnEPI1 EP.I1="+0.01+1*V2" Export="no"
|
||||
Eqn:EqnEPQ1 EP.Q1="0" Export="no"
|
||||
Eqn:EqnEPI2 EP.I2="0" Export="no"
|
||||
Eqn:EqnEPQ2 EP.Q2="0" Export="no"
|
||||
CCVS:ES _cnet4 _net51 _net26 gnd G="1"
|
||||
Eqn:EqnESI1 ES.I1="+1.72+1*V2" Export="no"
|
||||
Eqn:EqnESQ1 ES.Q1="0" Export="no"
|
||||
Eqn:EqnESI2 ES.I2="0" Export="no"
|
||||
Eqn:EqnESQ2 ES.Q2="0" Export="no"
|
||||
CCVS:E13 _cnet3 _net98 _net11 gnd G="1"
|
||||
Eqn:EqnE13I1 E13.I1="+0.5*V2+0.5*V3" Export="no"
|
||||
Eqn:EqnE13Q1 E13.Q1="0" Export="no"
|
||||
Eqn:EqnE13I2 E13.I2="0" Export="no"
|
||||
Eqn:EqnE13Q2 E13.Q2="0" Export="no"
|
||||
Eqn:EqnE13I3 E13.I3="0" Export="no"
|
||||
Eqn:EqnE13Q3 E13.Q3="0" Export="no"
|
||||
CCCS:GB2 _cnet2 _net7 _net50 gnd G="1"
|
||||
Eqn:EqnGB2I1 GB2.I1="+1e-12*V2+1e-12*V3+1e-12*V4" Export="no"
|
||||
Eqn:EqnGB2Q1 GB2.Q1="0" Export="no"
|
||||
Eqn:EqnGB2I2 GB2.I2="0" Export="no"
|
||||
Eqn:EqnGB2Q2 GB2.Q2="0" Export="no"
|
||||
Eqn:EqnGB2I3 GB2.I3="0" Export="no"
|
||||
Eqn:EqnGB2Q3 GB2.Q3="0" Export="no"
|
||||
Eqn:EqnGB2I4 GB2.I4="0" Export="no"
|
||||
Eqn:EqnGB2Q4 GB2.Q4="0" Export="no"
|
||||
CCCS:GB1 _cnet1 _net2 _net50 gnd G="1"
|
||||
Eqn:EqnGB1I1 GB1.I1="+1e-12*V2+1e-12*V3+1e-12*V4" Export="no"
|
||||
Eqn:EqnGB1Q1 GB1.Q1="0" Export="no"
|
||||
Eqn:EqnGB1I2 GB1.I2="0" Export="no"
|
||||
Eqn:EqnGB1Q2 GB1.Q2="0" Export="no"
|
||||
Eqn:EqnGB1I3 GB1.I3="0" Export="no"
|
||||
Eqn:EqnGB1Q3 GB1.Q3="0" Export="no"
|
||||
Eqn:EqnGB1I4 GB1.I4="0" Export="no"
|
||||
Eqn:EqnGB1Q4 GB1.Q4="0" Export="no"
|
||||
CCVS:EOS _cnet0 _net1 _net7 gnd G="1"
|
||||
Eqn:EqnEOSI1 EOS.I1="+0.0004+2.41*V2" Export="no"
|
||||
Eqn:EqnEOSQ1 EOS.Q1="0" Export="no"
|
||||
Eqn:EqnEOSI2 EOS.I2="0" Export="no"
|
||||
Eqn:EqnEOSQ2 EOS.Q2="0" Export="no"
|
||||
R:R3 _net5 _net99 R="2456"
|
||||
R:R4 _net6 _net99 R="2456"
|
||||
C:CIN _net1 _net2 C="5e-12"
|
||||
C:C2 _net5 _net6 C="6.48e-12"
|
||||
Idc:I1 _net50 _net4 I="0.000108"
|
||||
Idc:IOS _net2 _net1 I="5e-12"
|
||||
EDD:EOS _cnet0 gnd _net12 _net98 I1="EOS.I1" Q1="EOS.Q1" I2="EOS.I2" Q2="EOS.Q2"
|
||||
JFET:J1 _net2 _net5 _net4 Type="nfet" Beta="0.000767" Vt0="-2" Is="5e-12" N="1" Lambda="0" M="0.5" Pb="1" Fc="0.5" Cgs="0" Cgd="0"
|
||||
JFET:J2 _net7 _net6 _net4 Type="nfet" Beta="0.000767" Vt0="-2" Is="5e-12" N="1" Lambda="0" M="0.5" Pb="1" Fc="0.5" Cgs="0" Cgd="0"
|
||||
EDD:GB1 _cnet1 gnd _net2 _net4 _net2 _net5 _net2 _net50 I1="GB1.I1" Q1="GB1.Q1" I2="GB1.I2" Q2="GB1.Q2" I3="GB1.I3" Q3="GB1.Q3" I4="GB1.I4" Q4="GB1.Q4"
|
||||
EDD:GB2 _cnet2 gnd _net7 _net4 _net7 _net5 _net7 _net50 I1="GB2.I1" Q1="GB2.Q1" I2="GB2.I2" Q2="GB2.Q2" I3="GB2.I3" Q3="GB2.Q3" I4="GB2.I4" Q4="GB2.Q4"
|
||||
VCVS:EREF _net30 _net98 _ref _ref G="1"
|
||||
R:R5 _net9 _net98 R="1.234e+06"
|
||||
C:C3 _net9 _net25 C="3.2e-11"
|
||||
VCCS:G1 _net6 _net98 _net9 _net5 G="0.000407"
|
||||
Vdc:V1 _net8 _net98 U="0"
|
||||
Vdc:V2 _net98 _net10 U="-1"
|
||||
Diode:D1 _net10 _net9 Is="1e-15" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
|
||||
Diode:D2 _net9 _net8 Is="1e-15" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
|
||||
R:R21 _net11 _net12 R="1e+06"
|
||||
R:R22 _net12 _net98 R="141"
|
||||
C:C14 _net11 _net12 C="4.56e-11"
|
||||
EDD:E13 _cnet3 gnd _net2 _net98 _net1 _net98 I1="E13.I1" Q1="E13.Q1" I2="E13.I2" Q2="E13.Q2" I3="E13.I3" Q3="E13.Q3"
|
||||
R:R23 _net18 _net98 R="1e+06"
|
||||
C:C15 _net18 _net98 C="1.59e-14"
|
||||
VCCS:G15 _net9 _net98 _net18 _net98 G="1e-06"
|
||||
EDD:ES _cnet4 gnd _net18 _net98 I1="ES.I1" Q1="ES.Q1" I2="ES.I2" Q2="ES.Q2"
|
||||
R:RS _net26 _net22 R="500"
|
||||
Vdc:V3 _net23 _net51 U="1.03951"
|
||||
Vdc:V4 _net21 _net23 U="1.36"
|
||||
C:C16 _net20 _net25 C="2e-12"
|
||||
C:C17 _net24 _net25 C="2e-12"
|
||||
R:RG1 _net20 _net97 R="1e+08"
|
||||
R:RG2 _net24 _net97 R="1e+08"
|
||||
BJT:Q1 _net20 _net20 _net97 _ref Type="pnp" Bf="120" Vaf="150" Var="15" Rb="2000" Re="4" Rc="900" Is="1e-16" Nf="1" Nr="1" Ikf="0" Ikr="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
|
||||
BJT:Q2 _net21 _net20 _net22 _ref Type="npn" Bf="120" Vaf="150" Var="15" Rb="2000" Re="4" Rc="200" Is="1e-16" Nf="1" Nr="1" Ikf="0" Ikr="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
|
||||
BJT:Q3 _net23 _net24 _net22 _ref Type="pnp" Bf="120" Vaf="150" Var="15" Rb="2000" Re="4" Rc="900" Is="1e-16" Nf="1" Nr="1" Ikf="0" Ikr="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
|
||||
BJT:Q4 _net24 _net24 _net51 _ref Type="npn" Bf="120" Vaf="150" Var="15" Rb="2000" Re="4" Rc="200" Is="1e-16" Nf="1" Nr="1" Ikf="0" Ikr="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
|
||||
BJT:Q5 _net20 _net25 _net97 _ref Type="pnp" Area="20" Bf="120" Vaf="150" Var="15" Rb="2000" Re="4" Rc="900" Is="1e-16" Nf="1" Nr="1" Ikf="0" Ikr="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
|
||||
BJT:Q6 _net24 _net25 _net51 _ref Type="npn" Area="20" Bf="120" Vaf="150" Var="15" Rb="2000" Re="4" Rc="200" Is="1e-16" Nf="1" Nr="1" Ikf="0" Ikr="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
|
||||
Vdc:VP _cnet8 _net97 U="0"
|
||||
Vdc:VN _cnet11 _net52 U="0"
|
||||
EDD:EP _cnet5 gnd _net99 _ref I1="EP.I1" Q1="EP.Q1" I2="EP.I2" Q2="EP.Q2"
|
||||
EDD:EN _cnet6 gnd _net50 _ref I1="EN.I1" Q1="EN.Q1" I2="EN.I2" Q2="EN.Q2"
|
||||
R:R25 _net30 _net99 R="275000"
|
||||
R:R26 _net30 _net50 R="275000"
|
||||
EDD:FSY1 _cnet9 gnd _cnet7 gnd I1="FSY1.I1" Q1="FSY1.Q1" I2="FSY1.I2" Q2="FSY1.Q2"
|
||||
EDD:FSY2 _cnet12 gnd _cnet10 gnd I1="FSY2.I1" Q1="FSY2.Q1" I2="FSY2.I2" Q2="FSY2.Q2"
|
||||
.Def:End
|
||||
Sub:X1 _ref _net1 _net2 _net99 _net50 _net25 Type="AD822B"
|
||||
.Def:End
|
||||
</Model>
|
||||
<Symbol>
|
||||
<Line -20 40 0 -80 #000080 2 1>
|
||||
<Line 40 0 -60 -40 #000080 2 1>
|
||||
<Line -20 40 60 -40 #000080 2 1>
|
||||
<Line 10 -20 0 -20 #000080 2 1>
|
||||
<Line 10 40 0 -20 #000080 2 1>
|
||||
<Line -40 -20 20 0 #000080 2 1>
|
||||
<Line -40 20 20 0 #000080 2 1>
|
||||
<Line -15 20 10 0 #000000 2 1>
|
||||
<Line -15 -20 10 0 #ff0000 2 1>
|
||||
<Line -10 -15 0 -10 #ff0000 2 1>
|
||||
<Line 40 0 20 0 #000080 2 1>
|
||||
<Text 15 -35 8 #000000 0 "VCC">
|
||||
<Text 15 25 8 #000000 0 "VEE">
|
||||
<.PortSym -40 -20 1 0>
|
||||
<.PortSym -40 20 2 0>
|
||||
<.PortSym 10 -40 3 270>
|
||||
<.PortSym 10 40 4 90>
|
||||
<.PortSym 60 0 5 180>
|
||||
<.ID 40 24 OP>
|
||||
</Symbol>
|
||||
</Component>
|
||||
|
||||
<Component ad822s>
|
||||
<Description>
|
||||
Authors: Vadim Kuznetsov <ra3xdh@gmail.com> and Timofey Moiseev <voig1396@gmail.com>
|
||||
</Description>
|
||||
<Spice>
|
||||
.SUBCKT SpiceOpamp_AD822S gnd 1 2 99 50 25
|
||||
*
|
||||
* INPUT STAGE & POLE AT 5MHZ
|
||||
*
|
||||
R3 5 99 2456
|
||||
R4 6 99 2456
|
||||
CIN 1 2 5E-12
|
||||
C2 5 6 6.48E-12
|
||||
I1 4 50 108E-6
|
||||
IOS 1 2 1E-11
|
||||
EOS 7 1 POLY(1) (12,98) 800E-6 2.41
|
||||
J1 5 2 4 JX
|
||||
J2 6 7 4 JX
|
||||
GB1 50 2 POLY(3) (2,4) (2,5) (2,50) 0 1E-12 1E-12 1E-12
|
||||
GB2 50 7 POLY(3) (7,4) (7,5) (7,50) 0 1E-12 1E-12 1E-12
|
||||
*
|
||||
EREF 98 0 (30,0) 1
|
||||
*
|
||||
* GAIN STAGE & POLE AT 25 HZ
|
||||
*
|
||||
R5 9 98 1.234E6
|
||||
C3 9 25 32E-12
|
||||
G1 98 9 (6,5) 4.07E-4
|
||||
V1 8 98 0
|
||||
V2 98 10 -1
|
||||
D1 9 10 DX
|
||||
D2 8 9 DX
|
||||
*
|
||||
* COMMON-MODE GAIN NETWORK WITH ZERO AT 5 KHZ
|
||||
*
|
||||
R21 11 12 1E6
|
||||
R22 12 98 200
|
||||
C14 11 12 32.25E-12
|
||||
E13 11 98 POLY(2) (2,98) (1,98) 0 0.5 0.5
|
||||
*
|
||||
* POLE AT 10 MHZ
|
||||
*
|
||||
R23 18 98 1E6
|
||||
C15 18 98 15.9E-15
|
||||
G15 98 18 (9,98) 1E-6
|
||||
*
|
||||
* OUTPUT STAGE
|
||||
*
|
||||
ES 26 51 POLY(1) (18,98) 1.72 1
|
||||
RS 26 22 500
|
||||
V3 23 51 1.03951
|
||||
V4 21 23 1.36
|
||||
C16 20 25 2E-12
|
||||
C17 24 25 2E-12
|
||||
RG1 20 97 1E8
|
||||
RG2 24 97 1E8
|
||||
Q1 20 20 97 PNP
|
||||
Q2 20 21 22 NPN
|
||||
Q3 24 23 22 PNP
|
||||
Q4 24 24 51 NPN
|
||||
Q5 25 20 97 PNP 20
|
||||
Q6 25 24 51 NPN 20
|
||||
VP 96 97 0
|
||||
VN 51 52 0
|
||||
EP 96 0 POLY(1) (99,0) 0.01 1
|
||||
EN 52 0 POLY(1) (50,0) -0.015 1
|
||||
R25 30 99 275E3
|
||||
R26 30 50 275E3
|
||||
FSY1 99 0 POLY(1) VP 210.5E-6 1
|
||||
FSY2 0 50 POLY(1) VN 210.5E-6 1
|
||||
*
|
||||
* MODELS USED
|
||||
*
|
||||
.MODEL JX NJF(BETA=7.67E-4 VTO=-2.000 IS=12.5E-12)
|
||||
.MODEL NPN NPN(BF=120 VAF=150 VAR=15 RB=2E3 RE=4 RC=200)
|
||||
.MODEL PNP PNP(BF=120 VAF=150 VAR=15 RB=2E3 RE=4 RC=900)
|
||||
.MODEL DX D(IS=1E-15)
|
||||
.ENDS AD822S
|
||||
</Spice>
|
||||
<Model>
|
||||
.Def:SpiceOpamp_ad822s _net0 _net2 _net4 _net3 _net1
|
||||
Sub:X1 _net0 _net1 _net2 _net3 _net4 gnd Type="ad822s_cir"
|
||||
.Def:End
|
||||
.Def:ad822s_cir _net1 _net25 _net2 _net50 _net99 _ref
|
||||
.Def:AD822S _ref _net1 _net2 _net99 _net50 _net25
|
||||
CCCS:FSY2 _cnet12 _net50 _ref gnd G="1"
|
||||
Eqn:EqnFSY2I1 FSY2.I1="+0.0002105+1*V2" Export="no"
|
||||
Eqn:EqnFSY2Q1 FSY2.Q1="0" Export="no"
|
||||
Eqn:EqnFSY2I2 FSY2.I2="0" Export="no"
|
||||
Eqn:EqnFSY2Q2 FSY2.Q2="0" Export="no"
|
||||
CCVS:FSY2V2 _net51 _cnet10 gnd _cnet11 G="1"
|
||||
CCCS:FSY1 _cnet9 _ref _net99 gnd G="1"
|
||||
Eqn:EqnFSY1I1 FSY1.I1="+0.0002105+1*V2" Export="no"
|
||||
Eqn:EqnFSY1Q1 FSY1.Q1="0" Export="no"
|
||||
Eqn:EqnFSY1I2 FSY1.I2="0" Export="no"
|
||||
Eqn:EqnFSY1Q2 FSY1.Q2="0" Export="no"
|
||||
CCVS:FSY1V2 _net96 _cnet7 gnd _cnet8 G="1"
|
||||
CCVS:EN _cnet6 _ref _net52 gnd G="1"
|
||||
Eqn:EqnENI1 EN.I1="-0.015+1*V2" Export="no"
|
||||
Eqn:EqnENQ1 EN.Q1="0" Export="no"
|
||||
Eqn:EqnENI2 EN.I2="0" Export="no"
|
||||
Eqn:EqnENQ2 EN.Q2="0" Export="no"
|
||||
CCVS:EP _cnet5 _ref _net96 gnd G="1"
|
||||
Eqn:EqnEPI1 EP.I1="+0.01+1*V2" Export="no"
|
||||
Eqn:EqnEPQ1 EP.Q1="0" Export="no"
|
||||
Eqn:EqnEPI2 EP.I2="0" Export="no"
|
||||
Eqn:EqnEPQ2 EP.Q2="0" Export="no"
|
||||
CCVS:ES _cnet4 _net51 _net26 gnd G="1"
|
||||
Eqn:EqnESI1 ES.I1="+1.72+1*V2" Export="no"
|
||||
Eqn:EqnESQ1 ES.Q1="0" Export="no"
|
||||
Eqn:EqnESI2 ES.I2="0" Export="no"
|
||||
Eqn:EqnESQ2 ES.Q2="0" Export="no"
|
||||
CCVS:E13 _cnet3 _net98 _net11 gnd G="1"
|
||||
Eqn:EqnE13I1 E13.I1="+0.5*V2+0.5*V3" Export="no"
|
||||
Eqn:EqnE13Q1 E13.Q1="0" Export="no"
|
||||
Eqn:EqnE13I2 E13.I2="0" Export="no"
|
||||
Eqn:EqnE13Q2 E13.Q2="0" Export="no"
|
||||
Eqn:EqnE13I3 E13.I3="0" Export="no"
|
||||
Eqn:EqnE13Q3 E13.Q3="0" Export="no"
|
||||
CCCS:GB2 _cnet2 _net7 _net50 gnd G="1"
|
||||
Eqn:EqnGB2I1 GB2.I1="+1e-12*V2+1e-12*V3+1e-12*V4" Export="no"
|
||||
Eqn:EqnGB2Q1 GB2.Q1="0" Export="no"
|
||||
Eqn:EqnGB2I2 GB2.I2="0" Export="no"
|
||||
Eqn:EqnGB2Q2 GB2.Q2="0" Export="no"
|
||||
Eqn:EqnGB2I3 GB2.I3="0" Export="no"
|
||||
Eqn:EqnGB2Q3 GB2.Q3="0" Export="no"
|
||||
Eqn:EqnGB2I4 GB2.I4="0" Export="no"
|
||||
Eqn:EqnGB2Q4 GB2.Q4="0" Export="no"
|
||||
CCCS:GB1 _cnet1 _net2 _net50 gnd G="1"
|
||||
Eqn:EqnGB1I1 GB1.I1="+1e-12*V2+1e-12*V3+1e-12*V4" Export="no"
|
||||
Eqn:EqnGB1Q1 GB1.Q1="0" Export="no"
|
||||
Eqn:EqnGB1I2 GB1.I2="0" Export="no"
|
||||
Eqn:EqnGB1Q2 GB1.Q2="0" Export="no"
|
||||
Eqn:EqnGB1I3 GB1.I3="0" Export="no"
|
||||
Eqn:EqnGB1Q3 GB1.Q3="0" Export="no"
|
||||
Eqn:EqnGB1I4 GB1.I4="0" Export="no"
|
||||
Eqn:EqnGB1Q4 GB1.Q4="0" Export="no"
|
||||
CCVS:EOS _cnet0 _net1 _net7 gnd G="1"
|
||||
Eqn:EqnEOSI1 EOS.I1="+0.0008+2.41*V2" Export="no"
|
||||
Eqn:EqnEOSQ1 EOS.Q1="0" Export="no"
|
||||
Eqn:EqnEOSI2 EOS.I2="0" Export="no"
|
||||
Eqn:EqnEOSQ2 EOS.Q2="0" Export="no"
|
||||
R:R3 _net5 _net99 R="2456"
|
||||
R:R4 _net6 _net99 R="2456"
|
||||
C:CIN _net1 _net2 C="5e-12"
|
||||
C:C2 _net5 _net6 C="6.48e-12"
|
||||
Idc:I1 _net50 _net4 I="0.000108"
|
||||
Idc:IOS _net2 _net1 I="1e-11"
|
||||
EDD:EOS _cnet0 gnd _net12 _net98 I1="EOS.I1" Q1="EOS.Q1" I2="EOS.I2" Q2="EOS.Q2"
|
||||
JFET:J1 _net2 _net5 _net4 Type="nfet" Beta="0.000767" Vt0="-2" Is="1.25e-11" N="1" Lambda="0" M="0.5" Pb="1" Fc="0.5" Cgs="0" Cgd="0"
|
||||
JFET:J2 _net7 _net6 _net4 Type="nfet" Beta="0.000767" Vt0="-2" Is="1.25e-11" N="1" Lambda="0" M="0.5" Pb="1" Fc="0.5" Cgs="0" Cgd="0"
|
||||
EDD:GB1 _cnet1 gnd _net2 _net4 _net2 _net5 _net2 _net50 I1="GB1.I1" Q1="GB1.Q1" I2="GB1.I2" Q2="GB1.Q2" I3="GB1.I3" Q3="GB1.Q3" I4="GB1.I4" Q4="GB1.Q4"
|
||||
EDD:GB2 _cnet2 gnd _net7 _net4 _net7 _net5 _net7 _net50 I1="GB2.I1" Q1="GB2.Q1" I2="GB2.I2" Q2="GB2.Q2" I3="GB2.I3" Q3="GB2.Q3" I4="GB2.I4" Q4="GB2.Q4"
|
||||
VCVS:EREF _net30 _net98 _ref _ref G="1"
|
||||
R:R5 _net9 _net98 R="1.234e+06"
|
||||
C:C3 _net9 _net25 C="3.2e-11"
|
||||
VCCS:G1 _net6 _net98 _net9 _net5 G="0.000407"
|
||||
Vdc:V1 _net8 _net98 U="0"
|
||||
Vdc:V2 _net98 _net10 U="-1"
|
||||
Diode:D1 _net10 _net9 Is="1e-15" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
|
||||
Diode:D2 _net9 _net8 Is="1e-15" N="1" M="0.5" Cj0="1e-14" Vj="0.7"
|
||||
R:R21 _net11 _net12 R="1e+06"
|
||||
R:R22 _net12 _net98 R="200"
|
||||
C:C14 _net11 _net12 C="3.225e-11"
|
||||
EDD:E13 _cnet3 gnd _net2 _net98 _net1 _net98 I1="E13.I1" Q1="E13.Q1" I2="E13.I2" Q2="E13.Q2" I3="E13.I3" Q3="E13.Q3"
|
||||
R:R23 _net18 _net98 R="1e+06"
|
||||
C:C15 _net18 _net98 C="1.59e-14"
|
||||
VCCS:G15 _net9 _net98 _net18 _net98 G="1e-06"
|
||||
EDD:ES _cnet4 gnd _net18 _net98 I1="ES.I1" Q1="ES.Q1" I2="ES.I2" Q2="ES.Q2"
|
||||
R:RS _net26 _net22 R="500"
|
||||
Vdc:V3 _net23 _net51 U="1.03951"
|
||||
Vdc:V4 _net21 _net23 U="1.36"
|
||||
C:C16 _net20 _net25 C="2e-12"
|
||||
C:C17 _net24 _net25 C="2e-12"
|
||||
R:RG1 _net20 _net97 R="1e+08"
|
||||
R:RG2 _net24 _net97 R="1e+08"
|
||||
BJT:Q1 _net20 _net20 _net97 _ref Type="pnp" Bf="120" Vaf="150" Var="15" Rb="2000" Re="4" Rc="900" Is="1e-16" Nf="1" Nr="1" Ikf="0" Ikr="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
|
||||
BJT:Q2 _net21 _net20 _net22 _ref Type="npn" Bf="120" Vaf="150" Var="15" Rb="2000" Re="4" Rc="200" Is="1e-16" Nf="1" Nr="1" Ikf="0" Ikr="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
|
||||
BJT:Q3 _net23 _net24 _net22 _ref Type="pnp" Bf="120" Vaf="150" Var="15" Rb="2000" Re="4" Rc="900" Is="1e-16" Nf="1" Nr="1" Ikf="0" Ikr="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
|
||||
BJT:Q4 _net24 _net24 _net51 _ref Type="npn" Bf="120" Vaf="150" Var="15" Rb="2000" Re="4" Rc="200" Is="1e-16" Nf="1" Nr="1" Ikf="0" Ikr="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
|
||||
BJT:Q5 _net20 _net25 _net97 _ref Type="pnp" Area="20" Bf="120" Vaf="150" Var="15" Rb="2000" Re="4" Rc="900" Is="1e-16" Nf="1" Nr="1" Ikf="0" Ikr="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
|
||||
BJT:Q6 _net24 _net25 _net51 _ref Type="npn" Area="20" Bf="120" Vaf="150" Var="15" Rb="2000" Re="4" Rc="200" Is="1e-16" Nf="1" Nr="1" Ikf="0" Ikr="0" Ise="0" Ne="1.5" Isc="0" Nc="2" Br="1" Rbm="0" Irb="0" Cje="0" Vje="0.75" Mje="0.33" Cjc="0" Vjc="0.75" Mjc="0.33" Xcjc="1" Cjs="0" Vjs="0.75" Mjs="0" Fc="0.5" Vtf="0" Tf="0" Xtf="0" Itf="0" Tr="0"
|
||||
Vdc:VP _cnet8 _net97 U="0"
|
||||
Vdc:VN _cnet11 _net52 U="0"
|
||||
EDD:EP _cnet5 gnd _net99 _ref I1="EP.I1" Q1="EP.Q1" I2="EP.I2" Q2="EP.Q2"
|
||||
EDD:EN _cnet6 gnd _net50 _ref I1="EN.I1" Q1="EN.Q1" I2="EN.I2" Q2="EN.Q2"
|
||||
R:R25 _net30 _net99 R="275000"
|
||||
R:R26 _net30 _net50 R="275000"
|
||||
EDD:FSY1 _cnet9 gnd _cnet7 gnd I1="FSY1.I1" Q1="FSY1.Q1" I2="FSY1.I2" Q2="FSY1.Q2"
|
||||
EDD:FSY2 _cnet12 gnd _cnet10 gnd I1="FSY2.I1" Q1="FSY2.Q1" I2="FSY2.I2" Q2="FSY2.Q2"
|
||||
.Def:End
|
||||
Sub:X1 _ref _net1 _net2 _net99 _net50 _net25 Type="AD822S"
|
||||
.Def:End
|
||||
</Model>
|
||||
<Symbol>
|
||||
<Line -20 40 0 -80 #000080 2 1>
|
||||
<Line 40 0 -60 -40 #000080 2 1>
|
||||
<Line -20 40 60 -40 #000080 2 1>
|
||||
<Line 10 -20 0 -20 #000080 2 1>
|
||||
<Line 10 40 0 -20 #000080 2 1>
|
||||
<Line -40 -20 20 0 #000080 2 1>
|
||||
<Line -40 20 20 0 #000080 2 1>
|
||||
<Line -15 20 10 0 #000000 2 1>
|
||||
<Line -15 -20 10 0 #ff0000 2 1>
|
||||
<Line -10 -15 0 -10 #ff0000 2 1>
|
||||
<Line 40 0 20 0 #000080 2 1>
|
||||
<Text 15 -35 8 #000000 0 "VCC">
|
||||
<Text 15 25 8 #000000 0 "VEE">
|
||||
<.PortSym -40 -20 1 0>
|
||||
<.PortSym -40 20 2 0>
|
||||
<.PortSym 10 -40 3 270>
|
||||
<.PortSym 10 40 4 90>
|
||||
<.PortSym 60 0 5 180>
|
||||
<.ID 50 34 OP>
|
||||
</Symbol>
|
||||
</Component>
|
||||
|
||||
|
||||
<Component LF411>
|
||||
<Description>
|
||||
@ -1919,3 +1268,276 @@ X1 _net0 _net1 _net2 _net3 _net4 TL071_SN
|
||||
</Symbol>
|
||||
</Component>
|
||||
|
||||
<Component OP491>
|
||||
<Description>
|
||||
Rail-Rail, In/Out Operational Amplifier
|
||||
</Description>
|
||||
<Model>
|
||||
.Def:SpiceOpamp_OP491 _net0 _net1 _net2 _net3 _net4
|
||||
Sub:X1 _net0 _net1 _net2 _net3 _net4 gnd Type="OP491_cir"
|
||||
.Def:End
|
||||
</Model>
|
||||
<Spice>* Qucs 24.1.0 OpAmp_OP491.sch
|
||||
|
||||
* OP491
|
||||
* Rail-Rail, In/Out Operational Amplifier
|
||||
*
|
||||
*
|
||||
* Node assignments
|
||||
* non-inverting input
|
||||
* | inverting input
|
||||
* | | positive supply
|
||||
* | | | negative supply
|
||||
* | | | | output
|
||||
* | | | | |
|
||||
.SUBCKT OP491_sub 1 2 99 50 45
|
||||
*
|
||||
* INPUT STAGE
|
||||
*
|
||||
I1 99 7 8.06E-6
|
||||
Q1 6 4 7 QP
|
||||
Q2 5 3 7 QP
|
||||
D1 3 99 DX
|
||||
D2 4 99 DX
|
||||
D3 3 4 DX
|
||||
D4 4 3 DX
|
||||
R1 3 8 5E3
|
||||
R2 4 2 5E3
|
||||
R3 5 50 6.4654E3
|
||||
R4 6 50 6.4654E3
|
||||
EOS 8 1 POLY(1) (16,39) -80E-6 1
|
||||
IOS 3 4 50E-12
|
||||
GB1 3 98 (21,98) 50E-9
|
||||
GB2 4 98 (21,98) 50E-9
|
||||
CIN 1 2 1E-12
|
||||
*
|
||||
* 1ST GAIN STAGE
|
||||
*
|
||||
EREF 98 0 (39,0) 1
|
||||
G1 98 9 (6,5) 31.667E-6
|
||||
R7 9 98 1E6
|
||||
EC1 99 10 POLY(1) (99,39) -0.52 1
|
||||
EC2 11 50 POLY(1) (39,50) -0.52 1
|
||||
D5 9 10 DX
|
||||
D6 11 9 DX
|
||||
*
|
||||
* 2ND GAIN STAGE AND DOMINANT POLE AT 36HZ
|
||||
*
|
||||
G2 98 12 (9,39) 8E-6
|
||||
R8 12 98 276.311E6
|
||||
C2 12 98 16E-12
|
||||
D7 12 13 DX
|
||||
D8 14 12 DX
|
||||
V1 99 13 0.58
|
||||
V2 14 50 0.58
|
||||
*
|
||||
* COMMON MODE STAGE
|
||||
*
|
||||
ECM 15 98 POLY(2) (1,39) (2,39) 0 0.5 0.5
|
||||
R9 15 16 1E6
|
||||
R10 16 98 10
|
||||
*
|
||||
* POLE AT 2.5MHZ
|
||||
*
|
||||
G3 98 18 (12,39) 1E-6
|
||||
R11 18 98 1E6
|
||||
C4 18 98 63.662E-15
|
||||
*
|
||||
* BIAS CURRENT-VS-COMMON MODE VOLTAGE
|
||||
*
|
||||
EP 97 0 (99,0) 1
|
||||
VB 99 17 1.3
|
||||
RB 17 50 1E9
|
||||
E3 19 0 (15,17) 16
|
||||
D13 19 20 DX
|
||||
R12 20 0 1E6
|
||||
G4 98 21 (20,0) 1E-3
|
||||
R13 21 98 5E3
|
||||
D14 21 22 DY
|
||||
E4 97 22 POLY(1) (99,98) -0.765 1
|
||||
*
|
||||
* POLE AT 100MHZ
|
||||
*
|
||||
G6 98 40 (18,39) 1E-6
|
||||
R20 40 98 1E6
|
||||
C10 40 98 1.592E-15
|
||||
*
|
||||
* OUTPUT STAGE
|
||||
*
|
||||
RS1 99 39 109.375E3
|
||||
RS2 39 50 109.375E3
|
||||
RO1 99 45 41.667
|
||||
RO2 45 50 41.667
|
||||
G7 45 99 (99,40) 24E-3
|
||||
G8 50 45 (40,50) 24E-3
|
||||
G9 98 60 (45,40) 24E-3
|
||||
D9 60 61 DX
|
||||
D10 62 60 DX
|
||||
V7 61 98 DC 0
|
||||
V8 98 62 DC 0
|
||||
FSY 99 50 POLY(2) V7 V8 0.207E-3 1 1
|
||||
D11 41 45 DZ
|
||||
D12 45 42 DZ
|
||||
V5 40 41 0.131
|
||||
V6 42 40 0.131
|
||||
*
|
||||
***************MODELS USED**************
|
||||
*
|
||||
.MODEL DX D()
|
||||
.MODEL DY D(IS=1E-9)
|
||||
.MODEL DZ D(IS=1E-6)
|
||||
.MODEL QP PNP(BF=133.333)
|
||||
*
|
||||
.ENDS OP491_sub
|
||||
*
|
||||
.END
|
||||
|
||||
.SUBCKT SpiceOpamp_OP491 gnd _net0 _net1 _net2 _net3 _net4
|
||||
X1 _net0 _net1 _net2 _net3 _net4 OP491_sub
|
||||
.ENDS
|
||||
</Spice>
|
||||
<Symbol>
|
||||
<.PortSym 10 -40 3 0>
|
||||
<.PortSym 10 40 4 0>
|
||||
<.PortSym 60 0 5 180>
|
||||
<.PortSym -40 20 2 0>
|
||||
<.PortSym -40 -20 1 0>
|
||||
<Line -20 40 0 -80 #000080 2 1>
|
||||
<Line 40 0 -60 -40 #000080 2 1>
|
||||
<Line -20 40 60 -40 #000080 2 1>
|
||||
<Line 10 -20 0 -20 #000080 2 1>
|
||||
<Line 10 40 0 -20 #000080 2 1>
|
||||
<Line -40 -20 20 0 #000080 2 1>
|
||||
<Line -40 20 20 0 #000080 2 1>
|
||||
<Line -15 20 10 0 #000000 2 1>
|
||||
<Line -15 -20 10 0 #ff0000 2 1>
|
||||
<Line -10 -15 0 -10 #ff0000 2 1>
|
||||
<Text 15 -35 8 #000000 0 "VCC">
|
||||
<Text 15 25 8 #000000 0 "VEE">
|
||||
<Line 40 0 20 0 #000080 2 1>
|
||||
<.ID 40 14 SUB>
|
||||
</Symbol>
|
||||
</Component>
|
||||
|
||||
<Component LF356>
|
||||
<Description>
|
||||
JFET-Input Operational Amplifier
|
||||
</Description>
|
||||
<Model>
|
||||
.Def:SpiceOpamp_LF356 _net0 _net2 _net3 _net1 _net4
|
||||
Sub:X1 _net0 _net2 _net3 _net1 _net4 gnd Type="LF356_cir"
|
||||
.Def:End
|
||||
</Model>
|
||||
<ModelIncludes "LF356.cir.lst">
|
||||
<Spice>* Qucs 24.1.0 OpAmp_LF356.sch
|
||||
|
||||
* LF356
|
||||
* JFET-Input Operational Amplifier
|
||||
*
|
||||
*
|
||||
* Node assignments
|
||||
* non-inverting input
|
||||
* | inverting input
|
||||
* | | positive power supply
|
||||
* | | | negative power supply
|
||||
* | | | | output
|
||||
* | | | | |
|
||||
.SUBCKT LF356_sub 1 2 99 50 28
|
||||
*
|
||||
****************INPUT STAGE**************
|
||||
*
|
||||
IOS 2 1 3P
|
||||
*^Input offset current
|
||||
R1 1 3 1E12
|
||||
R2 3 2 1E12
|
||||
I1 99 4 100U
|
||||
J1 5 2 4 JX
|
||||
J2 6 7 4 JX
|
||||
R3 5 50 20K
|
||||
R4 6 50 20K
|
||||
*Fp2=20 MHz
|
||||
C4 5 6 1.9894E-13
|
||||
*
|
||||
***********COMMON MODE EFFECT***********
|
||||
*
|
||||
I2 99 50 4.65MA
|
||||
*^Quiescent supply current
|
||||
EOS 7 1 POLY(1) 16 49 3E-3 1
|
||||
*Input offset voltage.^
|
||||
R8 99 49 50K
|
||||
R9 49 50 50K
|
||||
*
|
||||
*********OUTPUT VOLTAGE LIMITING********
|
||||
V2 99 8 2.63
|
||||
D1 9 8 DX
|
||||
D2 10 9 DX
|
||||
V3 10 50 2.63
|
||||
*
|
||||
**************SECOND STAGE**************
|
||||
*
|
||||
EH 99 98 99 49 1
|
||||
F1 9 98 POLY(1) VA3 0 0 0 1.5944E7
|
||||
G1 98 9 5 6 2E-3
|
||||
R5 98 9 100MEG
|
||||
VA3 9 11 0
|
||||
*Fp1=31.96 HZ
|
||||
C3 98 11 49.9798P
|
||||
*
|
||||
*********COMMON-MODE ZERO STAGE*********
|
||||
*
|
||||
G4 98 16 3 49 1E-8
|
||||
L2 98 17 530.52M
|
||||
R13 17 16 1K
|
||||
*
|
||||
**************OUTPUT STAGE**************
|
||||
*
|
||||
F6 99 50 VA7 1
|
||||
F5 99 23 VA8 1
|
||||
D5 21 23 DX
|
||||
VA7 99 21 0
|
||||
D6 23 99 DX
|
||||
E1 99 26 99 9 1
|
||||
VA8 26 27 0
|
||||
R16 27 28 20
|
||||
V5 28 25 -.25V
|
||||
D4 25 9 DX
|
||||
V4 24 28 -.25V
|
||||
D3 9 24 DX
|
||||
*
|
||||
***************MODELS USED**************
|
||||
*
|
||||
.MODEL DX D(IS=1E-15)
|
||||
.MODEL JX PJF(BETA=1.25E-5 VTO=-2.00 IS=30E-12)
|
||||
*
|
||||
.ENDS LF356_sub
|
||||
*
|
||||
.END
|
||||
|
||||
.SUBCKT SpiceOpamp_LF356 gnd _net0 _net2 _net3 _net1 _net4
|
||||
X1 _net0 _net2 _net3 _net1 _net4 LF356_sub
|
||||
.ENDS
|
||||
</Spice>
|
||||
<Symbol>
|
||||
<.PortSym 10 -40 3 0>
|
||||
<.PortSym 10 40 4 0>
|
||||
<.PortSym 60 0 5 180>
|
||||
<.PortSym -40 20 2 0>
|
||||
<.PortSym -40 -20 1 0>
|
||||
<Line -20 40 0 -80 #000080 2 1>
|
||||
<Line 40 0 -60 -40 #000080 2 1>
|
||||
<Line -20 40 60 -40 #000080 2 1>
|
||||
<Line 10 -20 0 -20 #000080 2 1>
|
||||
<Line 10 40 0 -20 #000080 2 1>
|
||||
<Line -40 -20 20 0 #000080 2 1>
|
||||
<Line -40 20 20 0 #000080 2 1>
|
||||
<Line -15 20 10 0 #000000 2 1>
|
||||
<Line -15 -20 10 0 #ff0000 2 1>
|
||||
<Line -10 -15 0 -10 #ff0000 2 1>
|
||||
<Text 15 -35 8 #000000 0 "VCC">
|
||||
<Text 15 25 8 #000000 0 "VEE">
|
||||
<Line 40 0 20 0 #000080 2 1>
|
||||
<.ID 40 14 SUB>
|
||||
</Symbol>
|
||||
</Component>
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user