Assessment and investigation on harmonic mitigation and design of DC voltage controllers for enhancing power quality