Parameter measurement of permanent magnet synchronous motor based on field oriented control