J
John Larkin
Guest
On Wed, 22 Feb 2017 07:35:05 -0800 (PST), George Herold
<gherold@teachspin.com> wrote:
OK, that lets you scale full LED brightness to some smaller voltage
input, independent of the current limit.
--
John Larkin Highland Technology, Inc
lunatic fringe electronics
<gherold@teachspin.com> wrote:
On Tuesday, February 21, 2017 at 8:41:12 PM UTC-5, John Larkin wrote:
On Mon, 20 Feb 2017 13:35:26 -0800 (PST), George Herold
gherold@teachspin.com> wrote:
On Monday, February 20, 2017 at 3:11:11 PM UTC-5, Tim Wescott wrote:
On Mon, 20 Feb 2017 11:14:20 -0800, George Herold wrote:
OK this is perhaps overkill.. see footnote.
So I've got an indicator LED (bi-color) the input is the error term from
a thermal loop, and I turn that into an LED current.
I was thinking it might be nice to turn up the gain on the current,
but then I worried about burning out the LED with too much current from
the opamp.* So I drew this up... and then added the diodes to stop the
transistors "running backwards". And the cap to stop the oscillations
when the transistors turn on.
Assuming that this is for a visual indicator, just use a rail-rail output
op-amp with a series resistor. In normal operation the op-amp is within
its voltage limits and current is as commanded. When the input is big,
the op-amp "asks" for too much current, hits the rail, the resistor
limits the current, and Bob's yer Uncle.
I've done that, but the one issue is the turn on voltage of the LED.
I've got a few volt dead space near zero volts.
(I want to say again that perhaps this is a silly idea, and I'll bag
the whole thing.)
So by feeding back of the current I eliminate that dead space.
Then I dreamed of more gain.. so when the loop is closed but a little
unstable maybe you could see the oscillations in the error term in the
intensity of the LED... or if near zero by having it change color.
But then some student leaves it in high gain with maximum error and the
current from the opamp heats up the led. (potential failure...)
So I wanted to limit the current to the LED.
(I never can seem to put enough background into my questions...)
There's a lot of reasons not to want to let an op-amp hit the rail, but
as long as you have one that does so in a reasonably well-behaved manner
you should be OK.
Hmm well I run opamps into the rails all the time.
For slow stuff, I've never had problems.
In this case I'm talking about running opamps at their current limit.
I've never done that (on purpose) before.
George H.
I
--
Tim Wescott
Control systems, embedded software and circuit design
I'm looking for work! See my website if you're interested
http://www.wescottdesign.com
Would this do what you want?
https://dl.dropboxusercontent.com/u/53724080/Circuits/Current_Limiters/Lin_LED.JPG
Right that's what I started with.. I then made a wrong turn.
Jasen straightened me out.
(I've now got a 50 ohm sense resistor and ~700 ohms in series with the LED..
Which limits maximum current to ~15-20 mA or so.)
OK, that lets you scale full LED brightness to some smaller voltage
input, independent of the current limit.
--
John Larkin Highland Technology, Inc
lunatic fringe electronics