EMU 0404 Distortion Analyzer

I was looking for a way to analyze the distortion of my class A amplifier. Being somewhat of a cheapskate and wanting to use what I had on hand, I started to look around for a way to use my old EMU 0404 USB digital interface. Good distortion analyzers like the Audio Precision System One go for over $1000 on the used market, and a new APX500 lists for over $28,000! needed a lower-cost way of doing this. My old EMU 0404 USB had been gathering dust (and metal chips) on my workbench. I had purchased this back in the mid-2000's, but software support for the EMU 0404 USB began to fade. No proper drivers were available for Windows 10 or macOS for many years, so the device became an orphan. I made the transition to macOS several years ago (which is a long story in itself, having used Windows platforms since around 1990 and one of the first people to be certified by Microsoft on Windows NT). 

N.B.: Recently, I have seen reports of people who have managed to get the EMU working on Windows 10 using a revamped driver, so you may want to do some research if you still have one.

I noticed an article on the DIY Audio Forum about how to do distortion analysis using REW software with a Focusrite Scarlett Solo USB interface. REW stands for Room EQ Wizard and it has a distortion module. The Solo is an inexpensive audio interface, consisting of A/D and D/A converters with a USB port for computer interfacing.  I did try using my Macbook Pro's internal converters in loopback mode, but results were mediocre. At the same time, I discovered a new EMU driver effort by programmer Wouter1 on GitHub for macOS. I tried the driver with the EMU connected to my Macbook and it worked! I installed REW and discovered I could get good distortion readings using the EMU and the new driver using my Macbook Pro.

The diagram below shows the setup I settled on after trying several variations. I discovered that using the balanced input on the EMU gave the lowest distortion readings with the EMU in loopback mode; that is, eliminating the DEVICE UNDER TEST and connecting the LEFT LINE OUT using a balanced connection directly to the RIGHT input using an XLR connector. This gave me a baseline for the inherent noise and distortion of the EMU. BTW, the reason for using the RIGHT input is that the EMU was known to have a noisier LEFT input due to the internal PCB wiring. Initially, I was using the original EMU power supply (a 5 Volt "wall wart") to test, and I noticed a 120 Hz bump in the FFT (Fast Fourier Transform) display. I eliminated this by replacing the wall wart with a 5 Volt Li-ion battery supply, allowing the EMU to completely float. 

The chart below shows the FFT of the EMU in loopback mode and powered by battery. The internal REW signal generator is used to output a 1kHz sine wave. The level has to be adjusted to around -15 dB to avoid overloading the EMU inputs and causing added distortion. The inputs are very sensitive. The THD (Total Harmonic Distortion) is only 0.00017%, which puts it in the same class as $1000+ analyzers. Unfortunately, the noise figure is a fairly significant 0.002%, and I was not able to reduce this further. However, the overall performance is very good and more than sufficient for a hobbyist test bench.

I then constructed a dummy load setup for amp testing. This was a simple pair of 100 Watt 8 Ohm resistors bolted to a small finned heatsink, some binding posts for connections to an amp, and a resistor attenuator network connected to RCA jacks. A pair of aluminum angle brackets were added. This allowed me to do some distortion measurements with a load on the test amp.

Update! - See my newer dummy load box project here.

This is an example of measuring the Class A amp with 1 Watt power out. THD is showing about .078%. A little high since I was trying to get the 2nd harmonic to be about 10dB greater than the 3rd.

Next steps: assemble a very low distortion signal generator to eliminate the influence of the EMU D/A converter. I will probably use something similar to this design by Jim WIlliams or this design by Vojtěch Janásek. They are similar in that they use Wein bridge designs with low distortion op-amps and CDS photocoupler stabilization. I'll probably look at the recently introduced OPA1656 opamp which has really good performance.

*****UPDATE***** 

See this project for a low distortion oscillator I have built - August 2021.

The input circuitry of the EMU is interesting. It uses the clever differential bootstrap technique that Bill Whitlock (of Jensen Transformer fame) patented and licensed to THATCORP, They created an IC version of his principle. It results in very high common-mode input impedance and better CMRR. Also, you can see why the XLR inputs are better - the 5532 input buffers are bypassed when you don't plug in phone plugs. You can see the reverse-facing bootstrap opamp in the differential section.

I have forgotten where I found this schematic - I think someone reverse-engineered while doing mods to the EMU.