LM317 Adjustable Power Supply
1. Key Features of the LM317
Key Features of the LM317
Voltage Regulation and Adjustability
The LM317 is a three-terminal adjustable linear voltage regulator capable of supplying a load current of up to 1.5A. Its output voltage can be precisely set using an external resistor divider network, with the relationship given by:
where Vref is the internal reference voltage (typically 1.25V), R1 and R2 are external resistors, and Iadj is the adjustment pin current (typically 50µA). The regulator maintains this output voltage with a line regulation of 0.01%/V and load regulation of 0.1%.
Thermal and Current Protection
The LM317 incorporates built-in thermal shutdown and current limiting. The thermal shutdown activates at approximately 125°C, protecting the device from damage due to excessive power dissipation. The current limiting circuitry ensures the output current does not exceed safe levels, even under short-circuit conditions. The power dissipation is governed by:
Proper heat sinking is required to maintain junction temperatures within safe operating limits at higher power levels.
Stability and Noise Performance
The regulator requires only a single output capacitor for stability, typically 1µF tantalum or 25µF aluminum electrolytic. The LM317 exhibits excellent ripple rejection (typically 80dB at 120Hz), making it suitable for sensitive analog circuits. The output noise can be further reduced by bypassing the adjustment pin with a capacitor.
Wide Operating Range
The device operates with input voltages up to 40V and can maintain regulation with as little as 3V input-output differential. The output voltage range spans from 1.25V to 37V, making it versatile for various applications including:
- Bench power supplies
- Battery chargers
- Precision current sources
- Voltage references
Current Source Configuration
When configured as a current source, the LM317 provides a constant current given by:
where R is a single set resistor. This configuration is particularly useful for LED driving and battery charging applications.

1.2 Typical Applications of the LM317
Precision Current Limiting
The LM317 can function as a programmable current source when configured with a single external resistor. The current (Iout) is determined by the voltage drop across the resistor (Rset), which remains fixed at 1.25V between the output and adjust pins. The governing equation is derived from Ohm's Law:
For high-precision applications, Rset should be a metal-film resistor with ≤1% tolerance. This configuration is widely used in laser diode drivers and battery charging circuits where stable current regulation is critical.
Adjustable Voltage Regulation
The classic adjustable voltage regulator circuit uses a voltage divider (R1 and R2) to set the output voltage. The LM317 maintains 1.25V across R1, while R2 determines the additional voltage:
Where Iadj (≈50µA) is the adjust pin bias current. For stability, R1 should be 120–240Ω, and R2 a precision potentiometer for fine-tuning. This topology powers laboratory equipment and analog sensor interfaces requiring sub-100mV ripple.
High-Current Power Supplies
When output currents exceeding 1.5A are needed, the LM317 can drive an external NPN or PNP pass transistor. The base current is supplied through the regulator, while the transistor handles the majority of the load current. The modified current limit becomes:
where β is the transistor's current gain. This approach is essential in industrial motor controllers and RF power amplifiers. Thermal management becomes critical—the external transistor must be heatsinked, and the LM317 should include protection diodes to prevent reverse bias during inductive load transients.
Negative Voltage Regulation
By reversing the input/output polarity and using a charge-pump configuration, the LM317 can generate negative voltages. The output follows:
This is particularly useful in audio amplifier circuits requiring symmetric ±15V rails. The design must account for the LM317's minimum load current requirement (typically 10mA) to maintain regulation.
Programmable Voltage/Current Sources
Combining the adjustable voltage and current modes enables fully programmable power supplies. Digital potentiometers or DAC-controlled resistors can replace R1 and R2, allowing microcontroller-based voltage/current setting. The LM317's 0.01%/V line regulation ensures stability even with digital control, making it ideal for automated test equipment.

1.3 Advantages Over Fixed Voltage Regulators
Flexibility in Output Voltage
The primary advantage of the LM317 lies in its adjustable output voltage, defined by the external resistor network R1 and R2. The output voltage Vout follows:
where Vref is the internal reference voltage (typically 1.25V) and Iadj is the adjustment pin current (~50µA). This contrasts sharply with fixed regulators (e.g., 78xx series), which are locked to specific voltages like 5V or 12V. The adjustable nature allows the LM317 to replace multiple fixed regulators in a design, reducing inventory complexity.
Thermal Performance and Current Limiting
Unlike fixed regulators that often require external pass transistors for current boosting, the LM317 integrates a robust 1.5A current limit with thermal overload protection. The power dissipation Pdiss is distributed as:
This equation highlights the regulator's ability to handle varying voltage drops without fixed-voltage inefficiencies. For instance, when stepping down from 12V to 3.3V, a fixed 5V regulator would waste 6.7V as heat, whereas the LM317 adjusts dynamically to minimize dissipation.
Precision and Stability
The LM317's bandgap reference achieves ±1% initial accuracy and <50ppm/°C temperature drift, outperforming many fixed regulators that rely on less stable Zener references. Line regulation is typically 0.01%/V, and load regulation is 0.1% for output currents up to 1A. The adjustable feedback loop also enables precise compensation for PCB trace resistance in high-current applications.
Historical Context and Evolution
Introduced in the 1970s, the LM317 addressed a critical gap in power supply design by combining the stability of monolithic regulators with user-programmable outputs. This innovation reduced reliance on custom transformer taps or resistive dividers, which were common with fixed-voltage predecessors like the LM309.
Practical Applications
- Laboratory power supplies: Continuously adjustable outputs replace multiple fixed-voltage modules.
- Battery charging: Dynamic voltage adjustment accommodates varying cell chemistries (e.g., LiFePO4 vs. lead-acid).
- Prototyping: Single IC supports multiple voltage rails during circuit validation.
2. Basic LM317 Configuration
Basic LM317 Configuration
The LM317 is a three-terminal adjustable linear voltage regulator capable of supplying a load current of up to 1.5 A with an output voltage range of 1.25 V to 37 V. Its fundamental operation relies on a feedback mechanism that stabilizes the output voltage by adjusting the internal pass transistor's conduction.
Voltage Regulation Principle
The LM317 maintains a fixed reference voltage (Vref = 1.25 V) between its output (Vout) and adjust (ADJ) terminals. The output voltage is determined by the resistive divider formed by R1 and R2:
Here, Iadj (adjust pin current, typically ~50 µA) introduces a minor error term, often negligible for R1 ≤ 240 Ω.
Standard Circuit Implementation
The minimal viable configuration requires:
- Input capacitor (Cin): 0.1 µF ceramic or 1 µF tantalum to suppress input transients.
- Output capacitor (Cout): 1–10 µF to improve transient response.
- Adjustment resistor (R1): 120–240 Ω for stable current bias.
- Adjustment resistor (R2): Potentiometer or fixed resistor for voltage setting.
Thermal Considerations
Power dissipation (Pdiss) is critical for reliability:
For Iload = 1.5 A and Vin − Vout = 10 V, Pdiss = 15 W necessitates a heatsink with thermal resistance (θJA) ≤ 8.3°C/W for a 125°C junction limit at 25°C ambient.
Stability and Noise Mitigation
Bypassing the ADJ pin with a capacitor (Cadj = 10 µF) reduces output ripple. For high-precision applications, use low-tolerance resistors (≤1%) and minimize trace lengths to avoid parasitic oscillations.
Practical Design Example
For Vout = 5 V with R1 = 240 Ω:

2.2 Role of External Resistors in Voltage Adjustment
The LM317 voltage regulator relies on an external resistor network to set the output voltage with high precision. The fundamental principle stems from the internal reference voltage, VREF, which is typically 1.25 V between the output (VOUT) and adjust (ADJ) pins. The output voltage is determined by the ratio of two resistors, R1 and R2, forming a voltage divider.
Mathematical Derivation of Output Voltage
The current flowing through R1 is given by:
This current, combined with the negligible adjust pin current (IADJ ≈ 50 µA), flows through R2, producing a voltage drop:
The total output voltage is the sum of VREF and VR2:
For practical designs, IADJ is often negligible, simplifying the equation to:
Practical Considerations for Resistor Selection
The choice of R1 and R2 affects stability, power dissipation, and load regulation:
- Stability: A smaller R1 (typically 240 Ω) ensures sufficient current to maintain regulation under light loads.
- Power Dissipation: Higher resistance values reduce power loss but may increase noise sensitivity.
- Precision: Low-tolerance resistors (≤1%) improve voltage accuracy, especially in adjustable power supplies.
Thermal and Load Regulation Effects
Variations in load current or temperature can introduce errors due to:
- Resistor Temperature Coefficient: Metal-film resistors (50–100 ppm/°C) are preferred over carbon-composition types.
- Thermal Drift: Self-heating of R2 at high output voltages may require derating.
For improved stability, a bypass capacitor (10 µF) across R2 can mitigate high-frequency noise.
Advanced Applications: Programmable Voltage Control
Replacing R2 with a digital potentiometer enables microcontroller-based voltage adjustment. The resolution of adjustment depends on the potentiometer's step count (e.g., 256-step for 8-bit control). The modified equation becomes:
where RDIGITAL is the programmable resistance value.

2.3 Calculating Output Voltage with Resistor Values
The LM317 adjustable voltage regulator maintains a constant 1.25 V reference voltage (Vref) between its output and adjust terminals. The output voltage is determined by the resistive voltage divider formed by R1 and R2, following the equation:
Where:
- Vout is the regulated output voltage.
- Vref is the internal reference voltage (1.25 V).
- R1 is the resistor between the output and adjust pins.
- R2 is the resistor between the adjust pin and ground.
- Iadj is the adjust pin current (typically ~50 µA).
Derivation of the Output Voltage Equation
The LM317 regulates the voltage such that the current through R1 is:
This same current flows through R2, with an additional small contribution from the adjust pin current (Iadj). The voltage drop across R2 is:
Thus, the total output voltage is the sum of Vref and VR2:
Factoring out Vref yields the standard form:
Practical Considerations
In most applications, the term IadjR2 is negligible (since Iadj ≈ 50 µA). Thus, the equation simplifies to:
For stability, R1 is typically chosen between 120 Ω and 240 Ω. Lower values improve load regulation but increase power dissipation. Higher values reduce power loss but may increase noise sensitivity.
Example Calculation
Given R1 = 240 Ω and R2 = 720 Ω, the output voltage is:
If precision is critical, including the adjust current (Iadj = 50 µA) modifies the result slightly:
Thermal and Tolerance Effects
Resistor tolerances and temperature coefficients can introduce errors. For high-precision applications:
- Use 1% tolerance metal-film resistors.
- Account for the LM317's reference voltage drift (~0.1% typical over temperature).
- Minimize trace resistance in high-current paths.

3. Required Components and Tools
3.1 Required Components and Tools
Core Components
The LM317 adjustable power supply circuit requires a minimal set of components to function effectively. The primary elements include:
- LM317 Voltage Regulator: The central component providing adjustable output voltage from 1.25V to 37V with up to 1.5A current.
- Resistors: Two resistors (R1 and R2) form a voltage divider to set the output voltage. R1 is typically 240Ω, while R2 is calculated based on desired output.
- Capacitors: Input (0.1μF ceramic) and output (10μF electrolytic) capacitors for stability and noise reduction.
- Heat Sink: Essential for dissipating heat at higher currents or voltage differentials.
Supporting Components
Additional components enhance performance and safety:
- Diode (1N4007): Protection diode to prevent reverse current flow.
- Potentiometer: For adjustable output voltage (typically 5kΩ).
- LED Indicator: Optional visual feedback for power status.
Power Input Considerations
The input voltage must satisfy:
where Vdropout is typically 2-3V for the LM317. For example, a 12V output requires at least 15V input.
Essential Tools
Proper tools ensure accurate assembly and testing:
- Multimeter: For measuring voltage, current, and resistance.
- Oscilloscope: Optional for analyzing ripple and noise.
- Breadboard/PCB: For prototyping or final assembly.
- Soldering Iron: Required for permanent PCB assembly.
Thermal Design
Power dissipation is critical:
A heat sink with thermal resistance <10°C/W is recommended for loads above 500mA.
3.2 Step-by-Step Assembly Instructions
Circuit Schematic and Component Selection
The LM317-based adjustable power supply requires the following key components:
- LM317T voltage regulator (TO-220 package)
- Two resistors (R1 = 240Ω, R2 = 5kΩ potentiometer)
- Input/output capacitors (Cin = 0.1μF ceramic, Cout = 1μF tantalum)
- Heat sink for thermal dissipation
- PCB or breadboard for prototyping
The output voltage is determined by the resistor divider network:
where Iadj (≈50μA) is the adjustment pin current.
Assembly Procedure
1. PCB Layout and Soldering
Begin by placing the LM317 on the PCB, ensuring proper pin alignment:
- Pin 1 (Adjust): Connect to the resistor divider.
- Pin 2 (Output): Route to the load and output capacitor.
- Pin 3 (Input): Connect to the DC input source and input capacitor.
Solder all components with minimal lead length to reduce parasitic inductance.
2. Thermal Management
The power dissipation in the LM317 is given by:
For Iload = 1.5A and Vin - Vout = 10V, Pd = 15W. Attach a heat sink with thermal resistance θSA ≤ 5°C/W to prevent thermal shutdown.
3. Stability and Noise Reduction
Place Cout as close as possible to the LM317 output pin. The bypass capacitor (Cadj = 10μF) reduces output ripple by improving PSRR:
Calibration and Testing
Use a multimeter to verify output voltage across the potentiometer's range. For a 240Ω/5kΩ divider, the theoretical output range is:
Note: Input voltage must exceed Vout + 3V dropout voltage.
Advanced Modifications
For precision applications, replace R2 with a digital potentiometer controlled via I2C. Alternatively, add a foldback current limiter using a transistor and sense resistor to protect against short circuits.

3.3 Testing and Calibration Procedures
Initial Power-Up and Safety Checks
Before applying power, verify the circuit integrity using a multimeter in continuity mode. Ensure no short circuits exist between the input (Vin), output (Vout), and ground (GND) pins of the LM317. Measure the resistance between Vin and GND to confirm it is not abnormally low, which could indicate a faulty connection or component. Apply a low input voltage (e.g., 5V) initially to test basic functionality before scaling to higher voltages.
Output Voltage Verification
The LM317 output voltage follows the relation:
where Iadj (adjustment pin current) is typically 50 µA. Using precision resistors (R1 = 240 Ω, R2 = variable), measure the output with a calibrated multimeter. For example, with R2 set to 720 Ω:
Discrepancies >1% suggest resistor tolerance errors or LM317 instability.
Load Regulation Testing
Connect a variable load (e.g., power resistor or electronic load) to the output. Measure Vout at 10%, 50%, and 100% of the maximum rated current. The LM317 typically exhibits load regulation of 0.1% to 1.0%. Calculate regulation as:
Values exceeding 1.5% may indicate insufficient heat sinking or input voltage margin.
Thermal Stability Calibration
Under full load, monitor the LM317 case temperature using an infrared thermometer or thermocouple. The thermal resistance (θJA) of the package (e.g., TO-220: 50°C/W) determines the junction temperature:
where P = (Vin − Vout) × Iload. Ensure Tj remains below 125°C. Forced airflow or a larger heat sink may be required if temperatures approach 100°C.
Ripple and Noise Measurement
Using an oscilloscope, probe the output with a 10X attenuator. The LM317’s ripple rejection ratio (RRR) is typically 65 dB at 120 Hz. For an input ripple of 1 Vpp, the output ripple should be:
Higher values suggest inadequate input filtering or grounding issues.
Adjustment Range Validation
Sweep the potentiometer (R2) from minimum to maximum while measuring Vout. The theoretical range is 1.25 V to (Vin − 2.5 V). For a 15 V input, the output should span 1.25 V to 12.5 V. Nonlinearities or dead zones indicate potentiometer wear or incorrect wiring.
Transient Response Analysis
Apply a step load change (e.g., 10% to 90% of max current) and capture the output voltage settling time with an oscilloscope. The LM317 typically recovers within 100 µs. Excessive ringing (>10% overshoot) necessitates additional output capacitance or compensation.
4. Heat Dissipation and Thermal Management
4.1 Heat Dissipation and Thermal Management
The LM317 linear voltage regulator dissipates power as heat when operating under significant load currents or high input-to-output voltage differentials. Efficient thermal management is critical to prevent thermal shutdown or device failure. The power dissipated (Pdiss) is given by:
where Vin is the input voltage, Vout the regulated output voltage, and Iload the load current. For example, with Vin = 12V, Vout = 5V, and Iload = 1A, the regulator dissipates 7W.
Thermal Resistance and Heat Sink Selection
The junction temperature (Tj) must remain below the LM317's maximum rating (typically 125°C). The thermal path is characterized by:
where:
- Ta: Ambient temperature (°C)
- θjc: Junction-to-case thermal resistance (°C/W, typically 5°C/W for TO-220)
- θcs: Case-to-sink resistance (≈0.5°C/W with thermal grease)
- θsa: Sink-to-ambient resistance (depends on heat sink design)
Rearranging, the required heat sink thermal resistance is:
For Tj ≤ 100°C, Ta = 25°C, and Pdiss = 7W, θsa must be ≤8.6°C/W.
Practical Heat Sink Implementation
Forced air cooling or extruded aluminum heat sinks are common solutions. The thermal performance of a heat sink depends on:
- Surface area: Finned designs increase convective cooling.
- Material: Aluminum (k ≈ 200 W/m·K) is cost-effective; copper (k ≈ 400 W/m·K) offers better performance.
- Mounting: Secure mechanical contact reduces θcs.
For high-power applications, consider:
- Thermal vias on PCB designs for SMD packages.
- Active cooling (fans) for Pdiss > 10W.
Transient Thermal Response
Under pulsed loads, the thermal time constant (τ) of the system determines peak junction temperature. For a TO-220 package:
where Cth is the thermal capacitance (≈1.5 J/°C). A heat sink adds thermal mass, slowing temperature rise but prolonging cooldown.

4.2 Common Issues and Solutions
Thermal Runaway and Heat Dissipation
The LM317, like any linear regulator, dissipates power as heat proportional to the voltage drop and load current. The power dissipation Pdiss is given by:
At high current or large input-output differentials, this can lead to thermal runaway if the heat sink is undersized. The junction temperature Tj must be kept below 125°C:
where Ta is ambient temperature and RθJA is the junction-to-ambient thermal resistance. A heat sink with low RθHS is critical for high-power applications.
Output Voltage Instability
Output ripple or oscillation often stems from inadequate bypassing or improper feedback network layout. The LM317 requires:
- A 0.1 µF ceramic capacitor at the input (Cin)
- A 1 µF tantalum or 10 µF electrolytic capacitor at the output (Cout)
- Minimized trace length between the adjust pin and feedback resistors
For high-frequency noise rejection, add a 10 nF ceramic capacitor directly from Vout to ADJ.
Current Limiting and Short-Circuit Protection
The LM317's internal current limit (~2.2A) may not suffice for all loads. An external pass transistor can augment current handling, but requires careful stability analysis. The modified current limit Imax is:
where Rsense is a current-sensing resistor. A PNP transistor (e.g., 2N2907) is often used for this purpose.
Start-Up Surges and Transient Response
Inrush current during power-up can stress components. A soft-start circuit using an NTC thermistor or MOSFET-controlled ramp mitigates this. The time constant τ should be:
for typical applications. Transient response can be improved by increasing Cout or adding a small (1-10Ω) resistor in series with it.
Ground Loop Interference
When powering sensitive analog circuits, ground loops between the regulator and load can introduce noise. Solutions include:
- Star grounding at the load
- Twisted-pair wiring for output connections
- Isolating the feedback network from high-current paths
For precision applications, a Kelvin connection to the load eliminates wiring resistance errors.

4.3 Enhancing Stability with Capacitors
The LM317 adjustable voltage regulator is susceptible to output oscillations and transient instability due to its feedback loop dynamics. Proper capacitor selection and placement are critical to mitigating these issues, particularly in high-current or noise-sensitive applications.
Input and Output Decoupling
At minimum, the LM317 requires an input bypass capacitor (Cin) and an output capacitor (Cout) for basic operation. For stability analysis, consider the regulator's open-loop transfer function:
where K is the DC gain, ωp is the dominant pole, and ωz represents the compensation zero. The input capacitor's equivalent series resistance (ESR) introduces a zero that affects phase margin:
For optimal stability, Cin should be a 0.1μF ceramic capacitor placed as close as possible to the input pin, while Cout typically requires 1-10μF with controlled ESR. Aluminum electrolytics (1-3Ω ESR) often provide better stability than ultra-low-ESR ceramics in this position.
Frequency Compensation Techniques
When driving capacitive loads >10μF, additional compensation is often necessary. The adjustment pin capacitor (Cadj) creates a low-frequency pole that improves phase margin:
where R2 is the lower feedback resistor. A 10μF tantalum or aluminum capacitor from the adjust pin to ground typically suffices for most applications. For precision circuits, the temperature coefficient of Cadj must be considered, as it affects output voltage drift.
Transient Response Optimization
Under load steps, the regulator's response time is governed by:
where SR is the regulator's slew rate (typically 0.5-1V/μs). Parallel capacitor networks improve transient performance:
- High-frequency path: 100nF X7R ceramic (low ESL)
- Mid-frequency: 1μF tantalum (moderate ESR)
- Bulk storage: 100μF+ aluminum electrolytic
This multi-stage approach provides low impedance across the entire frequency spectrum while maintaining stability. The network's combined ESR should fall within 0.1-1Ω for best results.
Practical Implementation Considerations
In PCB layout, capacitor placement significantly impacts performance. Key guidelines include:
- Route input/output capacitor grounds directly to the regulator's ground pin
- Minimize loop areas in high-current paths
- Place ceramic capacitors closest to the IC pins
- Use ground planes to reduce parasitic inductance
For high-precision applications, measure the regulator's output impedance versus frequency using a network analyzer. The impedance profile should show a smooth roll-off without peaking, indicating adequate phase margin.

5. Current Limiting with the LM317
5.1 Current Limiting with the LM317
The LM317 voltage regulator can be configured to provide adjustable current limiting, a critical feature for protecting sensitive loads from overcurrent conditions. Unlike fixed current-limiting circuits, the LM317 allows dynamic adjustment of the current threshold using an external resistor network.Current Limiting Mechanism
The LM317 regulates current by maintaining a fixed 1.25V reference between its output (VOUT) and adjust (ADJ) pins. When used as a current limiter, a sense resistor (RSENSE) is placed between VOUT and the load. The voltage drop across RSENSE is compared to the internal reference, forcing the regulator to reduce output voltage when the current exceeds the set limit. The current limit (ILIM) is determined by:Practical Implementation
A typical current-limiting circuit includes:- RSENSE: Precision resistor (low tolerance, high power rating).
- Bypass Capacitor: 10µF–100µF at the output to stabilize transient response.
- Protection Diode: Reverse-biased diode across VIN and VOUT to handle inductive kickback.
Thermal Considerations
Under current-limiting conditions, the LM317 dissipates power as:Stability and Transient Response
The LM317’s internal feedback loop may oscillate under abrupt load changes. To mitigate this:- Place a 0.1µF ceramic capacitor between ADJ and ground.
- Use a low-ESR output capacitor (e.g., tantalum or aluminum electrolytic).

5.2 Using the LM317 as a Constant Current Source
The LM317, while primarily designed as an adjustable voltage regulator, can be reconfigured as a precision constant current source by leveraging its reference voltage and external resistor network. This application is particularly useful in driving LEDs, charging batteries, or biasing precision circuits where current stability is critical.
Basic Constant Current Configuration
The fundamental constant current circuit derives from the LM317's internal 1.25V reference between the output and adjust pins. When a resistor (Rset) is connected between these pins, the current through it becomes:
where Iadj (typically 50-100µA) is the adjust pin bias current. For practical designs where Rset is chosen to set milliampere-level currents, the Iadj term becomes negligible, simplifying to:
The load current remains constant as long as the input-to-output voltage differential meets the LM317's dropout requirement (typically 2-3V) and the power dissipation limits are not exceeded.
Stability Considerations
Three critical stability factors must be addressed:
- Thermal Regulation: The LM317's current regulation degrades with junction temperature rise. For high-current applications (>100mA), a heatsink must maintain Tj below 125°C.
- Load Transient Response: The internal error amplifier's bandwidth (~10kHz) limits response to fast load changes. Adding a 10µF tantalum capacitor at the output improves transient performance.
- Resistor Stability: Rset should be a metal-film or wirewound resistor with low temperature coefficient (≤100ppm/°C) to prevent current drift.
High-Current Designs
For currents exceeding 1.5A (the LM317's safe operating limit), an external NPN or MOSFET pass transistor can be added. The modified current equation becomes:
where β is the transistor's current gain. The base-emitter voltage drop (VBE) introduces a minor error that can be compensated by adjusting Rset empirically.
Precision Applications
When sub-1% current accuracy is required, three enhancements are necessary:
- Replace Rset with a precision potentiometer in series with a fixed resistor
- Add a 0.1µF ceramic capacitor between adjust and ground to reduce noise
- Use Kelvin connections for Rset to avoid PCB trace resistance errors
In laser diode drivers, where current ripple must be minimized, a second-stage LC filter with ferrite beads can reduce output noise to sub-milliampere levels.
Practical Implementation Example
A 350mA LED driver circuit would use:
Selecting a standard 3.6Ω 1% metal-film resistor yields 347mA ±3.5mA accounting for Iadj. The power dissipation in the LM317 at 12V input would be:
requiring a heatsink with thermal resistance ≤35°C/W for safe operation at 40°C ambient temperature.

5.3 High-Current Applications with External Pass Transistors
The LM317 voltage regulator is inherently limited by its internal pass transistor, which typically handles currents up to 1.5 A. For high-current applications, an external pass transistor must be employed to offload the majority of the current from the LM317, thereby extending its operational range while maintaining thermal stability.
Current Sharing and Thermal Considerations
When an external NPN or PNP transistor is used, the LM317 primarily regulates the output voltage while the pass transistor handles the bulk of the load current. The current sharing between the LM317 and the external transistor is governed by the base-emitter junction characteristics and the current-limiting resistor network.
where:
- Iload is the total output current,
- ILM317 is the current supplied by the LM317,
- Itransistor is the current conducted by the external pass transistor.
The external transistor must be selected based on:
- Current gain (hFE) to minimize base current demand,
- Power dissipation (PD) to avoid thermal runaway,
- Safe operating area (SOA) to prevent secondary breakdown.
Circuit Configuration
A typical high-current LM317 circuit employs an NPN transistor (e.g., TIP3055) in a Darlington-like configuration. The LM317’s output drives the base of the pass transistor through a current-limiting resistor (Rlimit), calculated as:
where:
- VBE is the base-emitter voltage drop (~0.7 V for silicon),
- hFE is the transistor’s DC current gain.
For improved thermal stability, a ballast resistor (Rballast) is often placed in series with the emitter to ensure current sharing under varying temperatures.
Thermal Management
Power dissipation in the external transistor is critical and must be managed via heatsinking. The dissipated power is:
where Vin and Vout are the input and output voltages, respectively. The thermal resistance of the heatsink (θSA) must be chosen to keep the junction temperature within safe limits:
where:
- Tj is the transistor junction temperature,
- Ta is the ambient temperature,
- θJC is the junction-to-case thermal resistance,
- θCS is the case-to-heatsink thermal resistance.
Practical Implementation
For a 5 A output current using a TIP3055 (hFE ≈ 20), the LM317 supplies only the base current (~250 mA), while the transistor conducts the remaining 4.75 A. A 1 Ω ballast resistor ensures current sharing stability, and a heatsink with θSA ≤ 2.5 °C/W is required for Vin − Vout = 5 V at 25°C ambient.
For higher currents, multiple transistors can be paralleled with individual emitter resistors to balance current distribution.

6. Datasheets and Manufacturer Resources
6.1 Datasheets and Manufacturer Resources
- PDF LM317L 100mA Adjustable Floating Voltage Regulator datasheet (Rev — see LM317M (500mA) and LM317 (1.5A) 2 Applications • Electronic points of sale • Medical, health, and fitness applications • Printers • Appliances and white goods • TV 3 Description The LM317L is an adjustable, 3-terminal, positive-voltage regulator capable of supplying up to 100 mA over an output-voltage range of 1.25V to 37V. The
- PDF Datasheet - LM217, LM317 - 1.2 V to 37 V adjustable voltage regulators — The LM217, LM317 are monolithic integrated circuits in TO-220, TO-220FP, D²PAK and SOT223 packages intended for use as positive adjustable voltage regulators. They are designed to supply more than 1.5 A of load current with an output voltage adjustable over a 1.2 to 37 V range.
- PDF LM317-N-MIL Wide Temperature Three-Pin Adjustable Regulator — An IMPORTANT NOTICE at the end of this data sheet addresses availability, warranty, changes, use in safety-critical applications, intellectual property matters and other important disclaimers. PRODUCTION DATA. LM317-N-MIL SNVSAY0 -JUNE 2017 LM317-N-MIL Wide Temperature Three-Pin Adjustable Regulator 1 1 Features 1• Typ. 0.1% Load Regulation
- PDF LM317L-N Wide VIN 100-mA Adjustable Voltage Regulator — An IMPORTANT NOTICE at the end of this data sheet addresses availability, warranty, changes, use in safety-critical applications, intellectual property matters and other important disclaimers. PRODUCTION DATA. LM317L-N SNVS775L -MARCH 2000-REVISED JANUARY 2018 LM317L-N Wide VIN 100-mA Adjustable Voltage Regulator 1 1 Features
- PDF LM317 3-Terminal Adjustable Regulator - Texas Instruments — An IMPORTANT NOTICE at the end of this data sheet addresses availability, warranty, changes, use in safety-critical applications, intellectual property matters and other important disclaimers. PRODUCTION DATA. LM317 SLVS044Y -SEPTEMBER 1997-REVISED APRIL 2020 LM317 3-Terminal Adjustable Regulator 1 1 Features 1• Output voltage range ...
- LM317L Datasheet by Texas Instruments - Digi-Key Electronics — An IMPORTANT NOTICE at the end of this data sheet addresses availability, warranty, changes, use in safety-critical applications, ... (6) 1.68 mm × 1.019 mm (1) For all available packages, ... located more than 6 inches away from the power supply source. For more information regarding capacitor. selection, see External Capacitors.
- PDF LM317HV-MIL High Voltage Three-Terminal Adjustable Regulator With ... — • Industrial Power Supplies • PLC Systems • Factory Automation Systems • Building Automation Systems • Battery Charger 1.2-V to 50-V Adjustable Regulator With High Voltage Input *Needed if device is more than 6 inches from filter capacitors. . †Optional—improves transient response †† 3 Description The LM317HV-MIL is an ...
- | The Sunlight Group — We specialize in cutting-edge technologies and solutions for sustainable energy, energy storage systems and advanced power management. Explore our portfolio and join us for a greener future. ... Sunlight Group expands world's largest manufacturing unit for motive power batteries Read article Sunlight and ReGeneration launch 1st Academy on ...
- (PDF) Ship Design - Academia.edu — This chapter deals with the determination of the main ship dimensions (length, beam, draft, side depth), following the estimation of the ship's displacement and the selection of other basic ship design quantities and hull form characteristics (hull form coefficients, powering, weight components, stability and trim, free-board, load line), as required in the first phase of ship design, that is ...
- (PDF) A comprehensive review on Crossflow turbine for hydropower ... — A Crossflow turbine is a device used to generate power from hydro, which is a renewable source of energy. The salient feature of this turbine is its simplicity in construction.
6.2 Recommended Books and Articles
- PDF Datasheet - LM217M, LM317M - Medium current 1.2 to 37 V adjustable ... — The LM217M and LM317M are monolithic integrated circuits in DPAK and SOT223 packages used as positive adjustable voltage regulators. They are designed to supply until 500 mA of load current with an output voltage adjustable over a 1.2 to 37 V range.
- LM317 Adjustable Regulated Power Supply Board Kit Power Training Kit ... — Function: 1, the scope of this suite of output voltage of 1.25 V to 12 V output voltage adjustable, output current 200 ma, applicable to give DIY small power supply circuit.2, and adjustable signal generator output all the way.Convenient to test circuit provides the pulse signal.3, with logic function.Convenient test circuit logic level4, with ...
- PDF LM317-N-MIL Wide Temperature Three-Pin Adjustable Regulator — 1 3 Description The LM317-N-MIL adjustable 3-pin positive voltage regulator is capable of supplying in excess of 1.5 A over a 1.25-V to 37-V output range and a wide temperature range. The LM317-N-MIL is easy to use and requires only two external resistors to set the output voltage. Further, both line and load regulation are better than standard fixed regulators.
- PDF LM317HV-MIL High Voltage Three-Terminal Adjustable Regulator With ... — The LM317HV-MIL is an adjustable 3-terminal positive voltage regulator capable of supplying 1.5 A or more currents over a 1.25-V to 57-V output voltage range. It requires only two external resistors to set the output voltage. The LM317HV-MIL is packaged in standard transistor packages that are easily mounted and handled. The LM317HV-MIL offers overload protection like current limit, thermal ...
- Application lm317. Adjustable stabilizers LM317 and LM337. Application ... — This article provides a description and examples of the use of an inexpensive (LM317 price) integrated voltage regulator LM317. The list of tasks to be solved by this stabilizer is quite extensive - this is the power supply of various electronic circuits, radio devices, fans, motors and other devices from the mains or other voltage sources ...
- PDF LM317L 3-Terminal Adjustable Regulator datasheet (Rev. E) — 10 Power Supply Recommendations The LM317L device is designed to operate from an input voltage supply range between 2.5 V to 32 V greater than the output voltage. If the device is more than six inches from the input filter capacitors, an input bypass capacitor, 0.1 μF or greater, of any type is needed for stability.
- PDF LM317M 3-Terminal Adjustable Regulator datasheet (Rev. P) — 9 Power Supply Recommendations The LM317 is designed to operate from an input voltage supply range between 2.5-V to 40-V greater than the output voltage. If the device is more than six inches from the input filter capacitors, an input bypass capacitor, 0.1-μF or greater, of any type is needed for stability.
- Design and Construction of A Dual Regulated ±0-35volts Dc Power Supply ... — This paper presents the design and construction of a dual regulated ±0-35Volts DC power supply that will serve a dual purpose of providing a positive and negative DC output of different values ...
- PDF LM317 - jscj-elec.com — The LM317 is an adjustable 3-terminal positive voltage regulator designed to supply more than 1.5A of load current with an output voltage adjustable over a 1.25 to 37V.
- PDF LM317 3-Terminal Adjustable Regulator datasheet (Rev. X) — The LM317 device is an adjustable three-terminal positive-voltage regulator capable of supplying up to 1.5 A over an output-voltage range of 1.25 V to 37 V. It requires only two external resistors to set the output voltage.
6.3 Online Tutorials and Community Projects
- Circuit-Zone.com - Electronic Projects, Electronic Schematics, DIY ... — This project is a solution to power up most of devices or projects requiring dual (+/-) adjustable power supply. The circuit is based on LM317 positive and LM337 negative voltage regulators. LM317 series of adjustable 3 terminal regulator is capable of supplying in excess of 1.5A over a 1.2V to 30V DC output range, due to TO3 package of IC and ...
- Zeroing out a LM317 reference voltage with a zener - PSU build - Maker Pro — Power Electronics . Zeroing out a LM317 reference voltage with a zener - PSU build ... N&V Power Supply Schematic Referencing : Thasssit . . . . 73's de Edd . Last edited by a moderator: Apr 10, 2016. ... The LM317 Adjustable Voltage Power Supply kit. BillMC; Dec 2, 2022; Power Electronics; Dec 9, 2022; kellys_eye; Replies 13 Views 2K.
- LM317 Spice Model? | Electronics Forum (Circuits, Projects and ... — Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. ... 12V LM317 variable power supply, pot got burned. afspiom_ May 30, 2024; General Electronics Chat; Replies 19 Views 5K.
- Is this the correct way to power the filament of a 12AU7 with 6.3V — Yes, that seems to be the correct wiring for the tube. Your 6.3 V via LM317: note that the LM317 is a linear regulator, and you're drawing 0.3 A from that; which means that at the minimum recommended dropout voltage of 3 V (i.e., at the minimum acceptable input voltage of 9.3 V) according to the datasheet, you're converting roughly 1 W of power to heat in the LM317.
- LM317 or KA317 Pspice model | Electronics Forum (Circuits, Projects and ... — Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. ... *LM317 TI voltage regulator - pin order: In, Adj, Out *TI adjustable voltage regulator pkg:TO-3
- PDF LM317 - 1.5 A Adjustable Output, Positive Voltage Regulator - RS Components — LM317/D LM317, NCV317 1.5 A Adjustable Output, Positive Voltage Regulator The LM317 is an adjustable 3−terminal positive voltage regulator capable of supplying in excess of 1.5 A over an output voltage range of 1.2 V to 37 V. This voltage regulator is exceptionally easy to use and requires only two external resistors to set the output voltage ...
- How to use LM317 LTspice Model | Electronics Forum (Circuits, Projects ... — Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. ... For an interactive guide to LTspice and Switched Mode Power Supply Design: LTspice Tutorial. 1; 2; Next. 1 of 2 Go to page. Go. Next Last.
- Lm317 LM1117 Practical DC Regulated Power Supply Design — Lm317, LM1117, LM7805, LD1117V33 Practical DC Regulated Power Supply Design. A good power supply is especially important during regular study, as portability is also a consideration in addition to performance. Project Introduction In the process of learning analog circuits, we will learn about the design of linear regulated power supplies.
- LM317 6.3V 0.9A how much should be the voltage supply? — how do i get minimum or decent voltage input for a LM317 regulator for the filament for shuguang treasure cv181 z tube which draws 6.3V 0.9A. What should be the voltage input for the LM317 before regulation?
- PDF LM317 3-Terminal Adjustable Regulator - Texas Instruments — Community An IMPORTANT NOTICE at the end of this data sheet addresses availability, warranty, changes, use in safety-critical applications, ... LM317 3-Terminal Adjustable Regulator 1 1 Features 1• Output voltage range adjustable from 1.25 V to 37 V • Output current greater than 1.5 A • Internal short-circuit current limiting • Thermal ...








