Trajectory tracking for a class of switched nonlinear systems: Application to PMSM. (May 2022)