Design principles of integrated magnetic bearings