Balanced Soundcard Interface for Power Amplifier Distortion Measurement
This thread describes a simple interface to an M-Audio Audiophile-192 (AP-192) balanced soundcard for measuring the distortion of balanced and unbalanced amplifiers. Equivalent results should be obtainable using other high-quality soundcards. Although the results shown are for the Pass F5 unbalanced amplifier, the same circuits are applicable to balanced amplifiers.
About a year ago I built multiple channels of the Nelson Pass F5 amplifier, but had no objective way (other than my ear) to measure their performance. I built a Cordell Distortion Magnifier (DM) and installed an M-Audio Audiophile-192 soundcard on my Linux machine. After some modifications to the DM, I had very good results tweaking the F5 performance. But, I discovered that the AP-192 by itself could measure distortions to below .001%, without needing the Distortion Magnifier.
Relevent Specifications of the AP-192:
See M-AUDIO - Audiophile 192 - High-Definition 4-In/4-Out Audio Card with Digital I/O and MIDI
. 24-bit, 192KHz max
. Balanced inputs and outputs
. Max input voltage: 4 V rms (5.66 V peak)
. Input impedence: 20K balanced, 10k unbalanced.
. Max output voltage: 1.95 RMS unbal (2.8V peak)
In order to protect the AP-192 soundcard input from overload due to the full output voltage of the amplifier, a 4:1 resistive attenuator is placed between the amplifier output and the soundcard input.
Requirements for testing the F5:
. Unbalanced inputs and outputs
. Maximum output signal of 20V peak for 25W into 8 ohms.
. Amplifier Gain: 6x
(Note: 6 x 2.8V = 16.8V attainable from AP-192 output)
Note that the F5 channel being tested was built using Cviller V1.1 boards and matched Toshiba 2SK1530 and 2SJ201 MOSFETs. This F5 channel also contains the P3 potentiometer described in http://www.diyaudio.com/forums/pass-...ml#post2667669, which was adjusted for minimum 2nd harmonic distortion.
Shown below are schematics for both a balanced and unbalanced amplifier, and a spectrum measurement of the F5 output at 1.05KHz 1 watt output into 8 ohms.
Final warning: Since there is no protection against overloading your soundcard input, be careful to provide an appropriate attenuation ratio the resistor dividers.
What do you use on Linux to measure and generate tones?
Sorry, but I forgot to mention that all of my measurements are made using the Sillanumsoft Visual Analyser Visual Analyser 2011 XE software, which runs natively on Windows and on Linux using Wine.
Thanks, use Windows anyway so even better!
I am using the Echo Mia sound card that has balanced inputs in a dedicated Lunchbox style computer for Spectrum Analysis using the SMAART software with good results as well!
THIS thread could not have come at a better time, just got the same sound card for the same porposes, and was wondering about measuring an amp.
Interpreting THD measurements
Some of you who know better are suspicious (or should be) of the .0007% THD measurement shown in the spectrum plot in post #1. I have made distortion measurements of the same F5 board using the Cordell Distortion Magnifier (DM) and measure a THD of around .0011%. Both sets of measurements are repeatable. I do not believe that these results are due to random measurement error.
Here is an partial explanation for difference in the THD measurements:
The M-Audio AP-192 DAC(D-to-A converter) and ADC (A-to-D converter) introduce harmonic distortion to analog chain. The M-Audio spec sheet provides ADC THD=.0006% and DAC THD=.0023%, at 1 KHz and 2 V RMS signal levels.
When a signal is passes thru a chain of distorting elements, each component in the chain contributes, in a complex fashion, to final output signal. Thus if we pass a pure sine wave of amplitude X[f] at frequency f, thru a distorting element with harmonic coefficients H[i], we get signal whose spectrum is:
Y[i*f] = H[i] * X[f]
Consider a chain of 2 distorting components with coefficients H1[i] and H2[i]. If H[i]/H are very small for i>1, then second order distortions such as produced when the the harmonic i*f passes thru H2[j] for i>1 an
H3[i] = H1[i] + H2[i]
What is critical to understand is that the harmonic coefficients H[i] are COMPLEX NUMBERS. They represent both a scaling and phase-shift of the signal. Depending on the phase-shifts, distortions in the component chain can reinforce or cancel one another.
BRACKETING THE AMPLIFIER THD:
To determine the error bounds on the amplifier THD measurement, you must measure both the loopback THD
of the soundcard, and the total THD of the DAC, AMP, and DAC analog chain.
THD_total - THD_lb <= THD_amp <= THD_total + THD_lb
Shown below are 4 measured spectra for the F5 board. They provide the soundcard loopback measurement and
combined amplifier measurements using the soundcard interface in post #1, and using the Cordell Distortion Magnifier (DM).
MEASUREMENTS USING THE CORDELL DISTORTION MAGNIFIER:
The DM measurements were made using x10 magnification, where the harmonic components (other than the fundamental) are multiplied by x10 (+20db).
Thus loopback THD of .0010 becomes .0001.
THD_loop = .0001
THD_total = .0011
.0010% <= THD_amp <= .0012
Soundcard caused distortions are attenuated by a factor of 10 using the DM in x10 mode, thus THD_total is
mostly influenced bt the distortions of the amplifier.
MEASUREMENTS USING THE RESISTOR DIVIDER INTERFACE OF POST #1:
THD_loop = .0006
THD_total = .0007
.0001% <= THD_amp <= .0013
Thus using the interface of post #1, it appears that the soundcard distortions are out-of-phase with the F5 amplifier distortions, thus causing significant harmonic cancellation.
I hope this helps to explain how to interpret the THD measurements.
Great thread. Huge help to a noob like me. One question, How good is the signal generator quality of the soundcard. Many suggest a standalone unit.
Because of the way that the Cordell Distortion Magnifier does its nulling of the fundamental test frequency, distortion components from the DAC are also subtracted. This means that the loopback measurements thru the DM are measuring mainly the distortions due to the ADC. This suggests that the difference between the loopback measured without and with the DM might be a reasonable estimate of the DAC THD.
Using the data given above, that gives THD_DAC in the range .0005 to .0007.
OTOH, the M-Audio spec sheet says that the DAC THD+NOISE is .0023% at 1 KHz -1db below full output.
Bottom line: Without a super-duper low distortion signal generator, I cannot be sure.
Thanks for the info and the thread. Just a few days ago I started this thread http://www.diyaudio.com/forums/softw...ml#post2756269
I was looking at RealRTA, then I saw ARTA and now you are using Visual Analyzer and there is SMAART.
Have you used anything other than Visual Analyzer?
I read your post about the Cordell DM, but it sounds like it is truly not necessary. I'm still going through all of your data and I appreciate your input.
|All times are GMT. The time now is 05:55 PM.|
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Copyright ©1999-2017 diyAudio