Observer-based robust control of PMSM via quasi sliding modes