Hi everyone!
I am new to the DSP world and my first target is implementing PMSM vector control using TMS320C2000 Motor Control Primer.
After had gone through a considerable part of the library, I decided connecting my motor and it didn't start up. I started debugging the code and noticed that one problem is the how I defined the values of my PID gains (kp, ki and kd). I am familiar with the PID theory, but I am not sure about how to enter the values I have for my PID in the code.
I see that the maximum value of kp can be 128, and that there maximum and minimum limits, but I don't get it. Are those based on pu values? Is there an special fractional way of inserting my PID gains in the code so it makes sense?
Please, if someone has experienced that, I would be glad to receive some help. I could not find any information about it on the application notes.
Best regards
Goncalves