DISTO simulation in dB #964
-
I would like to display the distorsion components h2 and h3 in dB relative to the fundamental. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Have you tried to define the equation and specify the simulation referencing the distortion simulation? See the variable |
Beta Was this translation helpful? Give feedback.
-
I probably misunderstand something here. The amplifier "gain", for example, should be calculated as dB(out/in). h2.out and h3.out are absolute values in volts, right? To get the ratio of distortion components to the output level, you need to do something similar to "h2reldb=db(h2.out/h1.out)".
I do not know how to access the fundamental "out" in the DISTO1 simulation context, and "out" from AC1 is not available in DISTO1. |
Beta Was this translation helpful? Give feedback.
-
You can use a Nutmeg script: |
Beta Was this translation helpful? Give feedback.
-
Thanks, that solved it for me. |
Beta Was this translation helpful? Give feedback.
You can use a Nutmeg script:
Distortion2.sch.txt