This is the current circuit design that I have, some notes, the majority of these components are chosen simply because they are what I have, namely the AS431 instead of TL431, irfz44n as the switching fet and LM393 comparator. I have included the 1N5242 zener to prevent Vgs from exceeding its max value
My question is as follows, I am worried that with this design, the circuit will oscillate. The load for this circuit will be somewhere between 60 and 70 watts, what I am concerned about is that under load, Vbat will drop lower and eventually reach the ~12.6V threshold set by the voltage divider, then once the mosfet switches off, it will rise above the threshold voltage again and oscillate until the battery drains low enough to always be below 12.6. Will this be a significant problem? The circuit will have to power some sensitive electronics, a Rpi, esp32 and some sensors so large oscillations on the power lines would be really problematic. If this will cause issues, is there any easy solution to prevent such oscillations or should I switch to an entirely different overdischarge protection topology?
P.s I am pretty sure I put the + and - on the comparator the wrong way around, correct me if i'm wrong...