Inner current loop analysis and design based on resonant regulators for isolated microgrid applications