I have a bit of a challenge and was hoping to get some ideas.

I have a BMS board that is connected to some batteries, and part of that BMS has an MCU. There are two connectors in the design, a data connector, and the power connection. Here is a simplified diagram:


Externally I can easily detect if the data connection is missing because I am not able to communicate with the MCU. However, I'm having a harder time detecting if the power connection is plugged in because I am also providing power back to the battery under idle conditions to charge it (think of the battery as kind of a battery backup).

The data connector is used to supply the MCU with power from an external source (if there is no external connection, you don't need to talk to the MCU). I am hoping to have the MCU detect if the power connectors negative terminal (pack-) is not connected by some means of utilizing a path with the supply voltage that is coming in on the data connector (5v).

I just want to generate an output on ALERT via the MCU if the pack's power terminal is not connected.

Externally, the GND and Pack- would likely be tied together.

The BMS is based on this: http://www.ti.com/tool/TIDA-00792

If you have any high level ideas, i would greatly appreciate it!

  • \$\begingroup\$ You could use a diode, and measure the voltage the other side of the power terminal. \$\endgroup\$ – Puffafish Aug 22 '18 at 9:57

I don't know if this is a usable approach, but if you have another contact on the pack connection, you could tie that to ground via the cable which is plugged in.

That contact could be analyzed by the MCU to see if there is a connector plugged in.


simulate this circuit – Schematic created using CircuitLab


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.