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.

[参考译文] TMS320F28069M:Instaspin"n`t FOC lab10a KP_SPD 不变

Guru**** 2343770 points
Other Parts Discussed in Thread: MOTORWARE
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1187567/tms320f28069m-instaspin-foc-lab10a-kp_spd-doesn-t-change

器件型号:TMS320F28069M
主题中讨论的其他器件:MOTORWARE

您好! 我正在尝试使用 ACIM 电机运行 lab10a。 问题是我的电机有内部断路、需要更高的 KP_SPD 值。 n`t、当我尝试更改它时、实验不会做出响应。 它返回初始状态的值。 我尝试在 MOTOR_Vars_init 对象中更改此值、但运气不好。 因此、在本例中、我的电机不旋转。 我应该怎么做? 如何更改此值?

谢谢!

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    由于假期,专家不在办公室。 请在星期二之前回复。

    谢谢。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、Pavlin、

    请参阅 ctrl.c 文件中的 CTRL_setParams()函数。 速度 PID 控制器参数在以下代码部分初始化。

      // set the default speed PID controller parameters
      Kp = _IQ(0.02*pUserParams->maxCurrent*pUserParams->iqFullScaleFreq_Hz/pUserParams->iqFullScaleCurrent_A);
      Ki = _IQ(2.0*pUserParams->maxCurrent*pUserParams->iqFullScaleFreq_Hz*pUserParams->ctrlPeriod_sec/pUserParams->iqFullScaleCurrent_A);
      Kd = _IQ(0.0);
      outMin = _IQ(-1.0);
      outMax = _IQ(1.0);
    
      PID_setGains(obj->pidHandle_spd,Kp,Ki,Kd);
      PID_setUi(obj->pidHandle_spd,_IQ(0.0));
      PID_setMinMax(obj->pidHandle_spd,outMin,outMax);
      CTRL_setGains(handle,CTRL_Type_PID_spd,Kp,Ki,Kd);

    另请参阅 C:\ti\motorware\motorware_1_01_00_18\docs\labs 中'instaspin_labs.pdf'文档中的以下信息

    最棒的

    Kevin