Electronic – Currect measure through ADC and shunt

adcatmegacurrent measurementshuntvoltage divider

I spent some time already and I think I forget about something in my problem.

I have a motor, which single phase is R17 = 2 Ohm. I want to measure a current through it's circuit. I used a shunt with R11 = 5 mOhm. I measure voltages before and after the shunt, so I get the circuit:

Measure current with ADC

R12 and R18 is R = 55 MOhm – those are ADC inputs of my AtMega8.
I used two voltage dividers R13 & R10 and R15 & R14 to output the voltage to ADC-friendly level – in this case ~4 V.
Measuring the ADC would output me almost the same result, because the voltages are different in the level of 0.01 V.

What should I do to output a nice, measureable results (like 4 V and 2 V is a good difference)?

EDIT 1:

I created another circuit with LT6106 as pipe suggested:

Current sense throught ADC with LT6106

I think it worked like a charm. How do you think? Maybe I should add anything else?

EDIT 2:

I had a problem. I can't get fast enough any LT6106 and it's not a cheap one. I wanted to find any on my old boards(PCs, supplies) but I have none.

I have got few desoldered LM358 from ST. I managed to design a simple schematic that amplifies the differential voltage (dropout on R52).

[Measure current through ADC with LM358[3]

What do you think of it now? Is something wrong or something still lacks?

Best Answer

Use a high-side current sense amplifier.

These ICs are specifically designed to do this job: Amplify a tiny voltage across a tiny resistor placed on the "high side" of your circuit.

There are thousands of them, the first I found is the LT6106 from Linear, but there are many more. Here is a link from digikey to start with.

They have an integrated amplifier, and often use a clever and very simple feedback "trick" so that you just have to add two resistors to set the gain you want:

enter image description here
(From the LT6106 datasheet)