Tutorial Series

Switch-Mode Power Supplies from Scratch

Starting from basic circuit concepts, dive chapter by chapter into core SMPS topologies and design methods.

This series starts from the most basic voltage step-down needs and guides you through every key aspect of switch-mode power supplies. Each chapter focuses on one topic, with interactive circuit simulations to learn by doing.

Chapters

Ch.1 ~15 min Beginner 5 lessons 5 demos

Buck Converter: Understanding Switch-Mode Power from Scratch

Starting from the basic need for voltage step-down, we answer step by step: Why not use a resistor divider? Can a switch reduce voltage? How do capacitors and inductors help? And how do they combine into an efficient DC-DC converter.

Ch.2 ~15 min Beginner→Intermediate 5 lessons 5 demos

CCM and DCM: Two Operating Modes of the Buck Converter

In the previous chapter we built the Buck converter. But Buck behaves very differently under varying loads: at heavy load, inductor current never reaches zero (CCM); at light load, current 'breaks' to zero (DCM). This chapter analyzes both modes, derives ripple formulas, and finds the boundary condition for mode transition.

Ch.3 ~10 min Beginner→Intermediate 3 lessons 3 demos

Why Buck Needs Feedback Control

The first two chapters analyzed ideal steady-state conditions: constant VIN, fixed load. In reality, loads change abruptly (CPU idle-to-full) and inputs fluctuate (battery discharge). This chapter demonstrates how open-loop Buck output deviates under these conditions, motivating the need for feedback.

Ch.4 ~10 min Intermediate 3 lessons 3 demos

Closed-Loop Feedback: Making Buck Auto-Regulate

The previous chapter showed three open-loop problems: output rises with light load, drifts with VIN changes, no auto-correction. This chapter uses a real closed-loop circuit (divider sensing + comparator + sawtooth = auto PWM) to address each problem, and discusses proportional feedback limitations.

Ch.5 ~12 min Intermediate 4 lessons 4 demos

Loop Compensation and Stability

The previous chapter's proportional feedback improved regulation but with limited accuracy — yet raising gain causes oscillation. This chapter starts from the high-gain oscillation phenomenon, introduces frequency-domain analysis (Bode plots, phase margin), then uses Type-II compensation to achieve both high accuracy and stability.

Ch.6 Coming Soon

Synchronous Buck and Efficiency Analysis

Diode→MOSFET synchronous rectification, conduction/switching losses, efficiency curves

Ch.7 Coming Soon

Component Selection and Practical Design

Inductor saturation, capacitor ESR, MOSFET Rdson/Qg, thermal design