I'm looking for the circuit to automatically switch the load (< 0.5 A) between the main power source (USB) and back-up (battery) without a specialized IC and without the functionality of charging the battery.
I found two options:
I wonder if a similar solution can be implemented with MOSFETs only and came up with the following circuit:
Where VDC
is the external power source, +BATT
is voltage from battery, and VCC
is the output voltage (automatically switched).
To my understanding (I'm not an EE) this should work as follows:
- if
VDC
is connected:- the top P-MOSFET connects the
VDC
toVCC
since the lower N-MOSFET shortens the gate of top P-MOSFET toGND
and opens it - other P-MOSFETs are closed.
VDC
=VCC
- the top P-MOSFET connects the
- if
VDC
is not connected:- the
VDC
is pulled toGND
, it opens the left bottom P-MOSFET, which pulls the top P-MOSFET to theVCC
and closes it to prevent the back-flow fromVCC
toVDD
- P-MOSFET connected to battery is open and connects the battery to load
VCC
=+BATT
- the
My questionas are:
- Is it going to work? In case if
VDC
is USB and+BATT
is 3xAAA batteries? Or if+BATT
is a LiIon battery? - Is this solution any better in terms of saving energy than option with 2 diodes and/ one diode and mosfet? Are the voltage drops lower in such schematic?
- Are there any other problems in this schematics except the hustle to find P-mosfers which can be open from small batteries voltage?
- This circuit is going to work only if
VDC
> (+BATT
+ body voltage drop on right bottom P-MOSFET)?