Waveform distortion when choosing small time steps

Hi,
I was playing around with the demo circuits included with QSPICE. In audio demo circuit, everything works fine. As soon as I force the simulator to use 10ns as maxtime step, it gives weird results.

How to trust this simulator?
Regards,
AK

Hi
What is “weird results”?
I changed maxtimestep to 10 ns and have not any issues.

This indicates that the amplifier is unstable.
The problem is insufficient frequency correction.

Why this only manifesting when we are choosing small time steps?
Also its not showing up in latest version :slight_smile:

Probably you change schematic and forget.
Or schematic changed with last update…
or…

What QSPICE version you use?

I can confirm problem

I can confirm problem (have not updated version on second PC)
I check two AudioAmp`s from different QSPICE updates.
Schematics the same.

Here is my method for determining the stability of an amplifier in small signal mode. I determine the output impedance using a current generator. In order to simulate the high current mode, I used an additional voltage source. This is based on the fact that the transistor current is weakly voltage dependent.
I derived Re(V(OUT)). This voltage is equal to the real part of the output impedance. When the phase is 180 degrees, then this part is negative and there are conditions for oscillation to begin.
It can be seen that this amplifier is not stable.