๐Ÿ”ŒIntro to Electrical Engineering

Key Concepts of Power Supply Designs

Study smarter with Fiveable

Get study guides, practice questions, and cheatsheets for all your subjects. Join 500,000+ students with a 96% pass rate.

Get Started

Why This Matters

Every electronic system, from smartphones to industrial machinery, depends on a well-designed power supply to function correctly. Understanding power supply topologies isn't just about memorizing circuit configurations; you need to be able to analyze energy conversion efficiency, voltage regulation principles, and the tradeoffs between complexity, size, and performance. These concepts form the foundation for designing systems that are safe, efficient, and reliable.

Power supply design always involves tradeoffs. Linear supplies offer simplicity and clean output but waste energy as heat. Switching supplies achieve high efficiency but introduce electromagnetic noise. Your job is to understand when each topology makes sense and how the underlying physics (energy storage in inductors, transformer isolation, rectification) enables each design approach. Don't just memorize component lists; know why each circuit behaves the way it does.


AC-to-DC Conversion Fundamentals

Before any regulation can happen, AC power from the wall must become DC. Rectification and transformation are the gateway stages that determine the quality of your raw DC supply.

Rectifier Circuits

Rectifiers convert AC to pulsating DC by using diodes, which permit current flow in only one direction. In a half-wave rectifier, the diode simply blocks the negative half-cycle, so you only get output during the positive half. A full-wave rectifier (using a bridge of four diodes or a center-tapped transformer with two diodes) flips the negative half-cycle so both halves contribute to the output.

  • Full-wave rectifiers double the ripple frequency compared to half-wave. For a 60 Hz input, a half-wave rectifier produces 60 Hz ripple, while a full-wave produces 120 Hz ripple. Higher ripple frequency is easier to smooth with a filter capacitor.
  • Filter capacitors are placed across the output to smooth the pulsating DC. A larger capacitor stores more charge and reduces ripple, but takes up more space and draws higher inrush current at startup.

Transformer-Based Power Supplies

Transformers serve two purposes: voltage scaling and galvanic isolation. The turns ratio Np/NsN_p / N_s (primary turns divided by secondary turns) sets the voltage relationship. If Np/Ns=10N_p / N_s = 10, a 120V input becomes roughly 12V at the secondary.

  • Isolation protects users from dangerous line voltage. The primary and secondary windings are electrically separate, so there's no direct conductive path from the wall outlet to the device's circuitry. This is critical for safety certification in consumer products.
  • Size scales with power and frequency. A 60 Hz transformer handling significant power can be quite heavy. High-frequency transformers used in switch-mode supplies (operating at tens or hundreds of kHz) can be dramatically smaller for the same power level.

Compare: Rectifier circuits vs. transformer stages: both are essential for AC-DC conversion, but rectifiers handle waveform conversion (AC to DC) while transformers handle voltage scaling and isolation. Trace the signal flow: AC wall power goes through the transformer first (to scale and isolate), then through the rectifier (to convert to DC), then through a filter capacitor (to smooth).


Linear vs. Switching Regulation

The fundamental divide in power supply design comes down to how you regulate voltage: dissipate excess energy as heat (linear) or rapidly switch to transfer only what's needed (switching).

Linear Power Supplies

A linear regulator uses a pass transistor operating in its linear (active) region to act like a variable resistor. It continuously adjusts to drop whatever excess voltage exists between input and output. The power wasted as heat is:

Pdissipated=(Vinโˆ’Vout)ร—IloadP_{dissipated} = (V_{in} - V_{out}) \times I_{load}

For example, if Vin=12VV_{in} = 12V, Vout=5VV_{out} = 5V, and Iload=1AI_{load} = 1A, the regulator dissipates 7W7W as heat while delivering only 5W5W to the load. That's under 42% efficiency.

  • Extremely low output noise and ripple. Because there's no switching, linear regulators produce a very clean DC output. This makes them ideal for sensitive analog circuits, RF systems, and precision instrumentation.
  • Efficiency drops as the input-output voltage differential increases. They work best when VinV_{in} is only slightly above VoutV_{out}.

Switch-Mode Power Supplies (SMPS)

SMPS regulators achieve typical efficiencies of 80-95% because the switching transistor operates either fully on (saturation) or fully off (cutoff). In neither state does it dissipate much power. The transistor switches rapidly (kHz to MHz range), and an inductor or transformer stores and releases energy each cycle to produce the regulated output.

  • Smaller and lighter than linear equivalents. Higher switching frequencies allow smaller inductors, capacitors, and transformers.
  • Generate electromagnetic interference (EMI). The rapid switching transitions create high-frequency noise that can radiate or conduct into nearby circuits. This requires careful PCB layout, filtering, and sometimes shielding.

Voltage Regulators

Whether linear or switching, a voltage regulator's core function is to maintain a constant output voltage despite variations in input voltage or load current.

  • Linear regulators (like the classic 7805) are simple three-terminal devices: input, output, and ground. They need minimal external components, sometimes just input and output capacitors. Low-dropout (LDO) regulators are a refined version that can regulate with a very small voltage difference between input and output (sometimes under 200mV).
  • Protection features are commonly built in, including overcurrent limiting and thermal shutdown. These prevent damage if the load draws too much current or the regulator overheats.

Compare: Linear power supplies vs. SMPS: both regulate voltage, but linear supplies trade efficiency for simplicity and low noise, while SMPS trade complexity for efficiency and compact size. If you're powering a battery-operated device where every milliwatt matters, SMPS is the right call. For a precision ADC or sensitive analog front-end where noise is the priority, a linear regulator often makes more sense.


DC-DC Converter Topologies

When you already have DC but need a different voltage level, DC-DC converters use inductors as energy storage elements to efficiently transform voltage without requiring a traditional line-frequency transformer.

Buck Converters

The buck converter is a step-down topology, meaning the output voltage is always lower than the input. The output is controlled by the duty cycle DD (the fraction of each switching period the transistor is on):

Vout=Dร—VinV_{out} = D \times V_{in}

So if Vin=12VV_{in} = 12V and D=0.25D = 0.25, you get Vout=3VV_{out} = 3V.

Here's how it works:

  1. When the switch closes, current flows through the inductor to the load. The inductor stores energy in its magnetic field.
  2. When the switch opens, the inductor's magnetic field collapses, and the inductor continues driving current through the load via a freewheeling diode.
  3. A capacitor at the output smooths the voltage. The net effect is a lower, regulated DC output.

Buck converters are the dominant topology in digital systems. A processor running at 1V from a 12V rail relies on one or more buck converter stages.

Boost Converters

The boost converter is a step-up topology, producing an output voltage higher than the input:

Vout=Vin1โˆ’DV_{out} = \frac{V_{in}}{1 - D}

With Vin=3.7VV_{in} = 3.7V and D=0.5D = 0.5, you get Vout=7.4VV_{out} = 7.4V.

  1. When the switch closes, current flows through the inductor to ground, building up energy in the inductor's magnetic field.
  2. When the switch opens, the inductor's stored energy adds to the input voltage, pushing a higher voltage through the diode to the output capacitor and load.

Boost converters are essential for battery applications. A single lithium cell at 3.7V can power a 5V USB output through a boost converter.

Flyback Converters

The flyback is an isolated topology that uses a transformer (technically a coupled inductor) for energy storage and transfer. Unlike the buck and boost, it provides galvanic isolation between input and output.

  • Energy transfers when the switch is off. When the switch is on, current flows through the primary winding, storing energy in the transformer's core. When the switch turns off, that energy transfers to the secondary winding and flows to the output.
  • Can produce multiple isolated outputs from one input. By adding secondary windings, a single flyback can supply 5V, 12V, and -12V rails simultaneously. This is common in wall adapters and PC auxiliary supplies.
  • Combines SMPS efficiency with transformer safety isolation. This makes it popular for any application where the output must be safely separated from the AC line.

Compare: Buck vs. boost converters: both are non-isolated DC-DC topologies using the same basic components (switch, diode, inductor, capacitor), but buck steps down while boost steps up. The key difference is where the inductor sits in the circuit and how energy flows during each switching phase. A buck converter's inductor is in series with the output; a boost converter's inductor is in series with the input.


System-Level Power Management

Beyond individual converters, real systems require power quality management and backup strategies to ensure reliable operation.

Power Factor Correction (PFC)

Power factor measures how well the current waveform aligns with the voltage waveform. A power factor of 1.0 means current and voltage are perfectly in phase and the current is sinusoidal, so all power drawn from the grid does useful work. Non-linear loads (like rectifiers with large filter capacitors) draw current in sharp pulses, creating a poor power factor and injecting harmonic distortion back into the grid.

  • Regulations (IEC 61000-3-2) require PFC for equipment above roughly 75W. Non-compliance can prevent your product from being sold in many markets.
  • Passive PFC uses bulky inductors and capacitors to reshape the current waveform. It's simple but only partially effective.
  • Active PFC uses a boost converter stage between the rectifier and the main converter. It actively shapes the input current to be sinusoidal and in-phase with the voltage, achieving power factors above 0.99. This is the standard approach for higher-power equipment.

Uninterruptible Power Supplies (UPS)

A UPS provides seamless backup power during outages using batteries for energy storage and inverters to convert DC back to AC when needed.

Three main topologies exist:

  • Offline (standby): Normally passes utility power straight through. Switches to battery/inverter only during an outage. Cheapest, but there's a brief switchover delay (typically 5-12 ms).
  • Line-interactive: Adds a transformer or voltage regulation stage that handles minor sags and surges without switching to battery. Better protection than offline, with moderate cost.
  • Online (double-conversion): Continuously converts AC to DC (charging the battery) and then DC back to AC (powering the load). The load always runs from the inverter, so there's zero switchover time. Offers the best protection but has lower efficiency due to the double conversion.

UPS systems are critical for servers, medical equipment, and any system where downtime is costly.

Compare: PFC vs. UPS: both improve power system performance, but PFC optimizes how power is drawn from the grid (reducing utility penalties and harmonic distortion), while UPS ensures continuous power availability during outages. Large data centers use both.


Quick Reference Table

ConceptBest Examples
AC-to-DC conversionRectifier circuits, transformer-based supplies
Linear regulationLinear power supplies, linear voltage regulators (LDO)
High-efficiency switchingSMPS, buck converters, boost converters
Voltage step-downBuck converters, linear regulators
Voltage step-upBoost converters
Isolated conversionFlyback converters, transformer-based supplies
Power qualityPower factor correction (PFC)
Backup and protectionUninterruptible power supplies (UPS)

Self-Check Questions

  1. A portable device needs to generate 5V from a 3.7V lithium battery. Which converter topology would you choose, and why is a linear regulator unsuitable here?

  2. Compare the tradeoffs between using a linear regulator versus a buck converter to power a 3.3V microcontroller from a 5V supply. Under what conditions might you prefer each?

  3. Why do switch-mode power supplies require more attention to EMI than linear supplies? What physical mechanism causes this noise?

  4. A flyback converter and a buck converter can both step down voltage. What key advantage does the flyback offer that the buck cannot provide?

  5. An industrial facility is penalized by the utility for poor power factor. Explain what power factor correction does and whether passive or active PFC would be more effective for high-power equipment.