Electronic – Voltage regulator getting extremely hot

power supplyvoltage-regulator

I've built a LED PWM controller according to the below schematic and the voltage regulator is getting extremely hot (I can't touch the heatsink).

I've measured input and output voltages and currents and these are:
Vin = ~24 V
Vout = ~4.85 V
Iin = 80-95 mA
Iout = 80-95 mA

If my regulator is indeed L78S05 (because the package says UL75S05, but can't find any datasheet for this) then it should handle up to 2A easily and up to 35 V on input. Also if I understand correctly, it reduces the voltage by dissipating excess power as heat, so how hot would it get if it would be supplied by 35 V and 2A?

Unless there is something wrong with my construction and it shouldn't get so hot right now. If so, could you help me find what is wrong?

wiring diagram

Best Answer

Check your heat sink - it should have a thermal resistance value in degrees Celsius per watt. You have a voltage drop of 24-4.85 = 19.15 volts. At 95 mA, you are dissipating 0.095 x 19.15 or 1.8 watts. Your part has a thermal resistance of 50 degrees C/W, so the temperature rise would be 90 degrees C above ambient room temperature, or about 115 C (definitely too hot to touch!). A typical TO-220 heat sink is around 24 degrees C/W, which would reduce the temperature rise to 45 C, so the heat sink temperature would be around 70 C.

The thermal resistance junction-to-case is 5 degrees C/W for your part, so at 1.8 W the junction temperature is 9 degrees higher than your heat sink temperature. The part is rated at 150 degrees operating, so it should work, but you will be depleting your battery much faster than if you used a switcher as @Eugenesh suggests.

If you try to run at 35 volts and 2 amps, your voltage drop is 30.15 volts so you would be dissipating 60W. Since the junction-to-case thermal resistance is 5 degrees per watt, the junction would have to rise by 300 Celsius even if the heat sink was maintained at room temperature. So although the part may be good to 2 amps in one application with a small voltage drop, and may also operate at 35 volts in another application with low current, these can not occur together.