If you need to deliver more than 500mA at high efficiency from a mains source, a linear regulator will cook your workbench. For a standard 60W (12V @ 5A) bench or lighting load, a voltage switch power supply (switched-mode topology) is the only practical choice. The concrete default pick for an isolated, off-the-shelf 120V AC to 12V DC build is the Mean Well IRM-60-12 ($22–$28). Below is the exact topology math, mains wiring requirements, and thermal derating data to prove why.
Topology Comparison: Linear vs. Switching
When converting 120V AC to a low-voltage DC rail, you are choosing between a heavy copper transformer with a linear pass element and a high-frequency switching topology (flyback or buck). Here is how they compare at a 60W output (12V / 5A).
| Criteria | Linear (Transformer + LM317/Pass BJT) | Switching (Flyback / Integrated SMPS) |
|---|---|---|
| Efficiency | 35% – 45% | 82% – 88% |
| Heat Dissipation (at 60W out) | ~90W – 110W | ~8W – 13W |
| Output Noise / Ripple | < 2mV p-p (Ultra-quiet) | 50mV – 100mV p-p (Requires filtering) |
| Weight & Volume | Heavy (60Hz iron core transformer) | Light (High-frequency ferrite core) |
| Component Cost (BOM) | $35 – $50 (Copper is expensive) | $12 – $25 (Integrated ICs) |
Mains Input Wiring: Sizing, Protection, and Grounding
Before the AC hits the power supply's bridge rectifier, it must be wired safely from your branch circuit. Even though a 60W load only draws 0.5A at 120V, you cannot use 18 AWG lamp cord for permanent or semi-permanent bench wiring.
- Wire Sizing: Use 14 AWG THHN in conduit or 14/2 NM-B for in-wall runs to the receptacle. NEC 240.4(D) mandates that 14 AWG copper be protected at a maximum of 15A.
- Breaker Sizing: A standard 15A thermal-magnetic breaker is correct. Do not upsize to 20A if you are using 14 AWG wire, as this defeats the overcurrent protection and violates NEC 240.4.
- Grounding & Bonding: The metal chassis of your power supply enclosure must be bonded to the Equipment Grounding Conductor (EGC). Connect the bare or green 14 AWG ground wire directly to the chassis using a star washer and a dedicated grounding lug to ensure NEC Article 250 equipotential bonding. This ensures that if a live wire frays and touches the case, the breaker trips instantly rather than energizing the chassis.
- Primary Protection: Install a 2A 250V slow-blow (time-delay) fuse in series with the hot (black) wire on the primary side of the PSU. This protects the internal bridge rectifier from inrush current faults without nuisance-tripping during normal capacitor charging.
Design Example: 120V AC to 12V DC @ 5A Math
Let's look at the exact math that disqualifies a linear design and validates a voltage switch power supply for a 12V / 5A (60W) load.
The Linear Dropout Failure
Assume you use a 24V AC secondary transformer. After the bridge rectifier and bulk capacitor, your peak DC voltage is:
V_peak = (24V * 1.414) - 1.4V (bridge drop) = 32.5V DC
To get 12V out, the pass transistor must drop 20.5V. At 5A, the power dissipated as heat is:
P_heat = 20.5V * 5A = 102.5W
To keep the silicon junction under 125°C in a 25°C room, you need a heatsink with a thermal resistance of 0.97 °C/W. This requires a massive, expensive extruded aluminum fin array and likely a cooling fan. It is physically impractical for a compact bench supply.
The Switching Topology Solution
Using an integrated flyback switching IC (like the Power Integrations LinkSwitch family) or an off-the-shelf module operating at 85% efficiency:
P_in = 60W / 0.85 = 70.5W
P_heat = 70.5W - 60W = 10.5W
10.5W of heat is easily managed with a small PCB copper pour or a low-profile aluminum chassis acting as a passive heatsink.
Input Protection Component Values
| Component | Part Example | Function |
|---|---|---|
| NTC Thermistor | Amphenol CL-90 (10Ω cold) | Limits inrush current to ~17A peak when bulk caps are empty. |
| MOV | Littelfuse 14V150 (150V RMS) | Clamps high-voltage mains transients and lightning surges. |
| X2 Cap | 0.1µF 275VAC Class X2 | Filters differential mode EMI across the AC lines. |
Ripple, Noise, and Thermal Derating
Switching power supplies introduce high-frequency noise onto the DC rail. A standard flyback converter switching at 65 kHz will typically exhibit 50mV to 100mV peak-to-peak ripple. For driving motors, relays, or LED strips, this is perfectly acceptable.
However, if your 12V rail is feeding an ESP32 ADC, an audio amplifier, or precision sensors, 100mV of switching noise will cause erratic readings. To solve this, add a passive LC Pi-filter on the DC output:
- Inductor: 10µH to 47µH ferrite core choke (rated for >6A saturation current).
- Capacitors: Two 470µF low-ESR electrolytic capacitors flanking the inductor.
This filter creates a second-order low-pass rolloff that knocks switching noise down to < 10mV p-p while maintaining the high efficiency of the switching front-end.
Thermal Derating Constraints
Switching components are highly sensitive to ambient heat. Electrolytic bulk capacitors on the primary side dry out, and silicon MOSFETs suffer increased R_DS(on) at high temperatures. Most commercial 60W supplies follow a standard derating curve:
- -20°C to +50°C: 100% load capacity (Full 5A output).
- +50°C to +70°C: Linear derating. Output capacity drops by roughly 2.5% per degree Celsius.
- +70°C: 50% load capacity (Derated to 2.5A max).
If your power supply is enclosed in a sealed project box sitting in a hot garage, you must oversize the unit. A 60W load in a 60°C ambient environment requires a 100W rated supply to avoid thermal shutdown.
The Decision Path: What to Build or Buy
Use this decision matrix to finalize your topology and component selection. Do not default to a discrete custom PCB design unless you are manufacturing at scale or have strict spatial constraints.
| Condition / Requirement | Recommended Topology / Action |
|---|---|
| Load is < 100mA, ultra-low noise (<2mV) required for precision ADCs. | Linear Regulator (e.g., LM317 or low-dropout LDO). |
| Stepping down an existing DC rail (e.g., 24V to 12V) at > 1A. | Discrete Synchronous Buck Converter (e.g., TI LM2596 or MP2315). |
| Mains isolated, > 30W, DIY prototyping, no custom PCB fabrication. | Off-the-shelf Enclosed AC-DC SMPS Module. |
| Need 12V @ 5A (60W) from 120V AC for bench/lighting, high reliability. | DEFAULT PICK: Mean Well IRM-60-12. |
The Concrete Pick: Mean Well IRM-60-12
For 95% of DIY, home automation, and workbench applications requiring 120V AC to 12V DC at 5A, do not wind your own flyback transformer. Buy the Mean Well IRM-60-12.
- Part Number: IRM-60-12 (Encapsulated PCB mount) or IRM-60-12ST (Screw terminal block version for easier wiring).
- Cost: $22 – $28 USD.
- Specs: 86-264 VAC input range, 84% efficiency, built-in EMI filtering, fully potted for vibration/moisture resistance, and UL/CE certified.
Wire the AC input with 14 AWG THHN through a 2A slow-blow fuse, bond your enclosure to the EGC, and add a 10µH LC filter on the DC output if your load includes sensitive microcontrollers. This gives you the efficiency of a voltage switch power supply with the noise profile of a linear regulator, without the thermal math headaches.






