I want to use an LM317 to make a current source circuit for driving high power LEDs (500-700mA.) The schematic in its datasheet has no capacitor, but in some schematics there are one or two capacitors like the one below:
Are they necessary? If I omit them, can the possible ripples damage the high power LED?
I quote from a forum:
"Don't use a capacitor on the output when you are using the LM317 as a constant current source. A theoretically ideal current source has an infinite output impedance, whereas a theoretically ideal voltage source has an output impedance of zero.
If you use a capacitor on the output of your current source, then your "real world" current source is further away from the theoretically ideal current source, which is not a good thing."
Is it correct?