Integrated active magnetic bearings