I built myself a headphone amplifier using the LM49600 and a PGA2310 for volume control. This part of the circuit is fairly standard and I don't think it's the problem. I wanted it to be powered by a simple 5V wall wart or an USB charger. I used a TPS65131 followed by some linear regulators and a lot of filtering. There is a single ground plane.

There is a faint but unacceptable audible noise when the 5V input is connected to a wall wart and the audio input is connected to a desktop PC. The amount and frequency of the noise changes with different chargers or power supplies. The noise becomes much worse when powering from one of the USB ports on the same PC.

It goes away completely when powered from a USB power bank, or when using a phone as the audio source.

What's causing this? My best guess is common mode noise coming through the transformer capacitance or the y-cap in the wall wart.

How do I fix this? I'd like to do something on my end without touching the external supply to keep it universal.


  • \$\begingroup\$ Are your PC grounded? \$\endgroup\$
    – keffe
    Feb 5, 2019 at 16:56
  • \$\begingroup\$ Yes, it's connected with the three pin plug. \$\endgroup\$
    – lnowak
    Feb 5, 2019 at 17:01

1 Answer 1


It sounds ground-loop-ish to me. I think you need to isolate your audio ground from your input power ground (which is what your power bank does).

Instead of grounding the audio in hard to the chassis of your headphone amp, I would run it to ground with something like a 1k\$\Omega\$ resistor. Then I would replace your unity-gain buffer with a unity-gain difference amp, so that \$V_b = V_+ - V_-\$, where \$V_b\$ is the buffered voltage, and \$V_+\$ and \$V_-\$ are the audio signal and "ground" respectively.

If you feel paranoid about such a light coupling of the audio ground reference to your headphone ground, you could run a pair of diodes it to +12V and -12V so that if it's anywhere in between those rails the diodes are both reverse-biased, but if it strays outside those limits they'll clamp it. That would provide some protection (ESD and wiring oopsies both) to your op-amp.

As an alternative, your +5V to \$\pm\$12V supply could be transformer-isolated, but that's a lot more work.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.