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
For low speed and full load performance to be as expected, the offsets for the currents and voltages need to be well calibrated. In order to do this, the offset recalibration in the controller object should be enabled prior to running the motor in closed loop. The following code example enables the offsets recalibration.
// enable automatic calculation of bias values
CTRL_setFlag_enableOffset(ctrlHandle, TRUE);
Keep in mind that the enable-function of the offsets recalibration must be called prior to enabling the controller, which is done by calling the CTRL_setFlag_enableCtrl(ctrlHandle, TRUE) function.
Offsets recalibration is critical for low speed performance.
Offsets recalibration is critical for low speed performance, especially the voltage offsets, since in the low speed range, the voltage feedback from the motor tend to be very small values, so having well calibrated offsets is a must.