Putting _a_ photodetector in the path of the your LEDs to measure _their_
output???
Possibly -- but that assumes that the light output of the three LEDs goes
up and down the same in response both to whatever environmental effect
(probably temperature and aging) that you're trying to control against,
and that it goes up and down the same in response to the LED current.
Or do you have a way to turn on each LED individually?
If you can, you want to adjust each LED output individually.
I hope that you're controlling your LED output by heavily filtered PWM:
turning it on and off to get an average is probably not your best path to
joy.
Whether you're adjusting them all at once, or individually, I'd read the
PD output with an ADC (assuming you can get enough accuracy), and I'd
have an integrating controller in there that bumps the PWM up or down
until the target output is met.
--
My liberal friends think I'm a conservative kook.
My conservative friends think I'm a liberal kook.
Why am I not happy that they have found common ground?
Tim Wescott, Communications, Control, Circuits & Software
http://www.wescottdesign.com