
The LM317 is an adjustable positive
linear voltage regulator
300px, Block scheme for voltage regulator in an electronic circuit
In electronics, a linear regulator is a voltage regulator used to maintain a steady voltage. The resistance of the regulator varies in accordance with both the input voltage and t ...
. It was designed by
Bob Dobkin in 1976 while he worked at
National Semiconductor
National Semiconductor Corporation was an United States of America, American Semiconductor manufacturing, semiconductor manufacturer, which specialized in analogue electronics, analog devices and subsystems, formerly headquartered in Santa Clara, ...
.
[U.S. Patent 4176308.](_blank)
"Voltage Regulator and Current Regulator", filed September 21, 1977.
The LM337 is the negative complement to the LM317, which regulates voltages below a reference. It was designed by
Bob Pease
Robert Allen Pease (August 22, 1940 – June 18, 2011) was an electronics engineer known for analog integrated circuit (IC) design, and as the author of technical books and articles about electronic design. He designed several very successf ...
, who also worked for National Semiconductor.
Specifications

Without a
heat sink
A heat sink (also commonly spelled heatsink) is a passive heat exchanger that transfers the heat generated by an electronic or a mechanical device to a fluid medium, often air or a liquid coolant, where it is thermal management (electronics), ...
at an ambient temperature at 50 °C, a maximum power dissipation of (T
J-T
A)/R
θJA = ((125-50)/80) = 0.98 W can be permitted.
In a constant voltage mode with an input voltage source at V
IN at 34 V and a desired output voltage of 5 V, the maximum output current will be P
MAX / (V
IN-V
O) = 0.98 / (34-5) = 32 mA.
For a constant current mode with an input voltage source at V
IN at 12 V and a forward voltage drop of V
F=3.6 V, the maximum output current will be P
MAX / (V
IN - V
F) = 0.98 / (12-3.6) = 117 mA.
Operation
As linear regulators, the LM317 and LM337 are used in
DC to DC converter
A DC-to-DC converter is an electronic circuit or electromechanical device that converts a source of direct current (DC) from one voltage level to another. It is a type of electric power converter. Power levels range from very low (small batteries) ...
applications.
Linear regulators inherently waste power; the power dissipated is the current passed multiplied by the voltage difference between input and output. A LM317 commonly requires a
heat sink
A heat sink (also commonly spelled heatsink) is a passive heat exchanger that transfers the heat generated by an electronic or a mechanical device to a fluid medium, often air or a liquid coolant, where it is thermal management (electronics), ...
to prevent the operating temperature from rising too high. For large voltage differences, the power lost as heat can ultimately be greater than that provided to the circuit. This is the tradeoff for using linear regulators, which are a simple way to provide a stable voltage with few additional components. The alternative is to use a
switching voltage regulator
A voltage regulator is a system designed to automatically maintain a constant voltage. It may use a simple feed-forward design or may include negative feedback. It may use an electromechanical mechanism or electronic components. Depending on the ...
, which is usually more efficient, but has a larger footprint and requires a larger number of associated components.
In packages with a heat-dissipating mounting tab, such as
TO-220
The TO-220 is a style of electronic package used for high-powered, through-hole components with pin spacing. The "TO" designation stands for "transistor outline". TO-220 packages have three leads. Similar packages with two, four, five or sev ...
, the tab is connected internally to the output pin which may make it necessary to electrically isolate the tab or the heat sink from other parts of the application circuit. Failure to do this may cause the circuit to short.
Voltage regulator

The LM317 has three pins: INput, OUTput, and ADJustment. Internally the device has a
bandgap voltage reference
A bandgap voltage reference is a voltage reference circuit widely used in integrated circuits. It produces an almost constant voltage corresponding to the particular semiconductor's theoretical band gap, with very little fluctuations from variatio ...
which produces a stable reference voltage of V
ref= 1.25 V followed by a feedback-stabilized amplifier with a relatively high output current capacity. How the adjustment pin is connected determines the output voltage as follows.
If the adjustment pin is connected to ground, the output pin delivers a regulated voltage of 1.25 V at currents up to the maximum. Higher regulated voltages are obtained by connecting the adjustment pin to a
resistive voltage divider between the output and ground. Then
:
V
ref is the difference in voltage between the OUT pin and the ADJ pin.
V
ref is typically 1.25 V during normal operation.
Because some quiescent current flows from the adjustment pin of the device, an error term is added:
:
To make the output more stable, the device is designed to keep the quiescent current at or below 100 μA, making it possible to ignore the error term in nearly all practical cases.
Current regulator
The device can be configured to regulate the current to a load, rather than the voltage, by replacing the low-side resistor of the divider with the load itself. The output current is that resulting from dropping the reference voltage across the resistor. Ideally, this is:
:
Accounting for quiescent current, this becomes:
:
LM317 can also be used to design various other circuits like 0 V to 30 V regulator circuit, adjustable regulator circuit with improved
ripple rejection, precision current limiter circuit, tracking pre-regulator circuit, 1.25 V to 20 V regulator circuit with minimum program current, adjustable multiple on-card regulators with single control, battery charger circuit, 50 mA constant current battery charger circuit, slow turn-on 15 V regulator circuit, ac voltage regulator circuit, current-limited 6 V charger circuit, adjustable 4 V regulator circuit, high-current adjustable regulator circuit and many more.
Compared to 78xx/79xx
The LM317 is an adjustable analogue to the popular
78xx
78xx (sometimes L78xx, LM78xx, MC78xx...) is a family of self-contained fixed Linear regulator, linear voltage regulator integrated circuits. The 78xx family is commonly used in electronic circuits requiring a regulated power supply due to the ...
fixed regulators. Like the LM317, each of the 78xx regulators is designed to adjust the output voltage until it is some fixed voltage above the adjustment pin (which in this case is labelled "
ground
Ground may refer to:
Geology
* Land, the solid terrestrial surface of the Earth
* Soil, a mixture of clay, sand and organic matter present on the surface of the Earth
Electricity
* Ground (electricity), the reference point in an electrical circ ...
").
The mechanism used is similar enough that a voltage divider can be used in the same way as with the LM317 and the output follows the same formula, using the regulator's fixed voltage for V
ref (e.g. 5 V for 7805). However, the 78xx device's quiescent current is substantially higher and less stable. Because of this, the error term in the formula cannot be ignored and the value of the low-side resistor becomes more critical.
More stable adjustments can be made by providing a reference voltage that is less sensitive than a resistive divider to current fluctuations, such as a
diode
A diode is a two-Terminal (electronics), terminal electronic component that conducts electric current primarily in One-way traffic, one direction (asymmetric electrical conductance, conductance). It has low (ideally zero) Electrical resistance ...
drop or a
voltage buffer. The LM317 is designed to compensate for these fluctuations internally, making such measures unnecessary.
The LM337 relates in the same way to the fixed
79xx regulators.
Second sources from Eastern Bloc
The LM317 has an East European equivalent, the B3170V, which was manufactured in the German Democratic Republic (East Germany) by
HFO (part of
Kombinat Mikroelektronik Erfurt
VEB Kombinat Mikroelektronik Erfurt was an important manufacturer of active electronic components in East Germany. It should not be confused with the more well-known VEB Kombinat Robotron Dresden which used integrated circuits from Kombinat ...
).
Also, in USSR was manufactured and most popular ICs K142EN12A and KR142EN12A. These ICs are functional analogues of the LM317
See also
*
Bandgap voltage reference
A bandgap voltage reference is a voltage reference circuit widely used in integrated circuits. It produces an almost constant voltage corresponding to the particular semiconductor's theoretical band gap, with very little fluctuations from variatio ...
*
Brokaw bandgap reference
Brokaw bandgap reference is a voltage reference circuit widely used in integrated circuits, with an output voltage around 1.25 V with low temperature dependence. This particular circuit is one type of a bandgap voltage reference, named after Paul ...
*
List of LM-series integrated circuits
The following is a list of LM-series integrated circuits. Many were among the first analog integrated circuits commercially produced since late 1965; some were groundbreaking innovations. As of 2007, many are still being used. The LM series orig ...
References
External links
LM317 Circuit Schematics and Pinouts
; Band-Gap
nbsp;–
Robert Pease,
National Semiconductor
National Semiconductor Corporation was an United States of America, American Semiconductor manufacturing, semiconductor manufacturer, which specialized in analogue electronics, analog devices and subsystems, formerly headquartered in Santa Clara, ...
(shows LM317 design in Figure 4: LM117)
LM317 Bandgap Voltage Reference Example (ECE 327)nbsp;– Brief explanation of the temperature-independent bandgap reference circuit within the LM317.
; Datasheets / Databooks
Voltage Regulator Databook (Historical 1980) National Semiconductor
LM317 (positive)LM350 (3 Amp) Texas Instruments (TI acquired National Semiconductor)
LM317 (positive)LM350 (3 Amp) ON Semiconductor
LM317 (positive) STMicroelectronics
LM337 (negative) Texas Instruments
{{DEFAULTSORT:Lm317
Linear integrated circuits
Voltage regulation