Text this: Investigation on grid synchronization for grid-tied DC-AC single phase inverters