diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1223/CH12 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1223/CH12')
-rwxr-xr-x | 1223/CH12/EX12.1/Ex12_1.sce | 11 | ||||
-rwxr-xr-x | 1223/CH12/EX12.11/Ex12_11.sce | 25 | ||||
-rwxr-xr-x | 1223/CH12/EX12.16/Ex12_16.sce | 22 | ||||
-rwxr-xr-x | 1223/CH12/EX12.19/Ex12_19.sce | 14 | ||||
-rwxr-xr-x | 1223/CH12/EX12.2/Ex12_2.sce | 13 | ||||
-rwxr-xr-x | 1223/CH12/EX12.22/Ex12_22.sce | 10 | ||||
-rwxr-xr-x | 1223/CH12/EX12.23/Ex12_23.sce | 10 | ||||
-rwxr-xr-x | 1223/CH12/EX12.3/Ex12_3.sce | 11 | ||||
-rwxr-xr-x | 1223/CH12/EX12.5/Ex12_5.sce | 15 | ||||
-rwxr-xr-x | 1223/CH12/EX12.6/Ex12_6.sce | 15 | ||||
-rwxr-xr-x | 1223/CH12/EX12.7/Ex12_7.sce | 12 |
11 files changed, 158 insertions, 0 deletions
diff --git a/1223/CH12/EX12.1/Ex12_1.sce b/1223/CH12/EX12.1/Ex12_1.sce new file mode 100755 index 000000000..457d63894 --- /dev/null +++ b/1223/CH12/EX12.1/Ex12_1.sce @@ -0,0 +1,11 @@ +clear;
+clc;
+//Example 12.1
+A=10^5;//open loop gain
+Af=50;//closed loop gain
+b=(A/Af-1)/A;
+printf('\nfeedback transfer function=%f\n',b)
+A=-10^5;
+Af=-50;
+b=(A/Af-1)/A;
+printf('\nfeedback transfer function=%f\n',b)
diff --git a/1223/CH12/EX12.11/Ex12_11.sce b/1223/CH12/EX12.11/Ex12_11.sce new file mode 100755 index 000000000..386f757d4 --- /dev/null +++ b/1223/CH12/EX12.11/Ex12_11.sce @@ -0,0 +1,25 @@ +clear;
+clc;
+//Example 12.11
+hFE=100;//transistor parameter
+Vbe=0.7;
+Vcc=10;
+R1=55;
+R2=12;
+Re=1;
+Rc=4;
+Rl=4;
+Icq=0.983;
+Vceq=5.08;
+Vt=0.026;
+r=hFE*Vt/Icq;
+printf('\nsmall signal parameter resistance=%.2f KOhm\n',r)
+gm=Icq/Vt;
+printf('\ntransconductance=%.3f mA/V\n',gm)
+Agf=-gm*(Rc/(Rc+Rl))/(1+Re*(gm+1/r));
+printf('\ntransconductance transfer function=%.3f mA/V\n',Agf)
+//as first approximation
+Agf2=-1/Re;
+printf('\nAgf=%.2f mA/V\n',Agf2)
+Avf=Agf*Rl;
+printf('\nvoltage gain=%.2f\n',Avf)
diff --git a/1223/CH12/EX12.16/Ex12_16.sce b/1223/CH12/EX12.16/Ex12_16.sce new file mode 100755 index 000000000..067c17d40 --- /dev/null +++ b/1223/CH12/EX12.16/Ex12_16.sce @@ -0,0 +1,22 @@ +clear;
+clc;
+//Example 12.15
+//Determine the loop gain fig12.45(a)
+hFE=100;
+Vbe=0.7;
+Icq=0.492;
+r=5.28;
+gm=18.9;
+Rs=10;
+R1=51;
+R2=5.5;
+Re=0.500;
+Rc=10;
+Rf=82;
+x=r*R2/(r+R2);
+y=R1*x/(x+R1);
+t=Rs*y/(y+Rs);
+Req=t;
+printf('\nequivalent resistance=%.2f KOhm\n',t)
+T=gm*Rc*Req/(Rc+Rf+Req);
+printf('\nthe loop gain=%.2f\n',T)
diff --git a/1223/CH12/EX12.19/Ex12_19.sce b/1223/CH12/EX12.19/Ex12_19.sce new file mode 100755 index 000000000..59487c6fc --- /dev/null +++ b/1223/CH12/EX12.19/Ex12_19.sce @@ -0,0 +1,14 @@ +clear;
+clc;
+//Example 12.19
+//T=b*100/(sqrt(1+(f/10^5)^2) angle=-3tan^-1(f/10^5)
+//stable at f180 at which phase becomes -180 degrees
+//-3*atan(f180/10^5)=-180
+f180=tand(180/3)*10^5;
+printf('\nfrequency at -180 degree=%ef Hz\n',f180)
+b=0.2;
+T=b*100/(sqrt(1+(f180/10^5)^2))^3;
+printf('\nmagnitude of the loop gain=%.2f\n',T)
+b=0.02;
+T=b*100/(sqrt(1+(f180/10^5)^2))^3;
+printf('\nmagnitude of the loop gain=%.2f\n',T)
diff --git a/1223/CH12/EX12.2/Ex12_2.sce b/1223/CH12/EX12.2/Ex12_2.sce new file mode 100755 index 000000000..b80559b2f --- /dev/null +++ b/1223/CH12/EX12.2/Ex12_2.sce @@ -0,0 +1,13 @@ +clear;
+clc;
+//Example 12.2
+A=10^5;
+Af=50;
+b=0.019999;
+dA=10^4;
+dAf=Af*dA/(A*(1+b*A));
+printf('\ndAf=%e\n',dAf)
+//x=dAf/Af
+x=dAf/Af;
+x=x*100;
+printf('\npercent change dAf/Af=%f\n',x)
diff --git a/1223/CH12/EX12.22/Ex12_22.sce b/1223/CH12/EX12.22/Ex12_22.sce new file mode 100755 index 000000000..caab2aad9 --- /dev/null +++ b/1223/CH12/EX12.22/Ex12_22.sce @@ -0,0 +1,10 @@ +clear;
+clc;
+//Example 12.22
+Ao=10^6;
+fPD=0.010;//KHz
+b=0.01;
+Af=Ao/(1+b*Ao);
+printf('\nlow frequency closed loop gain=%.2f\n',Af)
+fc=fPD*(1+b*Ao);
+printf('\nclosed loop 3dB frequency=%.2f KHz\n',fc)
diff --git a/1223/CH12/EX12.23/Ex12_23.sce b/1223/CH12/EX12.23/Ex12_23.sce new file mode 100755 index 000000000..740d94362 --- /dev/null +++ b/1223/CH12/EX12.23/Ex12_23.sce @@ -0,0 +1,10 @@ +clear;
+clc;
+//Example 12.23
+A=10^3;
+Cf=30*10^-12;//feedback capacitor (F)
+R2=5*10^5;
+Cm=Cf*(1+A);
+printf('\nMiller capacitance=%e F\n',Cm)
+fp=1/(2*%pi*R2*Cm);
+printf('\ndominant pole frequency =%.2fHz\n',fp)
diff --git a/1223/CH12/EX12.3/Ex12_3.sce b/1223/CH12/EX12.3/Ex12_3.sce new file mode 100755 index 000000000..a13e4756b --- /dev/null +++ b/1223/CH12/EX12.3/Ex12_3.sce @@ -0,0 +1,11 @@ +clear;
+clc;
+//Example 12.3
+Ao=10^4;
+wh=2*%pi*100;//rad/s
+Af=50;
+//x=(1+bAo)
+x=Ao/Af;
+printf('\n(1+bAo)=%f\n',x)
+wfh=wh*x;
+printf('\nclosed loop bandwidth=%f\n',wfh)
diff --git a/1223/CH12/EX12.5/Ex12_5.sce b/1223/CH12/EX12.5/Ex12_5.sce new file mode 100755 index 000000000..8456b3ea8 --- /dev/null +++ b/1223/CH12/EX12.5/Ex12_5.sce @@ -0,0 +1,15 @@ +clear;
+clc;
+//Example 12.5
+Av=10^5;
+Avf=50;
+Rf=10;//Kohm
+Ro=20000;//Ohm
+//x=(1+bvAv)
+x=Av/Avf;
+printf('\n(1+bvAv)=%.e\n',x)
+Rif=Rf*x;
+Rif=Rif*0.001;//MOhm
+printf('\ninput resistance=%.2f MOhm\n',Rif)
+Rof=Ro/x;
+printf('\noutput resistance=%.2f Ohm\n',Rof)
diff --git a/1223/CH12/EX12.6/Ex12_6.sce b/1223/CH12/EX12.6/Ex12_6.sce new file mode 100755 index 000000000..d491874a1 --- /dev/null +++ b/1223/CH12/EX12.6/Ex12_6.sce @@ -0,0 +1,15 @@ +clear;
+clc;
+//Example 12.6
+Af=10^5;
+Aif=50;
+Rf=10000;
+Ro=20;
+//x=(1+biAi)
+x=Af/Aif;
+printf('\n(1+biAi)=%.e\n',x)
+Rif=Rf/x;
+printf('\ninput resistance =%.2fOhm\n',Rif)
+Rof=Ro*x;
+Rof=Rof*0.001;//Mohm
+printf('\noutput resistance=%.2f MOhm\n',Rof)
diff --git a/1223/CH12/EX12.7/Ex12_7.sce b/1223/CH12/EX12.7/Ex12_7.sce new file mode 100755 index 000000000..6edce62f2 --- /dev/null +++ b/1223/CH12/EX12.7/Ex12_7.sce @@ -0,0 +1,12 @@ +clear;
+clc;
+//Example 12.7
+Ri=50;
+R1=10;
+R2=90;
+Av=10^4;
+bv=1/(1+R2/R1);
+printf('\nfeedback transfer function=%.2f\n',bv)
+Rif=Ri*(1+bv*Av);
+Rif=Rif*0.001;//Mohm
+printf('\ninput resistance=%.2f MOhm\n',Rif)
|