Author Topic: USB Power  (Read 8276 times)

DanDesign

  • Member
  • ***
  • Posts: 1
USB Power
« on: July 11, 2011, 12:44:02 pm »
Hello,

What is the maximum Power that I can get from a USB port on the PC, if I decide to design a USB operated device that is going to be connected to the USB port of a PC?

Dan

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: USB Power
« Reply #1 on: July 11, 2011, 01:14:46 pm »
All wall-powered and most battery-powered PCs have high-power ports, which can supply 500 mA at a nominal 5V, which can range from 4.75V to 5.25V.

Some battery-powered hosts and all self-powered external hubs have low-power ports that supply 100mA.

USB 3.0 ports can supply 900 mA.

Jan

Haldor

  • Member
  • ***
  • Posts: 4
Re: USB Power
« Reply #2 on: July 12, 2011, 08:02:00 pm »
To amplify what Jan said.  You are always safe if you draw 100 mA or less from the USB port.  If you are going to draw more than 100 mA then you have to ask permission first.  Most root USB ports (the ones built into the PC) don't really pay attention to how much current you are drawing, but most hubs measure how much current you are drawing and take action if you exceed what you have requested.  In my experience, if you draw much more than 150 mA from most hubs without first asking permission they are going to disconnect you.

From a hardware standpoint, this means you need to be able to enumerate while drawing 100 mA or less. Only after you have been configured are you permitted to draw more current.

One way to get around this is to use one of the those daisy chain USB cables that a lot of external hard drives use.  This has a single USB-B connector for the device and two USB-A connectors to plug into two ports on the Hub.  Using one of these cables lets you draw 200 mA during enumeration and up to 1000 mA afterwards.

You also need to worry about inrush current at start up.  USB spec is that inrush current must not exceed the equivalent of a 10 uF capacitor.  If you need lots of current from USB then I suggest you use one of the specialized switching power supply ICs designed for this.  An example of this is the LT3566.

http://cds.linear.com/docs/Datasheet/3566fb.pdf





Guido Koerber

  • Frequent Contributor
  • ****
  • Posts: 72
Re: USB Power
« Reply #3 on: July 12, 2011, 08:56:26 pm »
Nope, the Y-cables are not good for getting more power off the USB, they are good for running into trouble. Stay away from that stuff. A USB device has to enumerate to get the configuration set to draw more than 100 mA, anything else is guesswork and assumptions. You don't know what the user does with your device and with the Y-cables you can not even find out if both connectors are plugged in and into what.

Ron Hemphill

  • Member
  • ***
  • Posts: 19
Re: USB Power
« Reply #4 on: July 14, 2011, 05:19:46 pm »
One final comment on the Y-cable issue; a device using a Y-cable will not pass USB compliance.