DSP-based controller for direct torque control of induction motor drives in railway traction system