-
-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nutmeg equations using Fourier results of LM386 #480
Comments
Just for the sake of dividing and conquering, have you tried a minimum example directly in ngspice? I'm lost about some results of it alone itself (including the one already reported by you @tomhajjar ) |
Unfortunately out of the 600+ examples provided by the ngspice team only one uses Fourier, 100W.cir. I have not seen any Qucs-S examples use Nutmeg to process the Fourier data points. |
#513 should resolve this problem. |
My comment above was wrong. The attaching of Nutmeg equations is not allowed to FOUR simulation. The variables are only printed in the console or exported to the text file. Ngspice manual recommends to use FFT if the postprocessing with Nutmeg is needed. |
Vadim can you show how to use Nutmeg to get Four in dB? Using the "Log left axis grid" setting blanks the screen |
It is not possible by design. The FOUR results could be only printed in terminal. Ngspice manual recommends to use Spectrum analysis (FFT) instead. |
You should attach your files so others can help. |
I can't figure out how to plot in dB the Four(v(out)).
If I drive the LM386 into distortion, the dB FFT plot, S_dB=db(v(out)) clearly shows the distortion while the linear plot of Four(v(out)) does not. The Nutmeg equation menu does allow Four as a "Used simulation" so I chose fft. Another issue is figuring out what "variable" to use.
LM386.zip
The text was updated successfully, but these errors were encountered: