FFT not plausible in comparison

testsignal.csv (155.9 KB)

Somehow the fft result of my testsignal is not plausible (see figure).
You surely have a lot on the plate, but additionally, I stumbled upon a few issues that could use a look when you have some time:
• Linear scale ticks: The tick size on the frequency scale currently isn’t adjustable when logarithmic is unselected.
• DFT vs. True FFT: The dropdown currently uses numbers that lead to a DFT. Switching to power-of-two point numbers would be a huge help to ensure a true FFT. It also would improve the UX since selecting numbers with a long row of zeros from a dropdown menu is a bit clunky.
• Point doubling: The chosen point number is doubled in the background. I see the intention but it’s a bit confusing.
Appreciate your time and effort on this!

Add the instance parameter timectrl=break to the PWL V-source. I guess you are comparing the LTspice results.

fft.qsch (949 Bytes)

This is why timectrl bring them close.

Nice. Thanks a lot!
Yes, I compared to LTspice using identical settings (maximum time step 10n, same fft settings) - but also to uSimmics which is not a spice simulator - and was confused by the uneven results. But the way Qspice handles this topic is perfectly fine. One just has to know it.

1 Like