How to - Distortion Measurements with REW

Member
Joined 2016
Paid Member
Regarding the suspicious hump in 2nd order distortion between say 20 and 100 Hz shown with my Focusrite 2i2 in posts #54, 57, and 58:

As I said, I looked through the audio settings of my Win7 ThinkPad and didn't find anything - unchecked everything that could be suspicious, but no change.

I also did a loopback with ARTA, and it did show the same 2nd order distortion hump. So it probably does not have anything to do with REW.

To investigate further, I installed REW on a 2013 iMac as well and did some loopbacks - same behaviour on the Macintosh as well. So it's probably also not Windows-related.

Right now I could only conjecture that it is a region of higher distortion either in the ADC / signal generator of the Focusrite 2i2, or in its pre-amp / DAC part ...

Unfortunately, I don't have another low-distortion variable frequency signal generator ... my other signal generator, a Tektronix CFG250, is only spec'ed to -40 dB. And it still meets its spec after more than 30 years, though that isn't much of a help ... :rolleyes: :p


Best regards,
Claas
 
Founder of XSA-Labs
Joined 2012
Paid Member
Hi Elwood,
Thanks for posting - please use 10dB/DIV scales next time so we can see more clearly. Also limit range to 0dB to -150dB. I am not sure why you have so much mains noise? Try running laptop on battery?
Regards,
X

762527d1560357378-howto-distortion-measurements-rew-behringer-um2-akitika-1khz-2-ppm-jpg
 
Member
Joined 2016
Paid Member
The plot thickens ...

Win7 laptop, Focusrite 2i2 used both as signal generator and analyzer.

In the earlier measurements, the signal generator had been set to -3 dbFS level and the Monitor level set to approx. 0.7V RMS analog output level. The gain of the Focusrite input had been set so that the peak was at -4 dBFS in REW's RTA. This setting has been found to produce the lowet THD and noise figures.

The sweeps done with these settings produced the ominous low-frequency 2nd order harmonic distortion hump.

Now look what happens if I set the sig gen to -18 dBFS level, input gain adjusted so that the peak is at -4 dBFS in the RTA again. (obviously, analog out is now much less than 0.7V RMS).

attachment.php


No more hump ! :p

When I adjust the analog Monitor level setting to max, I gain 4.4 dB in level ... and the hump starts making an appearance again. So I still don't know if it's the Focusrite's DAC, or its analog output section, but it doesn't look like it's on the input / ADC side.


Regards, Claas
 

Attachments

  • Focusrite 2i2 loopback 190612 0.7V -4dBFS -18dB signal sweep b.png
    Focusrite 2i2 loopback 190612 0.7V -4dBFS -18dB signal sweep b.png
    102.5 KB · Views: 2,023
Last edited:
Founder of XSA-Labs
Joined 2012
Paid Member
Like this?

Yes! Click on the 4 arrow cross to adjust the span.

Your PSU looks like what mine used to look like when I reported the “Forest of Noise” issue. Couple things may be going on here: you have power trafo EMI interence being coupled into the Edcor and amplified, your power trafo may be saturating due to dirty mains having DC component, and/or there are ground loops. Having 120Hz mains component only -55dB below your signal is quite audible.

But THD and profile looks consistent with what I recall.

762600d1560371460-howto-distortion-measurements-rew-m2x-mountain-view-2-1-watt-jpg
 
Last edited:
Member
Joined 2013
Paid Member
I'm using 4 ohm resistors for loading both outputs, with my Fluke DMM on AC voltage, I was measuring 2 vac to the resistors. I adjusted the Akitika to get the 2vac output from the amp. Is this a correct adjustment to measure 1 watt at 4 ohms?
If the DMM measures RMS, then I'm off if peak to peak is the correct measurement.
 
Founder of XSA-Labs
Joined 2012
Paid Member
Hi Suresh,
O-Scopes are different specialty tool. They are crucial for visualizing time varying or transient events. They generally have extreme speed but lower resolution. Typically 8bit or maybe 10bit ADC’s. So their resolution in terms of noise floor vs signal is not going to be very deep. With averaging turned on, maybe 50dB to 60dB range.

RF Spectrum Analyzers May work better if they have a higher resolution ADC. An audio spectrum analyzer like the one from SRS like SR1 is perhaps even better than what PC sound interfaces can do.
 
Update June 3, 2019: Here is a loopback using Focusrite Solo gen2 and Akitika 2ppm 1kHz oscillator at 1.0Vpp into 10k:
760616d1559570784-howto-distortion-measurements-rew-solo-gen2-2ppm-osc-1khz-1-0vpp-10khz-fft-jpg

How is it possible to get 0.00033% THD when the Solo is spec'ed at 0.003%?

Using a Victors oscillator I am getting 0.0033% THD using a 1st gen 2i2 which has a THD spec of -91dB (about the same as 0.003%) at minimum gain :(

I've followed the instructions and settings carefully but wonder if I am doing something wrong?
 
Founder of XSA-Labs
Joined 2012
Paid Member
Maybe it’s not just all luck? I measured 0.00061%THD with my 2i4 and this was a headphone amp driving 47ohms - not a loopback.

761838d1560092889-cheap-chips-opa1688-low-thd-muscle-amp-muscle-amp-1vpp-47ohms-fft-ss-jpg


Careful attention to good quality cabling, clean connections, a quiet laptop (mine has a SSD). Mostly, make sure you are not driving any more amplitude than needed from either the oscillator or the Focusrite front end preamp.