Authentic simulation studies of periodic adaptive learning compensation of cogging effect in PMSM position servo system