Repetitive observer design for torque ripple reduction in PMSM drives