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.

TMS320F280039C: Stator Inductance update (Ls_d, Ls_q)

Part Number: TMS320F280039C

Hello, 

I am trying to figure out the configuration for these parameters and what their value should be, and I couldn't find any related info in instaSpin documentation:

  • USER_MOTOR1_Ls_d_COMP_COEF
  • USER_MOTOR1_Ls_q_COMP_COEF
  • USER_MOTOR1_Ls_MIN_NUM_COEF

I found in the code the first 2 params are used in the following equation:

objSets->Ls_d_comp_H = objUser->motor_Ls_d_H * (1.0f - obj->Is_A * objSets->Ls_d_Icomp_coef);

objSets->Ls_q_comp_H = objUser->motor_Ls_q_H * (1.0f - obj->Is_A * objSets->Ls_q_Icomp_coef);

where:

objSets->Ls_d_Icomp_coef = USER_MOTOR1_Ls_d_COMP_COEF / obj->maxCurrent_A;

objSets->Ls_q_Icomp_coef = USER_MOTOR1_Ls_q_COMP_COEF / obj->maxCurrent_A;

Also the 3rd parameter is used in the following equation:

objSets->Ls_d_comp_H = objSets->Ls_min_H;

where:

objSets->Ls_min_H = objSets->Ls_d_comp_H * USER_MOTOR1_Ls_MIN_NUM_COEF;

And all of these equations are used when the following condition is applied:

if(obj->flagEnableLsUpdate == true)

can you please provide more info and a reference on:

  • explanation of the equation and the physical meaning of these parameters?
  • when the condition "flagEnableLsUpdate" is applicable?
  • why the default values for these parameters are:

  

thank you in advance for your support.