Arrangements for controlling doubly fed motors