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.

TMS320F280049C: MotorControl_SDK: is08_overmodulation project

Part Number: TMS320F280049C

Hello,

I have a question on the InstaSPIN-FOC Lab project for F28004xC in MotorControl_SDK.

Particularly it is on the is08_overmodulation project.

The function of mainISR() in the file of is08_overmodulation.c contains the following codes:

            PI_run_series(piHandle_spd,
                          estInputData.speed_ref_Hz,
                          estOutputData.fm_lp_rps * MATH_ONE_OVER_TWO_PI,
                          0.0,
                          (float32_t *)(&(Idq_ref_A.value[1])));

Here the second parameter of "estInputData.speed_ref_Hz" is the refValue and the third parameter of  "estOutputData.fm_lp_rps * MATH_ONE_OVER_TWO_PI" is the fbackValue.

As far as I know, "estInputData.speed_ref_Hz" represents the electrical frequency of the motor in unit of cycle/sec while "estOutputData.fm_lp_rps * MATH_ONE_OVER_TWO_PI" represents the mechanical frequency of the motor in unit of cycle/sec.

Therefore for 4 pole motors, the value of "estInputData.speed_ref_Hz" may be twice of "estOutputData.fm_lp_rps * MATH_ONE_OVER_TWO_PI".

Is this the way of using PI_run_series() as the speed controller?

Thank you for your guidance.

With regards,

JS Yoo