SPRUHJ1I January 2013 – October 2021 TMS320F2802-Q1 , TMS320F28026-Q1 , TMS320F28026F , TMS320F28027-Q1 , TMS320F28027F , TMS320F28027F-Q1 , TMS320F28052-Q1 , TMS320F28052F , TMS320F28052F-Q1 , TMS320F28052M , TMS320F28052M-Q1 , TMS320F28054-Q1 , TMS320F28054F , TMS320F28054F-Q1 , TMS320F28054M , TMS320F28054M-Q1 , TMS320F2806-Q1 , TMS320F28062-Q1 , TMS320F28062F , TMS320F28062F-Q1 , TMS320F28068F , TMS320F28068M , TMS320F28069-Q1 , TMS320F28069F , TMS320F28069F-Q1 , TMS320F28069M , TMS320F28069M-Q1
The controller is taken out of idle state by enabling it, by using the following function:
CTRL_s etFlag_enable Ctrl(ctrlHandle, TRUE);
Once the controller is enabled and with the motor already identified, the very first task performed by the controller state machine is the Offset recalibration. This only occurs if the offset calculations are enabled. To check if the offset recalibration flag is enabled, users can use the following code example:
if(CTRL_getFlag_enableOffset(ctrlHandle) == TRUE)
The motor identified flag is internally checked and can also be checked by the user with the following code example:
if(EST_isMotorIdentified(obj->estHandle) == TRUE)
Offset recalibration is enabled by default, although the following code example can be used to enable it before the controller is enabled:
CTRL_s etFlag_enableOffset(ctrlHandle, TRUE);
And the following code example is used to disable offset recalibration.
CTRL_s etFlag_enableOffset(ctrlHandle, FALSE);
This state (CTRL_State_OffLine and EST_State_Idle) as explained in Section 7.3 is denoted by the state of the controller state machine named: CTRL_State_OffLine. The estimator state stays in the idle state (EST_State_Idle) during the controller offline state. Offset recalibration can be bypassed but offset calibration is a requirement during full motor identification. It cannot be bypassed when doing full identification of the motor.
For details of offset calibration as part of the full motor identification process, see Section 7.6.2. As seen in Figure 7-48, the "RoverL" state is not part of the recalibration process.
Figure 7-49 shows the corresponding states of the the phase current oscilloscope plots.