THD measurements - how to correctly wire attenuator for amplifier output and audio interface balanced input?

Member
Joined 2011
Paid Member
I am using audio interface to measure THD of the amplifier and I run ARTA on my PC.

When I connect amp out to the input of the audio interface I get a lot of interference.

Is there a proper way to do this?

Below is the schematics how I currently have it:

mes_setup.PNG


I am using Focusrite Scarlett 2i4 audio interface:

ai.PNG
 
Last edited:
I was able to pinpoint the issue:

It is the output of the audio interface that produces a lot of interference. As soon as I disconnect it from the amplifier (DUT) input, measurement graph clears out.

I might need to use a separate signal generator. Or maybe a different audio interface.
 
I am using audio interface to measure THD of the amplifier and I run ARTA on my PC.

When I connect amp out to the input of the audio interface I get a lot of interference.

Is there a proper way to do this?

Below is the schematics how I currently have it:

View attachment 1129894
The way a balanced input should be wired is signal to pin 2 and pin 3 (speaker ground to 3).
Pin 1 can be left unconnected or to the amp chassis, but not to any other line.
Do that and all will be clean.

Jan
 
  • Like
Reactions: pbilous
Most likely the interface has a pseudo balanced input. So, connecting ground to pin #3 doesn't work and taking it to pin #1 makes a ground loop with the ground from the interface output to amp input -assuming you are using the built in sound gen.
 
Change the lower resistor to 1k - the lower resistor will set the output impedance of your attenuator, the lower this value the better and the less noise it will generate (Johnson noise). Then try disconnecting the earth from the bottom of your load resistor - whoops, just saw that was what Jan correctly stated
 
Most likely the interface has a pseudo balanced input. So, connecting ground to pin #3 doesn't work and taking it to pin #1 makes a ground loop with the ground from the interface output to amp input -assuming you are using the built in sound gen.
Doesn't matter whether it is pseudo or not. Hot goes to 2, cold to 3, 1 to chassis. That's the standard, don't mess with it.
The drawing in post # 1 is wrong.

Jan
 
  • Like
Reactions: spind
Here are attached results that I am getting when connecting PIN1 and PIN2 of the XLR mic input for the audio interface:

(just so people get the idea of what I mean by interference - it can be seen as "grass" on those graphs)
 

Attachments

  • no-signal-in-linear-psu.PNG
    no-signal-in-linear-psu.PNG
    375.3 KB · Views: 100
  • no-signal-in-smps.PNG
    no-signal-in-smps.PNG
    394.7 KB · Views: 99
  • out_17V_thd-linear-psu.PNG
    out_17V_thd-linear-psu.PNG
    446.3 KB · Views: 98
  • out_18.44V_thd.PNG
    out_18.44V_thd.PNG
    441.5 KB · Views: 99
Change the lower resistor to 1k - the lower resistor will set the output impedance of your attenuator, the lower this value the better and the less noise it will generate (Johnson noise). Then try disconnecting the earth from the bottom of your load resistor - whoops, just saw that was what Jan correctly stated
I changed resistor values to 9.1k and 1k.
Those should give -20dB attenuation.
Johnson noise should be around -125 dBv.
 
Most likely the interface has a pseudo balanced input. So, connecting ground to pin #3 doesn't work and taking it to pin #1 makes a ground loop with the ground from the interface output to amp input -assuming you are using the built in sound gen.

According to this article here: https://khronscave.blogspot.com/2019/10/55-focusrite-scarlett-2i2-teardown.html

The NJM2122's in these preamps are wired as the two input opamps in a three-opamp instrumentation amplifier. The third opamp is one half of an NJM4565 (U18 in this case).

input_sch.PNG