Module 0 — Course Introduction | SMPS Design Bootcamp | VyomEx EDU
Ready for the full bootcamp?
10 modules · LDO to LLC · MATLAB simulations & reference design.
Get full bootcamp
Free Preview
Module 0 · Free Preview · No Login Required

You have been placing power ICs.
You have not been designing power supplies.

SMPS design is not about picking a controller IC and following its application note. It is about understanding what the inductor is doing, why the loop oscillates, where the switching loss goes — and making every component decision from that physical understanding.

10Modules
4Topology Pillars
6Quiz Questions
FreeThis Module

Most engineers encounter power supply problems late — a rail that won't regulate, a switcher that fails EMC, a transformer running hot. This module reframes the problem before that happens. Read the five sections in order. Each one closes a gap you probably did not know you had.

Section 01

Why Power Supply Design Matters

What a power supply actually does. Why linear regulators hit a wall. The design loop that every module in this bootcamp follows.

Section 02

When Power Supplies Fail

Four real failure cases — thermal, oscillation, EMC, switching loss. The root cause in each was not a wrong component. It was an incomplete mental model.

Section 03

Bench Validation & Correlation

A worked case where LTspice and the oscilloscope disagree. Separate probe artefact, missing parasitics, layout effects, and the real corrective action.

Section 04

Tools & Simulation Stack

MATLAB as primary. LTspice as free alternate. TI WEBENCH for component validation. When to use each — and what none of them can replace.

Section 05

The Design Mindset

Three physical principles that govern every switching topology. The cost curve of finding problems late. What this bootcamp actually trains.

Who this module is for
If you have designed PCBs with switching regulators, specified power rails, or debugged a board where something in the power stage was wrong — and you are not certain why each design decision helps or hurts — this module is for you. The gap is common. It was rarely taught formally.
Where this leads
Module 0 is the prerequisite. Modules 1–10 build from LDO fundamentals through non-isolated switching, isolated topologies, resonant converters, and a complete flyback capstone — every decision that determines whether your power supply works in the real world.
View bootcamp →
01
Why Power Supply Design is a Core Engineering Skill
The design loop · Linear vs switching efficiency · When LDO is correct · The thermal argument

A power supply has one job: take energy from a source and deliver it to a load at the right voltage, with the right regulation, at acceptable efficiency, without destroying itself or radiating interference. That sentence contains five independent design problems, each of which can fail independently.

Most engineers treat the power supply as an afterthought — a reference design from the controller IC's datasheet, copied and placed. That approach works until it doesn't. When it fails, there is no mental model to debug from. This bootcamp gives you that model.

The core insight
Energy does not disappear — it goes somewhere. In a linear regulator, excess energy becomes heat in the pass transistor. In a switching converter, energy stored in the magnetic field during the on-time is released to the load during the off-time. In a flyback, the transformer's leakage inductance stores energy that has nowhere to go — and that energy becomes a voltage spike that can destroy the switch. Every topology is a story about where the energy goes. Understanding that story is what separates a power supply designer from someone who places ICs.

The Design Loop

Every module in this bootcamp follows the same loop. Understanding it before Module 1 makes every subsequent module faster.

Spec

Input range, output voltage, current, isolation requirement

Before topology selection, the spec defines the constraints. Input range sets duty cycle limits. Output power determines which topologies are viable. Isolation requirement eliminates non-isolated options immediately.

Topology → Components

Choose the topology, then size every component from equations

Inductor value from volt-second balance. Capacitor from charge balance. MOSFET from peak current and switching frequency. Every component value is derived, not guessed. This is the core of Modules 3 through 8.

Simulate → Layout → Validate

Verify the design before a component is soldered

Simulation confirms the analysis. Layout determines whether the simulation result is achievable on a real board. Bench validation closes the loop — discrepancies between model and measurement are learning, not failure.

Linear vs Switching — the Numbers

🔋 Linear Regulator (LDO)

  • Pass transistor operates in linear region — acts as a variable resistor
  • Excess voltage dropped across pass element becomes heat: P = (Vin − Vout) × Iout
  • Efficiency = Vout / Vin — regardless of load current
  • At 12V in, 3.3V out: maximum efficiency is 27.5%. The remaining 72.5% is heat.
  • Correct application: low dropout, low noise, low current, small Vin−Vout

⚡ Switching Regulator (SMPS)

  • Switch operates fully on or fully off — no linear dissipation in steady state
  • Energy stored in inductor or transformer, released to output — losses only at transitions
  • Efficiency typically 85–95% regardless of conversion ratio
  • At 12V in, 3.3V out: 92% efficiency — 8% loss vs 72.5% in the LDO case
  • Correct application: any case where the linear thermal dissipation is unacceptable
When LDO is still the right answer
LDO regulators are not obsolete. When Vin − Vout is small (under 1V), load current is under ~100 mA, noise is critical (RF front-ends, ADC references, audio), and PCB area or BOM cost rules out an inductor — LDO wins. Module 2 covers exactly where this line sits and how to calculate whether it applies to your design.
From rationale to design
You now have the efficiency argument and the design loop. Modules 1–10 fill every step of that loop — from LDO design through flyback compensation and PCB layout, ending with a complete reference design you keep.
View bootcamp →
02
When Power Supplies Fail
Four failures · Four root causes the simulation never showed

The bench is a forgiving environment — short wires, clean supply, controlled load, no temperature variation. Your power supply is designed on the bench but runs in an enclosure at 70°C ambient, with a cable adding 50 mΩ to the output impedance and a load stepping from 10% to 100% in 10 µs. The failures below happened because the design did not account for that gap.

Expand each case. The symptom appears exactly as an engineer would encounter it in the field.

Industrial Controller
Buck converter stable on bench — oscillates in field above 40°C
Symptom: output oscillation at ~2 kHz, ±200 mV amplitude — only above 35°C ambient
What Happened

The output capacitor was an aluminium electrolytic. Its ESR increases significantly with temperature — from 80 mΩ at 25°C to 220 mΩ at 55°C. Feedback compensation was designed around 80 mΩ. At 220 mΩ the ESR zero moved, phase margin collapsed below 15°, and the loop oscillated.

What Was Missed

ESR is a function of temperature. The datasheet value is measured at 100 kHz and 20°C — neither condition exists in the field. The simulation used nominal ESR. The bench test never ran the board warm. The failure was predictable and was not predicted.

What Changed

Output capacitor changed to ceramic (stable ESR across temperature). Compensation redesigned for worst-case ESR corners. Phase margin verified above 45° across the full temperature range in simulation before rework.

Module 9 covers compensation design across component tolerance and temperature corners — not just at the nominal operating point. Phase margin is a range, not a single number.
Medical Device
Flyback FET fails short at 2× rated load — drain spike exceeds 650V
Symptom: MOSFET drain voltage spike at 2× load exceeds BVDSS — device fails short, output lost
What Happened

The flyback transformer's leakage inductance was not measured — assumed negligible. At rated load, the RCD snubber clamped the drain spike adequately. At 2× load, peak current doubled, leakage energy quadrupled (E = ½LI²), and the snubber budget was exceeded. The spike exceeded BVDSS.

What Was Missed

Leakage inductance is rarely specified for custom wound transformers. It must be measured on the actual wound part. The design assumed a fixed spike amplitude — leakage energy scales with the square of current. This was never modelled and the snubber was never designed for current headroom.

What Changed

Leakage inductance measured on wound transformer. Snubber redesigned for 2× current headroom. FET BVDSS derated to 80% of clamped spike. Design validated at 150% load. Transformer rewound with interleaved primary/secondary to reduce leakage.

Module 6 covers flyback transformer design including leakage inductance, snubber sizing from first principles, and FET voltage derating. The drain spike is a design parameter — not an unknown discovered at the bench.
Automotive ECU
Boost converter passes precompliance — fails CISPR 25 conducted at final test
Symptom: conducted emission peaks at switching harmonics — 8 dB over limit at 3rd harmonic (1.2 MHz)
What Happened

Switching frequency was 400 kHz. The 3rd harmonic at 1.2 MHz exceeded CISPR 25 limits. The input filter was designed for attenuation at the fundamental — but its resonance at 800 kHz amplified the 3rd harmonic rather than attenuating it.

What Was Missed

An EMC filter is not a broadband attenuator. Its insertion loss is frequency-dependent and load-impedance-dependent. The filter was simulated with ideal source/load — not the actual LISN and converter input impedance. The resonance was never checked across the harmonic spectrum.

What Changed

Damping resistor added to suppress filter resonance. Switching frequency shifted to 500 kHz to move the 3rd harmonic away from the amplification region. Filter re-simulated with LISN model. Verified across operating load range.

Module 5 covers switching frequency selection and its EMC implications. Module 8 explains why resonant topologies like LLC inherently generate lower harmonic content than hard-switching converters.
Server Power Supply
Full-bridge converter 10 efficiency points below specification at first prototype
Symptom: 85% efficiency measured vs 95% target — switching losses account for 60% of total loss
What Happened

The gate driver was undersized. The FET gate charge of 12 nC required 3A peak gate drive current to achieve the 50 ns target switching transition. The selected driver was rated 1A. Actual rise time was 220 ns — switching losses were 4× the design assumption.

What Was Missed

Switching loss = ½ × Vin × Ipeak × (tr + tf) × fsw. Rise and fall time are set by gate driver current and gate charge — not by the FET alone. The simulation used ideal switches. The transition time was never calculated from actual gate charge and driver current capability.

What Changed

Gate driver upgraded to 3A. FET selected for lower gate charge at the same RDS(on). Switching transition recalculated and verified in LTspice with accurate gate resistance. Efficiency re-measured: 94.8% — within specification.

Module 5 covers FET selection including gate charge, switching loss calculation, and gate driver sizing. Efficiency is calculated before the prototype is built — not measured after it fails.
From symptom to root cause
Every failure above had a calculable root cause. The bootcamp teaches you to calculate it before the board is built — so the first prototype is a validation exercise, not a debugging session.
View bootcamp →
03
Bench Validation & Simulation Correlation
Safe first power-up · Correct probing · Simulation versus measurement · Root-cause isolation

A simulation is useful only when it represents the as-built converter and the measurement represents the actual waveform. When the two disagree, the correct response is not to trust the cleaner result. First validate the measurement, then validate the model, then isolate the physical cause.

Bench safety boundary The worked example below is a low-voltage, non-isolated 24 V buck converter. Never connect the ground clip of a standard earth-referenced oscilloscope probe to the primary side of an offline flyback or mains-referenced converter. Use an appropriately rated differential probe, an isolated measurement system, and the laboratory safety procedure for the equipment being tested.
Worked case
LTspice predicts an acceptable switch-node overshoot. The first oscilloscope capture shows a much larger spike and prolonged ringing. Is the simulation wrong, is the board wrong, or is the measurement wrong? The answer is: first one, then another.
Converter
24 V → 5 V / 2 A

Synchronous buck, 500 kHz switching frequency, 60 V MOSFETs.

Nominal LTspice Result
33 V peak

Approximately two ringing cycles near 95 MHz using nominal package and loop parasitics.

First Scope Capture
51 V peak

Long passive-probe ground lead used at the switch node. Ringing appears much worse than simulation.

Corrected Measurement
42 V peak

Ground spring placed directly across the local switch-node reference. The first 9 V of “overshoot” was probe-loop artefact.

The Correlation Workflow

1

Start with a controlled first power-up

Inspect polarity and assembly, check resistance from input and output rails to ground, use a current-limited 24 V source, begin with no load, and monitor input current and output voltage before enabling a dynamic load.

2

Validate the measurement setup before judging the design

The long probe ground lead formed an additional inductive loop and exaggerated the high-frequency spike. Repeating the measurement with a ground spring reduced the observed peak from 51 V to 42 V. The measurement setup explained part of the discrepancy, but not all of it.

3

Compare the model with the as-built power loop

The simulation used 5 nH of commutation-loop inductance. The actual PCB loop, package leads, vias, and capacitor mounting contributed approximately 12–13 nH. The model also used simplified MOSFET output capacitance and omitted part of the diode-recovery current.

4

Update the model using measured evidence

After adding the as-built loop inductance, nonlinear Coss, capacitor ESL, and recovery current, LTspice predicts approximately 41 V peak with ringing near 70 MHz — closely matching the corrected 42 V, 72 MHz bench capture.

5

Apply a physical correction, then verify both model and hardware

A prototype RC snubber selected from the measured ringing response reduces the peak to about 32 V and damps the ringing within one cycle. The next PCB revision also shortens the hot loop and places the input ceramic capacitor directly across the switching pair.

Stage Peak Voltage Ringing Engineering Interpretation
Nominal simulation 33 V ~95 MHz Model is optimistic because as-built loop and device parasitics are incomplete.
Initial scope capture 51 V ~60 MHz Long probe ground lead adds a measurement loop and creates misleading overshoot.
Corrected probing 42 V ~72 MHz This is the trustworthy hardware waveform used for correlation.
Updated simulation 41 V ~70 MHz Model now represents the as-built loop, package, capacitor, and switching device behaviour.
After RC snubber ~32 V Damped within one cycle Corrective action is verified in both simulation and measurement.
Actual root causes
Two errors were present at the same time. The first oscilloscope result was inflated by poor probing. The original simulation was also optimistic because the PCB and device parasitics were incomplete. Correct engineering required fixing the measurement first, then improving the model, then changing the physical design.

Bench Validation Sequence Used Throughout the Bootcamp

Validation Step What to Observe Common Mistake
Unpowered checks Polarity, shorts, gate-to-source resistance, transformer continuity, rail resistance to ground Applying full power before confirming assembly and static resistance
Current-limited startup Input current, output rise, soft-start behaviour, abnormal heating Starting at full voltage and rated current limit
Gate drive VGS amplitude, rise/fall time, dead time, Miller plateau, negative spikes Measuring gate voltage without referencing the source node correctly
Switch node or drain Overshoot, ringing frequency, duty cycle, switching transitions Using a long ground lead or an incorrectly rated probe
Output ripple Switching ripple and low-frequency envelope under steady load Large probe loop, no bandwidth limit, or measuring far from the output capacitor
Load transient Undershoot, overshoot, recovery time, current limit response Testing only at steady load and assuming regulation proves stability
Thermal validation MOSFET, diode, inductor/transformer, capacitor and controller temperatures Measuring only at room ambient or before thermal equilibrium
Loop response Crossover frequency, phase margin, gain margin and operating-point variation Using transient appearance alone as proof of loop stability
Reusable decision rule
When simulation and measurement disagree: validate the probe and test conditions first; verify the as-built BOM and layout second; add real parasitics and corner values to the model third; apply one corrective action at a time; and accept the fix only when both the model and the bench result move in the expected direction.
Correlation established
The next section explains which tool should answer which design question — and why hand calculation, circuit simulation, control modelling, and bench measurement cannot replace one another.
04
Tools & Simulation Stack
MATLAB · LTspice · TI WEBENCH · When to use each — and what none of them can replace

Simulation is a verification tool, not a design tool. You cannot simulate your way to a correct design if you do not know what the correct result should look like before running it. Every simulation in this bootcamp runs after the hand calculation — it either confirms the analysis or reveals a discrepancy that needs explaining.

The one thing simulation cannot replace
Physical intuition. A MATLAB model of a buck converter gives you the output voltage ripple. It will not tell you why the ripple increased when you moved the feedback resistor. A student who understands volt-second balance knows why immediately. A student who only runs simulations does not. This bootcamp teaches both — in that order.
ToolPrimary Use in This CourseCostRequired?
MATLAB / SimulinkPrimary simulation — switching waveforms, control loop Bode plots, transient response, closed-loop step responsePaid (student license available)Yes — primary
LTspiceAlternate for every circuit — switching node, gate drive, snubber, parasitics. Shown side-by-side with MATLAB throughout.FreeNo — alternate
Scilab / XcosOpen-source MATLAB alternative. Same models, different syntax. Shown where relevant for accessibility.FreeNo — alternate
TI WEBENCHComponent sanity check — cross-check derived values against a real controller IC. Not a design tool; a verification step.Free (account required)No — recommended
tools.vyomex.inLLC resonant tank calculator — Module 8 extension for higher-power resonant converter designFreeNo — Module 8 only
📊

MATLAB — Control Loop Analysis

Transfer function modelling, Bode plots, phase margin measurement, step response. The right tool for stability analysis. Less suited for circuit-level switching transients.

LTspice — Circuit-Level Simulation

Transistor-level switching, parasitic effects, gate drive timing, snubber waveforms. Fast, free, accurate for transient analysis. Less suited for frequency-domain control analysis.

🔧

TI WEBENCH — Sanity Check

Enter your spec, get a controller IC recommendation with component values. Use it to cross-check your hand calculations. If WEBENCH agrees with you, you are probably right.

🧮

Hand Calculation — Always First

Before any simulation, derive the expected result. Duty cycle, inductor value, peak current, ripple — all calculable from equations you will know after Module 3. Simulation confirms; calculation predicts.

A note on MATLAB licensing
MATLAB requires a paid license. MathWorks offers student licenses at significantly reduced cost. If you are in industry, your company may already have a site license. LTspice is completely free and covers the same simulation requirements — every MATLAB simulation in this course has a full LTspice equivalent shown alongside it. You will not be blocked by licensing.
Tools clear — mindset next
Section 05 covers the three physical principles every topology reduces to — the mental models that make simulation results interpretable rather than just numbers on a screen.
05
The Design Mindset
Three physical principles · The cost of late discovery · What this bootcamp actually trains

Every switching power supply topology — buck, boost, flyback, LLC — is a different implementation of the same three physical principles. An engineer who understands these principles can look at any unfamiliar topology and reason about its behaviour before opening a datasheet.

Principle 01

Volt-Second Balance

In steady state, the average voltage across an inductor must be zero. During on-time, inductor volt-seconds increase. During off-time, they must return to zero. This single equation determines the duty cycle of every non-isolated switching topology.

Applied in Modules 3, 4 — and implicitly in every subsequent module.

Principle 02

Charge Balance

In steady state, the average current into an output capacitor must be zero. Charge delivered during one part of the switching cycle equals charge removed during the other. This determines output voltage ripple and the capacitor RMS current rating.

Applied in Modules 3, 4, 6 — and in the Module 10 capstone.

Principle 03

Energy Conservation

Energy in = Energy out + Losses. Losses occur at switching transitions, in winding resistance, in core material, and in the control IC. The efficiency target is a design constraint calculated before layout — not a measurement outcome after the prototype.

Applied from Module 3 onward — thermal budget calculated before layout begins.

The Cost of Finding Problems Late

Power supply failures found late in the development cycle cost far more to fix than failures caught at the design stage. The timeline below is grounded in real hardware programme experience.

Design Stage
Wrong topology or component value caught in calculation
Cost: revision of equations and simulation file. Time: hours. No hardware impact whatsoever.
1× cost
Simulation Stage
Instability or incorrect operating point found in MATLAB or LTspice
Cost: redesign of compensation network or component values. Time: days. No hardware impact.
3× cost
First Prototype
Oscillation, incorrect output, or thermal failure on the bench
Cost: component rework, possible board respin. Time: weeks. Hardware and NRE cost involved.
15× cost
EMC / Compliance Test
Conducted or radiated emission failure at the test laboratory
Cost: chamber re-book, board respin, potential certification delay. Time: months.
60× cost
Field Failure
Thermal runaway, oscillation, or regulation failure in a deployed product
Cost: recall, warranty, re-certification, reputation. Time: open-ended.
200× cost
What this bootcamp trains
The ability to catch problems at the 1× and 3× stages — not the 60× stage. Every module ends with a design exercise or simulation walkthrough that requires you to apply the principles before proceeding. The capstone (Module 10) is a complete design cycle — spec, calculation, simulation, layout — for a 24V/2A isolated flyback power supply. By the time you finish it, you will have run the loop once. Running it on your own designs gets faster from there.
Mindset established
You have the rationale, the failure cases, the tools, and the three governing principles. The course map shows exactly how ten modules build on each other — and what you can design by the end of each pillar.
06
Course Map
10 modules · 4 pillars · 1 capstone deliverable

The course is structured in four pillars that build sequentially. Every module ends with either a design exercise or a simulation walkthrough — not just reading. Module 10 is the capstone: a complete 24V/2A flyback power supply from blank spec to layout-ready reference design document.

Pillar I — Foundations (Modules 1–2)
M01The Power Supply Design Mindset — design loop, linear vs switching, topology decision tree, tools introducedCore
M02Linear Regulators — LDO internals, PSRR, dropout, load transient, thermal wall, MATLAB simulationEnrolled
Pillar II — Non-Isolated Switching (Modules 3–5)
M03Buck Converter — volt-second balance, CCM/DCM, component sizing, MATLAB + LTspice, TI WEBENCH, design exercise: 12V→3.3V/2AEnrolled
M04Boost & Buck-Boost — energy transfer model, non-minimum phase, component stress, design exercise: 5V→12VEnrolled
M05Practical Non-Isolated Design — inductor/capacitor/FET selection, gate driver sizing, thermal budget, PCB layout for switchersEnrolled
Pillar III — Isolated Topologies (Modules 6–8)
M06Isolation & Flyback — transformer design, leakage inductance, RCD snubber sizing, design exercise: 12V/1A auxiliary supplyEnrolled
M07Forward, Half-Bridge & Full-Bridge — core reset, transformer utilisation, phase-shift modulation, synchronous rectificationEnrolled
M08Resonant Converters & LLC — ZVS/ZCS intuition, LLC tank design, gain curves, dead time, MATLAB ZVS verificationEnrolled
Pillar IV — Control, Compensation & Capstone (Modules 9–10)
M09Feedback, Compensation & Protection — Bode plots, Type 1/2/3 compensation, K-factor method, TL431 + optocoupler, OCP/OVP/soft startEnrolled
M10Capstone: 85–265V AC → 24V/2A Flyback — full spec-to-layout walkthrough, MATLAB + LTspice, PCB layout guide, reference design documentEnrolled

Ready to start Module 1?

Enroll in the full bootcamp — async HTML access with lifetime updates. Live cohort option available for guided design review.

Enroll Now →
07
Module Quiz
6 questions · Tests the five sections you just read · No login required

These questions test what Module 0 covered — not what you already knew. If you cannot answer a question, the section number tells you exactly where to look.

Question 1 of 6 · Section 01
A 12V to 3.3V linear regulator delivers 500 mA to a load. An engineer proposes replacing it with a buck converter to reduce thermal dissipation. What power is dissipated in the LDO — and is the engineer's reasoning sound?
Question 2 of 6 · Section 02
A flyback transformer's leakage inductance is not measured and assumed negligible during design. At rated load the supply works. At 2× rated load the primary MOSFET fails short. What is the most likely sequence of events?
Question 3 of 6 · Section 03
LTspice predicts a 33 V switch-node peak on a 24 V buck converter. A scope initially shows 51 V, but the measurement uses a long probe ground lead. What is the best next step?
Question 4 of 6 · Section 04
An engineer derives an inductor value of 22 µH for a buck converter. TI WEBENCH suggests 18 µH for the same spec. Which statement best describes what the engineer should do?
Question 5 of 6 · Section 05
Volt-second balance states that in steady state, the average voltage across an inductor is zero. In a buck converter with Vin = 12V and Vout = 3.3V, what duty cycle does this require — and what physically enforces it?
Question 6 of 6 · Section 05
A buck converter prototype oscillates at the bench. The engineer adds more output capacitance, which reduces the oscillation amplitude but does not eliminate it. What is the most useful next step according to the design mindset this module describes?
Ready for the full bootcamp?

Stop treating power as a black box.

Enroll in the SMPS Design Bootcamp. Ten modules, four topology pillars, MATLAB and LTspice simulations throughout — and a complete 24V/2A isolated flyback reference design as your capstone deliverable.

Capstone Deliverable
85–265V AC → 24V/2A Isolated Flyback Power Supply
Schematic · BOM · MATLAB + LTspice simulation · PCB layout guide · Reference design document
Async HTML
Self-Paced
Lifetime access · All 10 modules · Reference design included
Live Cohort
Guided
Live sessions · Design review · Q&A · Async access included