Shop OBEX P1 Docs P2 Docs Learn Events
Voltage Regulator 7805 (5v) Overheats Without Heatsink — Parallax Forums

Voltage Regulator 7805 (5v) Overheats Without Heatsink

MahonroyMahonroy Posts: 175
edited 2014-10-13 11:38 in Propeller 1
Hey guys,
I have a circuit that is powered from a 13.5v - 15v power source. I am running this into a 12v voltage regulator, and a 5v voltage regulator. After roughly 30 seconds to a minute, the 5v voltage regulator overheats and the voltage drops down to 2.5v or so.

I put a heat sink on the 5v voltage regulator, and the problem is 100% fixed, but this thing still gets really hot! It has not overheated and malfunctioned since though.

So my question is, is this a reliable design? I was considering putting a 9v voltage regulator in front of the 5v voltage regulator, so it does not have to dissipate so much in the form of heat... but then my circuit would have 4x voltage regulators in it (12v, 9v, 5v, 3.3v). Would this be the proper way of doing it though or is there something I am missing? Should I get a 5v voltage regulator that has a higher heat rating, and just stick with the heatsink as well? Thanks and any help/advice is greatly appreciated!
«13

Comments

  • Heater.Heater. Posts: 21,230
    edited 2014-10-10 11:24
    How much current is you circuit drawing at it's final regulated voltage?

    If you have to drop 15 volts down to 3.3 volts at one amp that's 11.7 * 1 = 11.7 watts of power that must be dissipated in the regulator.

    That will make them very hot, and fail, unless you have a huge heat sink.

    That is assuming your regulators are linear devices like the 7805. Very inefficient.

    At this point you will want to look at switched mode regulators. Which are much more efficient.

    There are many such switched mode regulators you can find on the net or if you are feeling brave make your own with a device like the MC34063. It's not so hard.
  • MahonroyMahonroy Posts: 175
    edited 2014-10-10 12:09
    Heater. wrote: »
    How much current is you circuit drawing at it's final regulated voltage?

    If you have to drop 15 volts down to 3.3 volts at one amp that's 11.7 * 1 = 11.7 watts of power that must be dissipated in the regulator.

    That will make them very hot, and fail, unless you have a huge heat sink.

    That is assuming your regulators are linear devices like the 7805. Very inefficient.

    At this point you will want to look at switched mode regulators. Which are much more efficient.

    There are many such switched mode regulators you can find on the net or if you are feeling brave make your own with a device like the MC34063. It's not so hard.

    Thanks for the reply! I measured it at 16 mA.
    Its actually dropping down to the 5v voltage regulator, the 3.3 voltage regulators input is connected to the 5v output.
  • davejamesdavejames Posts: 4,047
    edited 2014-10-10 12:11
    Mahonroy wrote: »
    Thanks for the reply! I measured it at 16 mA..

    May I ask how you measured the current?
  • MahonroyMahonroy Posts: 175
    edited 2014-10-10 12:27
    davejames wrote: »
    May I ask how you measured the current?

    I broke the "power in" wire, and ran one end in to the negative terminal on the volt meter, and the other end to the positive terminal on the volt meter. I connected the volt meter terminals to the common and mA reading, then clicked it over to read mA, and it read 16mA.
    I'm a bit of a newb when it comes to electronics (I'm a software engineer), so let me know if I didn't do this correctly haha.

    EDIT:
    Yep sure enough, I didn't measure it right... broke the wrong wire.

    Ok I got 180mA now, it should be right.
  • Heater.Heater. Posts: 21,230
    edited 2014-10-10 12:39
    OK, the power dissipated in your regulator is something like 180ma times 10 volts.

    Still something like 2 watts.

    I would have thought a reasonable heat sink would be enough to handle that and everything would be OK.

    What kind of heat sink do you have? Do you have any thermal compound in there?

    Does efficiency matter to you?
  • MahonroyMahonroy Posts: 175
    edited 2014-10-10 12:46
    Heater. wrote: »
    OK, the power dissipated in your regulator is something like 180ma times 10 volts.

    Still something like 2 watts.

    I would have thought a reasonable heat sink would be enough to handle that and everything would be OK.

    What kind of heat sink do you have? Do you have any thermal compound in there?

    Does efficiency matter to you?

    Yes you are correct, I am using this heatsink: http://i01.i.aliimg.com/img/pb/949/985/512/512985949_485.jpg
    And everything is working fine with this heatsink. Without the heat sink is when it overheats. When I'm assembling these things, I will use thermal compound for a better thermal connection, but not currently using any.

    Efficiency does not matter to me, I just want it to work and be reliable. For instance after this device is enclosed inside a metal box, is in a warm room, etc. I don't want it to have any failures... I just am not sure if this is an acceptable design or not. But if this is all perfectly normal and if this is how its done, then I'm fine with that. I just don't know any better is all.
  • davejamesdavejames Posts: 4,047
    edited 2014-10-10 12:53
    Mahonroy wrote: »
    For instance after this device is enclosed inside a metal box, is in a warm room, etc. I don't want it to have any failures... .

    That's a tiny heatsink.

    Also, remember, if you mount all this in a closed case, where is the heat to go? The case will require ventilation of some sort.
  • DomanikDomanik Posts: 233
    edited 2014-10-10 13:52
    Mahonroy,

    Here's a slick little device that will drop your 15V down to 5V --- it's a switching regulator with all the parts packed into small package.
    http://www.adafruit.com/product/1065

    I haven't tried it but at 1A output it should handle your 180ma okay. At 90% efficiency it shouldn't even get warm; ie no heatsink.

    Another option is to put a 50 ohm 2 watt resistor in series with the linear regulator. That way the resistor bears the brunt of the heat. Or ten 500 ohm 1/4 watt resistors connected in parallel (instead of the 50 ohm) would also do the trick. Kludgy approach, but it'll get the job done cheap and make your LDO reliable. ---:zombie:

    1st approach = $14 + shipping, 2nd = $1

    Dom..
  • Cluso99Cluso99 Posts: 18,069
    edited 2014-10-10 14:43
    Try using the switcher R-78E5.0-0.5 DigiKey #945-1648-5-ND at $2.84.
    Input 7-28V, output 5V 500mA max.
    Its similar to the adafruit but way cheaper. I use it on a commercial board.
    http://www.digikey.com/product-detail/en/R-78E5.0-0.5/945-1648-5-ND/2834904
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2014-10-10 15:20
    Cluso99 wrote: »
    Try using the switcher R-78E5.0-0.5 DigiKey #945-1648-5-ND at $2.84.
    Input 7-28V, output 5V 500mA max.
    Its similar to the adafruit but way cheaper. I use it on a commercial board.
    http://www.digikey.com/product-detail/en/R-78E5.0-0.5/945-1648-5-ND/2834904

    ditto that, this is the part to use because it plugs in the same way as a 7805 AND it's cheap and I use it commercial product all the time now (used to do my own).

    Mahonroy, once you use a switching regulator the 5V load will still be 180ma = 0.9W but the 15V current will probably be around 70ma.

    The linear solution while fine for testing is not something you want to build into a box and leave running as the heat will eventually cause something to fail, either the regulator or in other cases (not yours) it drys out the electrolytic capacitor on it's input (from an AC supply).
  • DomanikDomanik Posts: 233
    edited 2014-10-10 16:56
    Ditto, ditto that, the R-78E5.0-0.5 sounds like the perfect solution - cost effective and efficient...
  • davejamesdavejames Posts: 4,047
    edited 2014-10-10 20:48
    ,,,once you use a switching regulator the 5V load will still be 180ma = 0.9W but the 15V current will probably be around 70ma.

    You lost me. :confused:
  • Heater.Heater. Posts: 21,230
    edited 2014-10-10 21:17
    Davejames.

    The power consumed by your circuit is given by the current it consumes multiplied by the voltage it runs at:

    P = I * V

    Where P is the power in Watts, I the current in Amps and V the voltage in Volts.

    For example if it sucks 500ma at 3.3v the power consumption is 0.5 * 3.3 = 1.65 Watts.

    But now, if that voltage is provided by a regulator dropping down some higher input voltage what would the to total circuit look like from the outside?

    Say we had a 15 volt input. The power consumed by the entire circuit, assuming a 100% efficient a regulator, is still P = I * V but now the V is 15 volts. So we have P = I * 15 watts.

    But that P is the same P we had before, 1.65 watts. So we have:

    1.65 = I * 15

    or

    I = 1.65 / 15 = 0.11 = 110 ma.

    Much less than the current drawn by our target circuit.

    Point is that energy is conserved here. If volts go down current must go up and vice versa.

    Of course if your regulator is not 100% efficient this does not work out exactly.
  • Heater.Heater. Posts: 21,230
    edited 2014-10-10 22:35
    Davejames,

    I suppose I should clarify that the above post deals with a lossless regulator. Switching regulators can be very efficient so this is a good start.

    As opposed to the good old fashioned linear regulators which can be thought of as just a resistor that magically changes it's resistance so that the output voltage remains constant.

    For a linear regulator the current at the input to the regulator is the same as the current through your end circuit.

    That in turn means the regulator is consuming power P = I * V. Where the V is the voltage dropped across the regulator Vin - Vout.

    This can get big when input voltages are large, output voltages are small and circuit current consumption goes up. Hence the need for heat sinks. Ans why a switching regulator is preferred here.

  • MahonroyMahonroy Posts: 175
    edited 2014-10-11 07:44
    Thanks for the advice! I'll definitely try out the switching regulator.
    Do you recommend I have the output of my 12v linear regulator connected to the input of this 5V switching regulator? Otherwise, the main power is 13V to 15V, I could run this to the 5v switching regulator instead if it still plays nice with a non constant input?
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2014-10-11 08:32
    Mahonroy wrote: »
    Thanks for the advice! I'll definitely try out the switching regulator.
    Do you recommend I have the output of my 12v linear regulator connected to the input of this 5V switching regulator? Otherwise, the main power is 13V to 15V, I could run this to the 5v switching regulator instead if it still plays nice with a non constant input?

    Why do you have a 12V regulator, is it that you need exactly 12V because if that is the case then that's not guaranteed if you only have 13V supply, it needs more "headroom". The +5V switching regulator is fine for up to 28VDC so you don't need to feed it from another regulator. As they are designed as regulators they respond both to line variations (input input) and load variations, that's what they do, otherwise what's the point of that 12V regulator? I suspect what you really need is to feed the nominal 12V supply direct into the 5V switcher.
  • shimniokshimniok Posts: 177
    edited 2014-10-11 09:00
    Mahonroy wrote: »
    Hey guys,
    I have a circuit that is powered from a 13.5v - 15v power source.

    The heat is inevitable. The 7805's are linear regulators which means they typically convert voltage to heat. :) When your dropout voltage is upwards of 10V that ends up being a lot of heat.

    For example, I had a Sony home theater receiver once that used a 7805 to convert 12V to 5V. It had a heatsink but not enough because after 10 years the heat killed the regulator.

    If you can run it off a lower voltage, you'd avoid the heat problem. Or, you can stick a big heatsink on the 7805 and it'll probably be fine. TO220's have pretty excellent heat dissipation.

    You might look at Pololu for switch mode power supplies -- buck regulators -- that efficiently convert between voltages. They're inexpensive and work well.

    I've been playing with surface mount LM2940's which are automotive grade regulators. Apparently they have a circuit that reduces heat dissipation when the regulator is operating at a dropout voltage in excess of the LDO range.

    Michael
  • davejamesdavejames Posts: 4,047
    edited 2014-10-11 09:41
    Heater. wrote: »
    Davejames.

    The power consumed by your circuit is given by the current it consumes multiplied by the voltage it runs...et al)

    Heater - I guess I didn't ask my question clearly.

    I was confused by Peter's inference that two in-series regulators would each have different currents flowing.

    The basic concepts you succinctly explained, I'm familiar with.
  • Heater.Heater. Posts: 21,230
    edited 2014-10-11 09:49
    Ah, now I'm confused:)

    Surely one can put any number of switching regulators in series and the currents will be different between each stage as the voltages are boosted or bucked. After all the power (I*V) flowing between each stage must be the same. Assuming 100% efficiency of course.

    Or do you mean something else?
  • davejamesdavejames Posts: 4,047
    edited 2014-10-11 09:58
    Heater. wrote: »
    Or do you mean something else?

    ...gonna have to go draw some diagrams to help in the discussion. It'll be awhile as I need to spend the rest of the day hanging kitchen cabinet doors.
  • w4fejw4fej Posts: 264
    edited 2014-10-11 10:58
    Cluso99 wrote: »
    Try using the switcher R-78E5.0-0.5 DigiKey #945-1648-5-ND at $2.84.
    Input 7-28V, output 5V 500mA max.
    Its similar to the adafruit but way cheaper. I use it on a commercial board.
    http://www.digikey.com/product-detail/en/R-78E5.0-0.5/945-1648-5-ND/2834904

    Interesting thread. Can someone verify that this would be a drop in for our old favorite 7805?? If the pin spacing is the same as the 7805 I think I'll replace it on my latest project given the issue of the 5 vdc regulator on the Prop Proto board (the one no longer available...) ooops, my bad, I meant it would be a replacement on my SpinStudio Prop Proto board (no longer available) .

    This application would put the device in an enclosure close to a HF communication receiver. Switching noise??

    Mike B.
  • frank freedmanfrank freedman Posts: 1,983
    edited 2014-10-11 11:41
    If you are using a metal box consider mounting the regulator(s) to the case. You can isolate them using the usual thin insulators that are supplied with their part (nte/ECG anyway) or other sources. There are even now thin rubber like silicone insulators that conduct heat nicely without the white paste goop. Just depends on how hot the part gets and the surface area of the metal case. There are insulators for the screws as well so no voltages exposed outside of the enclosure.

    /QUOTE=Mahonroy;1297785]Yes you are correct, I am using this heatsink: http://i01.i.aliimg.com/img/pb/949/985/512/512985949_485.jpg
    And everything is working fine with this heatsink. Without the heat sink is when it overheats. When I'm assembling these things, I will use thermal compound for a better thermal connection, but not currently using any.

    Efficiency does not matter to me, I just want it to work and be reliable. For instance after this device is enclosed inside a metal box, is in a warm room, etc. I don't want it to have any failures... I just am not sure if this is an acceptable design or not. But if this is all perfectly normal and if this is how its done, then I'm fine with that. I just don't know any better is all.[/QUOTE]
  • Cluso99Cluso99 Posts: 18,069
    edited 2014-10-11 13:58
    The R-78E5.0-0.5 regulator is 0.1" pitch and is a drop in replacement for the 7805 (ie pinout) providing you have sufficient space for the block. See the specs on DigiKey.
    As for EMI, I can only say that these pass EMI for FCC and CE with our 3 propeller design. The only issue we had was the PWM output which was driving a transistor for the backlight of a 4x20 LCD display failed EMI. But since the backlight was less than 30mA we could remove the transistor and all passed.

    They are a great block device when you have large input voltages.
  • w4fejw4fej Posts: 264
    edited 2014-10-11 14:11
    Excellent news, thanks Cluso99, going to retrofit several boards..

    Mike B.
  • RDL2004RDL2004 Posts: 2,554
    edited 2014-10-11 15:01
    Surely one can put any number of switching regulators in series and the currents will be different between each stage as the voltages are boosted or bucked.

    The current doesn't change no matter what it goes through. If one amp enters a string of regulators, one amp comes out the other end.
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2014-10-11 15:10
    RDL2004 wrote: »
    The current doesn't change no matter what it goes through. If one amp enters a string of regulators, one amp comes out the other end.

    Linear regulators yes, but switching regulators convert by storing energy in an inductor. You are familiar with transformers where the secondary supplied 12VAC @2A for instance yet the primary that was connected to 120VAC only drew 200ma essentially. So if the output was supplying 24W (V*I) then 24W (power, not current) is what was consumed on the primary (but not counting losses).

    The losses inside a switching regulator depend upon the design itself, the components, the load current etc but are typically around 85% efficient. The losses are what generate all that heat in linear regulators so a linear regulator with 15V in and 5V out @1A would be trying to dissipate 10W which is way way too much even with a decent heatsink (that's a whole subject in itself too). Even though a 7805 might be rated for 1A that doesn't mean it can magically handle that no matter what and if you put in 15V and added a decent heatsink then you might find that you could squeeze 100ma out of the regulator before it overheats.
  • RDL2004RDL2004 Posts: 2,554
    edited 2014-10-11 15:15
    You are talking about power loss. That isn't the same as current. You can measure current at any point in a circuit, it will be the same everywhere.
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2014-10-11 15:24
    RDL2004 wrote: »
    You are talking about power loss. That isn't the same as current. You can measure current at any point in a circuit, it will be the same everywhere.

    You are talking through your hat, go read up on the subject.

    Power "loss" was mentioned simply to show that energy is lost in any conversion.
  • RDL2004RDL2004 Posts: 2,554
    edited 2014-10-11 15:51
    I didn't mention energy.

    I said that the current in a DC circuit is the same everywhere. If there is one amp going into a node, there is one amp coming out. Unlike voltage drops, there is no such thing as a current drop.
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2014-10-11 16:12
    RDL2004 wrote: »
    I didn't mention energy.

    I said that the current in a DC circuit is the same everywhere. If there is one amp going into a node, there is one amp coming out. Unlike voltage drops, there is no such thing as a current drop.

    So if I put a switching regulator in front of you with 15V in and we are drawing 5V @1A on the output you could show me the 1A on the input??? If you somehow managed to show me that then I would ask you where did the other 10W of energy go (5V @1A = 5W) because it is not even hot.

    But you will find that with 1A out you will probably only measure around 330ma or so on the input. Do you grok it now?
Sign In or Register to comment.