Harmonic cancellation and harmonic elimination techniques are introduced for controlling the output waveform content of single-phase inverters.