I'm studying for an exam and I was practicing on this amplifier, however I'm a bit confused when it comes to a non-ideal operational amplifier.
It's not ideal because it has an open loop gain \$ A_{OL} = 74dB \approx 2.51 \times10^{-7} \$ and a finite output impedance \$ Z_{out} = 5\Omega \$.
I'm asked to find the transfer function, plot the Bode diagram and calculate mid-band gain. As for mid-band gain, I'd analyze the Bode diagram since mid-band gain is supposed to be the gain value at which the diagram is constant, correct? However I need the transfer function in order to be able to plot the Bode diagram.
Normally I'd find an expression for the transfer function by using the virtual short method, however that requires that the OpAmp is ideal which is not the case here so I'm assuming that having a finite open loop gain and an output impedance greater than 0 will have an effect on the transfer function. I know that when an OpAmp has finite open loop gain, the expression of the closed loop gain is the following: $$ A_v = \frac{A_{OL}}{1 + \beta A_{OL}} $$ where \$ \beta \$ is the feedback factor which in this case is given by: $$ \beta = \frac{R_1}{R_1 + R_2 + Z_C}$$ with \$ Z_C = \frac{1}{sC} \$, ending up with these expression for \$ \beta \$: $$ \beta = \frac{sCR_1}{sC(R_1 + R_2)+1} $$
The final expression for the closed loop gain knowing that \$ A_{OL} \approx 2.51 \times 10^{-7} \$ is the following:
$$ A_v = \frac{A_{OL}}{1 + \frac{sCR_1}{sC(R_1 + R_2)+1}A_{OL}}$$ Tried to rearrange it a tiny bit and it got messy without plugging in the values but this should be it: $$A_v = \frac{A_{OL}(sC(R_1 + R_2) + 1)}{sC(R_1+R_2)+sCR_1A_{OL} + 1} $$
I'm a bit lost here. Assuming up until here it's correct, is \$ A_v \$ the transfer function I'm looking for? If I plug in the numbers and plot the Bode diagram of this transfer function will I get the correct mid-band gain looking at where the diagram is flat?
If this is all correct, I'm still lost about the output impedance. How does it come into play with the transfer function? Because so far I haven't considered it. Thanks for the help!