电子电路计算:从基础模型到直流分析
1. 电流 - 电压曲线生成
在电子电路分析中,生成电流 - 电压(I - V)曲线是一项基础且重要的工作。以下是一段MATLAB代码,用于生成特定条件下的I - V曲线:
L=45e-09; %channel length
nf=10; %number of fingers
W=1e-06; %finger width size
un=0.135; %electron mobility
Vth=0.4; %threshold voltage
Ln=0.1; %n-channel length modulation
e0=8.854e-12; %air permittivity
er=3.9; %3.9 for low-k and 12 for high-k materials
tox=1.6e-09; %gate oxide thickness
Cox=e0*er/tox; %oxide capacitance per unit area
Vdd=1.5; %power supply
%generate I-V curves
Vgs=linspace(0,Vdd,151);
Vds=linspace(0,Vdd,151);
Ids=zeros(length(Vgs),length(Vds));
for k=1:length(Vgs)
%use the following for Ids=0.5*un*Cox*(W*nf/L)*((Vgs(k)-Vth).^2)*(1+Ln*(Vds-(Vgs(k)-Vth)))
Ids(k,:)=((Vgs(k)>Vth & Vds>0
超级会员免费看
订阅专栏 解锁全文
1388

被折叠的 条评论
为什么被折叠?



