Op~Amp Current Regulator?

Thread Starter

ELECTRONERD

Joined May 26, 2009
1,147
Hey Everyone,

I know that an Op~Amp can be a voltage regulator, but can it be manipulated to be a current regulator as well? Thanks in advance!
 

Wendy

Joined Mar 24, 2008
23,421
Sink or Source? Transistors do an excellent job too, so that is usually my first recommendation. In a standard inverting op amp, both feedback resistors have constant current going through them for a given voltage input.
 

millwood

Joined Dec 31, 1969
0
or you can apply the input voltage on the non-inverting end and eliminate a couple resistors.
 

The Electrician

Joined Oct 9, 2007
2,970
The Howland current source is a good one to look at. It has been discussed quite a bit in this forum.

http://michaelgellis.tripod.com/howland.html
This is not a good implementation of an opamp current source (it's the Howland circuit;http://www.national.com/an/AN/AN-1515.pdf).

This circuit has the two resistors connected to the + input the same as the two resistors connected to the - input; both pairs are R1 and R2. This gives an output impedance of R1+R2, not very high.

By properly selecting the two resistors connected to the - input, the output impedance can (theoretically) be made infinite.

An earlier thread:
http://forum.allaboutcircuits.com/showthread.php?t=20636

went into much detail.
 
If this circuit is to be a current regulator, I would expect that for a fixed Vin and Vref, the current in R1 would be constant no matter what the value of R1, but that doesn't seem to be the case.
 

Thread Starter

ELECTRONERD

Joined May 26, 2009
1,147
Thanks for all the quick replies. I really want to understand the theory of op amp design, so your help is appreciated.
 

Wendy

Joined Mar 24, 2008
23,421
One way of looking at a op amp is the classic bridge, any bridge, be it Wheatstone or Wien. The op amp does what it has to to null the bridge.
 

millwood

Joined Dec 31, 1969
0
R1 really isn't the load: R1 is a parameter that helps set the current. for the circuit to work, you will need to put a transistor on the output so to isolate the current from R1.

for a current sink, the transistor's base will be to the opamp's output, and its emitter to the junction of R1/R2, and the collector will be tied to the positive rail via the load.

the transistor doesn't need to be perfect as any Vbe imperfection will be handled by the opamp's feedback network.

similarly you can set up a current source, going from ground to the negative rail.
 

millwood

Joined Dec 31, 1969
0
opamps are some of the easiest devices to understand, at least the ideal ones.

1) it has infinite open loop gain. this means that once you put an opamp within a negative feedback loop, its non-inverting pin and its inverting pin have exactly the same voltage.
2) it has infinite input impedance: no current going into / out of the inverting / non-inverting pins.

things get more complicated as you relax those two assumptions, and even more so when you factor in topology (vfb vs. cfb), ac performance, stability, etc.

but for what we do, and with a typical opamp, understanding DC performance, and ac stability will suffice 99% of the time.
 
R1 really isn't the load: R1 is a parameter that helps set the current. for the circuit to work, you will need to put a transistor on the output so to isolate the current from R1.

for a current sink, the transistor's base will be to the opamp's output, and its emitter to the junction of R1/R2, and the collector will be tied to the positive rail via the load.

the transistor doesn't need to be perfect as any Vbe imperfection will be handled by the opamp's feedback network.

similarly you can set up a current source, going from ground to the negative rail.
What you said, with respect to the original circuit, was "...or you can apply the input voltage on the non-inverting end and eliminate a couple resistors." You didn't say anything about adding a transistor.

It seems to me that the output current will be strongly influenced by the hfe of the transistor, rather than being determined by resistor ratios.

The original circuit can have an output impedance approaching infinity, and the current is determined by resistor ratios, and is therefore not much affected by temperature, or by parameter variations of a single transistor.

Do you have an expression for the output impedance for your circuit? Won't it be essentially just the ro of the transistor? That may not be very high.
 

millwood

Joined Dec 31, 1969
0
What you said, with respect to the original circuit, was "...or you can apply the input voltage on the non-inverting end and eliminate a couple resistors." You didn't say anything about adding a transistor.
whether you need a transistor depends on if the load can be floated, ie. both ends off the ground.

It seems to me that the output current will be strongly influenced by the hfe of the transistor, rather than being determined by resistor ratios.
no.

The original circuit can have an output impedance approaching infinity, and the current is determined by resistor ratios, and is therefore not much affected by temperature, or by parameter variations of a single transistor.
it will be affected by temperature, unless you go out of the way to take care of it.


Do you have an expression for the output impedance for your circuit? Won't it be essentially just the ro of the transistor? That may not be very high.
I am not sure if i can give you one but I am imagine that it is pretty high, given that it is a ccs.
 

millwood

Joined Dec 31, 1969
0
well, you asked about Z-out so you get Z-out, :).

it is about 45kohm upto about 100hz and then down hill from there - poor CMRR.
 

Attachments

millwood

Joined Dec 31, 1969
0
Originally Posted by The Electrician
If this circuit is to be a current regulator, I would expect that for a fixed Vin and Vref, the current in R1 would be constant no matter what the value of R1, but that doesn't seem to be the case.
here are two dc sweep charts, one for R5 (the load) at 22ohm, and another for R5 at 220ohm, or 10x bigger.

you can see for yourself. or you can work out the math for yourself as well.

BTW, I hope you know why the curve is a little bit flat on the right for the R5=220ohm chart.
 

Attachments

millwood

Joined Dec 31, 1969
0
It seems to me that the output current will be strongly influenced by the hfe of the transistor, rather than being determined by resistor ratios.
let's see, :).

1st chart: if I put one bjt there, and do a dc sweep.

you can compare the output current (Iout through the load resistor) vs. that we did earlier without the bjt.

they look identical, don't they? other than the regions where the opamp goes into clipping or the bjt is reverse biased.

you can also see the beta of the transistors used. it is in the 200+ territory. and there is one Vbe on the output.
 

Attachments

Top