微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 综合技术问答 > EDA使用问答 > 学生党求问LTSPICE做AC分析的问题

学生党求问LTSPICE做AC分析的问题

时间:03-15 整理:3721RD 点击:
实验要求-3db带宽,但是用.meas命令怎么都搞不出来,照着帮助手册的语法试了好多种还是没改出来,求问是什么问题
.ac oct 10000 100 1e7
.meas AC xx v(out) WHEN v(out)=-3db
显示错误是Measurement "xx" FAIL'ed




顶一下

有人知道问题出在哪吗?


.meas AC xx v(out) WHEN v(out)=-3db

forhspice
hspice use vdb(out)
vdb,
vp =phase
vm




.meas ac vfbgainmax vdb(vfb1)
.MEAS AC VFBPM FIND PAR('180+vp(vfb1)') WHEN vdb(vfb1)=0
.meas ac vfb1_pm find vp(vfb1) when vdb(vfb1)=0
.MEAS AC GM FIND PAR('0-vdb(vfb1)') WHEN vp(vfb1)=0


试了下不行,LTSPICE的语法和HSPICE有点不太一样
Syntax: .MEAS[SURE] [AC|DC|OP|TRAN|TF|NOISE] <name>
+ [<FIND|DERIV|PARAM> <expr>]
+ [WHEN <expr> | AT=<expr>]]
+ [TD=<val1>] [<RISE|FALL|CROSS>=[<count1>|LAST]]
Syntax: .MEAS [AC|DC|OP|TRAN|TF|NOISE] <name>
+ [<AVG|MAX|MIN|PP|RMS|INTEG> <expr>]
+ [TRIG <lhs1> [[VAL]=]<rhs1>] [TD=<val1>]
+ [<RISE|FALL|CROSS>=<count1>]
+ [TARG <lhs2> [[VAL]=]<rhs2>] [TD=<val2>]
+ [<RISE|FALL|CROSS>=<count2>]
.MEAS AC tmp max mag(V(out));


https://www.electro-tech-online. ... s-error-log.149212/
.meas ac VL12 find V(L1)-V(L2) at=50
The result is given in dB. Unfortunately, I cannot change the axis from log to linear, as I have no axis. I just do the simulation for this single frequency of 50 Hz.
Is it nevertheless possible (and how) to output the wanted voltage in V, not just in dB?

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top