PERMANENT MAGNETS SYNCHRONOUS MOTOR CONTROL THEORY