Go Back   Home > Forums > Amplifiers > Power Supplies
Home Forums Rules Articles Store Gallery Blogs Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 25th April 2010, 08:36 PM   #1
bmx is offline bmx  Romania
diyAudio Member
 
Join Date: Apr 2010
Default usb power noise filtering

Greetings. I have a problem with noise induced in a device by the usb interface power. The device consists of a sensor and an analog to digital converter. The converter is powered by 5v from the usb and uses the usb for data transfer. When powering the sensor from the usb, there is a lot of noise. When powering the sensor from a battery the noise is much lower.
What kind of filter can I use for the sensor considering the sensor needs 5VDC and 5mA power input ?
Attached Images
File Type: jpg SCHEMATIC.JPG (70.9 KB, 360 views)

Last edited by bmx; 25th April 2010 at 08:48 PM.
  Reply With Quote
Old 26th April 2010, 12:39 AM   #2
gootee is offline gootee  United States
diyAudio Member
 
Join Date: Nov 2006
Location: Indiana
Blog Entries: 1
Have you tried putting a 10uF-or-so electrolytic capacitor (not a low ESR type) in parallel with a 0.1uF (not NPO or C0G type), from 5V to gnd, right at the 5V input to the sensor and right at the 5V input to the converter? (i.e. One pair for each 5V input.) Use shortest possible leads and connect as closely as possible to 5V input pins. In particular, connect 0.1uF caps as closely as possible to the 5V input pins. You could vary the cap values and see what happens, too.

You might want to take the sensor's caps' grounds to the main USB ground, i.e. not to the one that comes through the converter. I would probably try it both ways, just to see what happens.

Depending on how much current is drawn, you might also be able to put a 10-to-100-or-so Ohms resistor (metal film type) in the 5V line, just before the caps to ground at the converter, to form a better low-pass filter. Try something like 33 Ohms, maybe.

If the current draw is small-enough, you could put another resistor in the 5V line just before the caps at the 5V input of the sensor. I would probably take the 5V for the sensor from _before_ the resistor in line with the converter's 5V input. But you should try it both ways.

You should also see what happens if you connect the sensor's ground directly to the USB ground, instead of having the sensor share the ground run with the converter.

I would probably try using the largest resistances I could use, vis-a-vis the current drawn vs the voltage drop, to get the most filtering.

You might also want to try using a cap pair to gnd right at the USB 5V/gnd OUTPUT, if you use a resistor before the converter's 5V input, so that you also low-pass filter the noise going back INTO the USB 5V output.

Cheers,

Tom Gootee

Last edited by gootee; 26th April 2010 at 01:09 AM.
  Reply With Quote
Old 26th April 2010, 01:00 AM   #3
Banned
 
Join Date: Jan 2008
Blog Entries: 2
It looks to be low frequency, but try a ferrite on the cable. If you've got a high-mu toroid, try a dozen or so turns. There might be more than one cause so don't remove any fixes until you can see it's gone. Then you can try removing them to see if it comes back.

I had a really nice handheld Tektronix scope. It never really worked as good noise-wise on its mains supply as it did on batteries, so don't expect miracles.

w
  Reply With Quote
Old 26th April 2010, 01:20 AM   #4
star882 is offline star882  United States
diyAudio Member
 
star882's Avatar
 
Join Date: Mar 2007
For that low current, try a simple RC filter. Something like 10 ohms and 100uF or so.
__________________
"Fully on MOSFET = closed switch, Fully off MOSFET = open switch, Half on MOSFET = poor imitation of Tiffany Yep." - also applies to IGBTs!
  Reply With Quote
Old 26th April 2010, 01:59 AM   #5
gootee is offline gootee  United States
diyAudio Member
 
Join Date: Nov 2006
Location: Indiana
Blog Entries: 1
Quote:
Originally Posted by star882 View Post
For that low current, try a simple RC filter. Something like 10 ohms and 100uF or so.
Yahhh mon! Dat prolly be goood (enough).
  Reply With Quote
Old 26th April 2010, 03:37 PM   #6
diyAudio Member
 
stormsonic's Avatar
 
Join Date: Aug 2008
there must be some voltage headroom to spare, as regulator will always drop some voltage. You can not get "clean" 5V output from "dirty" 5V input.
Even with simple RC filter there will be voltage drop on resistor. Ohm law is working against you
And feritte beads will "kick in" only at MHz range, at audio frequencies they do nothing.

Last edited by stormsonic; 26th April 2010 at 03:41 PM.
  Reply With Quote
Old 26th April 2010, 04:20 PM   #7
bocka is offline bocka  Germany
diyAudio Member
 
Join Date: Jul 2003
Location: Hannover
Quote:
Originally Posted by star882 View Post
For that low current, try a simple RC filter. Something like 10 ohms and 100uF or so.
The usb spec requires not using more than 10uF as input cap. It's better to look for another solution.
  Reply With Quote
Old 26th April 2010, 07:13 PM   #8
bmx is offline bmx  Romania
diyAudio Member
 
Join Date: Apr 2010
Thank you very much for the solutions. I will try them all and update as soon as I'm done.
  Reply With Quote
Old 27th April 2010, 06:13 PM   #9
bmx is offline bmx  Romania
diyAudio Member
 
Join Date: Apr 2010
Back with an update. I've tried so far
A/D converter powered through a 22ohm resistor followed by a 4.7uF and a 100uF capacitor and the sensor powered separately through the same value resistor and capacitors. No change.
I've tried to power the sensor through a fast diode and still no change.

Switched PC's and the noise is the same.

I have a clip uploading to show the fluctuating noise in the 20-2000Hz spectrum. It looks like it's pulsating.

Tried battery power again and the noise magically drops and the pulsation stops.

What can I try next ?
Attached Images
File Type: jpg 123.JPG (11.2 KB, 263 views)
  Reply With Quote
Old 27th April 2010, 06:59 PM   #10
bmx is offline bmx  Romania
diyAudio Member
 
Join Date: Apr 2010
video!
27042010074.flv video by DAdrianD - Photobucket
  Reply With Quote

Reply


Hide this!Advertise here!

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Filtering alternator noise darw82 Power Supplies 5 22nd July 2007 11:37 PM
Filtering out Power Supply Noise zenon Chip Amps 7 2nd November 2006 05:50 PM
Power line noise and USB audio jmar Digital Source 15 1st June 2006 12:48 PM
USB noise (noisy ground) Flemming J P Digital Source 5 9th February 2004 02:57 AM
USB noise filter Thomas Digital Source 3 17th August 2003 09:37 PM


New To Site? Need Help?

All times are GMT. The time now is 07:16 PM.

Page generated in 0.12736 seconds (80.10% PHP - 19.90% MySQL) with 11 queries

Copyright ©1999-2012 diyAudio