J
Justin Dobbs
Hello!
I have a simple linear current source circuit pictured below. The
test
loads are an 8 ohm wire-wound resistor and a 7-8 ohm 450 foot roll of
hookup
wire (tested separately).
The purpose of the circuit is to take a PWM signal from a
microcontroller, whose average DC value is 0.2 volts per amp desired,
and feed the load with the desired current. I am testing the circuit
on the bench using a separate DC power supply (with the grounds tied
together in one spot). The transistor is actually a 2n6284 darlington
pair, and the op amp is a dual rail-to-rail LMC6062AIM "micro power"
op amp (in a very frustrating SOIC package). My interpretation of the
spec sheet is that it will source up to 25 milliamps, which should be
adequate for the darlington pair. The goal is to regulate between 0-5
amps continuously with a 10mS rise time.
I thought this circuit was working a few days ago. Now it seems to
oscillate/switch on and off at 1-10 kHz depending on the lowpass
filter I put after the first op-amp stage.
This circuit initially had just the first op-amp stage driving the
darlington pair though the 10-ohm resistor, with no lowpass filter,
and the behavior was the same.
With the large inductance (coil of wire), the current climbs to the
desired value, then the transistor is appears to be switched off
quickly until the current has fallen by 50%, and then the current
begins to rise again. The current drops so quickly that the transorb
conducts.
With the wire-wound 8 ohm resistance, the current spikes up to the
setpoint, then drops immediately to zero, and after a 1 millisecond
delay, spikes again. In other words, a delta-train with no DC.
Almost like you would expect from a fixed-frequency switchmode current
chopper driving a resistive load.
I want the circuit to provide smooth DC to the load. The op-amp
appears to source enough current to turn the darlington sufficiently
"on" to reach the current I want, but the regulation seems
non-existent. I tried adding a 2n2222 to drive the base of the
darlington, to make a transistor triplet, and this made the problem
worse. The lowpass filter between the two op-amps only changes the
frequency of this switching action. Eliminating the lowpass filter
changes the ripple to a higher frequency (50 kHz and above). The
behavior is the same with or without the 10 ohm resistor feeding the
gate.
For amusement I put a 18,000uF capacitor across the output of my power
supply, just in case of poor regulation, but that doesn't seem to
help. The 12 volts is straight from the (bench-top) regulated supply,
and the 5 volts is derived from a linear regulator with a 470uF
capacitor on its output. Putting a 220uF electrolytic across the op
amp's .1uF tantalum bypass cap does not seem to cure the problem.
I'm wondering whether my choice of op-amp is the problem due to its
low output current. But the circuit seems to me like it should be at
least stable. Although the transistor may be oversized a tad, the
topology is simple and classic enough that it ought to work! What am
I missing?
Thanks,
Justin
Rload=8ohm Lload
12V |--------------/\/\/\------88888----------------------.
|
5V |
--- .1uF |
|---| |---. |
| /// |------.
| LMC6062AIM | |
10k |\| __|\ | |
---/\/\/\----------|+\ 10k / |+\ 10ohm |C |
| | >---/\/\/\---' | >--+--/\/\/\-----| _|_/
| . --|-/ | .-|-/ | |E //\
75V trans
-- | |/| | | |/ | | /__\
zener
.1uF -- | | | |_______| | |
| | /// | | |
| | --- | |
/// | --- 10uF | |
| | | |
| /// | |
|___________________________________________+______|
|
|
\
/ 0.2 ohm
\ 5W
/
|
|
///
I have a simple linear current source circuit pictured below. The
test
loads are an 8 ohm wire-wound resistor and a 7-8 ohm 450 foot roll of
hookup
wire (tested separately).
The purpose of the circuit is to take a PWM signal from a
microcontroller, whose average DC value is 0.2 volts per amp desired,
and feed the load with the desired current. I am testing the circuit
on the bench using a separate DC power supply (with the grounds tied
together in one spot). The transistor is actually a 2n6284 darlington
pair, and the op amp is a dual rail-to-rail LMC6062AIM "micro power"
op amp (in a very frustrating SOIC package). My interpretation of the
spec sheet is that it will source up to 25 milliamps, which should be
adequate for the darlington pair. The goal is to regulate between 0-5
amps continuously with a 10mS rise time.
I thought this circuit was working a few days ago. Now it seems to
oscillate/switch on and off at 1-10 kHz depending on the lowpass
filter I put after the first op-amp stage.
This circuit initially had just the first op-amp stage driving the
darlington pair though the 10-ohm resistor, with no lowpass filter,
and the behavior was the same.
With the large inductance (coil of wire), the current climbs to the
desired value, then the transistor is appears to be switched off
quickly until the current has fallen by 50%, and then the current
begins to rise again. The current drops so quickly that the transorb
conducts.
With the wire-wound 8 ohm resistance, the current spikes up to the
setpoint, then drops immediately to zero, and after a 1 millisecond
delay, spikes again. In other words, a delta-train with no DC.
Almost like you would expect from a fixed-frequency switchmode current
chopper driving a resistive load.
I want the circuit to provide smooth DC to the load. The op-amp
appears to source enough current to turn the darlington sufficiently
"on" to reach the current I want, but the regulation seems
non-existent. I tried adding a 2n2222 to drive the base of the
darlington, to make a transistor triplet, and this made the problem
worse. The lowpass filter between the two op-amps only changes the
frequency of this switching action. Eliminating the lowpass filter
changes the ripple to a higher frequency (50 kHz and above). The
behavior is the same with or without the 10 ohm resistor feeding the
gate.
For amusement I put a 18,000uF capacitor across the output of my power
supply, just in case of poor regulation, but that doesn't seem to
help. The 12 volts is straight from the (bench-top) regulated supply,
and the 5 volts is derived from a linear regulator with a 470uF
capacitor on its output. Putting a 220uF electrolytic across the op
amp's .1uF tantalum bypass cap does not seem to cure the problem.
I'm wondering whether my choice of op-amp is the problem due to its
low output current. But the circuit seems to me like it should be at
least stable. Although the transistor may be oversized a tad, the
topology is simple and classic enough that it ought to work! What am
I missing?
Thanks,
Justin
Rload=8ohm Lload
12V |--------------/\/\/\------88888----------------------.
|
5V |
--- .1uF |
|---| |---. |
| /// |------.
| LMC6062AIM | |
10k |\| __|\ | |
---/\/\/\----------|+\ 10k / |+\ 10ohm |C |
| | >---/\/\/\---' | >--+--/\/\/\-----| _|_/
| . --|-/ | .-|-/ | |E //\
75V trans
-- | |/| | | |/ | | /__\
zener
.1uF -- | | | |_______| | |
| | /// | | |
| | --- | |
/// | --- 10uF | |
| | | |
| /// | |
|___________________________________________+______|
|
|
\
/ 0.2 ohm
\ 5W
/
|
|
///