hi you might have seen some different ways of protecting your system against damage from plugging in your battery the wrong way and one of the more popular methods on YouTube involves a p Channel mosfet a zener diode and a resistor in this configuration which serves as an alternative to shot key and silicone doodes with the much lower resistance of the fet being able to handle many more amps before overheating but what if I told you that with the same number of Parts it could build something 10 times more efficient not only electrically but also in
space especially as the current requirements of your system begin to creep above 10 amps that's not all though the circuit I'm about to show you lets you power your system on and turn it off just as easily with a logic level signal and you can ditch those massive anti-spark xt90s too because with two resistors and a capacitor you can get the same if not better anti-spark functionality so let's get into it the IC that controls this electrical magic is the ncv 68261 from ON Semiconductor which comes in a six pin 2x2 mm dfn handles up
to a 32 volt input and can drive the gates of one or two n channel mosfets in four different configurations an ideal diode protecting against reverse current and polarity a configuration just for reverse polarity protection and a highside switch kind of add-on for either using a second fed it's important to note here that even though you can use the en pin in the Standalone ideal diode and reverse polarity protection setups to turn the single mosfet on and off you might as well just leave en connected to the unprotected input in this is because an end
Channel mosfet with a zvt gate Source voltage as in off we'll still let current flow this way through the parasitic body diode albeit worse but fortunately for us in the same scenario where the gate Source voltage of the mosfet is zero it won't even let a single micro amp through in the reverse Direction which is exactly what protects our system against reverse polarity in such an event so yeah you'll need two fets to have a built-in power switch because this one facing this way blocks current flowing in the forward Direction and this one still blocks
current in the reverse Direction taking advantage of the fact that mosfets can conduct both ways when in the on state anyways back to the design how do you choose the right mosfet for your application assuming you have a system to put this thing in I want you to take the maximum current it would draw and multiply it by seven that's the minimum current rating of the mosfet that you need okay I know it sounds crazy but just bear with me right now next we need to make some voltage considerations for the switch we're talking 6s
lipo or less or 24v DC regulated Supply or less okay now take your power input's maximum voltage and multiply it by two if you're driving inductive loads such as electric motors and by 1.5 if you have a low power system which expects less transients that's going to be the minimum VDS maximum rating of your mosfet or the voltage between the drain and the source of it it's also a smart move to stick to a minimum 35 volt rating for any other components using the battery as a supply voltage but we'll talk about that later so
now we can go to digi key go to the single fets or mosfets section and filter out results appropriately by the way make sure the gate Source voltage of your mosfet is plus orus 15 16 volts or more you need [Music] that okay now we've got our fits and hooked them up to the ncv 68261 properly but let's say we use one of the two high side switch configurations and we need some way to generate 5 volts outside of the main protection circuit to drive the pin of the ncv high and turn the main system
on and off and we could use an ldo since there isn't that much current that needs to be sourced here but the ldo also needs to be reverse spity protected and for this we can just use a normal diode so that gives us 5 volts and then we can give ourselves a way of disconnecting and connecting it from the pin with a small signal potentiometer spst or SP spdt switch or a toggle switch like this one which is push to turn on push to turn off awesome now if your system is high power and has
lots of capacitance like my motor control system was you'll also need three passive components to make the mosfets turn on a little slower so that they aren't bearing too much current on Startup here's a basic schematic of what that looks like with the ideal di plus high side switch mode and while these two resistors can just stay at 10 ohms the CG capacitor needs a little more consideration for my system which had about 1400 microfarads of low ESR aluminum electrolytic capacitance I used a 47 narad CG capacitor but you might want to consider lower values
like 22 nanofarads or even 1 Nar if you're expecting a lot less inrush current it really depends on your system but in general the larger the CG capacitor you use the slower the mosfets will turn on and the less of a current Spike you'll have on Startup which is always a good thing I want to thank you guys so much for watching and if you want more information about the circuit there's links in the description and in the next video I'll be going through the schematic and PCB design of a motor controller board which includes
an anti-par switch as you saw here make sure you subscribe so you don't miss it if you're looking for a more entertaining video from this channel feel free to click right here and I'll show you my custom 1 kilo Summa robot which has insane amounts of power and traction and as always if you want to see my designs reach the market someday memberships and super thanks always help thanks so much to my two members ASCO cpy and aogi Curry hey do you want to build your own cool custom robot with custom pcbs and custom plastic
and metal Parts well PCB way can do all of that for you with super fast turnaround times and discounted prices this order of three PCB designs and assembly of over 300 components arrived in Just 2 weeks which is really awesome so if you want to try them out type in your favorite browser pcb.com or just this link to get $5 off your first order and help support the channel bye