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
This is the slowest but most accurate startup. It consists of three stages before the motor is spun to a commanded torque or speed reference. Figure 11-1 shows the controller and estimator state machines when a startup is done with offsets and Rs recalibration enabled.
Figure 11-2 shows current and output voltage for each state. The first state is the Offsets Recalibration state and the second is Rs Recalibration. The third stage is the online state when the commanded speed or torque is followed in closed-loop.
The timing associated with each state, as well as the current used for Rs recalibration is explained in detail in Section 7. In order to enable both offset and Rs recalibration the following two functions must be called prior to enabling the controller:
// Enable Offset Recalibration
CTRL_setFlag_enableOffset(handle, TRUE);
// Enable Rs Recalibration
EST_setFlag_enableRsRecalc(obj->estHandle, TRUE);
The controller is enabled by calling the following function:
// enable the controller
CTRL_setFlag_enableCtrl(ctrlHandle, TRUE);