To build a diy variable lab bench power supply from pc psu hardware, you use the ATX power supply as a high-current, isolated 12V DC front-end, then add a post-regulation stage to achieve adjustable voltage. An ATX PSU alone only provides fixed rails (12V, 5V, 3.3V); it cannot natively output a variable 0–15V range. By feeding the ATX’s 12V rail into a linear post-regulator (for ultra-low noise) or a buck-boost switching module (for high power), you convert a $20 surplus computer supply into a precision bench tool.
Topology Selection: Linear Post-Reg vs. Switching Buck-Boost
When deciding how to make the fixed 12V ATX rail variable, you must choose between linear and switching post-regulation. The right choice depends entirely on your load: are you testing precision audio circuits and 16-bit ADCs, or are you driving high-current DC motors and LED arrays?
Linear regulators like the LT3080 offer near-zero ripple but burn excess voltage as heat. Switching buck-boost modules (like those based on the LTC3780) deliver high efficiency and wide voltage ranges but introduce switching noise that requires filtering. Below is a direct comparison of both topologies when driven by a standard 12V ATX rail.
| Parameter | Linear (LT3080) | Switching Buck-Boost (LTC3780) |
|---|---|---|
| Efficiency @ 5Vout / 2A | 41% (Burns 14W as heat) | 88% (Burns ~1.8W as heat) |
| Efficiency @ 10Vout / 2A | 83% (Burns 4W as heat) | 92% (Burns ~1.1W as heat) |
| Output Ripple (Peak-to-Peak) | < 50 µV (Excellent for audio/RF) | 30–60 mV (Requires LC pi-filter) |
| Max Output Voltage | ~10.1V (Limited by ATX sag & dropout) | Up to 20V+ (Boosts the 12V rail) |
| Approximate Module Cost | $8 – $15 (DIY TO-220 build) | $20 – $35 (Pre-built 400W module) |
Design Example: 0–10V / 1.5A Low-Noise Linear Supply
For precision bench work, we will use the Analog Devices LT3080, a 1.1A low-dropout linear regulator that can be paralleled for higher current or used with an external pass transistor. For this design, a single LT3080 provides a highly stable 0–10V output at up to 1.1A continuous.
Input/Output Specs and Headroom Math
A common mistake in DIY ATX builds is assuming the 12V rail is exactly 12.0V. Under a moderate load, ATX tolerances (per the Intel ATX12V standard) allow the 12V rail to sag to 11.4V. We must design our headroom around this worst-case scenario.
- Nominal Input: 12.0V (Yellow wire)
- Worst-Case Input: 11.4V
- LT3080 Dropout Voltage: ~1.3V at 1.1A (per datasheet)
- Maximum Reliable Output: 11.4V - 1.3V = 10.1V
Therefore, we will design this supply for a 0–10V maximum output. Attempting to push it to 11V will result in dropout clipping when you draw heavy current.
Component Values and Wiring
The LT3080 sets its output voltage via a single resistor (RSET) connected from the SET pin to ground, driven by an internal 50 µA current source. The formula is Vout = 50µA × R_SET.
- Target Vout (Max): 10V
- Required R_SET: 10V / 0.000050A = 200 kΩ
- Implementation: Use a 150 kΩ fixed metal-film resistor in series with a 100 kΩ multi-turn Bourns 3296W trimpot. This allows you to dial the maximum voltage in precisely while maintaining fine resolution.
- Input Capacitance: 10 µF ceramic (X7R) + 100 µF electrolytic at the ATX cable termination point to handle transient ATX switching spikes.
- Output Capacitance: 22 µF low-ESR ceramic required for LT3080 stability.
Design Example: 1–20V / 5A High-Power Switching Supply
If you need to charge battery packs, run high-power LEDs, or test 15V automotive circuits, the 10V ceiling of the linear regulator is insufficient. Because you cannot safely stack ATX rails (see the safety warning below), you must use a switching buck-boost (SEPIC) converter to step the 12V rail up to 20V.
The LTC3780 Buck-Boost Module
Off-the-shelf modules based on the LTC3780 controller are widely available for around $25. They accept an 8–32V input and provide a 1–32V output. When fed by the ATX 12V rail, they can easily output 20V at 5A (100W), limited only by the ATX PSU's 12V rail capacity (which is typically 20A+ on modern units).
Ripple Expectations and Filtering
Switching regulators inherently generate output ripple. A typical LTC3780 module will exhibit 40–60 mV peak-to-peak ripple at its switching frequency (usually 200–400 kHz). While fine for motors, this will cause jitter in sensitive microcontrollers or audio circuits.
The Fix: Add an output LC pi-filter. Solder a 10 µH shielded power inductor in series with the module's positive output, followed by two 220 µF low-ESR polymer capacitors to ground (one on each side of the inductor). This second-order filter will attenuate the high-frequency switching noise by over 40 dB, bringing the ripple down to <5 mV, bridging the gap between switching efficiency and linear-like noise performance.
Input Protection, Thermal Derating, and the Earth-Ground Trap
Working with ATX power supplies on the bench introduces specific failure modes and safety hazards that generic tutorials often ignore. Address these before you power on your build.
The Earth-Ground Stacking Myth (Critical Safety Warning)
Many outdated forum posts suggest wiring the ATX +12V (Yellow) and +5V (Red) rails in series to create a 17V DC bus for higher linear regulator headroom. Do not do this.
In almost all ATX power supplies, the DC common (Black wires) is hard-tied to the AC Earth Ground (Green/Yellow wire) at the IEC inlet on the metal chassis. If you attempt to float the 5V ground to the 12V positive to stack them, you are effectively shorting the 12V rail directly to earth ground through the PSU chassis. This will cause immediate sparking, melted PCB traces, and potentially trip your workshop's GFCI or breaker. Always use a single isolated rail (like the 12V) and rely on a buck-boost converter if you need higher voltages.
Input Protection and Fusing
The ATX PSU has internal over-current protection (OCP), but it is designed to protect the PC's motherboard, not your external bench wiring. If your binding posts short out, the ATX might not trip fast enough to save your thin bench wires.
- Fusing: Install a 10A automotive blade fuse holder on the 12V Yellow wire, as close to the ATX PCB connection point as possible.
- Reverse Polarity: If you are building a linear supply, place a 15A Schottky diode (e.g., 15TQ060) across the input terminals (cathode to positive, anode to negative). If a user accidentally connects an external battery backwards to your binding posts, the diode will clamp the voltage and blow the 10A fuse, saving the LT3080 from catastrophic reverse-bias failure.
Thermal Derating for Linear Regulators
Returning to the LT3080 linear design: heat is your primary enemy. Let's calculate the thermal requirements for a worst-case scenario where you set the output to 2V and draw 1.1A to test a low-voltage high-current load.
- Power Dissipated: (11.6Vin - 2Vout) × 1.1A = 10.56W
- Max Junction Temp (Tj): 125°C
- Ambient Temp (Ta): 25°C (inside a poorly ventilated project box)
- Allowed Rise: 100°C
- Max Thermal Resistance (RθJA): 100°C / 10.56W = 9.4°C/W
The TO-220 package has a junction-to-case resistance (RθJC) of about 3°C/W, and case-to-sink (RθCS) with thermal paste is ~0.5°C/W. This leaves only 5.9°C/W for the heatsink itself. A standard bare TO-220 tab without a heatsink is ~62°C/W—it will go into thermal shutdown in seconds. You must mount the LT3080 to an extruded aluminum finned heatsink (like the Wakefield 641K, rated at ~2.5°C/W) or actively cool it with a 40mm 12V fan wired directly to the ATX's 12V rail.
Powering the ATX PSU Standalone
Finally, to turn the ATX PSU on without a motherboard, you must pull the PS_ON pin low. Locate the 24-pin ATX connector and identify the Green wire (Pin 16). Connect this directly to any Black wire (COM/Ground) using a physical toggle switch. Add a 10 kΩ pull-up resistor from the Green wire to the 5V Standby (Purple) wire to ensure the logic state remains stable and doesn't float, which can cause the PSU to chatter or fail to latch on.






