一、获取器件特性(唐龙谷老师书籍学习)
log outfile=test.log
solve vgate=0.1
save outfile=gate_0.1.str
1.1 直流特性
例1:所有电极电压加到0V
solve init
solve vbase=0.1
例3:将之前计算得到的结果作为计算的初始近似
solve previous
例4:结束写日志
log off
例5:基极电压经过一系列步骤加到 2.0V,可以得到 BE 结的 I-V 特性
go atlas
init infile=SBD.str
#
model conmob fldmob srh auger bgn
contact name=anode workf=4.97
solve init
log outfile=Schottky_Diode_IV.log
solve vanode=0.01
solve vanode=0.05
solve vanode=0.1
solve vanode=0.15
…
solve vanode=2.0
tonyplot Schottky_Diode_IV.log
这个是“分立”的
例6:栅电压按一定步长进行扫描,可得转移特性,从保存的日志文件中可提取出跨 导随栅压的特性曲线。如果 vfinal 不是整数个步长后的值,则会自动调整。
go atlas
init infile=structure.str
models cvt srh print
#
contact name=gate n.poly
interface qf=3e10
#
method newton
solve init
solve vdrain=0.1
log outf=Vt_test.log master
solve vgate=0.1 vstep=0.1 vfinal=3.0 name=gate
tonyplot Vt_test.log
quit
这个是“集中”的
例7:Gummel Plot 特性仿真
go atlas
init infile=bjt.str
models conmob fldmob consrh auger print
solve init
solve vcollector=0.1 vstep=0.1 vfinal=2 name=collector
log outf=Gummel_Plot.log
solve vbase=0.025 vstep=0.025 vfinal=1 name=base
log off
tonyplot Gummel_Plot.log
quit
例8:电极短接来得到GP特性
contact name=base common=collector
log outf=gp.log
solve vbase=0.0 vstep=0.1 vfinal=2 name=base
go atlas
init infile=bjt.str
models bipolar print
impact selb
method trap climit=1e-4 maxtrap=10
#
solve vbase=0.2
#
contact name=base current
solve ibase=3.e-15
#
log outfile=breakdown.log master
#
solve vcollector=0.2 vstep=0.2 vfinal=5 name=collector
solve vstep=0.5 vfinal=10 name=collector compl=5.e-10 e.comp=3
tonyplot breakdown.log
…
solve init
solve vbase=0.05 vstep=0.05 vfinal=0.8 name=base
contact name=base current
#
solve ibase=1.e-6
save outf=bjt_ib_1.str master
solve ibase=2.e-6
save outf=bjt_ib_2.str master
solve ibase=3.e-6
save outf=bjt_ib_3.str master
solve ibase=4.e-6
save outf=bjt_ib_4.str master
solve ibase=5.e-6
save outf=bjt_ib_5.str master
#
load inf=bjt_ib_1.str master
log outf=bjt_ib_1.log
solve vcollector=0.0 vstep=0.25 vfinal=5.0 name=collector
#
load inf=bjt_ib_2.str master
log outf=bjt_ib_2.log
solve vcollector=0.0 vstep=0.25 vfinal=5.0 name=collector
#
load inf=bjt_ib_3.str master
log outf=bjt_ib_3.log
solve vcollector=0.0 vstep=0.25 vfinal=5.0 name=collector
#
load inf=bjt_ib_4.str master
log outf=bjt_ib_4.log
solve vcollector=0.0 vstep=0.25 vfinal=5.0 name=collector
…
tonyplot –overlay bjt_ib_*.log
quit
语句中 bjt_ib_*.str 为一定基极电流下保存的结构文件
bjt_ib_*.log 为对应的输出特性曲线。
…
solve init
solve vgate=1 outf=solve_tmp1
solve vgate=2 outf=solve_tmp2
#
load infile=solve_tmp1
log outf=mos_ids_1.log
solve name=drain vdrain=0 vstep=0.3 vfinal=3.3
#
load infile=solve_tmp2
log outf=mos_ids_2.log
solve name=drain vdrain=0 vstep=0.3 vfinal=3.3
…
tonyplot –overlay mos_ids_*.log
这个_*的写法真方便呀,回头试试
1.2 交流小信号特性
solve vgate=-5 vstep=0.1 vfinal=5.0 name=gate ac freq=1e6
例2:交流仿真,变交流频率(能得到两端口的电容随频率变化的特性)。频率从 1GHz 增加到 11GHz,以 1GHz 为步长。
solve vbase=0.7 ac freq=1e9 fstep=1e9 nfstep=10
例3:交流仿真,在初始频率的基础上按倍数增加,从 1MHz 开始,频率每一次增加为原来的两倍,总共增加 10 次,这样最后为 2^10*1MHz=1.024GHz。
solve vbase=0.7 ac freq=1e6 fstep=2 mult.f nfstep=10
例4:直流偏置和交流频率一起改变,这会在每一个直流偏置点都对频率进行扫描。
solve vgate=0 vstep=0.05 vfinal=1 name=gate ac freq=1e6 fstep=2 mult.f nfsteps=10
1.3 瞬态特性
solve vgate=1.0 ramptime=1e-9 tstep=0.1e-9 tstop=1e-8
1.4 高级特性
1. curvetrace
curvetrace contr.name=cathode step.init=0.5 nextst.ratio=1.2 mincur=1e-12 \
end.val=1e-3 curr.cont
solve curvetrace
go atlas
init infile=IGBT.str
thermcontact num=1 elec.num=3 temp=300
models srh auger fldmob surfmob lat.temp
impact selb
method newton trap
curvetrace contr.name=collector step.init=0.05 nextst.ratio=1.1 mincur=1e-13 \
end.val=1e-3 curr.cont
solve init
solve vgate=0.1 vstep=0.1 vfinal=10 name=gate
log outfile=breakdown.log
solve curvetrace
tonyplot breakdown.log
2.S参数仿真

例4:S 参数仿真,四端口,第二个输入段和输出端都是源极。
log outf=ac.log s.param inport=gate outport=drain in2port=source out2port=source \
width=100 rin=100
solve ac.analysis direct frequency=1.e9 fstep=2.e9 nfsteps=20
3.霍尔效应仿真:略先
4.光电特性仿真:
例5:
beam num=1 x.origin=5 y.origin=-2 angle=90 wavelenght=.8
②光束是复合光,波长范围由开始波长、结束波长以及波长数目定义。
beam num=1 x.origin=5 y.origin=-2 angle=90 wavel.start=.5 wavel.end=1.7 \
wave.num=13
③考虑光在器件界面的反射(也包括前反射和后反射),以及反射次数和最小光强 (min.power)的限制,光强的单位为 W/cm2
beam num=2 x.origin=1 y.origin=-1 angle=90 wavelength=1.5 back.refl front.refl \
reflect=5 min.power=0.01
④ 光束中的光强为高斯分布
beam num=3 x.origin=2 y.origin=-0.5 angle=90 wavelength=0.9 rays=101 \
gaussian mean=0 xsigma=0.25
go atlas
#…
material material=InGaAs align=0.36 nc300=2.1e17 nv300=7.7e18 copt=9.6e-11
material material=InP affinity=4.4 align=0.36 nc300=5.7e17 nv300=1.1e19 \
copt=1.2e-10
#
impact selb material=InGaAs an2=5.15e7 ap2=9.69e7 bn2=1.95e6 bp2=2.27e6
impact selb material=InP an2=1e7 ap2=9.36e6 bn2=3.45e6 bp2=2.78e6
#
model material=InP srh optr fldmob evsatmod=1 ecritn=6.e3 fermidirac \
print bgn impact
model material=InGaAs srh optr fldmob evsatmod=1 ecritn=3.e3 \
fermidirac print bgn impact
#
beam num=1 x.origin=0 y.origin=-0.5 angle=90.0 wavelength=1.3 rays=101
#
method newton trap carr=2
output opt.intens
#
solve init
solve b1=1
#
save outf=opto1.str
tonyplot opto1.str -set Optical_source_specification.set
quit
⑥光谱响应仿真
go altlas
…
beam num=1 x.origin=2.5 y.origin=-1.0 angle=90.0 wavelength=.4
#
method newton trap
solve init
solve vcathode=0.05 vstep=0.05 vfinal=0.5 name=cathode
#
log outf=Spectral_Response.log master
solve prev b1=1 lambda=0.6
solve prev b1=1 lambda=0.625
solve prev b1=1 lambda=0.65
…
solve prev b1=1 lambda=1.65
tonyplot Spectral_Response.log
solve vcathode=0.1
measure u.total
solve vcathode=0.2
measure u.total
…
5.热学特性仿真
6.其他高级的特性
单粒子翻转
噪声特性