Greetings!
I aim to build a grid tie inverter. So far, i have generated a pure sine wave of 50Hz (grid frequency) but there is a phase difference between grid and inverter output. As I know phase lock loop PLL is a good way of eliminating this phase difference. Can I use CD4046b PLL IC to do so?