If you are building a low-voltage smart home subpanel to run 24V lighting relays, HVAC controllers, and PoE injectors, you need a DIN-rail switch mode DC power supply (SMPS) rated for at least 20% above your continuous load. For a standard 4A smart home hub and relay bank, the default pick is the Mean Well DR-120-24 (24V, 5A, ~$42). It provides the necessary headroom, fits standard 35mm DIN rails, and accepts universal AC input without requiring external transformers.
Linear vs. Switching: Topology Math for Home Automation
When stepping down 120VAC mains to 24VDC for a subpanel, you have two fundamental topology choices: linear (transformer plus linear regulator) or switching (high-frequency MOSFET switching). For any smart home load exceeding 0.5A, the switch mode DC power supply is the only mathematically viable option.
| Metric | Linear (Transformer + LDO) | Switch Mode (Flyback/Buck) |
|---|---|---|
| Efficiency | 40% - 60% | 85% - 92% |
| Heat Dissipation (at 5A) | ~480W (Requires massive heatsinks) | ~13W (Passive convection) |
| Output Noise | < 5mV p-p (Ultra-clean) | 100mV - 150mV p-p (High-freq ripple) |
| Cost & Size (120W) | $150+ / Shoe-box sized | $42 / 40mm DIN-rail width |
A linear regulator dropping 35VDC (rectified from a 24VAC transformer) down to 24VDC at 5A must dissipate 55W of heat just from the regulator, plus transformer losses. In a sealed NEMA 1 or 12 subpanel, this will trigger thermal shutdown within minutes. A switch mode supply chops the DC bus at 65kHz to 100kHz, using a transformer a fraction of the size, keeping panel ambient temperatures manageable.
Input Protection, Wiring, and NEC Derating
A quality switch mode DC power supply features a universal input range (typically 85-264VAC). In a standard US residential panel, you are feeding it 120VAC single-phase. Because an SMPS uses a bridge rectifier and bulk capacitors on the input, it presents a non-linear load with a high inrush current.
For input protection, size your breaker based on the continuous current draw, applying the 125% rule from NEC Article 210.20. A 120W supply pulling 120W / 120V = 1A nominal. With an 85% power factor and 125% continuous derating, you need roughly 1.5A capacity. A standard 15A single-pole breaker is the minimum standard panel size and provides ample headroom for the 40A microsecond inrush spike without nuisance tripping, provided you use a Type C or standard thermal-magnetic breaker (avoid fast-acting magnetic-only breakers). Use 14 AWG THHN copper for the AC input pigtails.
Design Example: 120W 24V DC Subpanel Build
Let's spec a real-world subpanel powering a smart home relay bank. The load consists of eight 24V relay modules (0.5A total), a 4-port PoE injector for security cameras (1.5A), and a central home automation controller (0.5A).
| Parameter | Specification / Part Value |
|---|---|
| Total Continuous DC Load | 2.5A (60W) |
| NEC 125% Continuous Derating | 3.125A minimum required |
| Thermal/Inrush Buffer (20%) | 3.75A target capacity |
| Selected Power Supply | Mean Well DR-120-24 (24V, 5A, 120W) |
| AC Input Wiring | 14 AWG THHN, 15A Single-Pole Breaker |
| DC Output Wiring | 12 AWG MTW to terminal blocks, 5x20mm 6A Glass Fuse |
Ripple, Noise, and Downstream Headroom Math
Switching topologies inherently generate high-frequency ripple. A standard industrial SMPS like the DR-120-24 specifies a maximum ripple and noise of 150mV peak-to-peak. For digital logic, relays, and PoE, this is entirely negligible. However, if your subpanel also feeds 4-20mA analog sensor loops or high-resolution ADCs, 150mV of 65kHz noise will corrupt your readings.
If you need ultra-clean DC for analog sensors, do not buy a more expensive linear supply. Instead, use the SMPS to generate the 24V bus, and drop it down to 12V or 5V using a downstream Low Dropout Regulator (LDO) or a filtered buck converter.
For example, if you use an LM2596 buck converter to step 24V down to 5V for a Raspberry Pi gateway, you must account for dropout voltage. The LM2596 requires a minimum headroom (dropout) of roughly 1.5V to maintain regulation. With a 24V input, you have 19V of headroom—far exceeding the requirement, ensuring the 5V rail remains rock solid even if the main AC line sags and the SMPS output dips to 22V.
The Decision Tree: Picking Your Exact Supply
Do not overcomplicate your BOM. Use this decision matrix to select the exact switch mode DC power supply for your panel based on your calculated continuous load.
| Calculated Continuous Load | Required Capacity (Load x 1.25 x 1.2) | Recommended DIN-Rail SMPS Pick |
|---|---|---|
| Under 1.0A (e.g., single smart hub) | 1.5A | Mean Well DR-30-24 (24V, 1.5A, ~$22) |
| 1.0A to 4.0A (e.g., relays + PoE) | 1.5A to 6.0A | Mean Well DR-120-24 (24V, 5A, ~$42) |
| 4.0A to 8.0A (e.g., heavy LED drivers) | 6.0A to 12.0A | Mean Well SDR-240-24 (24V, 10A, ~$85) |
| Above 8.0A | > 12.0A | Split into two DR-120-24 units on separate breakers |
The Default Pick: For 90% of residential smart home subpanels, the Mean Well DR-120-24 is the definitive choice. It hits the sweet spot of price, physical footprint (just 40mm wide), and thermal mass. Buy the genuine article from an authorized distributor like Digi-Key or Mouser; the market is flooded with counterfeit units lacking proper over-current and short-circuit protection on the secondary side. Terminate the DC output with ferrules, torque the V+ and V- screws to 0.56 N-m, and your low-voltage distribution will run for a decade without intervention.






