This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Direct Torque Control of PMSM using matlab/simulink and tms320f28335 ezdsp

Hello,

Please I have these questions about simulation and implementation of DTC of PMSM using MATLAB/SIMULINK and DSP TMS320F28335:

1- when I made simulation of the system without speed control ( Torque control mode) with constant refernce flux and constant reference torque, the speed seems to be unstable and continue to increase linearly without stop. Is this normal? or PMSM cant be used in torque control mode? Can I implement this system or something will be damaged? or the system has something wrong?

2-when the speed loop is closed with PI controller , the system is OK in matlab/simulink but when I add the Priferals of the DSP(ADC to measure currents and QEP to measure speed) ( to be ready to used with the dsp to implement the system), I have problem with using IQ numbers or not and DMC library (I use SIMULINK blocks not C code for programming) then by CCS it is converted to c.