# MOSFET-switching between two power supplys: how to avoid transverse current?

For a hobby project I would like to switch between two power supplys. The two power supplys are two 6s LiPo batteries. If one battery is empty i want to immediatelly switch to the other battery. (the load is a motor) For switching a 90A, 2.2mOhm n-channel MOSFET with a highside driver will be used. I already did some research and made a first schematic drawing:

The maximum current is about 50A and the battery voltage varies between 18V (empty) and 25V (full).

So if e.g. BATT. 2A is empty (18V) and BATT. 2B is full (25V) and Q1 is therefore switched off and Q3 on (to only use the full battery), there is about 25V potential at the source of Q3 (and hence 25V at source of Q1), but only 18V at drain of Q1. So there is a difference of -7V between source and drain of Q1 and the parasitic diode of Q1 between source and drain will probably conduct which leads to an short circuit (at over 100A battery current for a short time, so the MOFET will be destroyed).

How can I avoid that transverse current?

Thank you for any help in advance!

• Put a very high-current Schottky diode at the output of both battery packs. You'll lose about a volt, and dissipate about 50 watts, but that's the simple version. Oct 23, 2018 at 22:44
• Thank you for you comment, but loosing 50W would be unacceptable! Oct 23, 2018 at 22:47
• Two questions- what happens to the Vgs voltage if the motor shorts/stalls, does it exceed spec? You may want to use that sense pin to add an overcurrent to shut down gate drive before the FET SOA is exceeded, it's designed to use copper artwork tempco, so that's actually nice. The second item I'm checking is the heat dissipation requirements, you say a 50A load, is that steady state (high torque situation)? If so you may want to check the heatsink requirements. I^2*R ~=2500*.002 ~=4.5W, but junction to ambient is ~40K/W with their 6cm^2 heatsink example, you'll need something better (?) Oct 23, 2018 at 23:28
• @isdi thank you for your comment. Because I am going to measure the passing current later via shunt, I will add a Smith-Trigger which monitors the voltage drop and switches the MOSFET off if a defined level is exceeded. For that reason I disabled the built-in overcurrent protector. Yes temperature could be a problem... It is planned that the drain-pad will be enlarged and connected to the bottom PCB-layer with vias and I hope this i enough. A small fan is also an option. Oct 24, 2018 at 6:32