What Capacitor for LM317

Thread Starter

kaushizcute

Joined Feb 16, 2012
24
I have made a constant current source using lm317T. Input voltage is 12V to 20V.
How shall I determine the capacitor value at the input and output side??
What is the purpose of using a capacitor??
 

SgtWookie

Joined Jul 17, 2007
22,230
Don't use a capacitor on the output when you are using the LM317 as a constant current source.

The cap on the input more-or-less depends upon the impedance of your voltage source, maximum load current, and maximum desired ripple. You should have a 0.1uF-0.33uF cap very close to the LM317 input terminal to compensate for the parasitic inductance of wiring.
 

SgtWookie

Joined Jul 17, 2007
22,230
what will happen if i use a capacitor at the output end?
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.

what is ripple??
For voltage, it's like waves on the surface of water.
For current, it's like constant changes of flow volume.
The polarity or direction of voltage or current does not change, just the pressure or volume. If the direction or polarity changes, then you have AC instead of ripple.
 
Top