panfilero <(E-Mail Removed)> writes:
>Hello,
>ok, I'm looking at the datasheet for a 12V voltage regulator...
>LM340-12.... here's the datasheet:
>http://www.national.com/ds/LM/LM340.pdf
>On the first page under Typical Applications theres a schematic
>titled: adjustable output regulator... and I can't figure it out,
>there's an equation there for Vout, but to me it looks like Vout would
>be 12V because it's from the output pin to ground... there's a voltage
>divider with a pot, but I don't see how the pot does anythign since
>Vout is taken from Vout pin with respect to ground... Woooo but the
>ground pin of the voltage regulator is in the middle of the votlage
>divider.... so there is 12V across R1.... I'm confused.
Just about the only sane way to use this particular voltage regulator is
as a fixed-voltage regulator at the voltage it's designed for (12 V), or
possibly slightly higher. If you want to adjust the voltage, there are
much better options - e.g. the LM317.
>Basically I want to use this voltage regulator as an adjustable
>voltage out... I was originally just planning to put in a voltage
>divider to ground at the Vout pin and have one of the resistors be a
>pot and take my voltage out from the middle of the divider...
>would my way be ok? or is there a beinifit to folowing the example on
>the datasheet?
Your approach will work fine if the voltage out of the pot has
essentially zero load on it - e.g. if it's connected to one input of a
DMM. But if it's supplying any significant amount of current to
anything, then the "adjusted" voltage will be pulled down by the extra
load that's effectively in parallel with the lower half of the pot.
Worse, if the load varies, the voltage will vary too. You can reduce
the amount of variation by using a lower-resistance pot, but then it
wastes more power in the pot itself.
Plus you need to watch the maximum rating of the pot. A 1/4 W pot
means it can dissipate 1/4 W over the entire resistance element. But if
you have the shaft set to the 90% position, all the load current is
passing through only 10% of the pot element, and it can handle only 25
mW. In practice, this means there's a maximum current it can handle no
matter the shaft position. For example, a 1/4 W pot across 12 V can
handle about 144 mA - and that's the sum of the load current *plus* the
current dumped through the pot itself.
In contrast, if you use a LM317, you can also use a pot to set the
output voltage, but the pot wiper is connected to the regulator's
adjustment terminal, not the load. The pot handles a few mA of current
in the voltage divider, so there's no heating to worry about. You can
easily adjust the output voltage from about 1.25 V up to 30 V or so, and
the voltage will remain constant under a wide range of load current.
And that's what you want a regulated power supply to do!
Lookup up the LM317. It requires at most a few more parts around it
than a fixed regulator, but it's much more flexible.
Dave