i have made transformer based pure sine wave inverter by generating spwm from microcontroller. so i am trying to make this simple inverter to work as 'on grid' inverter.
what changes are required.
You need frequency synchronization and a feedback loop controlling the output voltage according to the Iload respectively Pload setpoint. Also protection circuits watching safety limits for output current and output voltage.