请问如何在SPEED2000中为元件添加S参数模型呢?
.PartialCkt FB_ckt
+ ExtNode = 1 2
Model ferrite_bead S
+ TSTONEFILE = bla31ag102sn4.s2p
Sfb 1 2 MNAME=ferrite_bead
.EndPartialCkt
但是调用报错
是不是不能通过.ckt文件调用S参数文件呢,如果用HSPICE的.sp文件,应该写成什么样子?
自己解答一下吧,可以通过broadband spice将sNp档转换为宽带spice模型(.txt),然后在.ckt文件中调用subckt中定义的即可,如下所示:
.subckt bla31ag102sn4 1 2 ref
Rd1_1 3 ref 50.000000
Rd1_2 4 ref 3.535534
Vd1 1 3 0
F1 ref 4 Vd1 1.0
G1 ref 4 1 ref 0.02
Rd2_1 5 ref 50.000000
Rd2_2 6 ref 3.535534
Vd2 2 5 0
F2 ref 6 Vd2 1.0
G2 ref 6 2 ref 0.02
G3 ref 3 LAPLACE 4 ref
+ 1.7910867957285876e+009
+ /
+ 2.1064463341836143e+010
+ 1
G4 ref 3 LAPLACE 4 ref
+ -1.1892254671104818e+006
+ /
+ 1.6030768036576599e+008
+ 1
G5 ref 3 LAPLACE 4 ref
+ 4.4612272335619427e+003
+ /
+ 4.4871626255372056e+005
+ 1
G6 ref 3 LAPLACE 4 ref
+ -8.8202147921316524e+005
+ /
+ 6.7381827876395816e+006
+ 1
G7 ref 3 4 ref
+ -9.0999942729219463e-002
G8 ref 3 LAPLACE 6 ref
+ -1.7910656191611373e+009
+ /
+ 2.1064463341836140e+010
+ 1
G9 ref 3 LAPLACE 6 ref
+ 1.1894060423476594e+006
+ /
+ 1.6030768036576557e+008
+ 1
G10 ref 3 LAPLACE 6 ref
+ -4.4151235593840984e+003
+ /
+ 4.4871626255284168e+005
+ 1
G11 ref 3 LAPLACE 6 ref
+ 8.8196141842383682e+005
+ /
+ 6.7381827876395695e+006
+ 1
G12 ref 3 6 ref
+ 9.0998616664321491e-002
G13 ref 5 LAPLACE 4 ref
+ -1.7847996719845765e+009
+ /
+ 2.1064463341836143e+010
+ 1
G14 ref 5 LAPLACE 4 ref
+ 9.8282187044908607e+005
+ /
+ 1.6030768036576599e+008
+ 1
G15 ref 5 LAPLACE 4 ref
+ -6.9266292908686723e+004
+ /
+ 4.4871626255372056e+005
+ 1
G16 ref 5 LAPLACE 4 ref
+ 9.5852202046137722e+005
+ /
+ 6.7381827876395816e+006
+ 1
G17 ref 5 4 ref
+ 9.0712676363390726e-002
G18 ref 5 LAPLACE 6 ref
+ 1.7848252593845570e+009
+ /
+ 2.1064463341836140e+010
+ 1
G19 ref 5 LAPLACE 6 ref
+ -9.8278671746974147e+005
+ /
+ 1.6030768036576557e+008
+ 1
G20 ref 5 LAPLACE 6 ref
+ 6.9266745440354440e+004
+ /
+ 4.4871626255284168e+005
+ 1
G21 ref 5 LAPLACE 6 ref
+ -9.5852818740438984e+005
+ /
+ 6.7381827876395695e+006
+ 1
G22 ref 5 6 ref
+ -9.0714203712267946e-002
G23 ref 1 3 ref 0.02
G24 ref 2 5 ref 0.02
.ends
.PartialCkt FB_100MHz
+ ExtNode = 1 2
X1 1 2 0 bla31ag102sn4
.EndPartialCkt
学习了,谢谢
好厉害啊,我刚刚学sigrity不久,请问一下调用.s2p的模型,为什么用写.ckt 的东西,ckt是干什么用的,我看到sigrity自带的库里面 有.s2p的模型,我需要怎么正确的调用呢? 求指教