Comparison of single and three-phase permanent magnet motor drives