I want to calculate the gain of the following circuit, but two different ways give different results.
simulate this circuit – Schematic created using CircuitLab
First method:
(This method is explained in the answer by @AlfredCentauri to this similar question, if you want)
I assume a gain of near 1 for the emitter follower and just obtain the input impedance using the Miller theorem (boot strap), and obtain the output voltage from the voltage divider formed from the source resistance 120k and the input resistance of the circuit (which is near 50k), now the gain will be obtained about 0.3, which I believe is the correct answer.
Second method:
But when I just replace the small signal model of the transistor, I obtain something very near to zero (near 0.004) for the gain. I don't know whats wrong with my model:
In the ac model of the circuit with all of the DC sources grounded and capacitors short-circuited, the two \$1k\$ resistors are parallel and are shown as one 500 Ohm resistor in the circuit below. \$v_{\pi}\$ is the voltage across the \$r_{\pi}\$, as in the pie model of BJT. \$I_c\$ is obtained as \$1mA\$. Also \$V_T\$ is \$25mV\$ and thus \$r_{\pi}=2.5k\$ and \$g_m=1/25\$.
I simply omit the \$520k\$ resistor in parallel with \$r_{\pi}\$ and the one with the \$500\$ Ohm, and then I will have this equation: (KCL in the output node) (\$g_m=1/25\$)
\$ \frac{V_o}{0.5k}+\frac{V_o-V_i}{120k+2.5k \approx 120k}=g_m(v_i-v_o)\frac{2.5k}{2.5k+120k\approx 120k}\$
This would give approximately \$V_i=240V_o\$ or gain= 0.004.