Pulse-width modulation (PWM) provides a way to decrease the total harmonic
distortion of load current. A PWM inverter output, with some filtering, can generally meet THD requirements more easily than the square wave switching
scheme. The unfiltered PWM output will have a relatively high THD, but the harmonics will be at much higher frequencies than for a square wave, making filtering easier.