I'm using the LM317(adjustable voltage regulator). I had some problem getting the right output I want and finally I figured it out.
At first, to get the output of certain value I want, I referred the specification document and followed the application schematic that I attached. I put the R1 with 3K and R2 with 300 to get 1.3V output. But it didn't work. And I've struggled to figure out the reason. Finally, my colleague told me I need to use R1 with 240ohm and find out the value of R2 with respect to R1.He also said it is related to minimum load current.
And I did as he said and it's working now. And now I'm trying to figure out about what the minimum load current is and why I need to put 240ohm in R2.
I'm now seeing the inside schematic of LM317(attached), but I can't understand.
Can anybody explain about this?
Hi there,
Lets see if we can clear this mystery up once and for all
To start with, just forget about the 240 ohm resistor, forget about it completely for now. For one thing, designs can be made without using a 240 ohm resistor. Let me try to explain a little better here.
The output of the regulator MUST be LOADED to at least 5ma (10ma for some versions, but lets assume 5ma for this discussion). This is the minimum load talked about on the data sheet. It has almost nothing to do with the 240 ohm resistor. It's a specification independent of everything else. The output must see a load current of 5ma out of the output terminal, period. Note we dont have to mention any resistor values to understand that spec.
Then there is a second 'spec' that we have to ensure gets satisfied. The second spec is the voltage at the "ADJUST" terminal has to be equal to the desired output voltage minus 1.25 volts (approximate). This means if we want 5.00 volts output then we have to make sure we have 3.75 volts at the ADJ pin.
So we have to make sure of two different things at the same time...
1. Output is loaded to at least 5ma (for any example)
2. ADJ pin is 3.75 volts (for this example where we want 5v output)
Now lets say we have access to any parts we want and we can use anything we want to build this regulator.
We can easily get the ADJ pin to be 3.75 volts by simply connecting a battery or accurate power supply to that terminal with the positive connected to ADJ and the negative connected to ground. So we satisfy spec #2.
Now since we have 5v output, and 5ma is 5/1000, all we have to do is connect a 1k load resistor to the output to ground. That means we'll meet the 5ma minimum load condition. If the load we use already draws more than 5ma with no possibility of going lower, we would not need any resistor on the output, but we'll assume we want to make sure the regulator stays within regulation even without a load.
Since we met both spec's we're done, that's it.
Ok, so we met the spec's, and that regulator would run forever, but in doing so we used a voltage reference or battery to set the ADJ pin voltage, and normally we dont want to have to do that.
To fix that situation, we know that we have 5v coming out of the regulator and it's regulated, so we can connect a resistor divider from the output to ground and use the divider center tap to feed the adjust pin.
We know we need 3.75v at the ADJ pin, so lets start with a lower divider resistance of 3.75k. Because we have 5v output, that means the upper resistor of the divider will have to be 1.25k so that we get the required 3.75v at the ADJ terminal. Connecting those two resistors, we are again done, but this time we didnt need a separate voltage supply as we replaced it with a resistive voltage divider.
But note now we have three resistors, two for the divider, and one for the minimum load (5ma) requirement. Wouldnt it be nice if we could just use two resistors instead of three? What's the difference? Note that the resistive divider provides a DC path to ground for the output, and the 1k load resistor also provides a DC path to ground for the output. We dont need two DC paths to ground, so we try to get by with only one.
The only difference is that the three resistors provide BOTH a proper voltage reference AND a minimum load for the regulator. But to get by with only two resistors all we have to do is LOWER the total resistance of the resistive divider until it's total resistance is equal to the load resistor of 1k, and then that will provide the min current requirement. But we have to keep the voltage at the ADJ pin (divider center tap) at 3.75 volts to keep the output at 5v.
One way to accomplish this is to transform the impedance of the resistive divider to 1k without changing the RATIO of the two resistors. This is easy to do. Since 1.25K+3.75k is equal to 5k, if we want 1k we have to divide BOTH resistors by 5 (pretty simple).
Doing this with the 3.75k resistor we get 750 ohms, and doing this with the 1.25k resistor we get 250 ohms. So for the final design we use a 750 ohm resistor for the lower resistor and more notably, a 250 ohm resistor for the upper resistor.
Note that once we transformed the network we ended up with a resistor value close to 240 ohms for the top resistor. That's why the recommended value is usually 240 ohms.
Note also that the lower resistor changes when we want to change the output voltage to something other than 5 volts, but the upper resistor (250 ohms) does not change. Because that resistor does not change it is recommended for all designs, because using a 250 ohm resistor (or 240 ohms) ALWAYS FORCES us to choose a lower resistor who's value when combined with the upper resistor will always draw at least 5ma from the output.
So that's the reason behind using a 240 ohm resistor for the upper resistor. As noted, sometimes 120 ohms is required for the devices that insist on a 10ma min load current.
There's a small addition to this reasoning, and that is we also want to ensure that the divider resistance current swamps the bias current of the regulator so that we maintain decent output voltage temperature independence. 5ma does this pretty well, so in making sure we have 5ma flowing through the divider we also ensure getting decent temperature characteristics.