When I do an AC analysis for the following circuit between 0.1Hz upto 20MHz, and by selecting "decade" in sweep types I obtain the following plots:

enter image description here

But if I do exactly the same thing only this time I set the seep type to "linear" I get some sort of unusual plot:

enter image description here

I couldn't find information about these different sweep types.

Why am I having different plots for the same AC analysis with different sweep types?

  • 1
    \$\begingroup\$ A linear sweep doesn't make any sense over that wide of a dynamic range. It produces only a very few data points at low frequency and lots of then at high. So it has to interpolate. \$\endgroup\$ – jonk Oct 7 '18 at 18:19

The type gives you the amount of points where values are calculated, and how they are distributed. Then in the plot they are connected by lines.

Using 10000 points linear over 20Mhz gives a point each 2kHz, which seems to be about right given your plot and start frequency.

The first half of your plot is just two points then because it is plotting logarithmic


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.