deckle studio
Open the editor
SPICE subcircuitLM317DCYRlm317

LM317 (adjustable regulator, 1.25–37 V, 1.5 A)

Adjustable linear regulator: holds 1.25 V between OUT and ADJ, two resistors set the output, VOUT = 1.25 V · (1 + R2 / R1) (R1 from OUT to ADJ, typically 240 Ω; R2 from ADJ to GND). 1.25 to 37 V out, up to 1.5 A, input up to 40 V above the output. Needs 2–3 V of headroom and at least 3.5–10 mA of load (R1 = 240 Ω already draws 5 mA). As a current source: one resistor from OUT to ADJ, I = 1.25 V / R. 0.1 µF at the input, 1 µF at the output, 10 µF from ADJ to GND for less ripple.

INOUTADJLM317DCYR
Schematic symbol

Key data

Category
ICs
Simulation model
SPICE subcircuit
Manufacturer part number
LM317DCYR
Reference prefix
U
Pins
3
Land pattern
SOT-223-3_TabPin2

Simulation model

The part is a small SPICE netlist (below), solved by the analog engine together with the rest of the circuit. Pin ids are the node names, {braces} are parameters.

SPICE netlist
V1 IN h DC {VDO}
U1 h OUT ADJ h LDO VOUT={VREF} RDO=0 ROUT=0.01 IQ=0
I1 h ADJ DC {IADJ}

Pins 3

PinNameUse
ININSupply pinInput: 2–3 V above the output, at most 40 V above it; 0.1 µF to GND
OUTOUTSupply pinOutput: R1 (e.g. 240 Ω) to ADJ; 1 µF to GND
ADJADJAnalog pinAdjust: R1 from OUT, R2 to GND set VOUT = 1.25 V · (1 + R2/R1); 10 µF to GND lowers ripple

Parameters 4

Packagepackage
DefaultSOT-223
SOT-223TO-220TO-263
Reference voltageVREF
Default1.25 V

OUT − ADJ: 1.2 / 1.25 / 1.3 V (min / typ / max)

Adjust pin currentIADJ
Default50u A

50 µA typ, 100 µA max: adds IADJ · R2 to the output

Dropout voltageVDO
Default1.99 V

Fixed drop of the pass stage, plus 10 mΩ: about 2 V at 1 A (typical dropout curve; TI recommends 3 V headroom)

PCB

Verified land patternSOT-223-3_TabPin2
PackageLand patternStatusSource
SOT-223 · LM317DCYRSOT-223-3_TabPin2Verified land patternKiCad Package_TO_SOT_SMD:SOT-223-3_TabPin2 (tab = pad 2); TI LM317 SOT-223 pinout 1 ADJ, 2 OUT, 3 IN, tab OUT
TO-220 · LM317KCSTO-220-3_VerticalVerified land patternKiCad Package_TO_SOT_THT:TO-220-3_Vertical; TI LM317 TO-220 pinout 1 ADJ, 2 OUT, 3 IN, tab OUT
TO-263 · LM317KTTRTO-263-2Verified land patternKiCad Package_TO_SOT_SMD:TO-263-2 (pad 2 = tab); TI LM317 TO-263 pinout 1 ADJ, 2 OUT (tab), 3 IN