在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
查看: 13423|回复: 20

寻求帮助,用HSPICE,如何计算差分增益?

[复制链接]
发表于 2009-10-21 14:27:28 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
本帖最后由 布衣 于 2009-10-21 14:38 编辑

大家好,我在用HSPICE作差分电路的仿真,但是我发现一个奇怪的情况,用HSPICE作单端的仿真很容易,但是差分的,却发现问题很大。

电路如如下:
diffcircuit.jpg
(图片可能不清楚,点击一下可以看到清楚地)

除了偏置以外,两个输入端,一个输入端接DC电压,一个输入端接DC/AC电压。

现在我遇到的最大问题是:如果单单输出单个输出端的电压,没有问题,
如:.AC gain Find Vdb(out1) at =1
这样没有问题,可以测出来,增益大概40多DB

但是如果测量out1 和 out2 之间的电压差,好像就出问题了
如:.AC gain Find Vdb(out1,out2) at =1
这样,给出的结果很小很小,都是负的了。

大家帮我分析下,怎么会造成这样的?多谢了!
发表于 2009-10-21 15:14:46 | 显示全部楼层
可能是一些管子没有工作在active region。没加CMFB造成的。
 楼主| 发表于 2009-10-21 15:35:34 | 显示全部楼层



应该不会,我感觉现在问题很奇怪,单个输出的时候,没有问题,差分输出的时候,感觉就有问题了,还在琢磨呢
发表于 2009-10-21 17:15:29 | 显示全部楼层
很困难啊!
发表于 2009-10-21 17:52:28 | 显示全部楼层
有点小困难
发表于 2009-10-21 18:47:46 | 显示全部楼层
关注ing
发表于 2009-10-21 20:06:04 | 显示全部楼层
.options acout=0

http://www.chip123.com/phpBB/archiver/?tid-11817175.html

可以直接在option的地方下acout=0
便可以看differential output
for example, vdb(vop,von) is amplitude response.
vp(vop,von) is phase response
发表于 2011-4-10 23:23:49 | 显示全部楼层
我遇到相同的问题了,求解
发表于 2011-4-11 15:19:21 | 显示全部楼层
对于差分的仿真我用的很少,来学习一下
发表于 2011-4-11 18:10:54 | 显示全部楼层
.OPTION ACOUT
Specifies the method for calculating differences in AC output values.

Syntax
.OPTION ACOUT=0|1
Default
Value if option is not specified in the netlist: 0 Value if option name is specified without a corresponding value: 1

Description
Use this option to specify a method for calculating the differences in AC output values for magnitude, phase, and decibels for print output and plots.

ACOUT=0: selects the SPICE method which calculates the magnitude of the differences real and imaginary in HSPICE. (Rarely used, but available for backward compatability.)
ACOUT=1: (rarely used by analog and HSPICE RF designers) selects the HSPICE method which calculates the difference of the magnitudes of the values real and imaginary.
Examples
ACOUT=0
VR(N1,N2) = REAL [V(N1,0) - V(N2,0)]
VI(N1,N2) = IMAG [V(N1,0) - V(N2,0)]
Magnitude
VM(N1,N2) = [VR(N1,N2)^2+VI(N1,N2)^2]0.5 Phase
VP(N1,N2) = ARCTAN[VI(N1,N2)/VR(N1,N2)]
Decibel
VDB(N1,N2) = 20 * LOG10[VM(N1,N2)]
ACOUT=1
VR(N1,N2) = REAL [V(N1,0)] - REAL [V(N2,0)]
VI(N1,N2) = IMAG [V(N1,0)] - IMAG [V(N2,0)] Magnitude
VM(N1,0) = [VR(N1,0)^2 + VI(N1,0)^2]0.5
VM(N2,0) = [VR(N2,0)^2 + VI(N2,0)^2]0.5
VM(N1,N2) = VM(N1,0) - VM(N2,0)
Phase
VP(N1,0) = ARCTAN[VI(N1,0)/VR(N1,0)]
VP(N2,0) = ARCTAN[VI(N2,0)/VR(N2,0)]VP(N1,N2) = VP(N1,0) -
VP(N2,0)
Decibel
VDB(N1,N2) = 20 * LOG10(VM(N1,0)/VM(N2,0))
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /1 下一条

小黑屋| 手机版| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-9-28 02:03 , Processed in 0.024231 second(s), 12 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表