Distributed generation control using modified PLL based on proportional-resonant controller