In order to optimize the harmonics and to improve the
output of AC to AC converter, gate pulses to different IGBTs
are modulated using Trapezoidal modulation technique and
their performance is obtained in terms of total harmonic
distortion in the output.