We have a need to add nm control to the outer ring of the speed ring, so that the motor can run in stable nm. How to control the output of torque to the input of the speed ring? Hope Ti experts can provide code for reference, thank you very much.
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.
We have a need to add nm control to the outer ring of the speed ring, so that the motor can run in stable nm. How to control the output of torque to the input of the speed ring? Hope Ti experts can provide code for reference, thank you very much.
The output torque is the ratio of the torque current (q-axis), so you just need to control the q-axis current (torque) as lab05a. There is no application to add an outer torque loop to the speed loop.