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 --- 68/CH8/EX8.2/ex2.sce | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100755 68/CH8/EX8.2/ex2.sce (limited to '68/CH8/EX8.2') diff --git a/68/CH8/EX8.2/ex2.sce b/68/CH8/EX8.2/ex2.sce new file mode 100755 index 000000000..75738c2e4 --- /dev/null +++ b/68/CH8/EX8.2/ex2.sce @@ -0,0 +1,42 @@ +// Example 8.2: Feedback triple +// Consider the given three stage series-series feedback +h_fe=100; +g_m2=40*10^-3; // (A/V) +r_e1=41.7; // (ohm) +a_1=0.99; // alpha value +R_C1=9000; // (ohm) +R_E1=100; //(ohm) +R_F=640; // (ohm) +R_E2=100; //(ohm) +r_pi2=h_fe/g_m2; +R_C2=5000; // (ohm) +r_e3=6.25; // (ohm) +R_C3=800; //(ohm) +// First stage gain A_1=V_c1/V_i +A_1=-a_1*R_C1*r_pi2/((R_C1+r_pi2)*(r_e1+((R_E1*(R_F+R_E2))/(R_E1+R_F+R_E2)))) +disp(A_1,"The voltage gain of the first stage (V/V)") +// Gain of the second stage A_2=Vc2/V_c1 +A_2=-g_m2*{(R_C2*(h_fe+1)/(R_C2+h_fe+1))*[r_e3+(R_E2*(R_F+R_E1))/(R_E2+R_F+R_E1)]} +disp(A_2,"The second stage gain (V/V)") +// Third stage gain A_3 I_O/V_i +A_3=1/(r_e3+(R_E2*(R_F+R_E1)/(R_E2+R_F+R_E1))); +disp(A_3,"The third stage gain (V/V)") +A=A_1*A_2*A_3; // combined gain +disp(A,"Combined gain (V/V)") +B=R_E1*R_E2/(R_E2+R_F+R_E1); +disp(B,"Beta value") +A_f=A/(1+A*B); +disp(A_f,"Closed loop gain (A/V)") +A_v=-A_f*R_C3; // Voltage gain +disp(A_v,"Voltage gain (V/V)") +R_i=(h_fe+1)*(r_e1+(R_E1*(R_F+R_E2))/(R_E1+R_F+R_E2)); +R_if=R_i*(1+A*B); +disp(R_if,"Input resistance (ohm)") +R_o=(R_E2*(R_F+R_E1)/(R_F+R_E1+R_E2))+r_e3+R_C2/(h_fe+1); +R_of=R_o*(1+A*B); +disp(R_of,"Output voltage (ohm)") +r_o=25000; // (ohm) +g_m3=160*10^-3; // (mho) +r_pi3=625; // (ohm) +R_out=r_o+(1+g_m3*r_o)*R_of*r_pi3/(R_of+r_pi3); +disp(R_out,"R_out (ohm)") \ No newline at end of file -- cgit