Inverter
Toggle between square-wave and sinusoidal PWM switching, choose half-bridge or full-bridge topology, and adjust the DC bus voltage and modulation index. The widget plots the output waveform and computes fundamental voltage and THD in real time — no Fourier tables needed.
H-Bridge State
Fundamental RMS
THD
200.0 V
(R = 50 Ω)
800.0 W
Quick experiments
- Full-bridge square wave. Set Vdc = 200 V — the output swings ±200 V with THD around 48%.
- PWM clean-up. Switch to PWM and lower the modulation index ma — watch THD drop as the output approaches a pure sine.
- Half vs full-bridge. Compare the two topologies at the same Vdc — the full-bridge doubles the output swing.
DC-AC inverters
A DC-AC inverter converts a battery or DC bus voltage to AC using a bridge of power switches (MOSFETs or IGBTs). The switches are driven with PWM waveforms whose varying duty cycle shapes the output into an approximate or true sine wave.
H-bridge (single-phase) operation
Four switches arranged in an H: diagonal pairs switch alternately at high frequency. PWM duty cycle is varied sinusoidally so the LC output filter reconstructs the fundamental frequency. The switches never conduct simultaneously (dead-time prevents shoot-through).
Output quality — THD
Total Harmonic Distortion (THD) measures how closely the output resembles a pure sine wave. Modified-sine inverters (cheaper, square-wave steps) have THD of 40–45 % — acceptable for resistive loads but can damage motors and sensitive electronics. Pure-sine inverters achieve THD < 3 %.
Learn more → Inverters — Learn