shumifan50
- Jan 16, 2014
- 579
- Joined
- Jan 16, 2014
- Messages
- 579
I want to measure high current using a PIC, so it seemed like a good idea to use a very low value resistor and measure the voltage drop across it to calculate the current. However, the voltage drop at lower currents (even at higher currents) is so little that it needs to be amplified - for the resistor value I used = 0.0005 ohm. So enters the good old 741 opamp as a differential amplifier. I found several tutorials on the web and came up with the attached design - however, it does not work as expected at all, so I obviously am being stupid, but as with all true ignorance, I can't see what is wrong.
The objective:
At 40A I would like to generate roughly 4V at pin 6 of the 741 as this would be the 100% of the internal reference voltage of my PIC.
The calculations:
I = 40A
R = R0005
V = IR = 40 * 0.0005 = 0.02V for 40A current
I would like it to be about 4V
so gain needed = 4 / 0.02 = 200
According to the tutorials the gain calculation can be reduced to R3 / R1 (in the attachment)
= 220K / 1K = 220
This means 40A should give 4.4V on pin 6 of the 741 (I thought).
The reality:
In the picture the LED Strip has several LEDs and draws 190mA.
So: V = RA = .19 * 0.0005 = 0.000095V, so I expect on pin 6 of the 741 = 0.000095 * 220 = 0.0209 V ~ 21mV
When I use my multimeter and check the voltage on pin 6 of the 742 it is waaaaaayyy higher; it varies but it is between 6 to 11V.
I tried reducing the 1K resistors to 100R and the 220K to 22K, but the results remained similar, so something is wrong with the circuit. I checked the wiring several times and cannot see a fault. I checked for bad connections on the breadboard but found none. I moved it to a different location on the breadboard - no change.
I now appeal for help please.
The objective:
At 40A I would like to generate roughly 4V at pin 6 of the 741 as this would be the 100% of the internal reference voltage of my PIC.
The calculations:
I = 40A
R = R0005
V = IR = 40 * 0.0005 = 0.02V for 40A current
I would like it to be about 4V
so gain needed = 4 / 0.02 = 200
According to the tutorials the gain calculation can be reduced to R3 / R1 (in the attachment)
= 220K / 1K = 220
This means 40A should give 4.4V on pin 6 of the 741 (I thought).
The reality:
In the picture the LED Strip has several LEDs and draws 190mA.
So: V = RA = .19 * 0.0005 = 0.000095V, so I expect on pin 6 of the 741 = 0.000095 * 220 = 0.0209 V ~ 21mV
When I use my multimeter and check the voltage on pin 6 of the 742 it is waaaaaayyy higher; it varies but it is between 6 to 11V.
I tried reducing the 1K resistors to 100R and the 220K to 22K, but the results remained similar, so something is wrong with the circuit. I checked the wiring several times and cannot see a fault. I checked for bad connections on the breadboard but found none. I moved it to a different location on the breadboard - no change.
I now appeal for help please.