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.

TMS320F28027: slower than competitors

Part Number: TMS320F28027
Other Parts Discussed in Thread: MOTORWARE

D:\ti\motorware\motorware_1_01_00_18\sw\solutions\instaspin_foc\boards\boostxldrv8305_revA\f28x\f2802xF\projects\ccs\proj_lab10a

Hello, I used the above routine to drive a motor with a load and found that when responding to the same command speed at the same speed, it would be about 100ms slower than competitors. I would like to ask what other parameters besides acceleration, speed loop, and current loop pi can be debugged. I tried increasing acceleration or pi, but found that it was always about 100ms slower. The bus current is as follows, and I don't feel like it is oscillating. The current waveform is on the left, and the competitor's product is on the right,Competitors also use this chip

      

  • Please make sure that the motor and hardware parameters are set correctly in user.h according to your board and motor. Please take a look at the guides below.

    1. Set correct parameters based on the hardware board in user.h. You can refer to the Chapter 5 Managing Motor Signals of  InstaSPIN-FOC and InstaSPIN-MOTION User's Guide to calculate and define the value of these variables.

    #define USER_IQ_FULL_SCALE_VOLTAGE_V           (xx)

    #define USER_VOLTAGE_FILTER_POLE_Hz               (xx)

    #define USER_ADC_FULL_SCALE_VOLTAGE_V       (xx)

    #define USER_IQ_FULL_SCALE_CURRENT_A           (xx)

    #define USER_ADC_FULL_SCALE_CURRENT_A       (xx)

     

    2. Set the right motor parameters in user.h as well as below based on your motor.

    #define USER_MOTOR_TYPE                   MOTOR_TYPE_PM

    #define USER_MOTOR_NUM_POLE_PAIRS         (4)

    #define USER_MOTOR_Rr_Ohm                 (NULL)

    #define USER_MOTOR_Rs_Ohm                 (0.381334811)

    #define USER_MOTOR_Ls_d_H                 (0.000169791776)

    #define USER_MOTOR_Ls_q_H                 (0.000169791776)

    #define USER_MOTOR_RATED_FLUX_VpHz        (0.0398557819)