blob: 11698cf04f44d4aa10a7f581782d2cae5b13dc36 (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
clear;
clc;
//Caption:Voltage Gain of MOSFET as a single stage and then as first transistor
//Given Data
Rd=100;//in K
f=20000;//frequency in Hertz
//MOSFET parameters
gm=1.6;//in mA/V
rd=44;//in k
Cgs=3*(10^-12);//in F
Cds=1*(10^-12);//in F
Cgd=2.8*(10^-12);//in F
m=gm*rd;//mew
//Required Formulae
Ygs=2*%pi*f*Cgs*%i;//in mho
Yds=2*%pi*f*Cds*%i;//in mho
Ygd=2*%pi*f*Cgd*%i;//in mho
gd=1/rd;//in mho
Yd=1/Rd;//in mho
gm=1.6*(10^-3);//in mho
disp('Gain of one stage amplifier');
Av=(-gm+Ygd)/(gd+Yd+Yds+Ygd);//Voltage Gain
disp(Av,'Av=');
disp('Gain after nelecting the interelectrode capacitance');
Av=-(m*Rd)/(Rd+rd);//Voltage Gain
disp(Av,'Av=');
//Let k= gm*Rd'
k=-Av;
Ci = (Cgs*(10^12)) +((1+k)*Cgd*(10^12));
disp('Value of Input Impedence Capacitance');
disp('pF',Ci,'Ci=');
//Now considering a two stage amplifier consisting of an FET operating
//New input Impedence taking into account various factors for present codition
Ci=200*(10^-12);
disp('Now considering a two stage amplifier consisting of an FET operating');
Yl=(0.001/Rd)+(2*%pi*f*Ci*%i);
disp(Yl,'Load Admittance =');
gd=gd*0.001;
disp('Gain');
Av=-(gm)/(gd+Yl);//Voltage Gain
disp(Av,'Av=');
//end
|