Dynamic high order periodic adaptive learning compensator for cogging effect in permanent magnet synchronous motor servo system