Set parameters to optimize controller performance for permanent magnet synchronous motor (PMSM) without an encoder