The aim of the paper is to study the electromagnetic torque control algorithms and to develop the mathematical model of electric drive based on doubly-fed induction machine (DFIM) with simultaneous control from stator and rotor sides. The mathematical model of the electric drive with DFIM has been developed. Mathematical simulation of electromagnetic torque testing of electrical machine with excitement from stator and rotor sides has been made on the basis of the developed model. The algorithms of the electromagnetic torque vector control of DFIM have been studied. Controllers that provide torque control from stator and rotor sides under the DFIM excitation have been constructed. The efficiency of the proposed approach is confirmed by the results of mathematical simulation.