To reduce the iron loss and torque ripple of an external rotor consequent pole (ERCP) motor used in an electric vehicle air-conditioning compressor, the magnetic pole structure of the motor was improved, and an unequal piecewise consequent pole (CP) structure was designed. The performance of the motor is optimized by reducing the harmonic content in the air gap flux density and reducing the iron saturation degree of the motor. The designed CP structure can significantly reduce the iron loss and torque ripple of the motor. Based on the Taguchi method, the optimal size parameters of the unequal piecewise CP structure are determined, and the final optimization design scheme is obtained. The results of finite element simulation and high-precision iron loss model show the following: compared with the original motor, the iron loss and torque ripple of the motor with the final optimized design scheme are significantly reduced.