An effective SSC control scheme for voltage sag compensation