LM317, basic voltage regulator, why does it get hot when not connected

capacitorlm317voltage-regulator

I have built this little voltage regulator circuit: circuit diagram

I am a hobbyist, so these may well be screamingly obvious questions. I ask because I haven't found the answer to my first question.

  1. Why does the LM317 get hot even when current is not being drawn, ie when the ends are not connected? (To my intuition it would only get as hot as current that it is 'choking' to reduce the voltage, but if there is no current there is nothing bring down. Where does this evergy come from?)

  2. Why are the two capacitors used in this circuit, it works fine without them? (I know this is a simple question so the technical term for it or alink would totally suffice)

Much appreciated!

Best Answer

Not exactly 'hot', but if you fed (say) 30V into that circuit and set the output to 1.25V, the regulator would be dissipating about 150mW with the output disconnected. That's because the 240\$\Omega\$ resistor draws about 5.2mA from the output, and the regulator must dissipate (Vin - Vout) * 5.2mA even with the output disconnected.

A TO-220 has a thermal resistance of about 80°C/W so it would get noticeably warm.

It's not optional, BTW, to draw that much current. The LM317 needs some current internally to work, and if you don't draw a minimum current of around 5mA the output could go out of regulation (rise above the desired voltage).

P.S. If you use a 24.0 Ohm resistor (don't laugh, I've seen it happen, the markings or the color code is 2 4 0) the regulator would get hot.