A Converter-Based General Interface for AC Microgrid Integrating to the Grid