Theoretical analysis and reduction techniques of DC capacitor ripples and requirements in inverters