This is essentially a followup post to https://www.eevblog.com/forum/beginners/why-wont-this-constant-current-circuit-work/
Circuit in question: https://www.falstad.com/circuit/circuitjs.html?ctz=CQAgjCAMB0l3BWEBmAHAJmgdgGzoRmACzICcpkORKpISCkdApgLRhgBQyWjRcILZOhB9GYHOChQuPEfypyxRahEaQOfWmFwjUIdKj1E9yKNAlrY6ZGHh37kYeg7bqxkKkakLk2-DOIIABKTADOAJahAC4AhgB2AMZMHADuIN4owtoSQtIAZnQ6niB41MW5YNBIzmkGRiYIwu7qaaLgEm256gDmuh68ehlqHL3o6NQZYypgwsO9beiQRvxTUuoATorgyluLepacQfrjAuKMq2w6anJ0a2YIqeA6Ctnb1C1PEsRu-N-StSdiqshhwoihGn02s1JCxMDhiHgEEQZmgiDgsBizFRkAgsDY8Xx0LhIFhwPwACZMPIxACuABsoo8LmdjioLEyTmwcANTtz-lsubx+Cxih93IK+iwQeImsLim1BE4QJTqfSoiw6UxyZIxCU4BwjgqWUarlI+LdrjAHptxRlxeIpGM7BwAA6fErTLIGFBSTi9dhevQBt5rDibDK5DIsBTnewjdISaOegQx6RAA
I've been using Falstad a lot and messing around with this circuit and trying to fix some problems that I've been having with it (mostly related to heat). I thought about using a simple 0.1ohm resistor (which can be found for pretty cheap) as this will dissipate very little heat but it got me thinking; at what *voltages* will an op-amp be unable to amplify a signal (or actually begin to instead amplify noise)? Can most op-amps easily measure a signal voltage of 0.015v (between the inverting/non-inverting input and ground)? What about 0.001v (if I were to say, use a 0.05 ohm current-sense resistor in the circuit, at the BJT emitter)?
Why don't I simply go with a very-low resistance current-sense resistor (such as 0.05ohm) as it'll decrease wasted heat? I understand that at a certain point cost can be a factor, but will it effect the circuit?
Thanks!
Hi,
There are several limitations to op amps.
There is bandwidth, slew rate, and internal gain to start with.
The internal gain can be high like 100,000, which means if you want a 10v output then the input would have to be no less than 100uv if DC, but in reality it may have to be higher. If AC, you have to consider how the bandwidth reduces the gain, and depending on the output amplitude you may have to consider the slew rate as well, especially if an AC signal or square wave. DC is simpler.
The input offset is an equivalent input voltage that gets amplified along with any signal. If the input offset is 2mv (typical of the LM358) and the gain is 100, the output will be at 0.2 volts. That could be a problem, but if you are using an ADC to measure the output you can subtract that from the reading as long as the linearity is still ok.
They do make special op amps though that have very tiny input offset specs, and they are referred to as chopper stabilized op amps. The work good for DC.
A typical value of resistance to sense current is 0.1 Ohms. 0.2 Ohms works a little better though, but it depends on how much current you are going to measure and what the range is, and what is the lowest current you need to measure with good accuracy. It could be that you would have to add range switching in some cases where you need to measure a very low current and a moderately high current.
The LM358 will work OK with 0.2 Ohms and sort of OK with 0.1 Ohms, but the lower you go the more the input offset will affect the reading. You can also compensate for the input offset by biasing one of the inputs with a steady DC signal and large value resistor, on the order of 20 megohms. You may lose a little linearity but maybe not that much. It's simpler just to subtract the output offset though from your readings. If you use an analog panel meter you may even be able to adjust the zero so it is a little less than zero, and that way when you connect the op amp it goes to zero with zero input signal.
It's interesting to experiment with these circuits.
They also make dedicated IC chips for measuring current, and hall effect current sensors, and also four terminal current sense resistors made just for that purpose.