Control method for an AC rotary electric machine and vehicle electric systems and mobile