Embedded Garage

Power electronics

My degree and my first instinct are in power electronics. I design converters from the equations, then check them on the bench.

What I design

  • DC-DC converters: buck, synchronous buck and buck-boost.
  • Auxiliary supplies for battery management systems.
  • Gate drive and motor control.
  • Control for microgrids, in grid-connected and islanded operation.
  • Simulation in MATLAB and Simulink and in PSIM before anything is built.

A worked example

This is the buck converter drawn on the oscilloscope on the home page, using the ideal equations with no losses.

QuantityEquationValue
Input voltageGiven12 V
Output voltageGiven5 V
Load currentGiven1 A
Switching frequencyGiven400 kHz
InductorChosen22 µH
Duty cycleD = Vout / Vin0.417
Inductor ripple currentΔI = Vout × (1 − D) / (L × f)0.331 A
Peak inductor currentIout + ΔI / 21.17 A
Ripple as a share of load currentΔI / Iout33 %

A real design also has to pick an inductor that will not saturate at the peak current, size the capacitors and account for losses. That is what the calculator is for, and the reasoning is in the note Choosing the inductor for a buck converter.

Thesis

Seamless microgrid transition control

Control that moves a microgrid between grid-connected and islanded operation without a break, on single-phase and three-phase hardware prototypes. The STM32F407 firmware was generated from MATLAB Simulink and checked on hardware against simulation.

M.Tech thesis, NIT Surat, 2023.

Tool