0% found this document useful (0 votes)
79 views

Microelectronics MATLAB

The document presents the solution to a set of equations modeling an MOSFET circuit using MATLAB. For an initial gamma value of 0.5 V-1, the MATLAB code iterates to find the drain current ID of 8.8117e-005 A and drain-source voltage VDS of 6.4753 V. Repeating the calculation for a gamma of 0.75 V-1, the drain current and voltage are 8.3643e-005 A and 6.6543 V, respectively.

Uploaded by

kattasrinivas
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
79 views

Microelectronics MATLAB

The document presents the solution to a set of equations modeling an MOSFET circuit using MATLAB. For an initial gamma value of 0.5 V-1, the MATLAB code iterates to find the drain current ID of 8.8117e-005 A and drain-source voltage VDS of 6.4753 V. Repeating the calculation for a gamma of 0.75 V-1, the drain current and voltage are 8.3643e-005 A and 6.6543 V, respectively.

Uploaded by

kattasrinivas
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Question: Find the solution to Eq.

set, VGS VEQ I D RS


VSB I D RS VTN VTO ID

VSB 2F 2F

Kn 2 VGS VTN 2 using MATLAB. (b) Repeat for 0.75 V

Solution: (a) It is given that, The circuit parameters are, VEQ 6 V,

RS 22 k, RD 18 k, K n 25 A/V 2 , VTO 1 V, VDD 10 V,

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)

The circuit parameters are, VEQ 6 V,

RS 22 k, RD 18 k, K n 25 A/V 2 , VTO 1 V, VDD 10 V,

0.75 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.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

You might also like