Thank you so much for your good explanation. I have one question.Why does raising the gain of output stage impose more limit on upper frequency? I hope in real life when I breadboard it I get this result, because op amps that I have are TL081. while in simulator I used LM358. I don't know why do you think LM358 is better than TL081? You said they have different model statement in LTspice because of that you choose LM358. but I want to know these differences
may affect the result that I'm supposed to get in real life or not?
Hi,
I did not say that the LM358 was better than the TL081, i merely meant that the *model* used would be better for this *simulation* because that model models the power supply pin currents better. We might find a better model for the TL081 which also shows this functionality. In the real life circuit i would expect the TL081 to work better in terms of the frequency response.
An increase in gain of the output stage is just one way that may decrease the frequency response of the overall circuit. As audioguru explained, when the gain of an op amp stage is increased the maximum frequency goes down proportionally, so if we increase the gain by a factor of 10 then we decrease the usable upper frequency by a factor of 10 too. So if we originally had a gain of 10 and 200kHz top response, after increasing the gain to 100 (10 fold) the top frequency would decrease to 20kHz approximately. That's the way most op amps work and is usually referred to as the "Gain Bandwidth Product" of the op amp. There is a little more to it than that (the slew rate also limits the upper usable frequency) but that's the first approximation to start with in understanding how this works.
What this means is that choosing another method to increase the gain might be better because it may not limit the usable frequency range as much. The transistors are much faster than the op amps, so increasing the current mirror current is probably a better method to increase overall gain. In fact, that may be one of the advantages of using current mirrors in the first place but you'll have to look into this more. If the output stage gain was set to 1 with an increase in gain somewhere else then we might actually see amplification by a factor of say 10 without impairing the frequency response very much. You'll have to try this because there is more involved than just setting the gain.
Thinking out loud, if the output slew rate is 1v/us then with a 10k output resistor on the first stage we get 100ua/us which leads to 100ua/us on the output and with a 10k on the output we see also 100ua/us which leads to 1v/us so the response did not improve.
If we decrease the buffer output resistor to 1k, we still see 1v/us but now we see 1ma/us, and so 1ma/us on the output and so with that same 10k output resistor we see 10v/us, so we've increased the slew rate.
This is all theory so far, there will be limits as to how far we can take this if in fact we did not overlook anything already.