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.

CCS/BOOSTXL-DRV8320RS: is05 example parameters tuning code part

Part Number: BOOSTXL-DRV8320RS

Tool/software: Code Composer Studio

Hello, 

I would like to use the tuning motor parameters (resistance, inductance, etc.) part in the example is05 from C2000 WARE Motor Control SDK in my own program.

I tried to find the code part where the tuning is programmed but I did not find it. 

Do you know which part is responsible for the tuning motor parameters in is05?

Thank you in advance. 

Best regards.

  • Hello,

    I will forward your post to the C2000 team so they can help you with all code related questions on the C2000 processor.

    Please not that the post will not move but the C2000 team will be notified.

    Regards,

    -Adam

  • Hi,

    is05 is designed for motor parameter identification and it includes a lot of functions.

    Please see the link below and see "is05_motor_id – Motor Parameters Identification"

    If you can not access to the link, please find the document from the resource explore - motor control SDK - BOOSTXL-DRV8320RS - Documentation - MotorControl SDK InstaSpin Lab Guide

  • Hello,

    Thank you for your answer but it was not exactly my question. 

    I already used the is05, now I would like to get the part of the code where the tuning parameters is made. 

    Thus, I could create a program with this functionality in addition to other functionalities.

  • Hello,

    I am not sure what you mean by "tuning of the motor parameters". This lab is about identifying the motor parameters which you then update into the user.h file which is then used by the InstaSPIN library. Can't you use is05 as a starting point for your application and add your other functionalities to it?


    Best regards,
    François.

  • You may try to tune the identification variables in the file of the user.h according to the spec. of the motor if the board has been verified by using lab03 and lab04 for current and voltage sensing.

    #define USER_MOTOR_RES_EST_CURRENT     (1.0)                               // A - 10-30% of rated current of the motor

    #define USER_MOTOR_IND_EST_CURRENT     (-1.0)                             // A - 10-30% of rated current of the motor, just enough to enable rotation

    #define USER_MOTOR_MAX_CURRENT              (5.0)                               // A - 30~150% of rated current of the motor

    #define USER_MOTOR_FLUX_EST_FREQ_Hz     (20.0)                           // Hz - 10~30% rated frequency of the motor