If we could take a moment to talk about something ON topic for a change ;-)
I'm updating an old design that uses low-side current sensing for BLDC drive[1]. I'm sensing both forward and reverse current. So the signal is about +- 40 mV but could be more. I had been using an LM324 in differential mode with a 2.5V "ground" to offset the sense voltages, but the signal still went below 0V at the input pins. I'm trying to do better this time ;-)
My first thought is, add a negative power rail. I've got +15v and +5v so there's already one switcher (LM2842 based), so I could add another one. Suggestions for a simple invert-switcher? How negative do I need to go? I'd been running the LM324 on +5 and GND, and need a 0..5 output signal anyway (+- 2.5v biased to 2.5v), so -5? Then I'm thinking a 5.1v zener to protect the ADC input.
Alternately, opinions on an alternate quad low-side sensor that can handle positive and negative currents...
Also, I'd been using a resistor divider for each opamp to bias it to
2.5V. Is it worth the effort to put in a 2.5V rail and use that, so that all the sensors have a common "zero" at the ADCs, vs possibly different ones due to resistor tolerances?Thanks!
[1]