Electrical – Circuit with dual power source: Replacing diodes with MOSFETs

diodesmosfetpowerpowermosfetusb

I'm modding an already built circuit which can operate from the current of a USB port about 90% of the time but in some specific cases it needs to draw more than the 500 mA the USB provides (it is also smart enough to shutdown itself if there's not enough current available).

I want to add an external Power Supply to it, on that case, 5V @ 3 A. Both power sources will eventually end being connected in parallel at the same pins (the idea is having the custom circuit powered from either one of the power sources or even from both at the same time). Given the constraints (also for safety reasons), power from the external PSU must not leak on the USB plug nor vice versa (but very low voltage — in the mV scale — are acceptable). I used diodes and ended with something like this:

circuit sketch

While it works good enough for what I'm trying to achieve, the drop-out voltage from the diodes are causing some stability issues in the custom circuit (even when using low drop-out Schottky diodes), and in this particular scenario I can't increase the voltage from either power sources, so, with some research I discovered the possibility of using a MOSFET to achieve the same but with a very small drop-out voltage when compared with the conventional diodes approach.

The linked article explains how to do that on the Vin line with a p-MOSFET, however I couldn't achieve the same in the GND line. I tried using n-MOSFET on those lines, and while it somewhat worked, I were still getting leakages in the power sources. So, how it's done? Are there any better approach to this?

Best Answer

You don't need the diodes for ground, only using diodes for Vcc is sufficent. Why? Because the diodes for Vcc will stop the current from flowing backwards, current can only "flow in loops".

You could use schottky diodes as the voltage drop is 0.2V, that would be easiest.

If you still want to use mosfets which can reduce the drop to the resistance of the mosfet which can be in the tens of milliohms range (about 0.03 to 0.1V) you could use an IC such as this:

enter image description here

Or a circuit like this: enter image description here Source: Automatic Power Selection Circuit