Here’s a basic working & overview of how you might design a PWM (and SPWM) SG3525 inverter circuit to convert DC to AC at either 50Hz or 60Hz.