LM317 vs. LM7805: A Comprehensive Comparison of Linear Voltage Regulators
Linear voltage regulators like the LM317 and LM7805 are staples in electronics for converting higher input voltages to stable, lower output voltages. While both serve similar purposes, their design philosophies and use cases differ significantly. This article provides a detailed comparison to help you choose the right regulator for your project.
1. Overview of the Regulators
LM7805
Type: Fixed 5V linear voltage regulator.
Key Features:
Output voltage: Fixed at 5V ±4% (typical).
Maximum current: 1.5A (with heatsink).
Dropout voltage: ~2V (input must be ≥7V for 5V output).
Built-in protections: Overcurrent, thermal shutdown.
Package: TO-220, TO-3, or surface-mount.
LM317
Type: Adjustable linear voltage regulator.
Key Features:
Output voltage: Adjustable from 1.25V to 37V via external resistors.
Maximum current: 1.5A (with heatsink).
Dropout voltage: ~1.5–3V (depends on load).
Built-in protections: Overcurrent, thermal shutdown.
Package: TO-220, TO-3, or surface-mount.
2. Key Differences
A. Output Voltage Flexibility
LM7805: Fixed 5V output. No external components needed beyond input/output capacitors.
LM317: Adjustable output via a resistor network (e.g., R1 and R2). Requires more components but supports variable voltages.
B. Dropout Voltage
LM7805: Requires ≥7V input for stable 5V output (2V dropout).
LM317: Can operate with a lower input voltage (e.g., 6.5V input for 5V output due to ~1.5V dropout at 1A).
C. Efficiency and Heat Dissipation
Both are linear regulators, so efficiency is determined by:
LM7805: Efficiency drops significantly if is much higher than 5V (e.g., 45% efficiency at ).
LM317: Efficiency depends on the configured . For example, setting with yields 75% efficiency.
Thermal Note: Both regulators dissipate power as heat:
Adequate heatsinking is critical for high-current applications.
D. Circuit Complexity
LM7805: Simpler to use—requires only input/output capacitors.
LM317: Needs two resistors to set , increasing component count.
E. Cost
LM7805: Generally cheaper (~0.50 per unit) due to fixed-output simplicity.
LM317: Slightly more expensive (~0.70) but offers versatility.
3. Performance Comparison
Parameter | LM7805 | LM317 |
---|---|---|
Output Voltage | Fixed 5V | Adjustable (1.25V–37V) |
Dropout Voltage | 2V (typical) | 1.5V (at 1A, typical) |
Line Regulation | ±0.01% (typ) | ±0.01% (typ) |
Load Regulation | ±0.1% (typ) | ±0.1% (typ) |
Ripple Rejection | 73dB (typ) | 80dB (typ) |
Thermal Resistance | 50°C/W (TO-220) | 50°C/W (TO-220) |
4. Pros and Cons
LM7805
Pros:
Simple, no external components beyond capacitors.
Lower cost for fixed 5V applications.
Robust and widely available.
Cons:
Inflexible output voltage.
Higher dropout voltage limits low-input scenarios.
LM317
Pros:
Adjustable output for versatile use.
Lower dropout voltage in some configurations.
Can replace multiple fixed regulators.
Cons:
Requires external resistors.
Slightly higher cost and board space.
5. Application Scenarios
When to Use LM7805:
Projects requiring a stable 5V supply (e.g., Arduino, microcontrollers).
Low-complexity designs where cost and simplicity are critical.
Input voltage is consistently ≥7V.
When to Use LM317:
Variable voltage needs (e.g., lab power supplies, LED drivers).
Input voltage is close to the desired output (e.g., 6.5V input for 5V output).
Prototyping or multi-voltage systems.
6. Conclusion
Neither the LM317 nor LM7805 is universally "better"—the choice depends on your requirements:
Choose LM7805 for fixed 5V applications where simplicity and cost matter.
Choose LM317 for adjustable voltage needs or tighter dropout constraints.
Kevin Chen
Founder / Writer at Rantle East Electronic Trading Co.,Limited
I am Kevin Chen, I graduated from University of Electronic Science and Technology of China in 2000. I am an electrical and electronic engineer with 23 years of experience, in charge of writting content for ICRFQ. I am willing use my experiences to create reliable and necessary electronic information to help our readers. We welcome readers to engage with us on various topics related to electronics such as IC chips, Diode, Transistor, Module, Relay, opticalcoupler, Connectors etc. Please feel free to share your thoughts and questions on these subjects with us. We look forward to hearing from you!