An Adaptive PI Controller in Speed Control Design for PMSLM