Part Number: LAUNCHXL-F280049C
Other Parts Discussed in Thread: DRV8305
I'm doing Motor Control SDK intaspin FOC labs on by one. My controller is F280049C Launchpad and my driver is Boostxl-drv8305. I did first three lab work without problem. Third lab is is03_hardware_test and it runs open loop motor speed control and I have completed this lab without any problem. However, in fourth and fifth labs namely is_04 and is_05_motor_id, system producing too high current and driver is giving nFault signal. Therefore, I can't accomplish these labs and I can't identify the motor.
I have also used F28069M launchpad and drv8305 with same motor in the past with Instaspin and I did not get any problems. Also I adapted all the code for the drv8305 for F280049C, so ADC and PWM values seems correct.
I guess on is_05 lab, high current occurs in EST_STATE_ROVERL step. Maybe there is a problem for current controller. When I changed PWM frequency this behavior is changing. 20-25kHz pwm freq causing high current but when I increase this value to 45kHz, motor current being very low and motor is not spinning. Also estimator state is staying EST_STATE_ROVERL.
I have examined instaspin user guide but "6.9.2.5 Troubleshooting Current Controller Stability during RoverL Identification" section is empty
My motor parameters:
#elif (USER_MOTOR == My_A2212T13) #define USER_MOTOR_TYPE MOTOR_TYPE_PM #define USER_MOTOR_NUM_POLE_PAIRS (6) #define USER_MOTOR_Rr_Ohm (NULL) #define USER_MOTOR_Rs_Ohm (0.102725) #define USER_MOTOR_Ls_d_H (0.00001216) #define USER_MOTOR_Ls_q_H (0.00001216) #define USER_MOTOR_RATED_FLUX_VpHz (NULL) #define USER_MOTOR_MAGNETIZING_CURRENT_A (NULL) #define USER_MOTOR_RES_EST_CURRENT_A (1.0) #define USER_MOTOR_IND_EST_CURRENT_A (-1.0) #define USER_MOTOR_MAX_CURRENT_A (3.0) #define USER_MOTOR_FLUX_EXC_FREQ_Hz (20.0) #define USER_MOTOR_RATED_SPEED_KRPM (3.0) #define USER_MOTOR_FREQ_MIN_HZ (5.0) // Hz #define USER_MOTOR_FREQ_MAX_HZ (300.0) // Hz #define USER_MOTOR_FREQ_LOW_HZ (10.0) // Hz #define USER_MOTOR_FREQ_HIGH_HZ (150.0) // Hz #define USER_MOTOR_VOLT_MIN_V (0.1) #define USER_MOTOR_VOLT_MAX_V (12.5) #define USER_MOTOR_NUM_ENC_SLOTS (NULL)