# LM317 voltage regulator circuit

Discussion in 'Homework Help' started by notoriusjt2, Dec 15, 2010.

1. ### notoriusjt2 Thread Starter Member

Feb 4, 2010
209
0

allright. I pulled up the LM317 spec sheet and found the following

so....here is the work I have based on this equation

I am wayyyyy off base here. what am I doing wrong?

2. ### t_n_k AAC Fanatic!

Mar 6, 2009
5,448
784
The adjustment pin current is typically a max of ~5uA for the LM317. You appear to have Iadj = 0.01A - which is way off.

3. ### Wendy Moderator

Mar 24, 2008
21,012
2,745
In R2 of your schematic (your diagram and the application notes have reversed designations) you have 100Ω. Since the method the LM317 uses is to maintain 1.25V between the output pin and adjust you should be able to figure current. The current through R2 is the same as through R1. From there it is gravy.

4. ### Jony130 AAC Fanatic!

Feb 17, 2009
4,175
1,188
Iadj is 50uA typical, and 100uA=0.0001A max.

But this circuit can be treat as a voltage divider.
Since R2 = 100Ω and voltage across R2 is equal 1.25V we have
IR1 = 1.25V/100Ω = 12.5mA
And the current that is flow through R1 is equal
IR2 = Iadj + IR1 = 12.6mA
And we want Vo = 15V----> VR1 = 15V - 1.25V = 13.75V

R1 = 13.75V/12.6mA = 1.09126984KΩ

$R1=R2*\frac{Vout-1.25V }{1.25V+I_{ADJ}*R2}$

Or

$R1=R2*(\frac{Vout }{1.25V}-1)$

Last edited: Dec 16, 2010
5. ### Kermit2 AAC Fanatic!

Feb 5, 2010
4,165
1,121
The position of R2 and R1 are different in your problem and in the example you posted. Go back a redo the math and notice carefully how the fraction made by the resistor values is arranged in the example and how the Resistors in the problem are the reverse.

6. ### t_n_k AAC Fanatic!

Mar 6, 2009
5,448
784
Agreed - I misread the data sheet. Looked at the adjustment pin current change row rather than the actual value. I can only put it down to deteriorating vision.

Apologies for the misinformation.

7. ### notoriusjt2 Thread Starter Member

Feb 4, 2010
209
0

what is the variable "Uwy" referring to?

8. ### Jony130 AAC Fanatic!

Feb 17, 2009
4,175
1,188
Well in my country "Uwy" means exactly the same as Vout in english.
And sorry for confusion

9. ### notoriusjt2 Thread Starter Member

Feb 4, 2010
209
0

no worries... what country is that?

Feb 17, 2009
4,175
1,188
11. ### notoriusjt2 Thread Starter Member

Feb 4, 2010
209
0

thats a great explanation.

I = 0.0125A

R = 13.75/0.0125 = 1100

which is basically the same answer that was derived by Jony130

however, this answer was listed as wrong

what are we doing wrong here?

12. ### notoriusjt2 Thread Starter Member

Feb 4, 2010
209
0
what is the dropout voltage? could that have anything to do with it?

13. ### Jony130 AAC Fanatic!

Feb 17, 2009
4,175
1,188

As for the dropout voltage some times called headroom voltage read this
http://en.wikipedia.org/wiki/Dropout_voltage

14. ### notoriusjt2 Thread Starter Member

Feb 4, 2010
209
0
per wikipedia

"In electronics, the dropout voltage of a voltage regulator is the smallest possible difference between the input voltage and output voltage to remain inside the regulator's intended operating range."

so if I understand correctly the dropout voltage has no effect on what the output voltage will be.

15. ### notoriusjt2 Thread Starter Member

Feb 4, 2010
209
0
I am to the point now where I am mindlessly staring at this problem... ugh

Apr 5, 2008
17,141
3,009
17. ### notoriusjt2 Thread Starter Member

Feb 4, 2010
209
0
but my schematic looks different from the one that is in that PDF

for example

what values should I use for Rwp and Rwn?

Apr 5, 2008
17,141
3,009
Hello,

Rwn and Rpn are the resistances of the wires from the regulator to the load.
These will be dependend on the used wire, but can be dismissed when using small loads, as the values are mosttimes very small.

Bertus

19. ### notoriusjt2 Thread Starter Member

Feb 4, 2010
209
0
allright so in the equation they are subtracting (IL*Rwp), which in reality is the voltage drop of the wire. since this loss is negligible we will disregard it.

R2 should be -88

also incorrect

Feb 17, 2009
4,175
1,188