Investigations on control algorithms for solar photovoltaic grid interfaced systems