Hi psdayama,
As the inverter is working as D class Amp - the end of the MOSFER matrix must be smooth with low-pass filter. Then you will have a nice sine wave only 50 Hz - and the transformer will...