summaryrefslogtreecommitdiff
path: root/506/CH10/EX10.2.d/Example10_2d.sce
blob: ecf781d47369938a351fe8ae30bdc59af24edee0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
clear;
clc;

//Caption:amplifier using n channel FET

//Given Data

Vp=-2;//in V
Idss=1.65;//in mA
//it is desired to bias the circut at Id=0.8mA
Ids=0.8;//in mA
Vdd=24;//in V
//Assumption: rd>Rd

Vgs=Vp*(1-(Ids/Idss)^0.5);//in V

gmo=-(2*Idss/Vp);
gm=gmo*(1-(Vgs/Vp));

Rs=-(Vgs/Ids);//in ohm

disp('20dB corresponds to voltage gain of i0');
Av=10;
Rd=Av/gm;//in ohm
disp('ohm',Rd,'Rd=');

//end