Microelectronics MATLAB
Microelectronics MATLAB
VSB 2F 2F
0.5 V 1
The following is the given equation set: VGS VEQ I D RS
VSB I D RS VTN VTO ID
VSB 2F 2F
Kn 2 VGS VTN 2
The MATLAB code for finding the solution to given Eq. set is
VEQ=6; RS=22*10^3; RD=18*10^3; Kn=25*10^(-6); VTO=1; VDD=10; gamma=0.5; phiF=0.3; %Saturation region operation with IG=0,2phiF=0.6 V ID=1.0e-04;%Estimate the value of ID IDdash=0; while((ID-IDdash)>1.0000e-008) VGS=VEQ-ID*RS; VSB=ID*RS; VTN=VTO+gamma*(sqrt(VSB+2*phiF)-sqrt(2*phiF)); IDdash=abs((Kn/2)*(VGS-VTN)^2); ID=ID-1.0e-06; end IDdash VDS=VDD-IDdash*(RD+RS) The MATLAB output is, IDdash = 8.8117e-005 VDS = 6.4753
(b)
0.75 V 1
VSB 2F 2F
Kn 2 VGS VTN 2
The MATLAB code for finding the solution to given Eq. set is VEQ=6; RS=22*10^3; RD=18*10^3; Kn=25*10^(-6); VTO=1; VDD=10; gamma=0.75; phiF=0.3; %Saturation region operation with IG=0,2phiF=0.6 V ID=1.0e-04;%Estimate the value of ID IDdash=0; while((ID-IDdash)>1.0000e-008) VGS=VEQ-ID*RS; VSB=ID*RS; VTN=VTO+gamma*(sqrt(VSB+2*phiF)-sqrt(2*phiF)); IDdash=abs((Kn/2)*(VGS-VTN)^2); ID=ID-1.0e-06; end IDdash VDS=VDD-IDdash*(RD+RS) The MATLAB output is, IDdash = 8.3643e-005 VDS = 6.6543