Skip to content

All labs ยท ๐Ÿ”‹ Power Electronics Lab

Power Electronics Lab

Drive a real buck converter by hand โ€“ chop 12 V with a switch and smooth it into 5 V or 3.3 V while you watch the waveforms and the ripple โ€“ then simulate how chargers, solar inverters and electric cars move power in Python: rectifiers, smoothing, PWM, buck and boost converters, MOSFET losses and a sine-PWM inverter.

๐Ÿ‘‹ Free demo: try the first 2 lessons and the first tool. Subscribe to unlock everything here and in all the other labs โ€“ USD 10 a month (USD 100 a year), or included with lessons. โœจ SubscribeLog in

โ–ถ See it working

๐Ÿ”‹ Power Electronics Lab โ€“ Rectifiers, smoothing, PWM, buck and boost converters, MOSFET losses and a sine-PWM inverter โ€“ simulated in Python on real circuits.

๐ŸŽฏ Missions

The circuit

12 V โ”€โ”€[switch]โ”€โ”€โ”ฌโ”€โ”€[ L ]โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€ Vout โ”‚ โ”‚ โ”‚ diode C 100ยตF load 5 ฮฉ โ”‚ โ”‚ โ”‚ GND โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

The switch turns on for a fraction D of every cycle. The inductor and capacitor average the chopped voltage into smooth DC.

Outputโ€“
Load currentโ€“
Current rippleโ€“
Voltage rippleโ€“
Power to loadโ€“