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.

SVPWM technique for FOC of pmsm

i am working on svpwm technique for vector control of pmsm , i need guidance about how to select PI controller exact value for speed tracking and better output result . now i am working on simulation using matlab to observer this technique and once the simulation done then i will implement the method on TI dsp TMS320F2833 or RM57l483 

i have attache the graph for speed and switching pulse from svpwm  and the output current graph as well,

so measure should i take to solve the problem ?

Need guidance in this regards