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.

TMS320F28027F-Q1: TMS320F28027F-Q1:

Part Number: TMS320F28027F-Q1

Hello

I am using INSTASPIN/FOC on the F28027F (the software is based on the Lab11a) for a BLDC motor, now it is that the motor speed is 30% above the target speed, e.g. gMotorVars.SpeedRef_krpm is set to 1. 0 krpm, the value of gMotorVars.Speed_krpm also shows 1.0 krpm, but the actual speed is 1.3 krpm (measured by an external device, also the calculation of the phase current and the number of poles gives 1.3 krpm). Do you have any idea where to look (wrong scaling etc.)?
Best regards

Thomas

  • You need to follow the lab user's guide and InstaSPIN user's guide to set the correct parameters according to your board and motor.

     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)

    Set the right motor parameters in user.h as well.

    #define USER_MOTOR_TYPE                   MOTOR_TYPE_PM

    #define USER_MOTOR_NUM_POLE_PAIRS         (4)

    #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)