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.

MotorSDK Field Weakening and MTPA Lab13

Hi,

I am using Lab13 of Motor SDK which includes the field weakening algorithm.

It seems field weakening is being done 10 times slower than the main ISR which runs the FOC. The field weakening code runs only if the below condition is satisfied:

if(counterFWCandMTPA >= numCtrlTicksPerFWCandMTPATick) 

{

// do field weakening

}

The parameter numCtrlTicksPerFWCandMTPATick is set as 10 and hence field weakening is running 10 times slower.

The questions is:

1. Why would it be necessary to run the field weakening slower? Does it give any advantages? My intuition says that it should run at the same speed as the FOC. 

2. Will there be an issue with the field weakening running at the same rate as that of the FOC?