微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 微波和射频技术 > RFIC设计学习交流 > 学习 Hspice 仿真 MOS LAN 一问

学习 Hspice 仿真 MOS LAN 一问

时间:10-02 整理:3721RD 点击:
** NMOS 0.25um Cascode LNA for GSM applications
** setup for s-parameter and noise parameter measurements
* Revision: 2.0, change to HB analysis and add measurements
* 2 tone HB analysis, 1 tone as input, 1 tone as interfere
* Port element as power source, sweep input power
*
.temp 27
.options post=2
.paramVdd=2.3
.globalgnd
**
** Cascode LNA tuned for operation near 1 GHz
**
M1 _n4 _n3 _n5 _n5 CMOSN l=0.25u w=7.5u
+as=15p ad=15p ps=19u pd=19u m=80
M2 _n6 _n1 _n4 _n4 CMOSN l=0.25u w=7.5u
+as=15p ad=15p ps=19u pd=19u m=80
M3rfo _n6 gnd gnd CMOSN l=0.25u w=7.5u
+as=15p ad=15p ps=19u pd=19u m=40
r1 _vdd _n6 400
l1 _n5gndl=0.9nH
l2 rfin _n3l=13nH
vvb _n1 gnddc=1.19 $ bias for common base device
vvdd _vdd gnd dc=Vdd
rfbrfo _n6 120$ feedback
**
** 50 Ohm input port (incl. bias), 255 Ohm output port.
**
$.param inputV=1m
$P1 rfin gndport=1 z0=50dc = 0.595 hb 'inputV' 0 1 1 hb 'inputV' 0 1 2
.param inputP=1u
$P1 rfin gndport=1 z0=50power=dBm dc = 2.48 hb 'inputP' 0 1 1 hb 'inputP' 0 1 2
P1 rfin gndport=1 z0=50power=w dc = 1.77m hb 'inputP' 0 1 1 hb 'inputP' 0 1 2
P2 rfo _vddport=2 z0=255$ port double
**
** Measure s-parameters and noise parameters
**
.hb tones=900meg 901meg nharms=6 6 sweep inputP 1u 3u 1u
*
.measure hb pin find pdbm(p1)[1,0] at=1u
.measure hb pout find pdbm(p2)[1,0] at=1u
.measure hb p3rd find pdbm(p2)[2,-1] at=1u
.measure hb IIP3=param('pin+(pout-p3rd)/2')
.measure hb OIP3=param('pout+(pout-p3rd)/2')
.print hb p(p1) pdbm(p1)
.print hb p(p2) pdbm(p2)
**
** Approximate parameters for TSMC 0.25 Process (MOSIS run T17B)
**
.MODEL CMOSN NMOS (LEVEL= 49
+VERSION = 3.1TNOM= 27TOX= 5.8E-9
+XJ= 1E-7NCH= 2.3549E17VTH0= 0.3819327
+K1= 0.477867K2= 2.422759E-3K3= 1E-3
+K3B= 2.1606637W0= 1E-7NLX= 1.57986E-7
+DVT0W= 0DVT1W= 0DVT2W= 0
+DVT0= 0.5334651DVT1= 0.7186877DVT2= -0.5
+U0= 289.1720829UA= -1.300598E-9UB= 2.3082E-18
+UC= 2.841618E-11VSAT= 1.482651E5A0= 1.6856991
+AGS= 0.2874763B0= -1.833193E-8B1= -1E-7
+KETA= -2.395348E-3A1= 0A2= 0.4177975
+RDSW= 178.7751373PRWG= 0.3774172PRWB= -0.2
+WR= 1WINT= 0LINT= 1.88839E-8
+XL= 3E-8XW= -4E-8DWG= -1.2139E-8
+DWB= 4.613042E-9VOFF= -0.0981658NFACTOR = 1.2032376
+CIT= 0CDSC= 2.4E-4CDSCD= 0
+CDSCB= 0ETA0= 5.128492E-3ETAB= 6.18609E-4
+DSUB= 0.0463218PCLM= 1.91946PDIBLC1 = 1
+PDIBLC2 = 4.422611E-3PDIBLCB = -0.1DROUT= 0.9817908
+PSCBE1= 7.982649E10PSCBE2= 5.200359E-10PVAG= 9.31443E-3
+DELTA= 0.01RSH= 3.7MOBMOD= 1
+PRT= 0UTE= -1.5KT1= -0.11
+KT1L= 0KT2= 0.022UA1= 4.31E-9
+UB1= -7.61E-18UC1= -5.6E-11AT= 3.3E4
+WL= 0WLN= 1WW= 0
+WWN= 1WWL= 0LL= 0
+LLN= 1LW= 0LWN= 1
+LWL= 0CAPMOD= 2XPART= 0.5
+CGDO= 5.62E-10CGSO= 5.62E-10CGBO= 1E-12
+CJ= 1.641005E-3PB= 0.99MJ= 0.4453094
+CJSW= 4.179682E-10PBSW= 0.99MJSW= 0.3413857
+CJSWG= 3.29E-10PBSWG= 0.99MJSWG= 0.3413857
+CF= 0PVTH0= -8.385037E-3PRDSW= -10
+PK2= 2.650965E-3WKETA= 7.293869E-3LKETA= -6.070E-3)
*
.END



这么个例子,其中红色部分怎么理解.(是不是就在计算其 s 参数).谢谢.  
我是初学,抠破脑袋实在想不出是什么意思.望高手指点.
先行谢过.

为什么没有人帮我呢 .

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

网站地图

Top