I'm designing a single phase Grid Tie Inverter(GTI), to match the output frequency of GTI with that of Grid I sensed the drif frquency by using PIC MCU and generated Sinusoidal PWM signal having fundamental frequency equal to that of grid. In matching voltages and phase with that of grid I have following problems:
1) How can I match output voltages of GTI adaptively with that of Grid?
I thought to increase or decrease the Duty Cycle of SPWM to increase or decrease the output voltages of GTI to match with that of Grid. but I don't know any such algorithm.
Kindly guide me how to do this.
2) Due to delay created by MCU, a phase difference creates in GTI output and Grid voltages.
How I can remove this delay? Can Phase Locked Loop /PLL IC solve my problem?
Regards
"Almost" Good Answers: