AC electric motors control