# BMS Two Stage OP Amp

My company is designing a 4 cell BMS. We recently did a redesign of our cell voltage measurement circuits and are having major issues.

The first stage of each amplifier is a differential opamp with unity gain. For cell 1 we take the difference between gnd and CV1, for cell 2 we take the difference between CV1 and CV2, so on and so forth.

For cells one and two the differential amplifiers are working perfectly. However, for cells 3 and 4 the amplifiers are outputting voltages much high than the actual cell voltage. The output from the cell 3 differential op-amp is around 7 volts and for cell 4 around 11 volts.

The second stage of the amplifiers is meant to lower the voltage to an acceptable range for the ADC. Unfortunately, we used a non-inverting op-amp and have a gain greater than one. A gain of around 0.7 is desirable.

Thanks in advance for any help!

• If you need to debug anything , simply record the voltage on each pin and compare with datasheet for I/O range , gain and offset, then verify R values. " 0.7 volts " is not a gain spec. Be more careful on design specs, & measurements Feb 15, 2022 at 1:14
• Hey Tony, thanks for the comment. 0.7 volts was a typo. We're looking for a gain of 0.7. We've scoured the datasheet and it seems that we're well within range with our voltages. The highest input voltage that it will ever see is 16.8 which is why we chose the 20V supply voltage. Feb 15, 2022 at 1:21
• If you had chosen 1st stage to be 30k:20k you would have had gain = 2/3 with no need for 2nd stage. For Av=0.7 Rin would be 20k / 0,7= 28.57k . or choose better values with a better design criteria or "design spec" Feb 15, 2022 at 1:40
• This is a perfect example why people should buy ready-made BMS, or at least use ready-made BMS ICs, rather than design their own from scratch. For one thing, this circuit draws so much current that it will over-discharge the cells and damage them irreparably in a relatively short time. For another thing, it's so inaccurate that it will balance the wrong cell based on an incorrect voltage measurement. For an IC that has already solved the problems you haven't yet even thought about, look at the great offerings from Texas Instruments. Feb 15, 2022 at 1:51
• Cell 3 and 4 is a construction error and I pointed out how to simply diagnose. List all pin voltages and compare with spec. which I read now is Vdd= 5.5V max not 20 for LMV324 .. oh oh. I also concur with @DavideAndrea Feb 15, 2022 at 7:02