LM311 Current Sensing Switch

current measurementresistorsswitches

I need to create a current sensing switch and am looking for ideas. I have very little experience with op amps / comparitors (as you'll see) but this seems to be the way to go.

I am monitoring 24VDC motor and if current is > 2.6A, I need to signal to a microcontroller to disable the motor.

I have a 175-R10-JBW (.1Ω) shunt resistor and an LM311 comparitor.

My testing shows that when the motor current = 2.6A, the voltage drop across the shunt resistor is ~.01v. When current is 1.3A the voltage drop is ~.005v.

My question is how do I use the LM311 to to state if "-" is .01v > than "+", send low output of LM311?

Of course I do not want to be shown exactly how to do this, just some direction on where to go. I've seen a lot of writing on current monitoring and op amp outputting an analog voltage proportional to motor current, that is just way overkill and would like to simplify.

Below is where I'm at and I know it's not close to where it needs to be. Any input would be greatly appreciated.

enter image description here

Best Answer

You need two op-amps. One to give you the difference between the two volatges, and one to compare that voltage difference to a reference voltage.

Either that or read the voltage difference op-amp output with an ADC input on the microcontroller.

Also, you should investigate "High Side Current Sense Amplifiers" - they are chips specially designed for this purpose. They both calculate the voltage difference between two points and amplify it, and most often run off a lower voltage (3.3V or 5V) than the voltage level they are sensing at (say up to 60V). I have used the AD8215 before now.