Your amplifier does not have enough frequency compensation so if its closed loop gain is less than about 500 it will ring and if its gain is 50 or less it will oscillate.
An OPA134 opamp has an open loop gain of about 128dB and phase shift of only 135 degrees when its gain is zero dB at 10MHz. Then it can never ring or oscillate.
Your amplifier has a gain of about 1000 when its phase is 135 degrees so it cannot be used for any circuit using a closed loop gain of 1000.
Your amplifier does not have enough frequency compensation so if its closed loop gain is less than about 500 it will ring and if its gain is 50 or less it will oscillate.
I cannot agree.
According to the gain/phase diagram the phase margin at unity gain frequency is app. 30 deg.
So - the circuit with feedback applied will be always stable.
The open loop gain bode diagram in post #1 indicates 18° phase margin for a +1 amplifier. That gives considerable ringing, but is still stable. Power amplifiers are however rarely operated with unity gain. The phase margin for G=+10 is about 75°, indicates no overshoot.
Erikl and FvM,
I was wrong and you are both correct.
I see that at 8MHz the phase is -180 degrees but the gain is less than 1 so it will never oscillate.
When the gain is 10 the phase shift is a little more than 90 degrees which is normal and is stable.
Ok thank you all for the answers. How to reduce ringing? I'm actually using darlington as finals in the output stage, should I treat the VAS better? The input stage seems not to be a problem.
Reduce ringing by increasing the value of the internal miller capacitor on the VAS. Then the high frequency gain is reduced. Many audio amplifiers have a zobel RC network at the output to ground.
Distortion measurements are large signal (transient) analysis and not related to frequency response and stability.
Two additional comments
- THD at 20 kHz isn't of much interest for an audio amplifier, because nobody does hear
- transient analysis with default parameters might be inaccurate when determining low distortion levels 60 dB below fundamental