Text this: The field oriented control of a permanent magnet synchrounous motor (PMSM) by using fuzzy logic