# LM318 (LM317) get really hot... not as I expected - can someone help?

#### rvflores

Joined Nov 20, 2015
7
I have small project where I used a power supply supplying 15Vdc wired to LM318T to output 5.1Vdc. I am trying to drive a load of 21 LEDs. Each LED is wired in parallel with 100 ohm resistor. I was trying to "turn on" the load with a transistor hook up with a photo-resistor so it turns the LEDs on at night. By my calculations: 3.2V with 100 ohm resistance = 19mA = ~20mA. Load total = 20mA x 21 = 420mA. P = 3.2V x 0.420A = ~1.3W. The transistor is 1300d. I hooked up 100 ohm resistor to same 5.1V supply to the base of the transistor. The load is between the 5.1V supply to the collector. Emitter to ground. The LM318T begins fine but then begins to heat up rapidly. I do have the LM318T mounted to a heat sink. Is it suppose to get really hot? Did I miss calculate?

#### Wendy

Joined Mar 24, 2008
22,547
Try drawing a schematic and posting it, schematics are the language of electronics.

#### rvflores

Joined Nov 20, 2015
7
Try drawing a schematic and posting it, schematics are the language of electronics.
Understand. Trying... BUT my computer and I are at war!

#### Dodgydave

Joined Jun 22, 2012
10,050
Understand. Trying... BUT my computer and I are at war!
Sounds familiar. Doh!

#### wayneh

Joined Sep 9, 2010
17,153
So your op-amp is being asked to supply (5.1-0.7)V/100Ω=43mA into the base of the transistor. The data sheet says the absolute maximum output current for your amp is about 21mA, falling to 18mA at 70°C. You're surprised that it's getting hot?

#### rvflores

Joined Nov 20, 2015
7
@Dodgydave - I used the wife's computer which came w/Win8. That was a bust. Upgraded to Win10. Hate it! I thought Win7 was finally a good, stable product then they put this garbage out.... but that's a different thread. ;-)

#### Dodgydave

Joined Jun 22, 2012
10,050
As per post#5, your op amp is overloaded, use a lm7805 to drop voltage to 5v.

#### rvflores

Joined Nov 20, 2015
7
@wayneh Yeah, well, I guess I read the spec sheet wrong. Hate when that happens. I thought the transistor needed the 43mA Ib to turn fully on for 420mA load.

#### rvflores

Joined Nov 20, 2015
7
Thanks DodgyDave & Wayneh for the help!

#### wayneh

Joined Sep 9, 2010
17,153
@wayneh Yeah, well, I guess I read the spec sheet wrong. Hate when that happens. I thought the transistor needed the 43mA Ib to turn fully on for 420mA load.
Well yes, it probably does. But that op-amp can't even supply the base current, let alone all the LED current as well. It's severely overloaded. As noted, if you want 5V, use a 7805. Or you could just use different resistors with your 15V supply voltage is, as long as it is somewhat regulated.​

Last edited:

#### rvflores

Joined Nov 20, 2015
7
I replaced the not-so-solar outdoor lamps with the LEDS so I don't want to re-solder new resistors! ;-)
Thanks again for the circuit analysis! Much appreciated!

#### #12

Joined Nov 30, 2010
18,223
The LM318 is an op amp.
The schematic in post #6 had me convinced it was a voltage regulator.
Sorry, I don't seem to be quite up to speed right now.
I've been crawling around a truck today, looking for a ground fault. Brain might be affected by overheating.

#### absf

Joined Dec 29, 2010
1,949
Refering to the schematic drawn by TS at post#6, I think he must have mistaken the LM318 (op-amp) for LM317 (voltage regulator). See simulation attached.

There is no way an op-amp can fit in that circuit.

Allen

Last edited:

#### DickCappels

Joined Aug 21, 2008
7,739
It is probably a type when trying to type LM317. It is available in the T package TO-220).

#### ScottWang

Joined Aug 23, 2012
7,065
LM317 is a voltage regulator and LM318 is an op amp, the number as a series and relative, ha ha, these are the numbers easy to confuse.

#### rvflores

Joined Nov 20, 2015
7
Yes, I missed typed - it is a lm317t. Which, after confirming the spec sheet says it can handle 1.5A loads.

So I am still puzzled?

#### Alec_t

Joined Sep 17, 2013
12,208
15V in, 5V out and a current of 420mA means that the LM317T is being asked to dissipate 4.2W. That will require quite a large heatsink if you want the IC to run cool. Sure it could handle 1.5A, but that would require an even larger heatsink.

#### spinnaker

Joined Oct 29, 2009
7,835
Yes, I missed typed - it is a lm317t. Which, after confirming the spec sheet says it can handle 1.5A loads.

So I am still puzzled?
18 posts later.
You weren't the only one that was puzzled.

If it is a lm317 and indeed wired as in your post then it is wired wrong.

In addition, you are dropping 10 VDC, It will get hot even if it is really wired correctly. Use a input voltage closer to you required output or use a switching power supply. They can be purchased on eBay.