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.

AM263P4: Universal Motor Control - Motor Parameter

Part Number: AM263P4

Tool/software:

Hi, 

I want to control Emax - RS2205 motor. I am using AM263 LP and X-Nucleo-IHM08M1 board. I want to determine the motor control parameters. I changed some parameters, but I am not sure if it is correct. How can I be sure that these parameters are correct?

I added paramaters that I specified in code block.

#define USER_MOTOR1_TYPE                   MOTOR_TYPE_PM
#define USER_MOTOR1_NUM_POLE_PAIRS         (7)            // 14 kutup - 7 çift
#define USER_MOTOR1_MAX_CURRENT_A          (3.0f)         // STSPIN830
#define USER_MOTOR1_OVER_CURRENT_A         (5.0f)         // Koruma


#define USER_MOTOR1_Rs_Ohm                 (0.12f)
#define USER_MOTOR1_Ls_d_H                 (0.00015f)
#define USER_MOTOR1_Ls_q_H                 (0.00015f)
#define USER_MOTOR1_RATED_FLUX_VpHz        (0.0006f)      // Hesaplanan değer

#define USER_MOTOR1_Rr_Ohm                 (0.0f)
#define USER_MOTOR1_MAGNETIZING_CURRENT_A  (0.0f)

#define USER_MOTOR1_RES_EST_CURRENT_A      (1.5f)
#define USER_MOTOR1_IND_EST_CURRENT_A      (-1.0f)
#define USER_MOTOR1_FLUX_EXC_FREQ_Hz       (60.0f)

#define USER_MOTOR1_INERTIA_Kgm2           (1e-6f)

#define USER_MOTOR1_RATED_VOLTAGE_V        (14.8f)
#define USER_MOTOR1_FREQ_MIN_Hz            (10.0f)
#define USER_MOTOR1_FREQ_MAX_Hz            (600.0f)

#define USER_MOTOR1_FREQ_LOW_Hz            (5.0f)
#define USER_MOTOR1_FREQ_HIGH_Hz           (600.0f)
#define USER_MOTOR1_VOLT_MIN_V             (2.0f)
#define USER_MOTOR1_VOLT_MAX_V             (14.8f)

#define USER_MOTOR1_FLUX_CURRENT_A         (1.5f)
#define USER_MOTOR1_ALIGN_CURRENT_A        (2.0f)
#define USER_MOTOR1_STARTUP_CURRENT_A      (2.5f)
#define USER_MOTOR1_TORQUE_CURRENT_A       (2.5f)
#define USER_MOTOR1_FORCE_DELTA_A          (0.05f)
#define USER_MOTOR1_ALIGN_DELTA_A          (0.01f)

#define USER_MOTOR1_SPEED_START_Hz         (50.0f)
#define USER_MOTOR1_SPEED_FORCE_Hz         (40.0f)
#define USER_MOTOR1_ACCEL_START_Hzps       (20.0f)
#define USER_MOTOR1_ACCEL_MAX_Hzps         (50.0f)
#define USER_MOTOR1_SPEED_FS_Hz            (5.0f)

#define USER_MOTOR1_BRAKE_CURRENT_A        (1.0f)
#define USER_MOTOR1_BRAKE_TIME_DELAY       (12000U)

#define USER_MOTOR1_KSLIDE_MAX             (0.5f)
#define USER_MOTOR1_KSLIDE_MIN             (0.1f)
#define USER_MOTOR1_PLL_KP_MAX             (10.0f)
#define USER_MOTOR1_PLL_KP_MIN             (1.5f)
#define USER_MOTOR1_PLL_KP_SF              (5.0f)
#define USER_MOTOR1_PLL_KI                 (2.8125E-06f)
#define USER_MOTOR1_BEMF_THRESHOLD         (0.5f)
#define USER_MOTOR1_BEMF_KSLF_FC_SF        (2.0f)
#define USER_MOTOR1_THETA_OFFSET_SF        (1.0f)
#define USER_MOTOR1_SPEED_LPF_FC_Hz        (200.0f)


Regards,
Burak

  • Hi Burak,

    I have assigned this thread to our motor control expert, who is currently out of office. Please expect a reply next week (5/5).

    Regards,

    Brennan

  • Hi Burak,

    You will need to get the parameters for your own motor and put them into this config file. One thing to be aware: the Rs and Ls we are taking in the software is phase to neutral (center point of the star connection of the coil), and many motor datasheet specify the Rs and Ls as phase to phase. Thanks.

    Han