I am measuring 1 mV 7 khz signal using wien bridge, no resistors there but capacitors they are very sensitive to temperature and are causing balancing not stable. they react when I blow on them. By manufactures speciffication those capacitors should be stable.
Could Be the same with the shunt - test will give the answer.
I've asked about temperature, without answering my questions it is hard to locate the problem.
I was not asking for ratio but if you connect a few 0.1 resistors the response is linear or not ?
When I use 3 x 0.1 ohm resistors parallel the output is also a 1 to 2 ratio. - strange - show pictures of your toys
As mentioned the LM358 is NOT suitable. It has an input offset of +/- 3mV which is equivalent to nearly an amp into 3.3mohm. ie there can be that much error .
Look at it's datasheet.
Also please post a circuit showing how it's used - as mentioned if you're not using Kelvin connections at these low voltages you'll have problems.
You need a precision opamp(*), with a much smaller offset voltage, for this sort of shunt. You can also measure
and correct for the input offset voltage (but not its drift with time/temperature), but recording the output
value for zero current and subtracting this out from subsequent readings.
(*) An instrumentation amp might be a reasonable choice here, which is effectively 3 precision opamps in one
package in the class instrumentation amplifier configuration - low bandwidth but good accuracy and performance
for a 4-wire shunt.
I've asked about temperature, without answering my questions it is hard to locate the problem.
Using 1 x 0.1 ohm (no heat in resistor) output is linear.
Using 2 x 0.1 ohm parallel (no heat in resistors) output is linear.
Using 3 x 0.1 ohm paralell (no heat in resistors) output is linear.
Using 1 x 0.0033 ohm (no heat in shunt) output is NOT linear.
So with 3 resistors 0.1ohm you can measure 6A no problem ? - Not far to 15 A
Connect more.
If problem will appear you need different op amp.
Google - shunt amplifier circuit
A standard solution is a 12-bit INA219 breakout board with I2C.
High-side (12volt) voltage and current sensing, with buildin 0.1ohm resistor for 3.2Amp (bi-directional).
Current can ofcourse be increased with the external shunt (Kelvin connection).
No problems with other ground currents if you measure high-side.
Didn't see yet what is being measured.
Resistive/inductive/PWM.
Current sensing without special smoothing code works only if you're measuring a resistive load.
Leo..
With 6 x 0.1 you should be able to measure 15A, check that.
15A shut is giving 50 time less voltage, so you are not on linear part of the op amp, change bias resistor R3, voltage on " + " op amp should be 2.5V ( post # 32) - what do you have now ?
If this ot working you need chage op amp.
ted:
With 6 x 0.1 you should be able to measure 15A, check that.
15A shut is giving 50 time less voltage, so you are not on linear part of the op amp
The opamp is highly linear because of its enormous gain and the negative feedback network, there is no
"non linear part of the op amp". That's the whole point of opamps.