From: Nils Forssén Date: Thu, 19 Jan 2023 03:47:27 +0000 (+0100) Subject: pushing X-Git-Url: https://gitweb.forssennils.se/?a=commitdiff_plain;h=4b9b3bd9862693c927db28ef19a9646729b2628d;p=TSTE05.git pushing --- diff --git "a/inl\303\244mning_3/calc_script.asv" "b/inl\303\244mning_3/calc_script.asv" new file mode 100644 index 0000000..9d62f2d --- /dev/null +++ "b/inl\303\244mning_3/calc_script.asv" @@ -0,0 +1,36 @@ +%% Constants +I_CQ = -3*10^-3; +U_CEQ = -3; +I_C = I_CQ; +U_CE = U_CEQ; + +R_G = 10^6; +U_BE = -0.7; +B = 75; +E = -12; + +h_21 = 75; +h_11 = 2000; +g_m = 0.004; +R_L = 2000; +R_4 = 4700; +R_1 = 1000; +R_S = 2000; + +%% a) +R_C = R_G / (((I_C/U_CE) * R_G) - 1); +I_B = I_C / B; +I_E = I_B + I_C; +R_5 = (0.1 * B * E) / (((U_BE * I_E) / (E - (R_C * I_C) - U_CE)) + I_E + (0.1 * B * I_B)); +R_E = (E - (R_C * I_C) - U_CE) / I_E; +I_5 = (E - U_BE - (R_E * I_E)) / R_5; +I_6 = I_5 - I_B; +R_6 = (E - (R_5 * I_5)) / I_6; + +%% b) +F = g_m * (1/((1/R_S) + (1/R_L))); +F = F * -((h_21 * (1/((1/R_C) + (1/R_G)))) / (1 + (g_m * (1/((1/R_L) + (1/R_S)))))); +F = F * -((h_21 * (1/((1/R_4) + (1/R_5) + (1/R_6)))) / (h_11 + (1/((1/R_4) + (1/R_5) + (1/R_6))))); +F = F * -(1/h_11); + +%F = F * (1 / (R_1 * (1 + h_21))); \ No newline at end of file diff --git "a/inl\303\244mning_3/calc_script.m" "b/inl\303\244mning_3/calc_script.m" index 80e663b..e0ecaad 100644 --- "a/inl\303\244mning_3/calc_script.m" +++ "b/inl\303\244mning_3/calc_script.m" @@ -21,7 +21,8 @@ R_S = 2000; R_C = R_G / (((I_C/U_CE) * R_G) - 1); I_B = I_C / B; I_E = I_B + I_C; -R_5 = (0.1 * B * E) / (((U_BE * I_E) / (E - (R_C * I_C) - U_CE)) + I_E + (0.1 * B * I_B)); +R_5 = (0.1 * B * E) / (((U_BE * I_E) / ... + (E - (R_C * I_C) - U_CE)) + I_E + (0.1 * B * I_B)); R_E = (E - (R_C * I_C) - U_CE) / I_E; I_5 = (E - U_BE - (R_E * I_E)) / R_5; I_6 = I_5 - I_B; @@ -29,6 +30,8 @@ R_6 = (E - (R_5 * I_5)) / I_6; %% b) F = g_m * (1/((1/R_S) + (1/R_L))); -F = F * ((- h_21 * (1/((1/R_C) + (1/R_6)))) / (1 + (g_m * R_S))); -F = F * ((- h_21 * (1/((1/R_4) + (1/R_5) + (1/R_6) + (1/h_11)))) / h_11); -F = F * (1 / (R_1 * (1 + h_21))); \ No newline at end of file +F = F * -((h_21 * (1/((1/R_C) + (1/R_G)))) / ... + (1 + (g_m * (1/((1/R_L) + (1/R_S)))))); +F = F * -((h_21 * (1/((1/R_4) + (1/R_5) + (1/R_6)))) / ... + (h_11 + (1/((1/R_4) + (1/R_5) + (1/R_6))))); +F = F * -(1/h_11); \ No newline at end of file diff --git "a/inl\303\244mning_3/inl\303\244mningsuppgift_5_nilfo359_rev_2.pdf" "b/inl\303\244mning_3/inl\303\244mningsuppgift_5_nilfo359_rev_2.pdf" new file mode 100644 index 0000000..ced6919 Binary files /dev/null and "b/inl\303\244mning_3/inl\303\244mningsuppgift_5_nilfo359_rev_2.pdf" differ