A fast controller for a series connected VSC to mitigate voltage sags in distribution systems