|
想用meas语句 测出noise
$ R9 E- H; d3 D0 K- H- o# A6 F下面是我的sp文档! q V& |! k' x' ?0 i) D
*007
3 b% q) X; s8 ?" U4 r4 g.options post scale=1u measout co=1323 w0 p; Z4 k5 ~* Y- U
.lib 'h05mixddst02v231.lib'tt; B+ L; z0 v K' J7 m# M- @
.param k1=1.5
7 V- t6 Q8 K1 \; S* R*stage-14 F: I3 l# Q2 {' E& y! e: ]
m5 2 1 vdd vdd mp l=1 w=4.8% O- w: Z/ ?% {/ @8 a0 p1 o3 O
m1 3 vi- 2 2 mp l=1 w=46
G, A& w, @- M, @m2 4 vi+ 2 2 mp l=1 w=46
% t5 z& l( j9 m; ^: Gm3 3 3 0 0 mn l=k1 w='10.7*k1'
- W7 Y- R+ @4 Y* qm4 4 3 0 0 mn l=k1 w='10.7*k1'
. ~+ ~3 H" U3 @4 y- e7 k0 A9 ?*stage-2
! |- G( d; @6 D( km6 5 4 0 0 mn l=k1 w='121*k1'
& }6 \! S2 l4 {) w5 ~m7 5 1 vdd vdd mp l=1 w=25& L7 e) j5 ]+ |" |
cc 5 4 2p& W, v' ^* d5 C% a5 d& t
cl 5 0 5p4 O+ B' ]3 B8 t+ y. R
*source1 u" b/ Y/ j- B: J6 b
vdd vdd 0 dc 58 v# }& v3 m& ^3 h) D5 J
vb 1 0 dc 3.7
- a/ n) p# m. w- g8 ?' Uv+ vi+ 0 dc 2 ac 1 sin 2 0.5 1k3 w$ S* W- M# \2 U1 ` o
v- vi- 0 dc 2
3 i Q8 M, H' b5 n6 b
1 G7 k r8 ^) {1 ]2 T8 ~8 a z# P.op
' [7 I: l8 w6 q$ x8 m! T.ac dec 10 1 100MEG sweep k1 1.0 2.0 0.1. u& D7 s" w$ q
.noise v(5) v+ 10
4 ]) s' F0 W( p8 v" v.print noise onnoise innoise
. P d6 j3 r2 d Q.plot noise onnoise innoise5 l& w7 G, O3 L$ ]4 _+ s
.plot vp(5) vdb(5)
; a$ \. C! c& @! I! B4 W; d6 V. D. x2 E! X
.meas ac vdbmax max vdb(5)
O7 e* O% j# K9 y. o; v I7 a.meas ac v3db param='vdbmax-3'
. g8 M# Q1 v, G! o) t$ R.meas ac f3db when vdb(5)=v3db
/ U {% o1 k1 a. |- |' x.meas ac phsmagin find vp(5) when vdb(5)=0& z1 Q% B/ W' I0 D8 r) x9 M3 Z
.meas ac phasemargine param='180+phsmagin'
- c- z3 e% I" z; R) |$ X) P.meas ac noi3db integral innoise from=1 to=1000
! _/ ^8 i& ~7 S* P.meas ac opttt param='noi3db*k1'
5 p# A, I+ F g9 U.meas ac opttx param='noi3db*vdbmax'
3 f) L. e. s; C& O! e* w.end2 k; i# M# b6 s2 y. \& b! [3 F& w
! ?! v& Y# f# V6 Y+ k+ P9 P请教怎么用 measures语句测出电路从1-1000hz的等效input noise ....$ z ~1 D& q3 }
等待高手。。。 |
|