Using The LM317T To Regulate Voltage
Using The LM317T To Regulate Voltage
Use an LM317T to regulate voltage in renewable energy projects
electric circuit | electronics
The
LM317T Voltage Regulator is an
integrated circuit which is very useful in many
renewable energy applications. It can be used to regulate current - for example to
regulate the current in a string of LEDs - or it can be used to provide a stable
fixed voltage output.
*
We have LM317T integrated circuits available in the REUK Shop.
Regulating Voltage with an LM317T
R1 is typically a 240 Ohm resisitor and should be in the range of 100-1000 Ohms. The voltage across
R1 is 1.25 volts - the reference voltage from the ADJ leg of the LM317T - and so there is a 1.25/240 = 5 milliamp load. Using a 120 Ohm resistor for
R1 would give the regulator a load of 10 milliamps which helps to give slightly better accuracy.
The value of
R2 is used to set the
output voltage of the circuit according to the following equation:
|
VOUT = 1.25 * ( 1 + R2/R1 )
|
which can be rearranged to give:
|
R2 = R1 * ( (VOUT/1.25) -1 )
|
NEW We now have a handy
LM317 Voltage Calculator which calculates
R2 for any given value of
R1 and desired output voltage. On the same page are two comprehensive tables (one grid, and one sorted list) presenting the output voltages given by different combinations of the most commonly found stock resistors.
Example - Recharging a Mobile Phone Battery from a 12V Battery Bank with an LM317T
Therefore, if for example you decide to recharge your mobile phone battery directly from a 12 Volt (nominally)
battery bank you would typically need a voltage output of around 5 volts, and an output current of around 500ma. The
LM317T can handle average currents of up to 1.5 Amps so it will work well in this situation.
Assuming that a standard 240 Ohm resistor is used as
R1 all we have left to do is calculate the value of
R2 with a target output voltage of 5V:
|
R2 = 240 * ( (5/1.25) -1 ) = 720
|
Therefore since no-one manufactures 720 Ohm resistors, use the next larger available size - a 750 Ohm resistor.
LM317T Voltage Regulation Accuracy
In all these calculations it is important to remember that typical resistors have error ranges of up to 5%, and that the reference voltage of the
LM317T can vary from 1.2 to 1.3 Volts - another 5% of error. Therefore if you cannot afford for the output voltage to be as much as ±10% away from the required voltage - an adjustable trimming
potentiometer should be used for all or part of
R2 enabling you to adjust the value of R2 until the output voltage is the chosen value.
Article Last Modified: 15:04, 7th Mar 2008Comment on this Article
If you have any comments on this article, please email them to
neil@reuk.co.uk.
Recommended Related Articles
People who read this article also enjoyed the following articles:
LM317 Voltage CalculatorA handy online output voltage calculator for the LM317, LM338, and other linear voltage regulators
Article Last Modified: 12:47, 12th Mar 2008electric circuit | electronics | generalUsing The LM317T With LED LightingUse an LM317T to regulate the current in LED lighting projects
Article Last Modified: 12:47, 12th Mar 2008lighting | electric circuitLM317T Voltage Regulator ChipLearn about the LM317T and its uses in renewable energy projects
Article Last Modified: 14:35, 9th Sep 2008electronics | electric circuitLM317 Current CalculatorA handy online output current calculator for the LM317, LM338, and other linear voltage regulators
Article Last Modified: 12:47, 12th Mar 2008electric circuit | electronics | generalZener Diode Voltage RegulatorMake a simple zener diode voltage regulator
Article Last Modified: 17:31, 7th Mar 2008electric circuit | educationSolar Battery Charger With LM317TFind out how to make a current controlled solar battery charger using an LM317T
Article Last Modified: 09:34, 30th Mar 2007solar | education | electric circuitHigh Current Voltage RegulationConnect voltage regulators in parallel to increase the current which can be regulated
Article Last Modified: 17:16, 5th Dec 2007electric circuit | electronics | generalMake a Simple Battery Status MonitorMonitor battery status with this easy electric circuit project - no skill required!
Article Last Modified: 12:33, 16th Mar 2007storage | electric circuitLM317T HeatsinkingChoosing a heatsink for use with an LM317T voltage regulator
Article Last Modified: 12:40, 2nd Mar 2009electric circuit | generalHigh Capacity Alternative to 9 Volt BatteryGet ten times the capacity of a 9 Volt battery to power your devices
Article Last Modified: 15:58, 10th Sep 2008general | electric circuit | solar