13
\$\begingroup\$

I have a USB powered device with multiple IC's. From what I've read it's standard practice to use a combination of multiple range capacitors for decoupling each individual IC, with the smallest being as close as possible and larger capacitors not too far away.

However, I'm running into a dilemma:

According to this source, the maximum allowed decoupling capacitance for a USB device is 10uF. With several IC's all having a combination of 0.1uF and 2.2uF/4.7uF decoupling capacitors, I'm easily exceeding this limit because they're all in parallel.

The only solution I can think of is to reduce/eliminate the larger decoupling capacitor and/or try to clump a few IC's larger decoupling capacitors together while keeping the smaller decoupling capacitors close to each IC.

In my mind neither of these solutions seem ideal. What is the recommended decoupling layout for multiple IC's on a USB powered device?

The theoretical power consumption of all the IC's under use is still below the limit that can be supplied via USB 2.0.

\$\endgroup\$
4
  • 1
    \$\begingroup\$ The (typically) 100n C's are for relatively large, short-duration current spikes that must be supplied from a source close to the chip. The > 1uF value C's have a more board-wide task. When you have let's say 50 of the 100nF C's I would simply leave out the > 1 uF one. The required board-wide capacity is already supplied by the Chinese horde of 100nF C's. \$\endgroup\$ Commented Aug 20, 2012 at 20:44
  • 1
    \$\begingroup\$ Some immediately related to your question but something to keep in mind if you are using large capacitors: USB not only has a inrush current limit but also a limit on how long a device may present 5V on VBUS after it has been shut down by the host. Maybe somebody knows an exact reference? \$\endgroup\$
    – ARF
    Commented Aug 21, 2012 at 9:53
  • \$\begingroup\$ @ARF This is a bit of a necro-post, but I found the following in the USB2 spec: "When VBUS is removed, the device must remove power from the D+/D- pull-up resistor within 10 seconds." I don't recall a requirement to remove 5V from VBus, but that'll impact my current design if there is. Could this be the spec you were thinking of? \$\endgroup\$ Commented Jan 14, 2016 at 19:47
  • \$\begingroup\$ I'm pretty late for this, but @Jason_L_Bens , did you get an answer? \$\endgroup\$
    – Tim Jager
    Commented Oct 5, 2019 at 16:36

4 Answers 4

4
\$\begingroup\$

While not exactly what you're looking for, I have used power-management ICs to accomplish this. For instance, the TPS2113APW. I prefer this specific chip because it allows me to make dual-powered devices that can operate with either a wall-wart or off the USB, automatically preferring wall-power if it is available.

If you don't need dual-powered, you could use something like the MIC2545A

Ultimately, any capacitance "behind" the power-management IC (i.e. hooked up to the IC outputs) isn't "seen" by the USB; the bus only sees the capacitance "in front of" the IC (i.e. hooked up to IC inputs).

You still have to worry about inrush current - the "plus any capacitive effects visible through the regulator" part of the spec - but those ICs also have variable current limiting. Figure out the parallel resistances that you need to have 100 mA limitation and 500 mA limitation (and optionally n mA limitation if you want to limit wall-power), and then use FETs to short out the resistors as needed to enable various limitations.

Through these chips, I have attached PCBs with several hundreds of uF to the USB, and a DMM set to fast current max verified that the inrush during attachment did not exceed 100 mA.

\$\endgroup\$
3
  • 1
    \$\begingroup\$ I eventually decided to go with the NCP380LSN05AAT1G chip. Similar to MIC2545A but was designed for USB applications. \$\endgroup\$ Commented Aug 24, 2012 at 21:07
  • 1
    \$\begingroup\$ If you follow this approach, make sure there's at least 1 uF on the VBus side. This requirement has been added with the advent of USB On The Go, and it is necessary for Attach Detection Protocol to work. \$\endgroup\$
    – ajs410
    Commented Aug 24, 2012 at 22:10
  • \$\begingroup\$ I'm using it to soft-start parts of my device (analog side). The main processor (total decoupling capacitance ~5uF, though most of these run only from the uC to ground) is hooked to the USB directly and the remaining caps and IC's are behind the regulator. \$\endgroup\$ Commented Aug 24, 2012 at 22:18
11
\$\begingroup\$

A USB device cannot present more than 10uF of capacitance when connected. This does not necessarily mean that you can only have 10uF of capacitors, it means that you need to limit the inrush current to that required to charge a 10uF upon connection. From the USB specification:

The maximum load (CRPB) that can be placed at the downstream end of a cable is 10 μF in parallel with 44 Ω. The 10 μF capacitance represents any bypass capacitor directly connected across the VBUS lines in the function plus any capacitive effects visible through the regulator in the device. The 44 Ω resistance represents one unit load of current drawn by the device during connect.

Furthermore:

If more bypass capacitance is required in the device, then the device must incorporate some form of VBUS surge current limiting, such that it matches the characteristics of the above load.

As you probably know, your device is allowed to draw 1 power unit, or 100mA, upon connection without any negotiation.

If I was designing a high power USB device then I would:

A. Live with the 10uF requirement, such as if I'm using a switching power supply or if my VDD is going to be 3.3V

or

B. Use a "soft start" circuit such as a 47 ohm resistor in series with my enormous bulk capacitor. Use a comparator to sense the voltage across the bulk capacitor. When the voltage is within 100mV of the USB bus voltage then have the comparator turn on a P-MOSFET that shorts the 47 ohm resistor.

USB soft start schematic

\$\endgroup\$
5
  • \$\begingroup\$ If you draw 100 mA the voltage across a 47 Ω resistor won't come even close to 100 mV, you would need a 1 Ω resistor then, but then you won't have a soft start anymore. And maybe you don't need comparator and FET, like when you would use the 5 V for an LDO regulator only. \$\endgroup\$
    – stevenvh
    Commented Aug 21, 2012 at 5:16
  • \$\begingroup\$ I said "100mV" and then my circuit diagram shows more like 500mV. The voltage isn't the important part, it's more important to stay under the 100mA requirement when the bulk cap is charging. Sorry for the confusion. \$\endgroup\$
    – Martin K
    Commented Aug 21, 2012 at 17:28
  • \$\begingroup\$ It's a good idea, but I think the voltage drop is important. If you switch the FET when there's still 500 mV to go C2 may still cause the kind of current peak the USB bus doesn't want to see in the first place. I would also add some hysteresis to that opamp (if it is an opamp, it doesn't say). \$\endgroup\$
    – stevenvh
    Commented Aug 21, 2012 at 17:32
  • \$\begingroup\$ All good points. I meant it as a starting point for your own solution. \$\endgroup\$
    – Martin K
    Commented Aug 21, 2012 at 18:21
  • 2
    \$\begingroup\$ there's an example in USB Hardware Design Guidelines for FTDI ICs Section 2.4.2 Bulk capacitance vs. inrush current with a microcontroller enable pin \$\endgroup\$
    – endolith
    Commented Feb 17, 2014 at 17:50
5
\$\begingroup\$

The 100 nF ones are the most crucial. Be sure to place those and like you say as close as possible to the pins.

2.2/4,7 µF to place in parallel is a high value, and shouldn't be required in a properly decoupled power supply. Especially not on each IC. Here the power supply will be some distance away, and then a capacitor of a few µF is strongly recommended. Use the highest value you still can afford after subtracting the 100 nFs, and place that close to the IC which will draw the most current, unless that would be the other end of where the USB enters the PCB. Then you'll have to compromise: in the path from the USB connector, and not too far from the biggest current consumers.

\$\endgroup\$
4
\$\begingroup\$

The "maximum capacitance across the Vbus pin" rule is intended to keep the Vbus voltage from dropping low enough to reset the other USB devices whenever a new USB device is plugged in.

I've seen a few USB devices that only need a ferrite bead to keep the inrush current within specs. They connect only 2 things to the Vbus pin of the USB connector: the 1uF minimum VBUS decoupling capacitance directly across the Vbus and GND pins of the USB connector, and a ferrite bead that supplies power to the rest of the device. That allows them to use a net capacitance of slightly more than 10 uF on the other side of that ferrite bead.

Most of the schematics for USB-powered devices that I've looked at have a voltage regulator that converts between the 4.45 V to 5.25 V from the USB host to the 3.3 V used by all the chips on the device. Using a voltage regulator with a "soft start" circuit keeps the inrush current within specs; that enables the designer to put any amount of capacitance on the output of the regulator -- between 3.3 V and GND -- without any problems on the USB side.

\$\endgroup\$
1
  • \$\begingroup\$ How much more capacitane can be used approximately after inserting ferrite bead? \$\endgroup\$ Commented Apr 15, 2022 at 6:22

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.