Electromagnets with different coil size and wrapping