Robust dead-beat current control for PWM rectifiers and active filters