Parameter identification of permanent magnet synchronous AC motor based on spectral method