A stability-oriented design method for virtual impedance loop in droop-controlled converters