|
|||||||
| Home | Forums | Rules | Articles | Store | Gallery | Blogs | Register | Donations | FAQ | Calendar | Search | Today's Posts | Mark Forums Read | Search |
| Pass Labs This forum is dedicated to Pass Labs discussion. |
|
|
Please consider donating to help us continue to serve you.
Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving |
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
diyAudio Member
Join Date: Mar 2010
Location: Olalla, Oregon: Land of the 100 Valleys
|
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.
Background: 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 F5 power amplifier, 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. |
|
|
|
#2 |
|
Did it Himself
diyAudio Member
|
What do you use on Linux to measure and generate tones?
__________________
www.readresearch.co.uk my website for UK diy audio people - designs, PCBs, kits and more |
|
|
|
#3 |
|
diyAudio Member
Join Date: Mar 2010
Location: Olalla, Oregon: Land of the 100 Valleys
|
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.
|
|
|
|
#4 |
|
Did it Himself
diyAudio Member
|
Thanks, use Windows anyway so even better!
__________________
www.readresearch.co.uk my website for UK diy audio people - designs, PCBs, kits and more |
|
|
|
#5 |
|
Audio Junkie
diyAudio Member
|
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!
__________________
It's not about what you can BUY...It's about what you can BUILD! |
|
|
|
#7 |
|
diyAudio Member
Join Date: Mar 2010
Location: Olalla, Oregon: Land of the 100 Valleys
|
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[1] 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. |
|
|
|
#8 |
|
diyAudio Member
|
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.
|
|
|
|
#9 | |
|
diyAudio Member
Join Date: Mar 2010
Location: Olalla, Oregon: Land of the 100 Valleys
|
Quote:
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. |
|
|
|
|
#10 |
|
diyAudio Member
Join Date: Jul 2006
Location: York, Pennsylvania
|
lhquam,
Thanks for the info and the thread. Just a few days ago I started this thread THD & IM Software Suggestions 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. Thanks, Dave |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Test & Measurement interface for Soundcard | pmillett | Tubes / Valves | 670 | 7th February 2013 03:03 PM |
| anyone built an amplifier Distortion measurement circuit | steevo | Solid State | 16 | 3rd May 2010 05:46 PM |
| Recommendations on pc audio interface for loudspeaker measurement | diypole | Multi-Way | 9 | 15th July 2009 12:45 PM |
| Tenma Speaker Measurement Interface | johngalt47 | Multi-Way | 1 | 6th January 2007 02:17 AM |
| Soundcard interface. | Mr Evil | Everything Else | 5 | 12th July 2005 11:38 PM |
| New To Site? | Need Help? |