I noticed if I change AC amplitude for AC analysis the gain changes.
What AC amplitude is the best to use to test for AC analysis to determine gain in general, or is it an end application parameter.
I noticed if I change AC amplitude for AC analysis the gain changes.
What AC amplitude is the best to use to test for AC analysis to determine gain in general, or is it an end application parameter.
You can use 1V in all situations.
You'll get the same results as with different voltages except the gain will be correct (at least the gain will be correct for small inputs, not necessarily for 1V).
SPICE finds the operating point and then linearizes about that operating point so the amplitude is not used in the analysis except to scale the output (so if it saturates, distorts, clips etc. that is not modeled). For that reason, it's best to do a transient analysis before believing the AC analysis.
The gain is the same in all three sims.
The gain is V(output)/V(input)
Therefore, the correct value is the one from the AC 1 simulation.
I agree that your Mosfet follower is severely overloaded. Your input signal level is way too high. The gain and distortion are also very high even when the input level is turned down.
Here is only your 1st stage:
V(output)
, and not the gain.
\$\endgroup\$
Commented
Apr 29, 2023 at 14:28