0

I have made this circuit. It works fine with normal Zener diode, however when I replaced it with the LM7812 it works fine but as time passes the regulator keeps getting very hot although the load is just 5mm LED. (I replaced it with a regulator because I need it to be more stable during current fluctuations.) Why is the LM7812 getting hot in this circuit?

Note: The circuit is fully covered inside a plastic enclosure and it would be just used to drive an op-amp without any human interference.

edit: the input voltage for the LM7812 is 60Vdc at 25C

edit 2:tried using LM7824 the voltage just dropped dramatically to 3.4V and the 120ohm started a magic smoke

it would be used in an unstable power area with current fluctuations enter image description here

  • What's the input voltage to regulator, and how much is the LED current? Does the LED have a resistor or is it just connected directly to 12V? Or is it some sort of 12V LED module? Please add in more info about your circuit. – Justme Jun 21 '23 at 22:30
  • sorry for the lack of information, the input voltage to the regulator as I measured is 60V, yes it exceeds the datasheet specs for that I limited it with 330ohm resistor. yes the led has a 680ohm resistor connected in series and it draws maximum of 20ma – Hazardous Voltage Jun 21 '23 at 22:48
  • 3
    Please _edit your question_ with the information about the input voltage to the regulator. It's a Stackexchange thing -- the questions and answers should be stand-alone, without anyone having to dig through the comments to understand them. So when you have additional information or corrections -- edit the question. – TimWescott Jun 21 '23 at 22:55
  • @HazardousV I'm getting the idea that you seem *stuck* on supplying from a 60 V supply -- that you intend on keeping it for whatever reasons but that from it you'd like 12 V, as well. It sounds as though you are only driving an LED from all this? Is all this work just to drive an LED at 20 mA? Or do you have other plans once the LED is working as you expect? (Note: 20 mA at 60 V is 1.2 watts. Only a tiny portion of that will be in the LED. Most of it elsewhere unless you go towards switching supply.) – periblepsis Jun 22 '23 at 00:21
  • @periblepsis I had stated what is the use of it in the question above, it would drive an op amp(lm358) – Hazardous Voltage Jun 22 '23 at 02:51
  • @HazardousV The opamp will be itself driving some circuitry. I'm wondering about everything that follows. – periblepsis Jun 22 '23 at 04:48
  • no it won't drive a big load circuitry it would be just an optocoupler so quite low power – Hazardous Voltage Jun 22 '23 at 17:58

4 Answers4

4

The LM7812 is rated for 40V on the input. At some point above that, it will start drawing excessive current.

I can't say for sure, but I assume that what's happening with your circuit is that the regulator is starting to draw that excessive current at around 60V, and is, basically, acting like a zener diode.

60V on the regulator implies over 200V across that 330 ohm resistor; that implies around 600mA through the resistor and regulator.

600mA at 60V is around 36 Watts -- which would make for a very hot regulator indeed.

TimWescott
  • 44,867
  • 1
  • 41
  • 104
2

C6 pushes current into C5, without a load the voltage will go up until LM7812 over voltages and dies. You are seeing that happening. I added a Zener across C5 to eat up excess current. It will get hot/worm because it must take all the power that is not sent out to the load. A LM78xx needs an input capacitor or it might oscillate. You could use 3 to 5, 5.1V Zeners in series. I have used 3V white LEDs as a Zener.
Reducing the value of C6 will reduce the power.

enter image description here

ronsimpson
  • 866
  • 1
  • 7
  • I get your point, but would it be better if we used a resistor in series with the Zener diode so it gets less warm because I need it somehow to be stable and works for a long time? I will update the design and put the input capacitor and use a feedback diode too. – Hazardous Voltage Jun 22 '23 at 02:54
  • @HazardousVoltage if you put a resistor on series with the zener, then the zener would be less effective at preventing the LM7812 from being destroyed by over voltage. – brhans Jun 22 '23 at 03:58
  • do you have an idea how should I calculate the resistor for the Zener? – Hazardous Voltage Jun 22 '23 at 17:58
1

The LM7812 datasheet indicates that a 0.33\$\mu\$F capacitoris required at the input for stability if located an appreciable distance from the input filter. R7 essentially isolates the regulator from the input filter C5. The regulator is oscillating and getting hot.

Add a 0.33V\$\mu\$F capacitor from the regulator input to ground as close the the regulator as possible.

The output capacitor is required to be only 0.1\$\mu\$F. It can be higher to improve transient response to load changes. So the 10\$\mu\$F may be ok.

Addition from comments: The input to the regulator of 60V will damage the regulator. The 330 ohm resistor will not solve the problem.

There will be an approximately 58V drop accros the regulator, which at 20mA is 1.16 watts of power dissipation. The regulator will still get hot.

You must reduce the input voltage to a reasonable value before the 7812. OR. You can use a switcing regulator to reduce the 60V to 12V.

RussellH
  • 12,496
  • 2
  • 9
  • 34
1

Say the LED and regulator draw 25mA, 330 ohms will only drop 60V to about 52V.

That's still over maximum input voltage limit.

Even if input was 40V and 25mA load, it will need to dissipate 0.7W.

Assuming a generic TO220 case with abput 70°C/W thermal resistance, 0.7W makes it heats up by about 50 degrees C from ambient, so assuming 25 degrees C room temperature, the regulator will be at 75 degrees C.

Justme
  • 127,425
  • 3
  • 97
  • 261
  • then can I use diode Zener to drop the voltage to 15V and then put it to a regulator the problem that this circuit would be used in unstable electricity place so I need it to survive as long as possible – Hazardous Voltage Jun 21 '23 at 22:59
  • @HazardousVoltage The zener diode will dissipate heat, around 45*0.02 = 0.9 W. For a small zener, it will get hot unless you mount it on a heat sink. A switching regulator would be a better solution than a linear regulator. – qrk Jun 21 '23 at 23:09
  • it would be better to keep it simple so is it possible if I could step the voltage down by changing the capacitor or other solution? – Hazardous Voltage Jun 21 '23 at 23:12