Audio Distortion Analyser, Tony Casey, June 2010, tony@ritecom.com
Changelog
-----------------------------------------------------------------------
10/06/2010
THD extended to 17 harmonics. It is now also possible to plot any or all of the harmonics. Run time is a little longer :-(
Default x-axis is now O/P volts instead of I/P volts - this should be more useful for power amplifier designers. Output power into the specified Rl is also available as the x-axis (Rl is also sweepable instead of frequency).
Tidied up the top level test schematic: removed the somewhat redundant Test Set output ports. IMPORTANT: For this to work, the instance name of the test set must be ADA1 as per the test schematic, since the .meas scripts now reference the subcicuit nodes, which are hard-coded.
09/06/2010
Initial release. THD sums the first 9 harmonic, just like the SPICE .four statement.