Parts
LM2596 buck regulator: pinout, ratings, a 12 V to 5 V design and the blue module
By Bulan Sarkar
The LM2596 in its 5-pin TO-220 reads, with the printed face toward you and the leads down: 1 VIN, 2 OUTPUT, 3 GND, 4 FEEDBACK, 5 ON/OFF. The metal tab is ground. Pin 2 is the switch, so it jumps between the input voltage and about −0.5 V 150,000 times a second.
This page covers the fixed and adjustable versions, the feedback formula, how the datasheet picks the inductor and catch diode, a 12 V to 5 V design at 2 A with its heat worked out, and how to check one of the cheap blue modules. The numbers come from TI's SNVS124G (March 2023) and onsemi's LM2596/D (December 2022).
Pinout by package
Printed face toward you, leads down: VIN, OUT, GND, FB, ON/OFF from left to right. The tab is ground.
Source: Texas Instruments LM2596 SIMPLE SWITCHER Power Converter 150-kHz 3-A Step-Down Voltage Regulator (SNVS124G), p. 4 (Figure 6-1, 5-pin TO-220 NDH package, top view: 1 VIN, 2 Output, 3 Ground, 4 Feed Back, 5 ON/OFF, tab marked GND; Table 6-1 pin functions); Texas Instruments LM2596 SIMPLE SWITCHER Power Converter 150-kHz 3-A Step-Down Voltage Regulator (SNVS124G), p. 38 (package option addendum: LM2596T-ADJ, TO-220, marking LM2596T)
Printed face toward you, leads down: pin 1 (VIN) on the left. The heat-sink surface is pin 3, ground.
onsemi makes the adjustable version only; TI makes 3.3 V, 5 V, 12 V and ADJ.
Source: onsemi LM2596/D 3.0 A, Step-Down Switching Regulator, p. 1 (TO-220 T and TV suffix drawings, pin list 1 Vin, 2 Output, 3 Ground, 4 Feedback, 5 ON/OFF; "Heatsink surface connected to Pin 3"; marking LM2596T-ADJ); onsemi LM2596/D 3.0 A, Step-Down Switching Regulator, p. 3 (pin function description)
Which one do you have?
The suffix after LM2596 gives the package and the output. T is the 5-pin TO-220, S the 5-pin TO-263 surface-mount package. Then comes -3.3, -5.0, -12 or -ADJ. The fixed versions have the divider inside and pin 4 goes straight to the output; the ADJ version needs two resistors and covers 1.2 V to 37 V. TI makes all four. onsemi's datasheet covers the ADJ only, in two TO-220 lead forms (T and TV) and a D2PAK.
The blue "LM2596 module" is a different question. It is a small board with a TO-263 chip, an inductor, a diode, two electrolytics and a trimmer, and the listing rarely says who made the chip. Neither datasheet can tell you what is on a module. The bench check further down tells you whether it behaves like an LM2596.
Absolute maximum ratings
Both makers rate the input at 45 V absolute and 4.5 V to 40 V in use, and both allow 3 A out. They differ on heat: TI gives 50 °C/W from the junction to the air for a vertical TO-220 with its leads on about a square inch of copper, onsemi 65 °C/W. With a part of unknown origin, use 65 °C/W.
| Parameter | LM2596T-ADJTO-220-5 | LM2596TADJGTO-220-5 |
|---|---|---|
| Supply voltage, absolute maximum VIN | 45 V | 45 V |
| Supply voltage, operating VIN | 4.5 to 40 V | 4.5 to 40 V |
| ON/OFF pin voltage | up to 25 V (pin table, p. 4) | −0.3 V to VIN |
| Feedback pin voltage | −0.3 to 25 V | not given |
| Output pin to ground, steady state | −1 V | −1.0 V |
| Output current ILOAD | 3 A | 3.0 A |
| Thermal resistance, junction to air RθJATO-220, no heat sink | 50 °C/W (vertical, leads on about 1 in² of copper) | 65 °C/W |
| Thermal resistance, junction to case RθJC | 2 °C/W | 5.0 °C/W |
| Junction temperature TJ | 150 °C max; −40 to 125 °C operating | 150 °C max; −40 to 125 °C operating |
The ON/OFF pin is rated differently too. TI's pin table allows up to 25 V on it; onsemi allows anything from −0.3 V up to VIN. Driving it from a 5 V or 3.3 V logic pin is fine for both.
Switch drop, current limit and frequency
| Parameter | LM2596T-ADJTO-220-5 | LM2596TADJGTO-220-5 |
|---|---|---|
| Feedback voltage (ADJ) VFB25 °C; full temperature range in brackets | 1.193 to 1.267 V (1.18 to 1.28 V) | 1.193 to 1.267 V (1.18 to 1.28 V) |
| Oscillator frequency fO25 °C; full range in brackets | 127 / 150 / 173 kHz (110 to 173) | 135 / 150 / 165 kHz (120 to 180) |
| Switch saturation voltage VSATIOUT = 3 A, 25 °C; full range in brackets | 1.16 typ, 1.4 V max (1.5) | 1.5 typ, 1.8 V max (2.0) |
| Switch current limit, peak ICL25 °C; full range in brackets | 3.6 / 4.5 / 6.9 A (3.4 to 7.5) | 4.2 / 5.6 / 6.9 A (3.5 to 7.5) |
| Maximum duty cycle | 100 % | 95 % |
| Quiescent current IQ | 5 typ, 10 mA max | 5.0 typ, 10 mA max |
| Standby current, ON/OFF high ISTBYVIN = 40 V, 25 °C | 80 typ, 200 µA max | 80 typ, 200 µA max |
| ON/OFF thresholdover the full temperature range | 1.3 V typ; on below 0.6 V, off above 2 V | 1.6 V typ; on below 0.8 V, off above 2.4 V |
| Feedback bias current (ADJ) Ib | 10 typ, 50 nA max | 25 typ, 100 nA max |
| Efficiency ηVIN 12 V, 5 V out, 3 A | 80 % typ (fixed 5 V version) | 73 % typ (ADJ set to 5 V) |
The reference and the 150 kHz clock agree between the makers, but the switch does not: onsemi's saturation voltage at 3 A is 1.5 V typical and 1.8 V maximum, against TI's 1.16 V and 1.4 V. That drop is most of the chip's own heat, so the onsemi figure is the one to design to. The current limit also differs: TI's can trip as low as 3.6 A at 25 °C and 3.4 A over temperature, onsemi's at 4.2 A and 3.5 A. Hot, either one leaves only about half an amp above a 3 A load.
onsemi notes one more behaviour: if the output is shorted or overloaded so that it falls about 40 % below its setting, the oscillator drops to about 30 kHz to cut the heat in the chip.
What it is good for
- Stepping 12 V or 24 V down to 5 V or 3.3 V at 1 to 2 A for a microcontroller board, a Raspberry Pi-class computer or LED strips, where a linear regulator would burn several watts.
- A pre-regulator ahead of a linear regulator, cutting the drop the linear part has to absorb.
- Battery-powered gear that has to sleep: pulling ON/OFF high drops the input current to about 80 µA.
It is not the right part for a tiny board (150 kHz needs a large inductor), for loads near 3 A without a good heat sink, or for inputs below about 7 V when you want 5 V out. TI now points new designs at its newer synchronous converters. The switching regulators lesson explains how a buck converter works.
Worked example: 12 V to 5 V at 2 A
An LM2596T-ADJ makes 5 V at 2 A from a 12 V adapter. Every step below follows the datasheet's own procedure; the values are the ones in Figure 2.
1. Set the output. VOUT = 1.23 V × (1 + R2 / R1). TI asks for R1 between 240 Ω and 1.5 kΩ, onsemi between 1 kΩ and 5 kΩ, so take R1 = 1 kΩ. Then R2 = 1 kΩ × (5 / 1.23 − 1) = 3.065 kΩ; the nearest 1 % value is 3.09 kΩ, giving 5.03 V. With the reference anywhere in its 1.193 to 1.267 V band, the output lands between 4.88 V and 5.18 V.
2. Work out the duty cycle and E × T. TI's formula takes the switch drop as 1.16 V and the diode as 0.5 V: D = (5 + 0.5) / (12 − 1.16 + 0.5) = 48.5 %. The inductor's volt-microsecond product is (12 − 5 − 1.16) × D × 1000 / 150 = 18.9 V·µs.
3. Pick the inductor. TI's quick-design table for a 5 V output at 2 A with up to 20 V in gives 68 µH (code L38, rated 3.10 A). The ripple is 18.9 V·µs / 68 µH = 0.28 A peak to peak, so the inductor peaks at 2.14 A. onsemi asks for a current rating of at least 1.15 × the load, 2.3 A; 3.10 A clears both.
4. Pick the catch diode. TI wants a current rating 1.3 times the load (2.6 A) and a reverse rating 1.25 times the input (15 V), in a Schottky or ultra-fast type. A 1N5822 (3 A, 40 V Schottky, from TI's diode table) fits. For a supply that must survive a shorted output, TI says to rate the diode for the full current limit: use a 5 A 1N5825.
5. Pick the capacitors. The input capacitor carries ripple current of about half the load, 1 A RMS, and needs at least 1.5 × 12 = 18 V, so a 25 V or higher low-ESR electrolytic. TI's own circuit uses 470 µF, 50 V. On the output, TI's adjustable example uses 220 µF, 35 V. TI asks for a feedforward capacitor across R2 only above about 10 V out or with very low-ESR output capacitors, so none here.
6. Count the heat. The chip loses its switch drop for D of every cycle plus its own supply current: 1.16 V × 2 A × 48.5 % + 12 V × 5 mA = 1.2 W. With onsemi's 1.5 V drop it is 1.6 W. The diode adds 0.5 V × 2 A × (1 − D) = 0.51 W.
7. Check against the efficiency figure. TI quotes 80 % from 12 V to 5 V at 3 A, onsemi 73 %. At those efficiencies the 10 W output takes 12.5 W to 13.7 W from the adapter, 1.04 A to 1.14 A at 12 V, and 2.5 W to 3.7 W turns into heat across the whole board.
A bare TO-220 at 40 °C ambient rises by the chip's heat times its junction-to-air resistance. With TI's typical figures that is 1.2 W × 50 °C/W = 59 °C of rise, a junction at 99 °C. With onsemi's typical drop and 65 °C/W it is 141 °C, past the 125 °C operating limit; with its maximum drop, 168 °C. TI's own advice is that the TO-220 needs a heat sink under most conditions. On the Thermalloy #7020 sink TI tested, the rise at 12 V in, 5 V out was about 38 °C even at 3 A.
The surface-mount version gets its cooling from the board. TI measured a TO-263 on 9 square inches of copper at 2 A, 12 V in and 5 V out: about 46 °C above ambient. A module board has far less copper than that. The regulator thermal design lesson shows how to size a heat sink from these numbers.
Worked example in numbers
- R2 (R1 = 1 kΩ)
- 3.09 kΩ
- Inductor
- 68 µH, 3.1 A
- Input current
- 1.04 A to 1.14 A
- Chip heat
- 1.2 W to 1.6 W
Tips and checks
- Keep the high-current loop tight: input capacitor, pin 1, pin 3 and the diode as close together as the parts allow. TI asks for short, heavy traces and a ground plane.
- Keep the copper on pin 2 small. It swings 12 V at 150 kHz and couples into anything nearby; TI says so in the pin table.
- Route the feedback wire away from the inductor, and use a closed-core (toroid or shielded) inductor if the output ripple or regulation looks wrong. TI shows how an open bobbin coil couples into nearby traces.
- For a 5 V output, keep the input above about 7 V. TI specifies its 5 V version from 7 V up, and onsemi's dropout curve puts the input-to-output difference near 1.8 V at 3 A.
- Do not use an output capacitor above 820 µF; TI's design procedure says so. TI also warns that an output capacitor with extremely low ESR can make the loop unstable.
Substitutes
The same LM2596 from another maker, or another output version from the same one, drops into the same five holes. Parts with other numbers, even similar ones, use other frequencies and pins; check their own datasheets before swapping.
| Part | Pins | Verdict |
|---|---|---|
| onsemi LM2596TADJG | VIN-OUT-GND-FB-ON/OFF | Same pins, same 1.23 V reference, same divider formula. Budget for its higher switch drop: 1.8 V maximum at 3 A against TI’s 1.4 V, so it runs warmer.onsemi LM2596/D 3.0 A, Step-Down Switching Regulator, p. 1; onsemi LM2596/D 3.0 A, Step-Down Switching Regulator, p. 4 |
| TI LM2596T-5.0 | VIN-OUT-GND-FB-ON/OFF | The fixed 5 V version in the same package. Pin 4 connects straight to the output and the two divider resistors go. Its 5 V is held to 4.8 to 5.2 V at 25 °C.Texas Instruments LM2596 SIMPLE SWITCHER Power Converter 150-kHz 3-A Step-Down Voltage Regulator (SNVS124G), p. 6; Texas Instruments LM2596 SIMPLE SWITCHER Power Converter 150-kHz 3-A Step-Down Voltage Regulator (SNVS124G), p. 23 |
| TI LM2596S-ADJ | VIN-OUT-GND-FB-ON/OFF | The same chip in the 5-pin TO-263 surface-mount package, with the same pin order and a ground tab soldered to the board. This is the package found on most ready-made modules.Texas Instruments LM2596 SIMPLE SWITCHER Power Converter 150-kHz 3-A Step-Down Voltage Regulator (SNVS124G), p. 4 |
Bench check for a chip or a blue module
- Read the chip. A TO-263 part from TI or onsemi carries LM2596 and its suffix (S-ADJ, S-5.0 and so on) with the maker's logo. Note what is there; an unmarked or oddly marked chip tells you to test more carefully.
- Power it from 12 V with a current-limited supply and no load. On an ADJ module, measure pin 4 to ground: it should read between 1.193 V and 1.267 V, whatever the trimmer is set to. Then set the output to 5.0 V.
- With 0.5 A of load, put a scope probe on pin 2 or on the diode. The square wave should repeat at 127 kHz to 173 kHz. A very different frequency means the chip is not working like an LM2596.
- Load it to 2 A with a 2.5 Ω, 10 W resistor for ten minutes. The output should stay within 4 % of 5 V, the adjustable version's tolerance over line and load, and the input current at 12 V should be close to 1 A to 1.1 A. Much more means the module is wasting power.
- Measure the tab with a thermocouple, not a finger. If it passes about 100 °C at 2 A, the junction is close to its 125 °C limit: derate the module or add copper and airflow.
The bench power supply lesson covers current-limited testing.
What we'd do
For 5 V at up to 2 A from 12 V or 24 V, build the LM2596T-ADJ circuit above with a 68 µH inductor rated past 2.3 A, a 1N5822 (or a 1N5825 if shorts are possible) and a small heat sink on the TO-220, and design the heat to onsemi's 1.8 V switch drop. Treat a blue module as a 1.5 to 2 A part until it has passed the bench check above, whatever its listing says.
Questions people ask
What is the LM2596 pinout?
On the 5-pin TO-220, printed face toward you and leads down: 1 VIN, 2 OUTPUT, 3 GND, 4 FEEDBACK, 5 ON/OFF. The tab is connected to ground. The TO-263 surface-mount version uses the same order.
How do I set the output of the LM2596-ADJ?
VOUT = 1.23 V × (1 + R2 / R1), with R2 from the output to pin 4 and R1 from pin 4 to ground. With R1 = 1 kΩ, R2 is 3.09 kΩ for 5 V and 7.15 kΩ for 10 V (nearest 1 % values).
Can the LM2596 really deliver 3 A?
The chip is rated for 3 A, but the current limit can trip as low as 3.6 A (TI) and the heat at 3 A needs a heat sink on a TO-220 or several square inches of copper under a TO-263. Plan on 2 A for a module unless you have tested it.
What does the ON/OFF pin do?
Pulled high, it shuts the regulator down and the input current falls to about 80 µA. Above 2.4 V is off for both makers' parts. Left open or tied to ground, the regulator runs.
What switching frequency does the LM2596 use?
150 kHz nominal: TI holds it between 127 and 173 kHz at 25 °C, onsemi between 135 and 165 kHz. It drops to about 30 kHz during a short or heavy overload.
Buying LM2596 in India
Indian sellers stock the blue LM2596 module widely and cheaply, and the bare LM2596T-ADJ in TO-220 less often. A listing that names the chip maker is the exception. Buy a few, run the bench check on each, and keep the ones that pass for real loads. Our guide to buying electronic components in India compares ten online sellers and covers how to spot fakes.
One email a month from the bench
New circuits, lessons, part guides and calculators, on the first Sunday of each month.
Used in these lessons
Lessons that go deeper
Datasheets this page was checked against
- Texas Instruments, LM2596 SIMPLE SWITCHER Power Converter 150-kHz 3-A Step-Down Voltage Regulator (SNVS124G) (SNVS124G, November 1999, revised March 2023)
- onsemi, LM2596/D 3.0 A, Step-Down Switching Regulator (Rev. 1, December 2022)
Makers revise datasheets. If the copy you download has a newer revision and a number here disagrees with it, the datasheet wins, and we would like to hear about it.