Analysis and Minimization of Output Current Ripple of Multiphase PWM Inverters