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.

TMS320F28069F: InstaSPIN-FOC Lab project: Lab 11a

Part Number: TMS320F28069F
Other Parts Discussed in Thread: MOTORWARE

Hello,

I have a question on an InstaSPIN-FOC Lab project in motorware.

Particularly it is on Lab 11a.

A code snippet in mainISR() is as follows:

      // when appropriate, run the PID speed controller
      if((pidCntSpeed++ >= USER_NUM_CTRL_TICKS_PER_SPEED_TICK) && (!gMotorVars.Flag_enableRsRecalc))
        {
          .........................................

          // run speed controller
          PID_run_spd(pidHandle[0],TRAJ_getIntValue(trajHandle_spd),speed_pu,&(gIdq_ref_pu.value[1]));
        }

Because of "&& (!gMotorVars.Flag_enableRsRecalc)" in the if statement, the PID speed controller may not be run if the Rs online recalibration function is enabled.

In other words, the Rs online recalibration function may have to be disabled if the PID speed controller can be run in Lab 11a.

Am I correct?

Thank you for your guidance.

With regards,

JS Yoo