My battery module unfortunately does not work
Here it is all assembled and hooked up for testing with the LEDs lighting up as expected and giving false hope.
First, the protection IC wouldn't enable charging/discharging of the battery. I spent a long time trying to figure this out, double-checking everything I could think of, and eventually discovered some strange voltage readings at the per-cell connections for cell balancing. This led me to discover I had a mistake in my schematic where I mixed up two connections because I simply placed two "hierarchical sheet pins" out of order, but connected them as if they were in order:
So I corrected the mistake on the PCB:
Once again. I had an initial false sense of hope. The protection IC was now enabling charging and discharging. It generally appeared that external power was able to charge the battery, and I could draw power from the output both with and without external power connected.
But I found that I was still able to draw power even when I simulated a temperature fault to force the protection IC to disable charging/discharging, although with substantial voltage drop. Then looked at voltages more closely when discharging was enabled and found that there was a substantial (but less) voltage drop in this situation too. The charge-enable MOSFET was never fully opening or closing and was the source of the voltage drop.
After some more research, I discovered that I did not understand MOSFET specs when I chose a MOSFET. I only looked at specs like "max continuous current", etc., but had not looked at the "safe operating area" chart:
Despite having a "max continuous current" rating of 3A (which I thought was plenty for my target of supporting a max of 1~2A, but realistically only using a max of about 300mA in the car phone project), it only handles about 100mA at the battery voltage I'm working with.
I definitely had cranked up my load to 2A at some point, so this seems like a reasonable explanation: I must have fried my MOSFET with too much current.
So then I assemble my second PCB and correct the mixed up connection before I install batteries or apply input power. My plan was to test with low loads (about 50-100 mA) to stay within the limits of the MOSFET so I can at least verify that everything else is working properly with the charging/discharging and battery protection for everything other than over-current protections.
It initially looked good. I installed the batteries, and the protection IC initialized into a low voltage fault as it is designed to do: charging enabled, but discharging disabled. I was unable to draw any current at all from the output, and the voltage reading of the output was very low: the MOSFET appears to be working properly when "closed" this time.
I connected external power, which should clear the under-voltage fault and allow discharging, but now I encounter a completely different problem with the second board. The "input OK" LED flickered crazily for a second before remaining solid, then the charging LED started flashing (indicating charging). But my power supply was showing that it was not supplying any current at all.
The protection IC did, however, enable discharging, and without any substantial voltage drop, so it now seemed that the discharge-enable MOSFET was working correctly.
However, at some point while trying to investigate what was going on with the charging IC (disconnecting/reconnecting external power, removing/reinstalling batteries, etc.), the MOSFET fried again. Same symptoms as the first board (MOSFET never fully opened or closed, allows current draw when gate signal is low, etc.)
I still have no idea what's wrong with the charging IC on my second board, but it has a very unstable "startup" for a second or two every time external power is connected, and it never draws any current from the power supply to charge the battery or provide output power. The batteries are always supplying output power, even when external power is connected (external power is supposed to take precedence over batteries for supplying output power).
- Is there a manufacturing defect from JLCPCB that is shorting out some pins on the IC or something?
- Did some inrush current from the battery take out both the MOSFET and the charging IC?
- This doesn't seem likely because the protection IC did not enable discharging until AFTER the charging ID finished it initial glitchy power-on, so I'm pretty sure something was damaged/faulty before there was any chance for battery inrush current.
- Was I too careless about ESD risk while handling the PCB to solder my connectors, and damaged the charging IC myself with static?
- Did I just receive a faulty charging IC?
And I'm also less confident about the cause of my MOSFET failing, because I thought I was staying within its limits this time, but it still failed. Maybe the unstable glitchy voltage from the charging IC contributed this time? Maybe there was still some current spike at some point when disconnecting/re-connecting things that briefly exceeded limits enough to fry it?
The best I can think of doing next is to choose a MOSFET that handles much higher continuous DC current at 12-14V, and order a new batch of PCBs (with my mixed up connections fixed too, of course), and hope that those were my only significant problems, and that the charging IC issues on my second board was just bad luck with manufacturing.
I'm currently leaning toward this MOSFET:
Vishay SUM70060E
- Over 10A continuous current at my battery voltage levels.
- It specifically lists "Battery management" as one of the intended applications.