An analysis of the cogging torque of a dc motor and a new technique of reducing the cogging torque