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
As far as the software configuration is concerned, it is recommended to identify R/L constant with a higher frequency. For the majority of the low-inductance motors tested, a 300-Hz frequency for R/L is enough. Updates to R/L frequency need to be updated in:
#define USER_R_OVER_L_EST_FREQ_Hz (300)
The second consideration is to have a higher frequency to identify the inductance of the motor. This is part of the motor parameters. The following example is used to identify a motor with a few tens of µH.
#define USER_MOTOR_FLUX_EST_FREQ_Hz (60.0)
The third consideration is to call a function that overwrites a limitation on the current control loops. This function needs to be called out of the ISR. The name of the function is: CTRL_recalcKpKi().
The fourth consideration is to call a function that calculates what the initial estimated inductance should be for a particular motor based on the R/L information. This function also needs to be called out of the ISR, and the name of this function is: CTRL_calcMax_Ls_qFmt().
The fifth consideration is to call a function that takes the calculated inductance from CTRL_calcMax_Ls_qFmt() function call, and initializes the estimated inductance when inductance identification is performed. The new function call needs to be called at the end of the ISR, and the name of this function is: CTRL_resetLs_qFmt().