I'm building a circuit to switch between a USB 5V source and a battery source that ranges from 2V - 3.3V. The rest of the circuit runs on 2V - 3.3V so the USB 5V source is passed through an LDO before supplying power to the rest of the circuit. So,
- If the USB source is connected, it should draw power from the USB source and not from the battery
- If the USB source is disconnected, it should draw power from the battery
I understand that there are similar questions here (USB/Battery switch) but I am wondering why this simplified design doesn't work:
When the battery Vcc drops to 2V and both USB and battery are connected, a lot of current (500mA) flows into the drain of the FET (the source of the FET is connected to battery Vcc). Why does this happen? Shouldn't the FET be off when Vg (3.3V) > Vs (2V)?
Also, I understand that my circuit is rather strange; Vd > Vs and Vg > Vs and I don't really see what happens in these scenarios in the transistor data sheet (ZVP3306A). I guess this design is not covered by the transistor data sheet? And feel free to suggest more designs.