SLAU948 October 2024 MSPM0G3507
The FOC Algorithm uses an integrated speed/Power control loop that helps maintain a constant speed/power over varying operating conditions. The Kp and Ki coefficients are configured through speedLoopKp and speedLoopKi in the "System Configurations" section on the Motor Tuning page. The output of the speed loop/Power Loop is used to generate the current reference for torque control. The output of the speed/power loop is limited by configuring iLIMIT in the closedLoop1 configuration in the Register Map page of GUI. When output of the speed/Power loop saturates, the integrator is disabled to prevent integral wind-up.
To tune the Kp and Ki values for speed loop:
Table 6-1 shows general guidelines to change controller gains.
Parameter | Rise Time | Overshoot | Settling Time | Stead State Error | Stability |
---|---|---|---|---|---|
Kp | Decreases | Increases | Small Change | Decreases | Degrades |
Ki | Decreases | Increases | Increases | Eliminates | Degrades |