I am in the process of designing a circuit which will allow me to safely OR two power supplies.
Constraints:
- 5V
- up to 5A from
Vin_hi_prio
- up to 2A from
Vin_low_prio
- Both come from the same PSU but through different routes
Vin_hi_pro
should be preferred if present- Voltage drop should be under 200mV
- When the power is turned on, it stays on - this is not a hot swap circuit. Both voltages will be switched off at roughly the same time.
What I have considered:
- Diodes - voltage drop was too high
- Dedicated IC - I had trouble finding one which would look good to me and I don't want to pay 3-4$ when it seems like a BC817 will do
My questions:
- Does this circuit look good? Or did I miss something that should be relatively obvious?
- Will this circuit, designed in a simulation, hold up in real life with real components and their manufacturing variations? I'm particularly worried about
Q1
Vbe - it seems like the circuit will be very sensitive to variations here and might allow short connections between the two voltage sources. - Since both both power inputs come from the same power supply but through different paths, do I even have to care about switching/ORing those two voltages? They might come from different rails.
- Do I need to care about any extra current running through my ground?