MOSFET characteristics: The MOSFET is the most common transistor in current use.
ID: 1847086 • Letter: M
Question
MOSFET characteristics: The MOSFET is the most common transistor in current use. Treated as a three-terminal device, the current-volt age relationships for an NMOS transistor can be modeled using the following equations in which the model parameters are Kn, VTN and lambda. Write a MATLAB function that accepts the values of the three model parameters plus maximum values for VGS and and plots the 3-D surface ID(VGS, VDs)- Assume that the minimum value of both voltages is zero. Test your function by generating the result for Kn = 1 mAV-2, Vtn = 0.6 V. and lambda = 0.05 V-1 for VGS and VDS between 0 V and 5 V.Explanation / Answer
%n-channel enhancement mode MOSFET output characteristics clear all; %kn=un*cox = 100 microA/Volts kn=1e-4; %Let W/L= 2 W=360*(10^(-9)); L=180*(10^(-9)); beta=kn*W/L; %Vth is the threshold voltage Vth=1; %Sweep drain to source voltge from 0 to 10V vds=0:0.5:10; %Ask the user to enter gate to source voltage vgs=input('ENTER THE Vgs in volts'); %Estimate length of the array m=length(vds); for i=1:mif vgs < Vth current(1,i)=0; elseif vds(i) >= (vgs - Vth) current(1,i)=0.5* beta * (vgs - Vth)^2; elseif vds(i) < (vgs - Vth) current(1,i)= beta*((vgs-Vth)*vds(i) - 0.5*(vds(i)^2)); end
end plot(vds,current(1,:),'b') xlabel('Vds, V') ylabel('Drain Current,A') title('I-V Characteristics of a MOSFET') %n-channel enhancement mode MOSFET output characteristics clear all; %kn=un*cox = 100 microA/Volts kn=1e-4; %Let W/L= 2 W=360*(10^(-9)); L=180*(10^(-9)); beta=kn*W/L; %Vth is the threshold voltage Vth=1; %Sweep drain to source voltge from 0 to 10V vds=0:0.5:10; %Ask the user to enter gate to source voltage vgs=input('ENTER THE Vgs in volts'); %Estimate length of the array m=length(vds); for i=1:m
if vgs < Vth current(1,i)=0; elseif vds(i) >= (vgs - Vth) current(1,i)=0.5* beta * (vgs - Vth)^2; elseif vds(i) < (vgs - Vth) current(1,i)= beta*((vgs-Vth)*vds(i) - 0.5*(vds(i)^2)); end
end plot(vds,current(1,:),'b') xlabel('Vds, V') ylabel('Drain Current,A') title('I-V Characteristics of a MOSFET')
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.