Hi ti team.
I would like to know how to calculate the field weakening control gain. (USER_FWC_KP, USER_FWC_KI)
Is there no other way than to test and tune it?
Best regards.
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.
Hi ti team.
I would like to know how to calculate the field weakening control gain. (USER_FWC_KP, USER_FWC_KI)
Is there no other way than to test and tune it?
Best regards.
You can refer to the lab user's guide as the link below, but you still have to fine tune these parameters according to the test result. Looks like it's difficult to get a better value quickly.
Universal Project and Lab User’s Guide: https://www.ti.com/lit/ug/spruj26/spruj26.pdf
The gain values in the code are as follows.
Are these gain values tuned through testing?
//! brief Define the Kp gain for Field Weakening Control
#define USER_M1_FWC_KP 0.0525f
//! brief Define the Ki gain for Field Weakening Control
#define USER_M1_FWC_KI 0.00325f