8
\$\begingroup\$

I'm working on a project that operates at 5v - and can draw UP to 10 amps. Under normal conditions, it won't be doing that - probably closer to 3 amps, and (if configured for low-power) only 450mA or so.

It's designed to be powered from USB when in low-power mode, but I also want to have 2 barrel jack to add external power supplies (5V, 8A from aliexpress). Obviously I don't want the power supply backfeeding the USB, or the USB backfeeding the power supply. I want the option to plug in two of these power supplies because most of the time, I won't need to activate the 10A mode - so just one power supply would be sufficient.

Considering these power supplies are not designed to be paralleled (no master/slave setup, etc), how effective would an ideal diode be in enabling these various sources to all operate in parallel (to increase max current)?

Note that I don't need the load sharing to be perfect, but I'd like to avoid serious issues. I originally thought I could just use a P-Channel MOSFET, but after some research have learned that when they are "on" they allow current to flow both ways, which makes them non-ideal non-diodes (less than helpful).

\$\endgroup\$
8
  • \$\begingroup\$ "Ideal diode" is usually a mosfet of some kind any way, so unless you can't switch with infinite speed you will have the same problem with backfeed \$\endgroup\$
    – user103776
    Commented Mar 20, 2019 at 15:30
  • \$\begingroup\$ "Unless you can't switch with infinite speed" - I'm not sure I'm following? Really I just need to, when I plug in one of the external power supplies, have it add it's available current to the mix. If I unplug something (and doing so should turn "off" the diode) I don't care about backfeeding any longer. \$\endgroup\$
    – Helpful
    Commented Mar 20, 2019 at 15:31
  • \$\begingroup\$ to get as much balance as possible between the supplies I would go with a diode with common cathode, to have temperature balance and let the current over Vf balance out. \$\endgroup\$
    – user103776
    Commented Mar 20, 2019 at 15:32
  • 1
    \$\begingroup\$ physically the mosfet barrier takes some time to close, so what I mean to say is that it will always be some backfeed unless it's perfectly balanced. \$\endgroup\$
    – user103776
    Commented Mar 20, 2019 at 15:37
  • 1
    \$\begingroup\$ Not necessarily silly, since there are circuits designed for these situations, though the design isn't great. I've read a couple of Linear Tech appnotes describing ideal current-sharing circuits etc. Anything with such a low voltage shouldn't really draw that much current because the voltage drops will be large relative to the nominal voltage. \$\endgroup\$
    – pipe
    Commented Mar 20, 2019 at 15:57

4 Answers 4

15
\$\begingroup\$

You need two back-to-back P-channel MOSFETs for each power input. Here is an example from an Atmel eval board, though you'll want to scale up the MOSFETs considerably, and maybe reduce the resistor values to something like 10K:

enter image description here

The VCC_USB input is dominant if both are present (in other words, if only one supply is present, that one will be used, if both are present, then VCC_USB is used).

The back-to-back MOSFETs are "ON" when the common gate connection is at ground (assuming the left source is high) and are off with the gate connection equal in voltage to the source.

Because of the intrinsic body diodes you need two MOSFETs to be able to block in either direction. This is the common configuration you'll see in hot-swap controllers and similar devices.

The connection to R613 turns Q109A/B on if VCC_USB_EDBG is low. If both supplies are present Q110A/B are off (because their gates are high) and Q109A/B are on.

\$\endgroup\$
10
  • \$\begingroup\$ Wow, thanks! I'm not sure what you mean by "dominant" in this context - as in, it will be the primary source of current (up to its max)? Additionally, I'm not entirely sure I understand the principles on which this is operating. Do you have a minute to explain? \$\endgroup\$
    – Helpful
    Commented Mar 20, 2019 at 15:36
  • \$\begingroup\$ Dominant means that if both supplies are present the power is to the output is supplied by VCC_USB, and the other one is disconnected. \$\endgroup\$ Commented Mar 20, 2019 at 15:41
  • \$\begingroup\$ Ah. Hmm. The main problem with that idea is that I have ANOTHER external power supply, and I would want to be able to connect both of them at once (with out disabling one or the other). I don't suppose this circuit would enable me to do that (if I added another stage)? \$\endgroup\$
    – Helpful
    Commented Mar 20, 2019 at 15:43
  • \$\begingroup\$ If you want to share the current form the two external supplies you could combine them with Schottky diodes but unless they're specifically designed to share current gracefully the results may not be ideal (or usable). For example, one may hog the current and go into foldback shutdown. That's really a separate question, I think. \$\endgroup\$ Commented Mar 20, 2019 at 15:52
  • \$\begingroup\$ Thank you for adding the explanation! Upvoted, but waiting to hear a few more answers before I select one. \$\endgroup\$
    – Helpful
    Commented Mar 20, 2019 at 15:52
1
+150
\$\begingroup\$

I'd like to take a different approach here...

Why not design an active-power supply system? By active I mean, you can use a microcontroller + PMOS setup.

Note that I don't need the load sharing to be perfect, but I'd like to avoid serious issues. I originally thought I could just use a P-Channel MOSFET, but after some research have learned that when they are "on" they allow current to flow both ways, which makes them non-ideal non-diodes (less than helpful).

True, NMOS will also allow both ways current transmission if on. So we turn them off if we don't need them.

Here is what we can do:

Supply 1 >> PMOS >> load
Supply 2 >> PMOS >> load
Supply 3 >> PMOS >> load
.
.
.
Supply N >> PMOS >> load

We can use as many power supplies as we want. We tie them to the load using a PMOS. Now, we also get a microcontroller, and read load voltage. Whenever the load voltage drops a certain level, we switch to the higher powered supply, using the aforementioned microcontroller. (You better get some capacitors on load side if you don't want that voltage dropping too hard)

There is another method as well! We can tie hall-effect current sensors in each of these paths. Then we read the currents with our microcontroller. Whenever the current limit is reached, microcontroller will read this and switch to higher powered power-supply.

There is also a third option; your load gives information to our microcontroller! Whenever you press a switch/slider in your load, microcontroller acts beforehand and switches the power supply that you know and have tested that it works. So in this setup, you have no voltage or current sensing.

I also have a fourth option (Bonus): Let's say you want load sharing. Since you have a microcontroller, you can basically PWM those PMOS' (with certain deadband of course) and create load sharing. You can combine this with a temperature sensor on power supplies to even balance/switch off some of them if need be.

If you will try this out, don't forget to use interrupts, because you want to be as fast as possible.

\$\endgroup\$
1
\$\begingroup\$

You may want to re-consider your requirements with assumptions in specifications.

Current sharing multiple power supplies can be unstable with a light load on the source that is barely supplying current when there is a load disturbance on 2 shared sources regulating on the same load.

The effective loop gain drops when a regulator is driven by another source slightly higher voltage from mismatched voltages. This loss of feedback gain can result in overshoot to a sensed disturbance. Often a preload of 10% is needed to limit the variation in loop gain and the resulting loss of phase margin.

\$\endgroup\$
0
\$\begingroup\$

LTC4370CDE would be my first choice to use to tie two power supplies together, but I wouldn't even bother with the computer's usb port power because its going to be poor quality. Even on a $2000 motherboard, they are still junk.

\$\endgroup\$
1
  • \$\begingroup\$ Wow, that is not a cheap chip. Still $7@500! \$\endgroup\$
    – flaviut
    Commented May 11, 2019 at 21:46

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.