Wednesday 26 October 2016

usb - How to filter noise from ground?


I have an audio application scenario here. The Idea is to power a device (that later produces sound) with USB.


Unfortunately, I have massive static and what sounds like pink (Brownian) noise on GND. I also have a lot of static and other artifacts on the +5V lead, but I figured I can use a low-dropout voltage regulator to get a nice, smooth +3V out of it.


But how do I filter out GND?


Right now, I was experimenting with all sorts of low-pass and high-pass filters, constructed from caps and resistors. The caps, however, introduce artifacts themselves, it it's like two steps ahead, one step back.



Answer



You don't filter ground. "Ground" is the reference voltage all other voltages are measured to, so it has no noise by definition. (There are cases in distributed systems where what exactly "ground" is is not clear, but that's another issue)



USB power can certainly be noisy. You would definitely want to filter it before it powers audio circuitry, since audio generally requires high signal to noise ratio. Just a LDO to make 3V is probably not good enough. The LDO will reduce some of the noise, but some will be too high frequency for its active circuits to deal with properly. You need to put some low pass filtering before the LDO. This filter needs to eliminate the frequencies the LDO can't handle properly.


I would start with two ferrite chip inductors in series and a 20 µF cap to ground after each. Then connect the input of the LDO to that, and the output should be pretty clean. You can also just low pass filter the 5V and use it dircectly to power the audio circuit. A typical audio "line" out level is around 1 V, but you need headroom for higher peaks. Even a 5V supply doesn't leave much headroom.


No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...