Text this: The analysis, design and implementation of a constant THD current controller for active AC/DC converters