求助 用hspice仿运放没有波形
时间:10-02
整理:3721RD
点击:
FOLDED CASCODE OPA
.options list node post
VIN+10DC 0 ac 1
VIN-20DC 0 ac 0
VDD30DC5
CL4010PF
X11 2 3 4 OPAMP
.SUBCKT OPAMP 1 2 3 4
m15170NMOSl l=1uw=3u
m26270NMOSl l=1uw=3u
m37300NMOSl l=1uw=3u
m45833PMOSl l=2uw=1u
m56833PMOSl l=2uw=1u
m611 10 55PMOSl l=2uw=1u
m714 10 66PMOSl l=2uw=1u
m812 11 13 0NMOSl l=1uw=3u
m914 11 15 0NMOSl l=1uw=3u
m10 13 12 00NMOSl l=1uw=3u
m11 15 12 00NMOSl l=1uw=3u
m12 10 300NMOSl l=1uw=4u
m13 8 10 9 9PMOSl l=2uw=1u
m14 9 8 33PMOSl l=2uw=1u
m15 3 3 0 0 NMOS1 l=1u w=3u
m16 4 14 3 3 PMOS1 l=1u w=266u
m17 4 3 0 0 NMOS1 l=1u w=2u
R18 102K
R211 122K
CC4143PF
.MODEL NMOSl NMOS VT0=0.75V KP=110u LAMBDA=0.1 PHI=0.7 +MJ=0.29996 MJSW=0.165269 CGBO=1E-13 CGSO=1.83E-10 CGDO=1.83E-10 +CJ=8.125778E-4 CJSW=2.801152E-10 XJ=2E-7 TOX=1.28E-8
.MODEL PMOSlPMOS VT0=-1.0V KP=50u LAMBDA=0.2 PHI=0.8 +MJ=0.471689 MJSW=0.219468 CGBO=1E-13
+CGSO=2.01E-10 CGDO=2.01E-10 CJ=8.46187E-4 CJSW=2.826818E-10 +XJ=1E-7 TOX=1.24E-8
.ENDS
.op
.dc VIN+ 0 5 0.1
.print dc v(4)
.ac dec 10 1 10MEG
.print ac vdb(4) vp(4)
.end
代码如上了结果一直显示**error** model name nmos1 in the element0:m15
is not defined.
**error** model name pmos1 in the element0:m16
is not defined.
**error** model name nmos1 in the element0:m17
is not defined.
没有波形啊急
.options list node post
VIN+10DC 0 ac 1
VIN-20DC 0 ac 0
VDD30DC5
CL4010PF
X11 2 3 4 OPAMP
.SUBCKT OPAMP 1 2 3 4
m15170NMOSl l=1uw=3u
m26270NMOSl l=1uw=3u
m37300NMOSl l=1uw=3u
m45833PMOSl l=2uw=1u
m56833PMOSl l=2uw=1u
m611 10 55PMOSl l=2uw=1u
m714 10 66PMOSl l=2uw=1u
m812 11 13 0NMOSl l=1uw=3u
m914 11 15 0NMOSl l=1uw=3u
m10 13 12 00NMOSl l=1uw=3u
m11 15 12 00NMOSl l=1uw=3u
m12 10 300NMOSl l=1uw=4u
m13 8 10 9 9PMOSl l=2uw=1u
m14 9 8 33PMOSl l=2uw=1u
m15 3 3 0 0 NMOS1 l=1u w=3u
m16 4 14 3 3 PMOS1 l=1u w=266u
m17 4 3 0 0 NMOS1 l=1u w=2u
R18 102K
R211 122K
CC4143PF
.MODEL NMOSl NMOS VT0=0.75V KP=110u LAMBDA=0.1 PHI=0.7 +MJ=0.29996 MJSW=0.165269 CGBO=1E-13 CGSO=1.83E-10 CGDO=1.83E-10 +CJ=8.125778E-4 CJSW=2.801152E-10 XJ=2E-7 TOX=1.28E-8
.MODEL PMOSlPMOS VT0=-1.0V KP=50u LAMBDA=0.2 PHI=0.8 +MJ=0.471689 MJSW=0.219468 CGBO=1E-13
+CGSO=2.01E-10 CGDO=2.01E-10 CJ=8.46187E-4 CJSW=2.826818E-10 +XJ=1E-7 TOX=1.24E-8
.ENDS
.op
.dc VIN+ 0 5 0.1
.print dc v(4)
.ac dec 10 1 10MEG
.print ac vdb(4) vp(4)
.end
代码如上了结果一直显示**error** model name nmos1 in the element0:m15
is not defined.
**error** model name pmos1 in the element0:m16
is not defined.
**error** model name nmos1 in the element0:m17
is not defined.
没有波形啊急
m15 3 3 0 0 NMOS1 l=1u w=3u
m16 4 14 3 3 PMOS1 l=1u w=266u
m17 4 3 0 0 NMOS1 l=1u w=2u
NMOS1,PMOS1没有定义,是NMOSl和PMOSl吧,注意小写的L和数字1的区别。
....楼上正解这错的太低级了
改了 就可以仿真了但是新问题出现了增益曲线是负的....表示增益小于一吗?可是我手工算的开环增益很大才对啊怎么会小于1呢
VIN+10DC 0 ac 1
VIN-20DC 0 ac 0
输入没有直流偏置,直接加小信号行吗?