A switched-mode power supply (SMPS) converts electrical power efficiently by rapidly switching a transistor between fully on and fully off states, then using inductors and capacitors to smooth the output. It regulates the output voltage by adjusting the duty cycle (the fraction of time the switch is on) in response to changes in input voltage or load. This article explains the core operating principles, the main topologies, common applications, and how to choose and troubleshoot an SMPS.
Background and Why It Matters
Before switched-mode supplies became widespread in the 1970s and 1980s, most electronic devices used linear regulators. A linear regulator drops excess voltage across a transistor that acts like a variable resistor, dissipating the difference as heat. For example, converting 12 V to 5 V at 1 A with a linear regulator wastes 7 W of heat. A switched-mode supply instead stores energy in a magnetic field and transfers it in packets, achieving efficiencies of 80–95% across a wide load range. That efficiency is why nearly every modern device—from phone chargers and laptop adapters to desktop PC power supplies and industrial equipment—uses an SMPS.
Basic Block Diagram and Key Components
All switched-mode supplies share the same high-level architecture:
- Input rectifier and filter: Converts AC mains to a rough DC bus (e.g., 170 V for 120 V AC after rectification) and smooths it with a capacitor.
- Switching element: A power MOSFET or bipolar transistor that turns on and off at high frequency (typically 50 kHz to 2 MHz).
- Magnetic energy storage: An inductor or transformer stores energy when the switch is on and releases it when the switch is off.
- Output rectifier and filter: Diodes or synchronous rectifiers convert the AC-like waveform back to DC, and capacitors smooth the ripple.
- Feedback control loop: A voltage divider senses the output, compares it to a reference (e.g., a TL431 or a dedicated IC), and adjusts the duty cycle via a PWM controller.
The control loop is what makes the supply “regulated.� If the output voltage drops because the load draws more current, the error amplifier increases the duty cycle to deliver more energy per switching cycle. If the input voltage rises, the duty cycle decreases. This closed-loop feedback operates continuously, typically at the switching frequency or a fraction of it.
How Regulation Works: Duty Cycle and Feedback
The heart of regulation is the duty cycle D, defined as the switch-on time divided by the total switching period. For a buck (step-down) converter in continuous conduction mode, the ideal relationship is:
Vout = D × Vin
So if the input is 12 V and you need 5 V, the duty cycle is about 5/12 ≈ 0.42. The controller adjusts D in real time to keep Vout constant. For a flyback converter (used in most phone chargers), the relationship is more complex because the transformer turns ratio and the discontinuous mode come into play, but the principle is the same: vary the on-time to deliver the right amount of energy.
Modern controllers use pulse-width modulation (PWM) at a fixed frequency, or pulse-frequency modulation (PFM) at light loads to improve efficiency. The feedback loop must be stable—if it responds too slowly, the output sags under load transients; if it responds too fast, it can oscillate. Designers compensate the loop with RC networks, and the loop bandwidth is typically a fraction of the switching frequency.
Main Topologies and Their Uses
Different SMPS topologies suit different power levels and isolation requirements:
- Buck (step-down): Output voltage is lower than input. Used in VRMs on motherboards, battery-powered devices, and point-of-load converters. No isolation.
- Boost (step-up): Output voltage is higher than input. Used in LED drivers, solar inverters, and battery boost converters.
- Buck-boost: Can step up or down, but inverts polarity in the classic inverting topology. Used in battery-powered devices where the battery voltage crosses the desired output.
- Flyback: Provides isolation via a coupled inductor. The most common topology for AC-DC adapters below 100 W because it is cheap and simple.
- Forward converter: Also isolated, used for 100–500 W with better efficiency than flyback.
- Half-bridge and full-bridge: Used for higher power (500 W to several kW) in server power supplies, EV chargers, and industrial equipment.
The choice of topology depends on cost, isolation requirements, power level, and efficiency goals. For example, a 65 W laptop charger is almost always a flyback, while a 1000 W server supply uses a full-bridge LLC resonant converter for high efficiency.
Efficiency, Losses, and Thermal Management
SMPS losses come from several sources:
- Switching losses: The transistor dissipates power during the brief transitions between on and off. These increase with switching frequency.
- Conduction losses: I²R losses in the switch, diode, and inductor windings.
- Core losses: Hysteresis and eddy currents in the magnetic core.
- Standby losses: Power consumed by the control circuit and any bleeder resistors.
Efficiency varies with load. A typical 80 PLUS certified PC power supply might achieve 90% efficiency at 50% load but drop to 85% at 10% load. Designers often use resonant topologies (LLC) to reduce switching losses, and synchronous rectification (replacing diodes with MOSFETs) to cut conduction losses.
Heat must be managed with heatsinks, fans, or thermal pads. Because SMPS are compact, thermal design is critical—overheating reduces component lifetime and can lead to failure.
How to Choose an SMPS for Your Project
When selecting a switched-mode power supply, consider these factors:
- Input voltage range: AC (e.g., 90–264 V AC universal) or DC (e.g., 9–36 V). Ensure your source falls within the range.
- Output voltage and current: Check the exact voltage and the maximum current. Do not exceed the rated current; most supplies have a current limit but may drop voltage or shut down.
- Isolation: Do you need galvanic isolation between input and output? For safety reasons, AC-DC supplies always have isolation. For DC-DC, it may be optional.
- Regulation accuracy: Line regulation (change in output with input) and load regulation (change with load) are usually specified as a percentage. For sensitive electronics, choose ±1% or better.
- Ripple and noise: SMPS output has ripple at the switching frequency. For audio or RF circuits, you may need additional filtering or a linear post-regulator.
- Efficiency and standby power: Higher efficiency reduces heat and energy cost. Check the efficiency at your expected load.
- Protection features: Overcurrent, overvoltage, overtemperature, and short-circuit protection are standard on quality supplies.
For example, a 5 V, 2 A USB charger is a flyback SMPS with a universal input. If you need 12 V at 5 A for an LED strip, a 60 W enclosed AC-DC supply with a metal case is a common choice.
Common Problems and Troubleshooting
SMPS can fail in several ways. Here are typical symptoms and likely causes:
- No output: Blown fuse, failed input rectifier, or a shorted switching transistor. Check the fuse and the bulk capacitor voltage.
- Output voltage too low: Often caused by a faulty feedback loop (bad optocoupler or TL431), or a worn electrolytic capacitor on the output.
- Excessive ripple: Usually a degraded output capacitor (high ESR) or a failing control loop.
- Audible hiss or whine: The switching frequency may have dropped into the audible range due to a failing component or light load operation (PFM mode).
- Overheating: Check for excessive load, poor ventilation, or a failing fan in ATX supplies.
Always discharge the input capacitor before probing—it can hold a lethal charge for minutes after unplugging. If you are not experienced with high-voltage circuits, replace the supply rather than repairing it.
Safety and Electromagnetic Interference
Switched-mode supplies generate high-frequency switching noise that can interfere with other equipment. To meet EMC standards, manufacturers add input filters (common-mode chokes, X and Y capacitors) and shielding. When using a bare SMPS module, you should add your own input filter and keep wiring short.
Safety is paramount with AC-DC supplies. The input side is at mains potential, and isolation must be maintained. Look for supplies with recognized safety certifications (e.g., UL, CE) and use them within their specified environment. Do not open a supply unless you are qualified—the primary-side capacitors can hold a dangerous charge.
Alternatives and Comparisons
Linear regulators are the main alternative to SMPS. They are simpler, quieter, and have faster transient response, but they are inefficient when the input-output differential is large. For low-power, low-noise applications (e.g., audio preamps, reference voltages), a linear regulator after an SMPS is common.
Other alternatives include:
- Charge pumps: Use capacitors to transfer energy, but only for low currents and limited voltage ratios.
- Resistor dividers: Only for reference voltages, not for power.
- Battery or solar direct: If the source voltage matches the load, no conversion is needed.
In summary, the SMPS is the workhorse of modern power conversion because it offers high efficiency, small size, and flexibility. Understanding its basic operation helps you select, use, and troubleshoot these ubiquitous devices.
Frequently Asked Questions
What is the difference between a linear and a switched power supply?
A linear supply uses a transistor in its linear region to drop excess voltage, wasting power as heat. A switched supply rapidly turns a transistor on and off to store and release energy, achieving much higher efficiency (80–95% vs. 30–60% for linear).
Why do switch-mode power supplies fail?
Common causes include overheated electrolytic capacitors (drying out), overvoltage surges from the mains, overloading beyond the rated current, and poor ventilation. A failing fan in a PC power supply is also a frequent cause of thermal failure.
Can I use an SMPS to charge a battery?
Yes, but you need a charge controller that limits current and voltage according to the battery chemistry. A plain SMPS outputs a fixed voltage and may overcharge the battery. Use a charger designed for your battery type (e.g., Li-ion, lead-acid).
What does “isolated� mean in an SMPS?
Isolation means there is no direct electrical connection between the input and output—energy is transferred through a transformer or optocoupler. This is essential for safety in AC-DC supplies and for breaking ground loops in some DC-DC applications.
How do I reduce ripple from an SMPS?
Add a low-pass LC filter at the output, use a linear post-regulator, or choose a supply with lower ripple specification. Also ensure the output capacitor is in good condition and has low ESR.
What is the typical efficiency of a switch-mode power supply?
At full load, most well-designed SMPS achieve 85–95% efficiency. At light loads, efficiency drops, which is why many supplies include a “burst mode� or PFM to save power.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- 3 OS Updates Meaning: Sony’s 3-Year Promise
- Robot Training Data: 8 Questions to Ask
- Compare Refrigerator Energy Use & Running Costs
- Apple Watch Remote iTunes: Quick Guide
- Best Alternatives to Optical Drives
- Beats Solo 4 50 Hour Battery But No Noise?2.00 %/h