TIDUF67 April 2024 – December 2024
The parameters provided in the user_mtr1.h file for a PMSM motor are listed as shown in the following code. The motor parameters can be identified from the motor data sheet.
#define USER_MOTOR1_TYPE MOTOR_TYPE_PM
#define USER_MOTOR1_NUM_POLE_PAIRS (4)
#define USER_MOTOR1_Rs_Ohm (0.38157931f)
#define USER_MOTOR1_Ls_d_H (0.000188295482f)
#define USER_MOTOR1_Ls_q_H (0.000188295482f)
#define USER_MOTOR1_RATED_FLUX_VpHz (0.0396642499f)
#define USER_MOTOR1_MAX_CURRENT_A (6.0f)