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/TMS320F28027F: f28027f+drv8305 Lab1c problems

Part Number: TMS320F28027F
Other Parts Discussed in Thread: MOTORWARE

Tool/software: Code Composer Studio

①According to Lab1c description, at the very beginning of spin, the motor can not rotate by itself, i have to help the rotor to rotate, after it rotate, i can give the ref_krpm value, the motor speed can be follow the ref value to speed up.  how can i make the rotor spin by itself? 

the motor parameter is not very complete, it include:


and i have modify the motor parameter in the user.h file, as follows:( I doubt some of these parameter is not very suitable, so the motor can not rotate by itself.)

#elif (USER_MOTOR == Anaheim_BLY172S)
#define USER_MOTOR_TYPE MOTOR_Type_Pm
#define USER_MOTOR_NUM_POLE_PAIRS (3)
#define USER_MOTOR_Rr (NULL)
#define USER_MOTOR_Rs (1.68)
#define USER_MOTOR_Ls_d (0.0006708066)
#define USER_MOTOR_Ls_q (0.0006708066)
#define USER_MOTOR_RATED_FLUX (0.03433958)
#define USER_MOTOR_MAGNETIZING_CURRENT (NULL)
#define USER_MOTOR_RES_EST_CURRENT (1.0)
#define USER_MOTOR_IND_EST_CURRENT (-1.0)
#define USER_MOTOR_MAX_CURRENT (5.0)
#define USER_MOTOR_FLUX_EST_FREQ_Hz (20.0)

#define USER_MOTOR_FREQ_LOW (25.0) // Hz - suggested to set to 10% of rated motor frequency
#define USER_MOTOR_FREQ_HIGH (250.0) // Hz - suggested to set to 100% of rated motor frequency
#define USER_MOTOR_FREQ_MAX (300.0) // Hz - suggested to set to 120% of rated motor frequency
#define USER_MOTOR_VOLT_MIN (3.0) // Volt - suggested to set to 15% of rated motor voltage
#define USER_MOTOR_VOLT_MAX (12.0) // Volt - suggested to set to 100% of rated motor voltage

I have tried much times for these parametes according to the table above, but it still doesn't work. some of parameter i don't know the value is proper, such as USER_MOTOR_FLUX_EST_FREQ_Hz ,

please give me some advice, thanks a lot.

  • I forget to describe that i install motorware_1_01_00_18 and follow the lab1c
  • Hi, are you using custom hardware? Lab1c is intended for closed current loop testing of custom hardware for signal integrity testing. Labs 1b and 1c only require the following

    #define USER_MOTOR_FREQ_LOW (25.0) // Hz - suggested to set to 10% of rated motor frequency
    #define USER_MOTOR_FREQ_HIGH (250.0) // Hz - suggested to set to 100% of rated motor frequency
    #define USER_MOTOR_FREQ_MAX (300.0) // Hz - suggested to set to 120% of rated motor frequency
    #define USER_MOTOR_VOLT_MIN (3.0) // Volt - suggested to set to 15% of rated motor voltage
    #define USER_MOTOR_VOLT_MAX (12.0) // Volt - suggested to set to 100% of rated motor voltage

    Which should be known from the motor manufacturer.

    If you're evaluating InstaSPIN using TI hardware, please move on to labs 2 and onward.

    Sean