diff options
author | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
commit | f35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch) | |
tree | eb72842d800ac1233e9d890e020eac5fd41b0b1b /68/CH5/EX5.18 | |
parent | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff) | |
download | Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2 Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip |
updated the code
Diffstat (limited to '68/CH5/EX5.18')
-rwxr-xr-x | 68/CH5/EX5.18/ex18.sce | 57 |
1 files changed, 29 insertions, 28 deletions
diff --git a/68/CH5/EX5.18/ex18.sce b/68/CH5/EX5.18/ex18.sce index d556d5680..bf511e347 100755 --- a/68/CH5/EX5.18/ex18.sce +++ b/68/CH5/EX5.18/ex18.sce @@ -1,29 +1,30 @@ -//Example 5.18 : Midband gain and 3dB frequency
-// Transistor is biased at I_C=1mA
-V_CC=10; // (V)
-V_EE=10; // (V)
-I=0.001; // (A)
-R_B=100000; // (ohm)
-R_C=8000; // (ohm)
-R_sig=5000; //(ohm)
-R_L=5000; // (ohm)
-B=100; // beta value
-V_A=100; // (V)
-C_u=1*10^-12; // (F)
-f_T=800*10^6; // (Hz)
-I_C=0.001; // (A)
-r_x=50; // (ohm)
-// Values of hybrid pi model parameters
-g_m=I_C/V_T;
-r_pi=B/g_m;
-r_o=V_A/I_C;
-w_T=2*%pi*f_T;
-CpiplusCu=g_m/w_T; // C_u+C_pi
-C_pi=CpiplusCu-C_u;
-R_l=r_o*R_C*R_L/(r_o*R_C+R_C*R_L+R_L*r_o) // R_l=R_L'
-A_M=R_B*r_pi*g_m*R_l/((R_B+R_sig)*(r_pi+r_x+(R_B*R_sig/(R_B+R_sig))));
-disp(A_M,"Midband gain (V/V)")
-R_seff=(r_pi*(r_x+R_B*R_sig/(R_B+R_sig)))/(r_pi+r_x+R_B*R_sig/(R_B+R_sig)); // Effective source resistance R_seff=R'_sig
-C_in=C_pi+C_u*(1+R_l*g_m);
-f_H=1/(2*%pi*C_in*R_seff);
+//Example 5.18 : Midband gain and 3dB frequency +// Transistor is biased at I_C=1mA +V_CC=10; // (V) +V_T=25*10^-3; +V_EE=10; // (V) +I=0.001; // (A) +R_B=100000; // (ohm) +R_C=8000; // (ohm) +R_sig=5000; //(ohm) +R_L=5000; // (ohm) +B=100; // beta value +V_A=100; // (V) +C_u=1*10^-12; // (F) +f_T=800*10^6; // (Hz) +I_C=0.001; // (A) +r_x=50; // (ohm) +// Values of hybrid pi model parameters +g_m=I_C/V_T; +r_pi=B/g_m; +r_o=V_A/I_C; +w_T=2*%pi*f_T; +CpiplusCu=g_m/w_T; // C_u+C_pi +C_pi=CpiplusCu-C_u; +R_l=r_o*R_C*R_L/(r_o*R_C+R_C*R_L+R_L*r_o) // R_l=R_L' +A_M=R_B*r_pi*g_m*R_l/((R_B+R_sig)*(r_pi+r_x+(R_B*R_sig/(R_B+R_sig)))); +disp(A_M,"Midband gain (V/V)") +R_seff=(r_pi*(r_x+R_B*R_sig/(R_B+R_sig)))/(r_pi+r_x+R_B*R_sig/(R_B+R_sig)); // Effective source resistance R_seff=R'_sig +C_in=C_pi+C_u*(1+R_l*g_m); +f_H=1/(2*%pi*C_in*R_seff); disp(f_H,"3dB frequency (Hz)")
\ No newline at end of file |