When initially given power, R1 pulls the gate of the MOSFET close to the source, keeping the mosfet from turning on. Once a lithium cell to be charged is added, current from the cell flows trough R2 to the base of Q1, turning it on. Q1 then pulls the gate of the MOSFET low turning it on. If the battery is connected backwards Q1 never turns on and the MOSFET never conducts. D1 is there to protect the base of Q1 from the negative voltage of the battery.
The problem is that even after removing the cell the MOSFET stays on, allowing Q1 to stay on and keep pulling the gate low in a positive feedback loop.
Now that I think of it,[size=small]the latching circuit would work after all: If the MOSFET is on when adding a cell the wrong way, the charger IC goes into short circuit protection which causes the charger output voltage to fall below the threshold voltage of the MOSFET switching it off, and interrupting current flow.[/size]
To the OP: This is probably your best bet. You can probably find a PTC to use instead of a fuse. There is probably a way to get a MOSFET to do the job, but it will not be easy. I think if you draw it out with the MOSFET, and showing the body diode, you will see why.I tested it with a[size=small]30V/1.1A RUEF110(thanks mkeith) PTC fuse, and it does the trick, the tp4056does not even get hot. By the way im using a random diode i found. Sometimes the cheapest and the most simple solution is the best! Only drawback - it will take a few seconds after the short for the ptc to recover though.[/size]
Thank you for the simple solution, i have worked a lot with tp4056 and have blown my diy tp4056 parralel 10A chargers with reverse polarity on the battery ends. I thought of using a mosfet but my solution came to same problems as jms-s. So forget the mosfet idea.
FERCSA said:@egam
This schematic is not correct, you know that right?
1N4148 diode is way too small for this application.
Korishan said:What makes it not correct?