A high-performance 640-kW 10.000-rpm Halbach-array PM slotless motor with active magnetic bearings. Part I: Preliminary and detailed design