How to - Distortion Measurements with REW

Founder of XSA-Labs
Joined 2012
Paid Member
You might try adding a 1uF cap to AC couple it and see if that helps. I have had strange behavior sometimes when using the sound card’s own audio output to drive the amp under test. In which case, a standalone unit like Akitika eliminates that. Some sort of feedback issue.

That’s very cool that you have a Lotus and you get to take it on a track. Is this a Lotus 7?

I only get to race on a simulator but have tried several different Lotuses and they are all wonderfully nimble balanced cars to drive.
 
Member
Joined 2004
Paid Member
Another thing to mention about the UM2 is that the max input is 1V RMS. Mine seems to overload just shy of that. I wondered why everything I tested seemed to have the distortion go apeshit right around a volt.

Does anyone know the max input level from the Focusrite Solo?
 
Another thing to mention about the UM2 is that the max input is 1V RMS. Mine seems to overload just shy of that. I wondered why everything I tested seemed to have the distortion go apeshit right around a volt.

Does anyone know the max input level from the Focusrite Solo?
22dbu or 10V at minimum gain for solo.
However what you can do is to add an attenuator to control the input level. Unless you want to measure noise(still useless), you don't need much input level.
The proper way to measure noise is to make a clean 20db to 40db preamp run on batteries, and subtract the gain after it.
 
I do have an attenuator on the input, but wanted to know the distortion at various output levels and was hoping I wouldn't have to make some sort of voltage divider.

And how does this noise test setup work?

It's very common to see distortion at higher level. Most adc will have optimal distortion at around -20db, and will rise after -15db and may start to saturate after -6db.

The attenuator I meant was the voltage divider you mentioned. That's very common way to measure distortion if notch filter is over kill.

The noise setup is separate from the distortion measurement setup. Mentioned here http://www.ti.com/lit/ug/tidu016/tidu016.pdf
 
Member
Joined 2013
Paid Member
My 1964 Lotus Elan, one of my first DIY projects.
When I get back I'll pay close attention to the test procedure.
 

Attachments

  • avatar lotus.jpg
    avatar lotus.jpg
    53.2 KB · Views: 618
Founder of XSA-Labs
Joined 2012
Paid Member
Beautiful car. I know you know, but most people do not realize that Colin Chapman, the founder of Lotus, is the inventor of the mid engine as stressed member F1 car layout that is still used today (over 50 years later). The Elan had a beautiful double “Y” backbone chassis. Car weighs only 1500lbs as I recall.

ELAN8.jpg


Ok, back to our regular programming.

Has anyone made measurements of their amps yet? I see mostly loopbacks posted here.
 
Last edited:
Looks good. You might try changing the plot and sampling. The plot is a little “ragged” looking as it is.
I have been traveling, but have sorted the loopbacks out for a Focusrite Clarett. Ready to hook up some amplifiers and do the RTA analysis of them.

That was without averaging and 87.5% overlap. With averaging and 50% overlap noise floor dropped.

I'm building a dual mono preamp (buffered - no gain) so this will be handy for THD and channel separation measurements. I'm still waiting for parts, I live 200km from the nearest city so all my shopping is online. Once I have it built I'll post the measurements.
 
Last edited:
Member
Joined 2013
Paid Member
I have the measurements for my B1 Korg Triode preamp using Behringer UM2, Akitika 1K generator and REW software. I was measuring and adjusting 2nd harmonic:
1 - 9.5 vdc at T7/T8 = 1.28%
2 - 10.24 vdc = 1%
3 - 11.56 vdc = 0%
4 - 12.4 vdc = 1%
 

Attachments

  • 9 5 volt.JPG
    9 5 volt.JPG
    184.4 KB · Views: 571
  • 10 25 v.JPG
    10 25 v.JPG
    185 KB · Views: 576
  • 11 56 v.JPG
    11 56 v.JPG
    185.1 KB · Views: 553
  • 12 4 v.JPG
    12 4 v.JPG
    184.8 KB · Views: 188
Press the THD button above the graph. May also want to update to the latest

I can see the THD is minuscule from the harmonic plot. And I forgot to press the THD icon, I'm not used to having the THD facility.


Can you plot dBFS?

The preamp is already back in the system . I'll be rebuilding the power amp soon so I'll do a dBFS plot then.
 
Founder of XSA-Labs
Joined 2012
Paid Member
Some recent measurements I made in a VHEX+ Class AB amp. New here (for me) was using the sweep function to see behavior of components of distortion at different excitation frequencies from 10Hz to 20kHz. I also used the Plot Overlay function to compare the THD from two different sweeps on the same plot. I also looked at THD as a function of power into a dummy load. This was interesting as I did it for two cases (with and without a SSR DC protection circuit in place) and recorded the THD data manually into a spreadsheet and used that to plot the resulting graph.

Frequency sweep for no SSR (I used 1M data points and averaged 8bsweeps the get a nice smooth response and smooth estimate of the signal noise baseline):
773223d1565161745-ready-run-rtr-ssr-dc-speaker-protection-delay-gb-01b-vhex-14-12vrms-8ohms-protect-sweep-8avg-jpg


Frequency sweep for with SSR in place
773216d1565161249-ready-run-rtr-ssr-dc-speaker-protection-delay-gb-02-vhex-14-12vrms-8ohms-yes-protect-sweep-8avg-jpg


THD Overlay Plot:
773217d1565161249-ready-run-rtr-ssr-dc-speaker-protection-delay-gb-03-vhex-14-12vrms-8ohms-thd-compare-8avg-jpg


Typical FFT:
773219d1565161249-ready-run-rtr-ssr-dc-speaker-protection-delay-gb-05-vhex-14-12vrms-8ohms-yes-protect-jpg


THD vs Power plot:
773220d1565161249-ready-run-rtr-ssr-dc-speaker-protection-delay-gb-thd-vs-power-1khz-jpg


Here is the setup:
773221d1565161249-ready-run-rtr-ssr-dc-speaker-protection-delay-gb-srr-protect-testing-setup-jpg


Tests conducted for 40Vpp into 8ohms (25wrms) - except for THD vs paper which used 65mW to 32W.

Ready-to-Run (RTR) SSR DC Speaker Protection and Delay GB
 
Last edited:
hep needed with setup

Hi, thanks for the guide XRK.


I think I must be doing something wrong here because my measurements seem way out.


The setup:
Behringer UCA202 connected to laptop with SSD on battery power.
When I check the UCA202 self noise, it looks good.When I do a loopback test using the internal REW generator, again it looks ok:



attachment.php


I use this setup for dummy load (8R, 50W power resistor) and attenuator (22K and 2.2K resistors).


attachment.php
However, when I connect to an amp, I seem to have problems in that the harmonics are way too high. I tried first with the ACA 1.5, then tried it on a Denon RCDM39 which is my kitchen music player.



attachment.php


attachment.php


Voltage across the resistor is 2.730V


Graph controls for the RTA are the same as those in the first post in this thread



Any ideas where I’m going wrong?


Cheers
Neal
 

Attachments

  • UCA202 loopback.jpg
    UCA202 loopback.jpg
    219.2 KB · Views: 1,345
  • dummy load.jpg
    dummy load.jpg
    994.1 KB · Views: 1,297
  • ACA 1.5 into uca202.jpg
    ACA 1.5 into uca202.jpg
    197.1 KB · Views: 1,341
  • Denon RCD M39 into UCA202.jpg
    Denon RCD M39 into UCA202.jpg
    197.5 KB · Views: 1,338