LM317 Adjustable Voltage Regulator IC

₵5.00

The LM317 Adjustable Voltage Regulator delivers an adjustable positive DC output from 1.25V to 37V with up to 1.5A current capability. Featuring a TO-220 package, thermal protection and simple resistor-based voltage adjustment, it is ideal for variable power supplies, electronics testing, LED current regulation and DIY circuits.

Description

The LM317 Adjustable Voltage Regulator is a versatile three-terminal positive linear regulator capable of delivering an adjustable DC output from approximately 1.25V to 37V. Unlike fixed-voltage regulators such as the L7805 or L7812, the LM317 allows users to select the required output voltage using two external resistors.

With an output current capability of up to 1.5A, a TO-220 package and built-in protection features, the LM317 is widely used in adjustable bench power supplies, electronic testing equipment, voltage regulation circuits and DIY electronics projects.

Its ability to generate different regulated voltages from a single IC makes it a practical choice for electronics development, experimentation and equipment repairs.

Key Features of the LM317 Adjustable Voltage Regulator

  • Adjustable Output Voltage: Provides approximately 1.25V to 37V DC.
  • Up to 1.5A Output Current: Supports suitable loads with adequate heatsinking.
  • Simple Voltage Adjustment: Requires only two external resistors to set the desired output.
  • Positive Voltage Regulation: Produces a regulated positive DC output from a higher input voltage.
  • Built-in Thermal Protection: Helps protect the IC against excessive operating temperatures.
  • Short-Circuit Protection: Internal current limiting reduces the risk of damage during output faults.
  • Good Line and Load Regulation: Helps maintain a stable output despite input and load variations.
  • TO-220 Package: Suitable for through-hole PCB mounting and external heatsink installation.

Technical Specifications

Specification Details
Product Type Adjustable Linear Voltage Regulator IC
Model LM317
Regulator Type Positive Adjustable
Output Voltage Range 1.25V to 37V DC
Maximum Output Current Up to 1.5A
Maximum Input-Output Differential 40V DC
Typical Dropout Voltage Approximately 2V
Voltage Adjustment External Resistor Divider
Reference Voltage Approximately 1.25V
Package TO-220
Number of Pins 3
Mounting Type Through-Hole
Output Polarity Positive
Thermal Protection Built-in
Short-Circuit Protection Built-in

Applications of the LM317 Voltage Regulator

1. Adjustable DC Power Supplies

Construct variable-voltage power supplies for powering and testing electronic circuits. By selecting suitable external resistors or incorporating a potentiometer, the output can be adjusted to the required voltage.

2. Electronics Testing and Troubleshooting

Generate regulated test voltages for electronic boards, sensors, analogue circuits and other components during development or repair.

3. Battery Charging and Current Regulation Circuits

The LM317 can be configured as a constant-current regulator using an appropriate external resistor. It can also be incorporated into specialised charging circuits with suitable battery-specific control and protection.

4. LED Current Regulation

Create regulated current-source circuits for compatible LED loads by configuring the regulator with an appropriate current-setting resistor.

5. Electronic Instrumentation

Provide adjustable or fixed positive supply voltages for compatible analogue circuits, laboratory instruments and signal-conditioning equipment.

LM317 Pin Configuration

When viewing the front marked surface of the standard TO-220 package with the pins pointing downward:

Pin Terminal Function
1 – Left ADJ Output Voltage Adjustment
2 – Centre OUTPUT Regulated Positive DC Output
3 – Right INPUT Positive DC Input

Important: The metal mounting tab is electrically connected to the OUTPUT terminal.

If the regulator is mounted on a grounded or shared metal heatsink, appropriate electrical insulation may be required.

How to Adjust the LM317 Output Voltage

The LM317 uses a resistor divider connected between OUTPUT, ADJ and ground to establish its output voltage.

The approximate output voltage is calculated using:

Vout = 1.25 × (1 + R2/R1)

Where:

  • Vout: Required output voltage
  • R1: Resistor connected between OUTPUT and ADJ
  • R2: Resistor connected between ADJ and GND
  • 1.25V: Internal reference voltage

This simplified equation neglects the small adjustment-pin current.

Example: Setting Approximately 5V

Using:

  • R1 = 220Ω
  • R2 = 680Ω

The calculated output is:

Vout = 1.25 × (1 + 680/220)

Vout ≈ 5.11V

The actual voltage should be measured and verified before connecting sensitive equipment.

DIYGH stocks 1/4W Carbon Film Resistors with selectable resistance values for constructing voltage adjustment networks.

Basic LM317 Connection Circuit

A typical adjustable regulator circuit requires:

  • 1 x LM317 Voltage Regulator IC
  • 2 x Voltage-Setting Resistors
  • 1 x Input Bypass Capacitor, typically 0.1µF
  • 1 x Output Capacitor, typically 1µF, where improved transient response is required
  • Suitable DC Input Supply
  • Heatsink when necessary

Connection Procedure:

  1. Connect the positive DC supply to the INPUT terminal.
  2. Connect R1 between OUTPUT and ADJ.
  3. Connect R2 between ADJ and ground.
  4. Connect the negative supply terminal to the circuit ground.
  5. Install the input bypass capacitor close to the regulator.
  6. Connect the load between OUTPUT and ground.
  7. Apply power and measure the output voltage.

The input voltage must remain sufficiently above the selected output voltage to maintain regulation, typically allowing approximately 3V of headroom under practical operating conditions.

The regulator also requires sufficient minimum load current to maintain proper output regulation.

For permanent circuit construction, consider DIYGH’s Solderable Prototype PCB Board 9x15cm.

LM317 vs Fixed Voltage Regulators

Feature LM317 L7805
Output Voltage Adjustable Fixed 5V
Voltage Selection External Resistors No Adjustment Required
Current Capability Up to 1.5A Up to 1.5A
Regulator Type Positive Linear Positive Linear
Ideal Use Variable Power Supplies Fixed 5V Circuits

Choose the LM317 when flexibility is required. For circuits that only need a fixed 5V supply, the L7805 5V Linear Voltage Regulator offers a simpler alternative.

Heat Dissipation and Cooling

The LM317 is a linear voltage regulator. Unlike switching converters, it dissipates excess voltage primarily as heat.

The approximate power dissipation is:

P = (Vin – Vout) × Iout

For example, when converting 12V DC to 5V DC at 0.5A:

P = (12 – 5) × 0.5 = 3.5W

The regulator dissipates approximately 3.5W as heat, excluding its own operating consumption.

A suitable heatsink is necessary when power dissipation becomes significant.

For higher-efficiency adjustable voltage conversion, the LM2596 DC-DC Buck Converter Module offers a switching-regulator alternative.

Testing the LM317 Voltage Regulator

  1. Confirm the INPUT, OUTPUT and ADJ terminal connections.
  2. Check the voltage-setting resistor values.
  3. Apply an appropriate DC input supply.
  4. Set a multimeter to DC voltage measurement.
  5. Measure the voltage between OUTPUT and ground.
  6. Verify that the output matches the calculated voltage.
  7. Connect the intended load and observe voltage stability and regulator temperature.

Use the ANENG XL830L Digital Multimeter to check output voltage and resistor values during circuit assembly.

Important Usage Information

  • Requires a suitable positive DC input supply.
  • The output voltage is determined by external resistor values.
  • The regulator cannot increase a lower input voltage to a higher output voltage.
  • Maintain sufficient input-to-output voltage difference for regulation.
  • Do not exceed the manufacturer’s maximum input-to-output differential rating.
  • Use adequate heatsinking at higher output currents.
  • The metal mounting tab is connected to OUTPUT.
  • The maximum output current depends on operating temperature, voltage difference and thermal management.
  • Do not connect directly to AC mains.
  • The LM317 IC alone is not a complete adjustable power supply or battery charging system.

Package Includes

  • 1 x LM317 Adjustable Voltage Regulator IC (TO-220)

External resistors, capacitors, heatsink and PCB are not included.

Reviews (0)

Reviews

There are no reviews yet.

Be the first to review “LM317 Adjustable Voltage Regulator IC”

Your email address will not be published. Required fields are marked *