Overview
The LM317 (and TO-220 packaged LM317T) is an iconic 3-terminal adjustable positive linear voltage regulator designed by Bob Dobkin for National Semiconductor (now Texas Instruments). Staple of benchtop variable DC power supplies, battery chargers, and DIY electronics projects, it delivers over of output current over an adjustable output range of to .
Requiring only two external resistors to set the output voltage, the LM317 features built-in internal current limiting, thermal overload shutdown, and safe-area compensation.
Quick reference
| Regulator Type | Adjustable Positive Linear Voltage Regulator |
| Package | TO-220 (LM317T) / TO-263 / SOT-223 |
| Pinout (TO-220 Front) | Pin 1: Adjust (ADJ), Pin 2: Output (OUT), Pin 3: Input (IN) |
| Output Voltage Range | to DC |
| Input-Output Voltage Differential () | min to max |
| Continuous Output Current () | (with adequate heatsink) |
| Reference Voltage () | (between OUT and ADJ pins) |
| Line / Load Regulation | line regulation / load regulation |
Pinout (TO-220 Package)
Looking at the front labeled face of the TO-220 package with metal tab at top and leads pointing down:
text
┌─────────────┐
│ [LM317T Tab]│ (Metal Tab connected internally to Pin 2 OUT)
├─────────────┤
│ LM317 │ (Front Face)
└─┬───┬───┬───┘
1 2 3
ADJ OUT IN
| Pin | Name | Description |
|---|---|---|
| 1 | ADJ | Voltage adjustment feedback pin |
| 2 | OUT / TAB | Regulated DC output voltage pin (connected to tab) |
| 3 | IN | Unregulated DC input voltage pin |
Specifications
| Parameter | Symbol | Min | Typ | Max | Unit | Conditions |
|---|---|---|---|---|---|---|
| Input-Output Voltage Diff | 3.0 | — | 40 | V | ||
| Reference Voltage | 1.20 | 1.25 | 1.30 | V | ||
| Peak Output Current | 1.5 | 2.2 | 3.4 | A | ||
| Minimum Load Current | — | 3.5 | 10.0 | mA | To maintain regulation | |
| Adjust Pin Current | — | 50 | 100 | µA | Constant bias current | |
| Ripple Rejection Ratio | 66 | 80 | — | dB |
Voltage Adjustment Math & Basic Circuit
text
+V_IN Unregulated Input (e.g. 12V - 24V DC)
│
[Pin 3: IN]
LM317T
[Pin 2: OUT] ──────────────┬─────────────── +V_OUT Regulated DC Output
│ │
├─── [ R1 = 240Ω ] ─────┤
│ │
[Pin 1: ADJ] [ C2 = 1µF ]
│ │
[ R2 = Potentiometer ] GND
│
GND
Given and ( is negligible):
Example Resistor Calculations
- 5.0V Output: Set (Standard ).
- 12.0V Output: Set (Standard ).
Common mistakes
- Operating without a heatsink at high voltage drops: Linear regulators dissipate power as heat: . Dropping 24V to 5V at 1A creates of heat, instantly triggering thermal shutdown without a large TO-220 heatsink.
- Forgetting minimum 10 mA load current: If is selected higher than (e.g. ) and no load is connected, the output voltage will float up toward due to insufficient minimum load current.
Notes
- LM317 vs LM7805 vs LM2596: LM317 is an adjustable linear regulator; LM7805 is a fixed 5V linear regulator; LM2596 is a high-efficiency buck switching regulator.
Assets & downloads
- datasheetdatasheet
- product-pagereference