Text this: Closed-loop control for line current harmonic reduction