FlexiBMS Lite - Flexible Configuration BMS w/ CAN-bus

39.5 V

12.38 V

State:3316:3331:3333:3334:3334:3334:3337:3265:3342:3340:3342:3339:39490:12137:3:295:302:0:notCharging:
State:3316:3331:3333:3334:3334:3334:3337:3265:3342:3340:3342:3339:39490:12137:0:295:302:0:notCharging:
State:3316:3331:3333:3334:3334:3334:3337:3265:3342:3339:3342:3339:39490:12137:0:295:302:0:notCharging:
State:3316:3331:3333:3334:3336:3334:3337:3265:3342:0:5374:3339:39549:12157:3:295:302:0:notCharging:
State:52:3:0:0:21:51:63:112:210:129:388:4518:39549:12137:0:295:302:0:notCharging:
State:52:0:0:0:0:1:1:1:1:0:3:15:39490:12137:0:295:302:0:notCharging:
State:52:0:0:0:0:0:1:1:0:0:0:6:39509:12137:0:295:302:0:notCharging:
State:51:0:0:0:0:0:0:0:0:0:0:4:39509:12137:0:295:302:0:notCharging:
State:52:0:0:0:0:0:0:0:0:0:0:3:39529:12137:0:295:302:0:notCharging:
State:51:0:0:0:0:0:0:0:0:0:0:1:39529:12157:0:295:302:0:notCharging:
State:52:0:0:0:0:1:0:0:0:0:0:3:39529:12137:0:295:302:0:notCharging:
State:52:0:0:0:0:0:0:0:0:0:0:3:39490:12137:0:295:302:0:notCharging:
State:52:0:0:0:0:0:0:0:0:0:0:0:39529:12137:3:295:302:0:notCharging:
State:51:0:0:0:0:1:1:1:4:3:6:10:39490:12137:0:295:302:0:notCharging:
State:51:0:0:0:0:0:0:0:0:0:0:0:39470:12137:0:295:302:0:notCharging:
State:52:0:0:0:0:0:0:0:0:0:0:10:39509:12157:3:295:302:0:notCharging:
State:51:0:0:0:0:0:0:0:0:1:0:0:39529:12137:3:295:302:0:notCharging:
State:51:0:0:0:0:0:0:0:0:0:0:6:39509:12137:0:295:302:0:notCharging:
State:54:6:0:0:0:0:0:0:0:0:0:0:39549:12137:0:295:302:0:notCharging:
State:51:0:0:0:1:3:6:4:12:10:21:16:39549:12137:3:295:302:0:notCharging:
State:52:0:0:0:0:0:1:0:3:3:1:1:39529:12137:0:295:302:0:notCharging:
State:52:3:0:0:0:0:0:0:0:0:0:0:39470:12137:0:295:302:0:notCharging:
State:5374:5374:5374:5374:5374:5374:5374:5374:5374:5374:5374:5374:0:0:0:297:671:0:notCharging:
State:5374:5374:5374:5374:5374:5374:5374:5374:5374:5374:5374:5374:0:0:0:297:671:0:notCharging:
State:5374:5374:5374:5374:5374:5374:5374:5374:5374:5374:5374:5374:0:0:0:297:671:0:notCharging:
State:5374:5374:5374:5374:5374:5374:5374:5374:5374:5374:5374:5374:0:0:0:297:671:0:notCharging:
State:5374:5374:5374:5374:5374:5374:5374:5374:5374:5374:5374:5374:0:0:0:297:671:0:notCharging:

middle of Mosfets (negative) to B+ (positive): 0 Ohm no continuity, 0.49 V
middle of Mosfets (negative) to C+ (positive): 32.48 kOhm, 0.49 V

2 Likes

What battery voltage? Around 40V I’d guess?

Yes. (As you can see from the log. :wink: )

39.5 V

Do you have a benchtop/adjustable power supply? or a battery with voltage around 20-30V?

I want to test and confirm that the charger side voltage sense is still reading correct values.

I have a voltage regulated power supply. 12-24V range. And I do have an XT30 adapter for it so I can hook it up easily. Should I do it and send logs?

That would be great so I can just confirm that there isn’t anything funky going on with the charger side voltage sense circuitry.

Just to be clear. Do you want me to connect the power supply to the charger port (after connecting the battery pack)? Or do you want me to power the BMS from the power supply? I suppose the former but just double checking.

Have a pack connected to the BMS so that it’s powered up, you can use your current 12S pack at 40V.

Set $5 high enough, that the voltage you’re going to connect to the charger side, doesn’t trigger an attempt to start charging, so say set it to 40000 or higher, if you have a max 24V coming in.

We’re just interested in seeing if the charger side voltage sense circuit is accurate or if it’s showing a clearly wrong voltage.

1 Like

OK, done. I first connected the power supply while being turned off. Then I turned it on and gradually increased the voltage to ~24V. Then back to 0V and finally I disconnected it completely.

The voltage readings seem to be correct once the power supply is connected (before that it shows ~12V).

State:3322:3336:3339:3339:3339:3340:3342:3271:3346:3345:3346:3343:39529:12137:0:293:300:0:notCharging:
State:3321:3336:3339:3339:3339:3340:3342:3270:3346:3345:3346:3343:39588:12137:3:293:300:0:notCharging:
State:3321:3336:3337:3339:3339:3340:3342:3270:3346:3343:3346:3343:39588:12137:3:293:300:0:notCharging:
State:3321:3336:3337:3339:3340:3339:3342:3271:3346:3345:3346:3343:39608:12137:0:293:300:0:notCharging:
State:3321:3336:3339:3339:3339:3339:3342:3271:3346:3343:3346:3343:39588:12137:3:293:300:0:notCharging:
State:3321:3336:3337:3339:3339:3340:3342:3270:3346:3345:3346:3343:39608:12137:0:293:300:0:notCharging:
State:3322:3336:3337:3339:3339:3340:3342:3271:3346:3345:3346:3343:39529:12137:3:293:300:0:notCharging:
State:3321:3336:3337:3339:3339:3339:3342:3271:3346:3343:3346:3343:39588:0:0:293:300:0:notCharging:
State:3321:3336:3337:3339:3340:3339:3342:3271:3346:3343:3346:3343:39627:0:3:293:300:0:notCharging:
State:3321:3336:3337:3339:3340:3340:3342:3271:3346:3345:3346:3343:39568:0:0:293:300:0:notCharging:
State:3321:3336:3339:3339:3340:3339:3342:3271:3346:3345:3346:3343:39549:0:3:293:300:0:notCharging:
State:3321:3336:3339:3339:3339:3340:3342:3271:3346:3343:3346:3343:39568:0:0:294:300:0:notCharging:
State:3321:3336:3337:3339:3339:3340:3342:3271:3346:3343:3346:3343:39549:0:0:294:300:0:notCharging:
State:3321:3336:3337:3339:3339:3340:3342:3270:3346:3345:3346:3343:39568:0:3:294:300:0:notCharging:
State:3322:3336:3337:3339:3340:3339:3342:3271:3346:3343:3346:3343:39588:0:3:294:300:0:notCharging:
State:3321:3336:3337:3339:3340:3339:3342:3271:3346:3345:3346:3343:39608:9304:3:294:300:0:notCharging:
State:3321:3336:3337:3339:3340:3340:3342:3270:3346:3345:3346:3343:39568:10610:3:294:300:0:notCharging:
State:3321:3336:3337:3339:3340:3340:3342:3271:3346:3345:3346:3343:39568:11313:0:294:300:0:notCharging:
State:3321:3336:3337:3339:3339:3339:3342:3271:3346:3343:3346:3343:39588:12197:3:294:300:0:notCharging:
State:3321:3336:3337:3339:3340:3340:3342:3271:3346:3345:3346:3343:39529:12458:0:294:300:0:notCharging:
State:3321:3336:3337:3339:3340:3340:3342:3270:3346:3345:3346:3343:39588:13041:0:294:300:0:notCharging:
State:3321:3336:3337:3339:3339:3340:3342:3270:3346:3345:3346:3343:39588:14086:3:294:300:0:notCharging:
State:3321:3336:3337:3339:3340:3340:3342:3270:3346:3345:3346:3343:39608:14890:3:294:300:0:notCharging:
State:3321:3336:3337:3339:3339:3339:3342:3270:3346:3343:3346:3343:39568:16337:3:294:300:0:notCharging:
State:3321:3336:3337:3339:3339:3340:3342:3271:3346:3345:3346:3343:39549:18025:3:294:300:0:notCharging:
State:3321:3336:3337:3339:3340:3340:3342:3271:3346:3345:3346:3343:39588:18969:3:294:300:0:notCharging:
State:3321:3336:3337:3339:3339:3339:3342:3271:3346:3345:3346:3343:39529:19009:0:294:300:0:notCharging:
State:3322:3336:3337:3339:3339:3340:3342:3271:3346:3343:3346:3343:39608:21160:3:294:300:0:notCharging:
State:3321:3336:3337:3339:3340:3339:3342:3271:3346:3343:3346:3343:39608:23149:0:294:300:0:notCharging:
State:3321:3336:3337:3339:3340:3340:3342:3271:3346:3345:3346:3343:39588:23571:3:294:300:0:notCharging:
State:3321:3336:3337:3339:3339:3339:3342:3271:3346:3343:3346:3343:39549:23591:3:294:300:0:notCharging:
State:3321:3336:3337:3339:3339:3340:3342:3270:3346:3345:3346:3343:39608:23591:3:294:300:0:notCharging:
State:3321:3336:3337:3339:3339:3340:3342:3271:3346:3345:3346:3343:39608:23591:3:294:300:0:notCharging:
State:3321:3336:3337:3339:3339:3340:3342:3271:3346:3345:3346:3343:39568:23591:0:294:300:0:notCharging:
State:3321:3336:3337:3339:3340:3340:3342:3271:3346:3345:3346:3343:39549:23591:0:294:300:0:notCharging:
State:3321:3336:3337:3339:3339:3340:3342:3271:3346:3345:3346:3343:39608:23591:0:294:300:0:notCharging:
State:3321:3336:3337:3339:3340:3340:3342:3271:3346:3343:3346:3343:39588:23591:3:294:300:0:notCharging:
State:3322:3336:3337:3339:3340:3339:3342:3270:3346:3345:3346:3343:39549:23591:3:294:300:0:notCharging:
State:3321:3336:3337:3339:3339:3340:3342:3271:3346:3345:3346:3343:39588:19371:3:294:300:0:notCharging:
State:3322:3336:3337:3339:3339:3339:3342:3271:3346:3345:3346:3343:39549:9123:0:294:301:0:notCharging:
State:3321:3336:3337:3339:3340:3340:3342:3271:3346:3345:3346:3343:39568:9585:0:294:300:0:notCharging:
State:3321:3336:3337:3339:3339:3340:3342:3271:3346:3343:3346:3343:39549:9082:0:294:301:0:notCharging:
State:3321:3336:3339:3339:3340:3340:3342:3271:3346:3345:3346:3343:39608:9525:3:294:301:0:notCharging:
State:3321:3336:3337:3339:3340:3340:3342:3271:3346:3345:3346:3343:39549:8660:0:294:300:0:notCharging:
State:3322:3336:3337:3339:3339:3339:3342:3271:3346:3345:3346:3343:39588:1085:3:294:301:0:notCharging:
State:3322:3336:3337:3339:3340:3340:3342:3271:3346:3343:3346:3343:39568:0:3:294:300:0:notCharging:
State:3321:3336:3337:3339:3339:3340:3342:3271:3346:3345:3346:3343:39568:0:0:294:301:0:notCharging:
State:3321:3336:3337:3339:3339:3340:3342:3271:3346:3345:3346:3343:39588:0:0:294:301:0:notCharging:
State:3321:3336:3337:3339:3340:3339:3342:3271:3346:3345:3346:3343:39568:0:0:294:301:0:notCharging:
State:3321:3336:3337:3339:3340:3340:3342:3271:3346:3345:3346:3343:39549:0:3:294:301:0:notCharging:
State:3322:3336:3337:3339:3340:3339:3342:3271:3346:3343:3346:3343:39529:0:0:294:301:0:notCharging:
State:3321:3336:3337:3339:3339:3339:3342:3271:3346:3345:3346:3343:39568:12137:0:294:301:0:notCharging:
State:3321:3336:3337:3339:3339:3340:3342:3271:3346:3345:3346:3343:39588:12137:3:294:301:0:notCharging:
State:3321:3336:3337:3339:3340:3339:3342:3270:3346:3345:3346:3343:39568:12137:0:294:301:0:notCharging:
State:3321:3336:3337:3339:3339:3340:3342:3271:3346:3345:3346:3343:39568:12137:0:294:301:0:notCharging:
State:3321:3336:3337:3339:3339:3340:3342:3271:3346:3345:3346:3343:39568:12137:0:295:301:0:notCharging:
State:3321:3336:3337:3339:3339:3340:3342:3271:3346:3343:3346:3343:39568:12137:0:294:301:0:notCharging:
State:3321:3336:3339:3339:3339:3340:3342:3271:3346:3345:3346:3343:39588:12137:0:294:301:0:notCharging:
State:3321:3336:3339:3339:3339:3340:3342:3271:3346:3345:3346:3343:39588:12157:3:295:301:0:notCharging:
State:3321:3336:3337:3339:3339:3339:3342:3271:3346:3345:3346:3343:39549:12137:3:294:301:0:notCharging:
State:3321:3336:3337:3339:3339:3340:3342:3270:3346:3343:3346:3343:39549:12137:0:294:301:0:notCharging:
2 Likes

So here’s the schematic sheet for the charging Mosfets, the BQ76200 gate driver for them and the charger side sense circuit (battery side sense circuit blanked, as it’s not relevant in this case, but it’s nothing special). Pretty much the typical application circuit from the datasheet.

Based on Jan’s measurements and what I’m seeing in the state printout, I would say that the charger side Mosfet Q2 has been overvolted, I’m guessing/assuming by repeated short voltage spikes when connecting a powered on charger, slowly chipping away at it. There has been a punch-through event that has broken down the Drain-Source silicon, that has caused the Mosfet to become low impedance, whereas a Q1 still seems to be alright as it’s Drain-Source measures in the megaOhm/open-circuit region.

Based on the continuous 12V that the charger side is measuring, I’d say the Q2 has an effective resistance of ~330kOhm in the Drain-Source direction, so that the new, now existing resistive divider would produce the voltage for a measured 12V voltage.

This is explained that when you connect the power supply, it drains/sinks the voltage down to 0, Q2(R2) is still quite high resistance, so it can’t let a lot of current flow through it.

EDIT: Just, a sec I’ll measure my own units’ forward voltages and resistances for the Q1 and Q2
Unit1:

  • B+ to middle of fets: 2,7MOhm, 0,47V
  • C+ to middle of fets: 2,7MOhm, 0,47V
  • C+ to B+: open-circuit / infinite resistance in both directions

unit2:

  • B+ to middle of fets: 2,4MOhm, 0,46V
  • C+ to middle of fets: 2,8MOhm, 0,48V
  • C+ to B+: open-circuit / infinite resistance in both directions
4 Likes

@janpom what’s your $5 set to?

I can’t say based on experience, if the Q2 is toasted enough that it can’t be opened for charging. Aka, is the now leaking state the most “closed” it can be, but it’ll still open and goes low-impedance (low-resistance) when driven by BQ76200.

2 Likes

Yesterday I tried setting it to 20V following your advice. Today I put it to 40V. None allows me to charge the pack.

So I guess I should replace the MOSFET closer to the C+?

Do you have a LCSC link for it?

My small (4A) charger trips an efuse if it gets any energy coming from the battery. Plugging the board in and then the charger in the wall is just not an option.
Again, moooore mosfets, pretty please

It would then seem that it’s “stuck” in that state. Probably still stays high impedance when the charging starts and the current flow is low enough, that it triggers the charge termination current limit.

That’s what I would recommend, as the battery side Fet, based on the multimeter measurement, seems to be still okay.

Looks like they have it.

https://lcsc.com/product-detail/MOSFET_Diodes-Incorporated-DMT6004LPS-13_C461110.html


As the fault was what I had been suspecting, and I believe I’m correct what caused them, I have also thought about ways to protect against it. And I would place a TVS diode between the C+ and GND pad. There is a 54V TVS diode on the battery side B+ and GND, but the charger side doesn’t. This would be an easy addon-fix to protect from future voltage spikes, that is doable with a normal soldering iron, not requiring hot air.

I’ll likely add the TVS diode to the board design for the upcoming “Lite” → “Lite 12S” refresh and HW would then move on to 1.0 state. There some small other changes I would be doing as well.

@Zach I’d say you’re in the same situation as @janpom , one or both of your charging Mosfets are toast and most likely have been zapped by your charger.

4 Likes

If the charging Mosfets are okay, there won’t be any voltage nor current capable of flowing from the battery to the charger connections.

@janpom

https://lcsc.com/product-detail/TVS_AnBon-SMF51A_C435454.html

I’d recommend this TVS for the charger side protection.

1 Like

With the breakdown voltage at about the Vds-max rating for the FETs and the clamping voltage up over 80V you feel that TVS would still protect the FET?

Has anyone scoped out the charger voltage transient to estimate its power? That might be important for the max power spec for the TVS.

2 Likes

Im really trying to think here. Assuming it’s not the charger (just for the sake of the argument), is there something else that may have affected these mosfets? Perhaps something I soldered?

Depends who arguing the point

A PSU company would state never switch it on with the load connected. As the charger would have to deal with the spikes

A BMS would say never connect with a live connection. As the BMS would have to deal with the spikes

It’s a game of not my issue to deal with blame some one else.

2 Likes

Considering the charger side doesn’t really have any capacitance apart from the stray one, there isn’t really a lot of energy in the current rush that might happen, so even if we are not in the voltage region of peak clamping capability, it’ll be able shunt that short and sharp pulse transient, but at the moment there isn’t anything absorbing the voltage spikes.

Only realistic thing I could come up with is a static electricity zap from the human body (now even better with synthetic material clothing!) to the C+ pad, that could be in the thousands of volts and absolutely be capable of causing the punch-through event for the Mosfet.

I’m gonna improve the state printout logging, so that for the battery and charger voltages, it’ll print out lowest-latest-highest values, because there could be something drastic going on, but due to the printout currently only printing the latest value once every second, there is quite a lot things that might be missed based on it. In your case the worrying thing was that the charger side sense circuit had measured over 60V at one point.

State:3472:3474:3475:3474:3459:3468:3466:3474:3474:3472:3472:3471:41240:18934:0:295:297:194:chargingEnd:
State:3471:3474:3475:3474:3459:3468:3466:3475:3474:3472:3472:3471:41181:34262:0:295:297:0:chargingStarting:
State:3471:3474:3474:3474:3459:3468:3466:3475:3474:3472:3472:3471:45547:18934:88:306:297:279:startingCurrent:
State:3471:3475:3475:3474:3459:3468:3466:3474:3474:3472:3472:3471:45567:18934:84:306:297:279:startingCurrent:
State:3471:3474:3474:3474:3459:3468:3466:3475:3474:3472:3472:3471:41181:18934:0:295:297:0:chargingEnd:
State:3472:3474:3475:3474:3459:3468:3466:3475:3474:3472:3472:3471:41181: 61408 :0:295:297:0:notCharging:
State:3471:3474:3474:3474:3459:3468:3466:3475:3474:3472:3472:3471:41181:43441:0:295:297:0:chargingStarting:
State:3472:3474:3474:3474:3459:3468:3466:3474:3474:3472:3472:3471:41181:30240:0:296:297:0:startingCurrent:
State:3471:3475:3474:3474:3459:3468:3466:3475:3474:3472:3472:3471:45547:18934:88:307:297:279:startingCurrent:
2 Likes