Gaurav Jain
The LM317-N was the first adjustable voltage regulator, introduced way back in 1975. It’s still widely used in the industry as a constant voltage supply. But did you know that this device can do much more than regulate voltage? Its versatile architecture allows you to use it not just as a voltage regulator but also as a cool, constant-current LED driver.
Wait. Any linear regulator could be used for LED lighting with the addition of a current-limit resistor … what’s new with the LM317-N? Well, it’s actually not what’s new but what’s old that makes the LM317-N click as a simple LED driver.
It’s easy if you understand its architecture. See Figure 1, which shows a functional circuit. An operational amplifier (op amp) connected as a unity-gain buffer drives a power Darlington transistor pair. The op amp and biasing circuitry for the regulator are arranged so that all of the quiescent current is delivered to the regulator output (rather than ground), eliminating the need for a separate ground terminal. Furthermore, all of the circuitry is designed to operate over the regulator’s 2V to 40V input-to-output differential.
A 1.2V reference voltage appears inserted between the noninverting input of the op amp and the adjustment terminal. You need about 50µA to bias the reference; this current comes out of the adjustment terminal. In operation, the output of the regulator is the voltage of the adjustment terminal plus 1.2V. If the adjustment terminal is grounded, the device acts as a 1.2V regulator. For higher output voltages, a resistor divider R1-R2 is connected from the output to ground, with the adjust pin connected between R1 and R2 as shown in Figure 2. The 1.2V across resistor R1 forces a current flow that causes a drop across R2, resulting in a higher voltage at the adjust pin and thereby setting the output voltage. Equation 1 approximates the output voltage.
Because the architecture ensures a 1.2V differential between the output and the adjust pin, you can use a sense resistor across the two terminals to set a constant current in the circuit. Figure 3 shows the configuration.
You could connect the output of this to a series of LEDs (with the other terminal connected to ground) to create a very simple LED driver architecture. What are the advantages of this architecture?
The LM317-N has existed for years; almost every semiconductor vendor makes a version. However, we at Texas Instruments took the LM317-N to the next level with the LM317A. The voltage-reference accuracy of the LM317A is 1%. This ensures very tight output-current regulation even with temperature, input and load variations.
For all the reasons I’ve mentioned, the LM317A is a sought-after device for small LED lighting applications, especially when you need a simple linear drive in automotive subsystems. If the dropout of the LM317A (2.5V-3V) is a concern, consider the upgraded LM1086, which takes it down to 1-1.3V and provides more headroom for your lights.
TI PROVIDES TECHNICAL AND RELIABILITY DATA (INCLUDING DATASHEETS), DESIGN RESOURCES (INCLUDING REFERENCE DESIGNS), APPLICATION OR OTHER DESIGN ADVICE, WEB TOOLS, SAFETY INFORMATION, AND OTHER RESOURCES “AS IS” AND WITH ALL FAULTS, AND DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY RIGHTS.
These resources are intended for skilled developers designing with TI products. You are solely responsible for (1) selecting the appropriate TI products for your application, (2) designing, validating and testing your application, and (3) ensuring your application meets applicable standards, and any other safety, security, or other requirements. These resources are subject to change without notice. TI grants you permission to use these resources only for development of an application that uses the TI products described in the resource. Other reproduction and display of these resources is prohibited. No license is granted to any other TI intellectual property right or to any third party intellectual property right. TI disclaims responsibility for, and you will fully indemnify TI and its representatives against, any claims, damages, costs, losses, and liabilities arising out of your use of these resources.
TI’s products are provided subject to TI’s Terms of Sale (www.ti.com/legal/termsofsale.html) or other applicable terms available either on ti.com or provided in conjunction with such TI products. TI’s provision of these resources does not expand or otherwise alter TI’s applicable warranties or warranty disclaimers for TI products.
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2023, Texas Instruments Incorporated