SLAU927B June 2024 – November 2024 MSPM0G3507
The FOC Algorithm uses two current PI controllers: one each for Id and Iq to control flux and torque separately. Kp and Ki coefficients are the same for both PI controllers and are configured through currLoopKp and currLoopKi in the Motor Tuning page.
For the basic tuning, configure currLoopKp and currLoopKi parameters as "0" so that these values are auto-computed based on the motor parameters and reflected in the User Outputs section of the Motor Tuning page in the GUI. These values can be further updated for fine tuning the performance and controlling the dynamics of the system.