I'm trying to use a howland current source to generate stable current for a load which is =<40 ohms. The load does not need to be connected to groud. I can work with a DAC to supply the Vin (V3 in the figure), which would help me control the load current, however, I'd like to limit the voltage used as input to 12V if possible.
-
1\$\begingroup\$ You have no connection to the op-amp inverting input. \$\endgroup\$– TransistorCommented Jan 21, 2020 at 18:59
-
\$\begingroup\$ You need to take a step back, and think about what's going to happen. For instance, the output will provide current, which will then flow through R2 (15k). How much voltage do you think will be needed to drive 250 mA through 15k? \$\endgroup\$– WhatRoughBeastCommented Jan 21, 2020 at 20:48
-
\$\begingroup\$ I believe though that By setting those high resistances, the current wouldn't go through and would pass by the load. Right? \$\endgroup\$– GeorgeCommented Jan 21, 2020 at 21:01
1 Answer
Rather than look up some boilerplate circuits and not understanding how they work, try designing from fundamental principles and building up from there. It sounds like you want some voltage controlled current which can drive 0-250mA through a 0-40 Ohm load - not an unreasonable task. Keep in mind the functionality of an op-amp (approximately):
1) Inputs take no current
2) Output of op-amp limited to Vpower+ and Vpower- (for rail to rail OPA)
3) When there is a negative feedback path, OPA tries to keep V+ = V-
A very simple current source according to these rules can be derived:
simulate this circuit – Schematic created using CircuitLab
In the above circuit, V+ is grounded (e.g. 0 V). Because the OPA is in negative feedback via the load resistor (RL), rule #3 tells us V- = V+ = 0V. The current Ix = (Vref-0)/Rref via Ohm's law. Rule #1 tells us that the inputs of the OPA take no current, therefore Iy = Ix via KCL. We can conclude that the above circuit is a current source where the current through the load RL, Iy = Vref/Rref. Note the current doesn't depend on the value of the load resistor RL, making it a current source.
Now your first intuition might be to take this circuit and replace Vref with a DAC. Although this might work, most likely the DAC cannot supply enough current directly (e.g. the output impedance of the DAC is not negligible). However, from the analysis above, we can see another way to control the current, through V+, which in the above circuit is simply grounded. Modifying the above circuit this way yields:
We've replaced the V+ network (which was just a connection to ground before) with the D/A converter (Vin). Therefore, Vin = V+ and furthermore, because V+ is an OPA input, it draws no current so pretty much any DAC should suffice. How does this change the equations? Recall current Ix = (Vref-0)/Rref in the first circuit. The change means now Ix = (Vref-Vin)/Rref. The same applies for Iy, therefore your load current is Iy = (Vref-Vin)/Rref. Note that you can choose appropriate fixed values for your application for Vref and Rref, e.g. if Vin = 0 and you want the output to be 250mA, then you can fix Vref = 10V, Rref = 40 Ohm. Then you can vary Vin to adjust the output current. E.g. with the above configuration, Vin = 5V will yield 125mA, etc. Obviously Vin has an inverse relationship with the current, but it sounds like Vin is coming from some microcontroller/digital source, so that shouldn't be a problem.
Note that there is an additional issue of what the op-amp power needs to be (e.g. +/- 12, or +/- 15, etc). This depends on your maximum load resistance, as the limiting factor is how high or low the output of the OPA can go. If you understand the analysis I've given you, you should be able to go ahead and solve for that given your specifications. As a hint, you will need to apply rule #2 of OPAs.
The Howland current source has an additional constraint that the feedback resistor is fixed, rather than the feedback resistor being the load itself. Nothing in your problem description suggests that you need or want this, though I suppose some OPAs may require this.
-
\$\begingroup\$ OP's load is connected to ground, so these circuits won't work. \$\endgroup\$ Commented Jan 21, 2020 at 20:32
-
-
\$\begingroup\$ my load does not need to be connected to ground. I believe this will work just fine. \$\endgroup\$– GeorgeCommented Jan 21, 2020 at 21:24
-
\$\begingroup\$ I believe that’s my fault for specifying that in the question and not being clear. In this case, if I use a very small voltage references, this circuit will work. \$\endgroup\$– GeorgeCommented Jan 21, 2020 at 21:26