ss="art-wrap">
Key Takeaways
- Switching frequency selection balances magnetic size (↓ with ↑fsw) against switching losses (↑ with ↑fsw); optimal fsw occurs where conduction loss ≈ switching loss.
- Noise in power supplies originates from three critical nodes: error amplifier input, reference voltage, and PWM ramp—each demands localized, low-inductance layout and intentional filtering.
- Input filter instability arises from the converter's negative input impedance (dV/dI ≈ −V/I); stability requires source impedance at least 6 dB below converter input impedance, achieved via RC damping networks.
- A standard buck controller can generate negative output voltages using buck–boost topology, but duty cycle D = Vout/(Vout − Vin) and inductor current IL = Iout/(1 − D) must be carefully managed to avoid saturation.
- Accurate ripple measurement requires eliminating ground-lead inductance—use tip-and-short-ground-wire probing—and common-mode chokes for isolated supplies.
- Spread-spectrum frequency modulation (β = Δf/fm) reduces peak EMI by >8 dB at β = 4, but increases noise floor and requires magnetics sized for the lowest operating frequency.
- SMD semiconductor temperature rise is dominated by PCB thermal resistance (RthJA), not package specs—copper area, layer count, and trace routing directly determine junction-to-ambient ΔT.
Practical Power Supply Design: Engineering Lessons, Layout and EMC in the Real World
Designing reliable, efficient, and compliant switch-mode power supplies (SMPS) goes far beyond selecting a controller IC and copying a reference design. Real-world power supply engineering involves navigating subtle trade-offs between size, efficiency, cost, electromagnetic compatibility (EMC), thermal performance, and manufacturability—all while meeting stringent safety and regulatory requirements. This article distills hard-won lessons from decades of field experience—including TI Power Tips archives, transformer winding best practices, and hands-on construction insights—into actionable guidance for embedded systems engineers, power electronics designers, and hardware leads building industrial, medical, LED lighting, and aerospace-grade power stages.
We focus on what works—not just in simulation, but on the bench and in production. From taming input filter oscillations to measuring true output ripple, from repurposing buck controllers for negative outputs to estimating SMD junction temperatures without heatsinks, these are the practical decisions that separate functional prototypes from robust, certified products.
Selecting the Right Switching Frequency: Size vs. Efficiency vs. Cost
The choice of switching frequency (fsw) is arguably the most consequential early decision in SMPS design. It cascades into every major component selection, layout constraint, and system-level trade-off.
At low frequencies (e.g., 50–150 kHz), conduction losses dominate. MOSFETs can use larger die areas to minimize RDS(on), reducing I²R heating. Inductors and transformers are physically large due to energy storage requirements (L ∝ 1/fsw), and bulk capacitors must handle high ripple currents. While efficiency peaks here, the resulting solution is bulky, heavy, and expensive—especially when magnetics drive board real estate and BOM cost.
At high frequencies (e.g., 500 kHz–2 MHz), inductor volume shrinks roughly as 1/fsw, enabling compact ferrite or powdered-iron cores. Ceramic output capacitors replace electrolytics, cutting cost and improving reliability. But switching losses surge: each transition dissipates energy proportional to fsw × V × I × tsw. Gate drive loss, Miller capacitance charging, and reverse-recovery losses all scale with frequency.
The total loss curve is U-shaped. Minimum total loss occurs where conduction loss equals switching loss—a point known as the *loss crossover*. At this optimum fsw, the required MOSFET die area is also minimized, enabling smaller, cheaper devices. However, pushing fsw beyond this point sacrifices efficiency unless semiconductor technology advances (e.g., GaN HEMTs reduce both RDS(on) and gate charge, shifting the crossover upward).
Crucially, the *component volume allocation* shifts with frequency:
- Below 200 kHz: magnetics occupy >70% of board area.
- Above 1 MHz: semiconductors and gate drivers dominate footprint, while passive size shrinks dramatically.
Therefore, fsw should be selected not as a fixed number, but as a system-level compromise anchored to your top priorities: miniaturization (favor higher fsw), maximum efficiency (favor lower fsw), or lowest BOM cost (often mid-range, balancing device price and passive count).
| Switching Frequency | Efficiency | Size | EMI Effort | Typical Use |
|---|---|---|---|---|
| ~100 kHz | Highest | Large magnetics | Lowest | High-power / offline PSU base |
| ~250–500 kHz | High | Compact | Moderate | General DC/DC converters |
| ≥ 1 MHz | Reduced | Smallest | High (careful layout required) | Space-constrained, low-power rails |
Taming Noise: Layout Rules for Stable Control Loops
Noise in switch-mode supplies rarely stems from "bad parts"—it arises from unintentional antennas, ground loops, and impedance mismatches in the control path. Three nodes are especially vulnerable: the error amplifier input, the internal reference voltage node, and the PWM ramp (slope) signal. Each demands surgical attention during layout.
Feedback Network Placement & Filtering
Place feedback resistors and compensation components as close as possible to the error amplifier pins. Prioritize placement order:
1. The high-frequency integrating capacitor (e.g., Ccomp across op-amp inputs) must be closest—its low impedance shunts HF noise before it reaches the amp.
2. Next, place the series resistor (Rseries) near the amplifier's inverting input. This ensures any injected HF current sees high resistance (limiting current) while the capacitor presents low impedance to ground.
3. Finally, position the feedback divider resistors—keeping their traces short and symmetric.
Avoid routing these traces near switching nodes (drain of high-side FET, cathode of output diode, or inductor pads). Even 2 mm of parallel run can couple tens of mV of ringing into the error path.
Ground Planes and Shielding
A continuous, unbroken ground plane beneath the control section provides essential shielding. Route all low-level analog traces (reference, FB, COMP) exclusively over this plane—never split it. Keep switching power grounds (input cap GND, output cap GND, power inductor GND) physically separated and joined to the analog ground at a single star point near the controller's ground pin.
Sub-Harmonic Oscillation & Slope Compensation
In current-mode controllers, sub-harmonic oscillation appears as alternating wide/narrow pulse widths at half the switching frequency—caused by insufficient slope compensation. When the inductor current ramp is too shallow relative to the oscillator ramp, the control loop becomes conditionally stable. Add an artificial voltage ramp (typically derived from the oscillator sawtooth) to the current sense signal. The rule of thumb: compensation ramp slope should equal at least 50% of the down-slope of the inductor current in continuous conduction mode (CCM).
Also address leading-edge spikes on the current sense waveform using built-in leading-edge blanking (LEB)—or add a small RC snubber at the sense resistor if LEB is unavailable.
Damping the Input Filter: Preventing Negative-Impedance Oscillations
Every SMPS exhibits negative incremental input impedance: because input power Pin ≈ constant, dV/dI = −V/I. When paired with an LC input filter (L0 + C0), this creates a potential oscillator—the filter's source impedance and the converter's input impedance can resonate when their magnitudes match and phases oppose.
Stability requires the filter's source impedance magnitude to remain *at least 6 dB below* the converter's input impedance across all frequencies—especially near the filter's resonant frequency.
The filter's characteristic impedance is Z0 = √(L0/C0). Its peak source impedance at resonance is approximately Z0 × Q, where Q is the filter's quality factor.
To enforce stability, add a damping network: a series RD–CD branch across the filter capacitor. Middlebrook's analysis gives closed-form solutions for optimal RD and CD given L0, C0, and the minimum acceptable input impedance Zin.
Worked Example: Aviation-Grade Damping
Given:
- L0 = 10 µH, C0 = 10 µF → Z0 = √(10×10⁻⁶ / 10×10⁻⁶) = 1 Ω
- Supply: 12 W at Vin(min) = 12 V → Zin = V²/P = 144/12 = 12 Ω
- Required max source impedance = 12 Ω / 2 = 6 Ω (−6 dB margin)
Using Middlebrook's design chart for X = Zsource(max)/Z0 = 6:
- CD/C0 = 0.1 → CD = 1 µF
- RD/Z0 = 3 → RD = 3 Ω
This RC network critically damps the filter, preventing sustained oscillations under load transients and cold-start conditions—essential for avionics and industrial PLCs.
Buck Controller in Buck–Boost Mode: Generating Negative Outputs
Standard buck controllers aren't limited to positive step-down operation. With careful reconfiguration, they enable efficient negative-output buck–boost ("inverter") topologies—ideal for bias rails, op-amp supplies, or sensor interfaces requiring clean negative voltage.
The core principle is volt-second balance across the inductor: during ton, Vin appears across L, causing current to ramp up; during toff, the inductor reverses polarity to maintain current flow through the output diode/capacitor.
For continuous conduction mode (CCM), duty cycle is:
D = Vout / (Vout − Vin)
where Vout is negative (e.g., −12 V). At D = 0.5, |Vout| = Vin.
Average inductor current is:
IL = Iout / (1 − D)
So at D = 0.5, IL = 2 × Iout—critical for inductor sizing.
Component stress matters: the high-side switch and catch diode must withstand Vin + |Vout|. Feedback must reference to the negative rail—place the bottom resistor of the divider at −Vout, not ground.
Capacitor placement also affects ripple: connecting the input capacitor between +Vin and −Vout reduces output-cap RMS ripple, but forms a capacitive divider. If Cin is not significantly smaller than Cout, a turn-on voltage spike appears on the output. Rule: keep Cin ≤ 0.1 × Cout for clean startup.
Measuring Output Ripple Correctly: Avoiding Measurement Artifacts
Output ripple is often mischaracterized—not due to poor design, but flawed measurement technique. Common errors include:
- Using a standard 10× probe with long ground lead: acts as an antenna, picking up switching noise (not true differential ripple).
- Placing probe loop near transformer windings or MOSFETs: couples magnetic fields.
- Adding series inductance between probe tip and output capacitor: resonates with probe capacitance, amplifying HF ringing.
The correct method:
1. Set oscilloscope bandwidth limit to 20 MHz (standard for ripple spec per JEDEC JESD85).
2. Remove the probe's ground spring and instead wrap a 1–2 cm bare wire tightly around the probe's ground ring—creating a low-inductance "ground lug."
3. Place probe tip directly on output capacitor pad, and ground lug on the capacitor's ground pad—no extra trace length.
4. For isolated supplies, wind the scope's coaxial cable 3–5 times through a small ferrite toroid (e.g., Fair-Rite 31 material) to form a common-mode choke. This suppresses CM noise without affecting differential ripple.
Note: In-system ripple is often lower than bench measurements because interconnect inductance (e.g., 1 inch ≈ 15 nH) and system-level bypass caps (e.g., 10 µF) form a natural low-pass filter with fc ≈ 1/(2π√(LC)) ≈ 400 kHz—attenuating high-frequency artifacts.
High-Efficiency Offline LED Driver: Topology Selection & EMI Management
Driving high-voltage LED strings (e.g., 80 LEDs @ 3.7 V = ~300 V) from universal AC input demands careful topology selection. Key constraints: no isolation needed (Class II), mandatory PFC per EN 61000-3-2 Class C (>25 W), and high efficiency (>90%).
Three viable options:
- **Buck**: Highly efficient but only suitable for LED strings <100 V—requires Vin(min) > VLED.
- **Transition-Mode (TM) Flyback**: Simple, isolated, handles high Vout, but suffers from high voltage stress (VDS ≥ Vin(max) + reflected Vout) and significant leakage inductance ringing.
- **TM SEPIC**: Non-inverting, non-isolated, clamps switch voltage to Vin(max) + Vout, enabling lower-voltage MOSFETs. Measured results show ~2% higher efficiency than flyback, reduced ringing, and simpler EMI filtering.
Critical implementation notes for TM SEPIC:
- High AC flux and current demand litz wire windings and low-loss ferrite cores (e.g., N87, PC95).
- Input current harmonics meet EN 61000-3-2 Class C with >96% power factor and 92% peak efficiency.
Spread-Spectrum Frequency Modulation: Lowering Peak EMI
Regulatory EMI limits target narrowband emissions—harmonics of fsw. Spread-spectrum modulation (SSFM) smears these peaks into broadband noise, reducing peak amplitude without changing total radiated energy.
The modulation index is β = Δf / fm, where Δf is frequency deviation and fm is modulation frequency. Carson's rule states most energy occupies bandwidth ≈ 2 × (Δf + fm).
EMI reduction scales with β:
- β = 1: fundamental drops ~20% (−6 dB)
- β = 2: peak drops to ~60% (−4.4 dB)
- β = 4: measured −8 dB reduction in conducted EMI fundamentals
But SSFM introduces trade-offs:
- fm must exceed EMI receiver bandwidth (e.g., >120 kHz for CISPR 22) yet stay above audible range (>20 kHz) to prevent coil whine.
- Magnetics must be rated for the *lowest* fsw in the spread band—increasing size vs. fixed-frequency design.
- Output capacitors endure higher ripple current at low fsw, demanding derating.
- The noise floor rises—unsuitable for ultra-low-noise analog or RF subsystems.
Estimating SMD Semiconductor Temperature Rise Without Heatsinks
Modern power ICs and MOSFETs in SO-8, DFN, or QFN packages rely entirely on the PCB for heat dissipation. Junction-to-ambient thermal resistance (RthJA) is not a fixed part parameter—it depends on copper area, layer count, via density, and board orientation.
Thermal flow follows an electrical analogy:
- Power dissipation = current source
- Die-to-paddle resistance = first resistor
- Paddle-to-PCB spreading resistance = ladder network of copper traces
- PCB-to-ambient convection = final resistor
Assume natural convection, vertical board mounting, and negligible radiation. Then:
ΔT = RthJA(effective) × Pdiss
RthJA drops sharply with added copper:
- 1-inch² 2-layer board: ~60 °C/W
- 4-inch² 4-layer board with 2 oz copper and 12 thermal vias: ~25 °C/W
- Same board with internal ground/power planes: ~18 °C/W
Always model worst-case ambient (e.g., 70 °C) and verify junction temperature stays below datasheet limits (typically 125–150 °C).
Transformer Winding Best Practices
Transformer design remains one of the most error-prone aspects of offline and isolated DC/DC design. Key lessons:
- **Interwinding capacitance** dominates common-mode EMI and affects regulation. Use triple-insulated wire (TIW) or margin tape between layers—not just enamel—to increase creepage and reduce Ciw.
- **Winding order** controls leakage inductance. For flyback converters, interleaving primary and secondary (P1-S1-P2-S2) improves coupling and cuts leakage by 30–50% vs. simple layer stacking.
- **Skin effect** forces current to the conductor surface at high fsw. At 500 kHz, skin depth in copper is ~0.1 mm. Use multiple thin strands or litz wire for windings carrying >1 A RMS above 200 kHz.
- **Core selection** starts with area-product (Ap = Ae × WA) estimation. Quick-check tables (e.g., EF20 core supports ~12 W at 100 kHz, EF25 ~25 W) prevent over- or under-sizing before detailed calculation.
FAQ
Why does my input filter oscillate even with proper component values?
Can I use a buck controller for negative output without a dedicated inverting controller?
My ripple measurement shows 200 mV peak-to-peak—but the supply is quiet in the system. What's wrong?
How much EMI reduction can I realistically expect from spread-spectrum modulation?
How do I estimate the junction temperature of a QFN MOSFET with no external heatsink?
