From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 506/CH15/EX15.2/Example15_2.sce | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 506/CH15/EX15.2/Example15_2.sce (limited to '506/CH15/EX15.2/Example15_2.sce') 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 -- cgit