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.

求助如何使用InstaSPIN-FOC来识别ACIM,估算参数

Other Parts Discussed in Thread: MOTORWARE

Ti的大大们,乃们好!我想使用28069M来控制交流感应电机,FOC的控制理念也理解,最近在看InstaSPIN-FOC OR MOTION的USER'S GUIDE,也看的差不多了,但是如何使用其中的电机识别即估算电机参数的步骤还是不理解!而且其中的lab工程编译后下到板子上也运行不了,MAINISR中的闪烁LED灯不亮,发现例程的IO都没有进行配置(即输入输出),难道就我碰到了这个问题?还希望大大们能给个解释,以求豁然开朗……谢啦!

  • 咋没人回答啊!低杆清台~大哥,我看电机的部分都是你在回答的!给个答案呀!

  • 请问楼主使用的motorware版本号是多少?

    使用的是那个例程?

    每个例程中硬件配置都是调用下面函数中实现的,而这个函数在drv.c中定义的。

    I/O初始化也包含在内。

      // set the driver parameters
      DRV_setParams(drvHandle,&gUserParams);

  • 我把motorware更新了下就有了OK了!确实是在DRV_setParams中设置的。还想问下Johnson Chen1 motor ware中的lab2a怎么样才能使我的电机运行起来和估算参数。调试的时候一直是CTRL和ESTIM都是idle状态,咋办?

  • 具体可以查看使用手册。

    要将user.h中下面内容根据具体电机修改,然后将gMotorVars.Flag_enableSys和gMotorVars.Flag_Run_Identify置1,开始电机识别。

    #define CM_USER_MOTOR_TYPE                 MOTOR_Type_Pm  // Motor_Type_Pm (All Synchronous: BLDC, PMSM, SMPM, IPM) or Motor_Type_Induction (Asynchronous ACI)
    #define CM_USER_MOTOR_NUM_POLE_PAIRS       (4)     // PAIRS, not total poles. Used to calculate user RPM from rotor Hz only
    #define CM_USER_MOTOR_MAGNETIZING_CURRENT  (NULL)    // Induction motors only, else NULL
    #define CM_USER_MOTOR_RES_EST_CURRENT      (1.0)            // During Motor ID, maximum current (Amperes, float) used for Rs estimation, 10-20% rated current
    #define CM_USER_MOTOR_IND_EST_CURRENT      (-1.0)     // During Motor ID, maximum current (negative Amperes, float) used for Ls estimation, use just enough to enable rotation
    #define CM_USER_MOTOR_MAX_CURRENT          (3.82)    // CRITICAL: Used during ID and run-time, sets a limit on the maximum current command output of the provided Speed PI Controller to the Iq controller
    #define CM_USER_MOTOR_FLUX_EST_FREQ_Hz     (20.0)