|
第三讲
0 r% l8 E! O+ X4 E0 q% ?3 n6 W7 }6 V
2D场求借器--用来求传输线的RLGC距阵模型,s 参数等....
8 I! |+ N# ^" m+ F6 g; x3 o! R: ^4 v+ ~以下的例子为求单根微带线的RLGC模型。, A2 o8 k, Q- i1 Y) C, o* J7 ]
------------------------------------------------------------------------------------------网表如下:
6 @7 f K/ e# S* P$ k* I" e*Micro Stripline
0 {6 \) ^9 P7 P( S1 ~' o6 Q*Stripline.sp : caluclate Micro stripline's s parament&rlgc model[*.s4p&*.rlgc]
" b4 h% z" \; A9 k: N6 x" V*created by Li Liming
1 o4 A6 n& ~& ^7 P*****************************************************5 N8 t0 y) Y3 j
* Material FR-4 单微带线截面图。
# k( j; y3 O1 d- e) A4 h* Stack layer
" R2 g% Q' O' Q6 k+ F! N8 B*////////////////Width//////////////////Thickness
* O! o$ e7 E3 _6 C/ `*///////////////////////////////////////dHeight3 P3 b9 W& w. c5 Q! W$ Q
*---------------------------------------Thickness
8 r; u( S% C! ?8 [" K5 \1 M******************************************************/ A6 ^: Z, }# }0 s" D# K7 n! ^
.param dHeight=8mil
$ |7 R; L3 E: y% N: t8 N R.param Width =5mil
' h6 d4 V. n5 Q.param Thickness=1.2mil
4 h5 }% P9 `8 A# Z& O.param Length=5000mil( R7 P' @" I# h G
# p& {/ o) |, e' @ O' y*******信号源*******
, @9 C# ?" ^; d, W. `1 fvimpulse in 0 pulse (1.8v 0v 0ps 25ps 25ps 450ps)+ X$ O0 S$ b. L
wline in 0 out 0 fsmodel=strip N=1 l=Length' d+ g6 ^0 {4 ~7 T
! {, f; w' X/ {6 F' ^* @* N4 d$ @*******定义2种材料*******
- ^' P1 O# h5 ~( x# V.material die dielectric er=4.3 losstangent=0.0177 _+ W# I( v5 M* i4 t- a# ~
.material copper metal conductivity=57.6meg
, Q, w* G4 `) z9 l, o
, c0 `" g" b& A! U0 k" Z*******定义走线的参数,如形状,长度,厚度*******
" i5 v- d# W( Q' X$ i) B; E.shape trace rectangle width=Width height=Thickness
( ?4 `+ Z7 O1 q& P# W* U; ?
# J5 ]$ C+ Q- w2 r*******定义层叠, 注意层叠是从下往上的。*******; g ?5 {' U) K7 p7 F6 v" d
.layerstack stack7 q* [9 j6 X$ j( T2 f
+layer=(copper,Thickness) layer=(die,dHeight) # ^( P. X6 x/ n$ i" A
1 S' y3 `: ~9 z/ }
*******定义仿真精度,格点,输出数据,计算类型*******
+ f- ^& ?7 [ x6 }) c' x.fsoptions myOption printdata=yes computeg0=yes computegd=yes computer0=yes . b5 o* A8 N6 C7 z
+ACCURACY = LOW GRIDFACTOR = 1
" C. A: T f& X: V- s# v9 @/ w& x* x' j: x% X+ B) c
*******定义扫描过程*******+ {2 D: o% n# u0 X6 t& `- _5 M
.model strip w modeltype=fieldsolver
5 E% Y+ L1 y+ s% `+layerstack=stack# [! }0 A/ p* \% q3 m$ } y& c
+fsoptions=myOption/ i( \3 t0 R) w" a
+rlgcfile=micro_stripline.rlgc
: F" K7 t: d' w8 U9 s( A+outputformat=rlgcfile" ?! `" n0 ~2 b' ~& o: `2 j
7 F' ~6 S0 R: e1 o" O% s, Q
******把导体放置在平面上,用如下坐标定义他们的位置*********
( O$ y7 P! n' n, P1 m+conductor=(shape=trace origin=(0mil,'dHeight+Thickness') material=copper type=signal)% q# P6 b9 g8 {# w
" Z' G1 g7 a q7 c*******分析类型*******
$ e$ s; t4 J8 [9 [$ S1 z1 J7 m.tran 0.5ns 100ns& J, V# o S1 m& a6 |
* m" |) I# P6 B* J.end
7 [; R' p/ R% ^1 g----------------------------------
7 s( U7 P, H+ D# D* W+ O* N9 r0 S& b
运行成功后会在当前目录下生成micro_stripline.rlgc文件,供仿真案例调用。
' h! h5 H. {) H5 l, A8 r, X5 O7 U$ n. ^2 |" Z% W5 `! I
2.波形图, ]) }% Y0 q: p
4 n8 U% u- Y. o7 L7 J2 g
|
|