Generalized design of power converters for electric vehicle drives