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 /506/CH15/EX15.2/Example15_2.sce | |
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 '506/CH15/EX15.2/Example15_2.sce')
-rwxr-xr-x | 506/CH15/EX15.2/Example15_2.sce | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/506/CH15/EX15.2/Example15_2.sce b/506/CH15/EX15.2/Example15_2.sce new file mode 100755 index 000000000..efd8e6864 --- /dev/null +++ b/506/CH15/EX15.2/Example15_2.sce @@ -0,0 +1,28 @@ +clear;
+clc;
+
+//Caption:Design an amplifier using yA702A
+//Given Data
+f=32;//feedback in dB
+//from the Bodes plot we get that Avo = 2510
+Avo = 2510;//gain
+disp('The parameters are R , r (for Rdash), C (for Cdash)');
+//Desensivity D = B*Rmo = Avo*(R/(R+r))
+//20log10(D ) = f
+k = f - (20*log10(Avo));
+//Let (R+r)/R = l
+l = 1/(10^(k/20));
+//R/(R+r) = fp/fz
+//For 45degree phase margin and 32dB of low frequency feedback we find by trial and error method from the graph
+fz = 10;//in MHz
+fp = fz*l;
+//to determine c we can arbitrarily choose R
+R = 1000;//in ohm
+disp('ohm',R,'R = ');
+r = (l-1)*R
+disp('ohm',r,'r = ');
+C = 1/(2*%pi*fz*r*10^-6);
+disp('pF',C,'C = ');
+
+
+//end
\ No newline at end of file |