So I've been using motorware for a while now and I can't seem to find a solution to this problem. First I'll give a little background:
I've been using Lab13a to do position control, and when disturbing (torquing) the motor in a rapid back and forth kind of way, I've noticed the motor falling out of sync. It starts oscillating while emitting a high pitch noise, and loses all torque. I've been experimenting to see if it's the encoder losing impulses, which would misaling the electrical angle with the mechanical angle. I can safely now say that it's not. I have tried the same experiment without any encoder feedback with Lab04. I've tested this with multiple different set values of Iq_ref_A, and rapidly torquing the motor back and forth does make it fall out of sync, even though I am using the built in estimator.
Can this be in any way circumvented? What can be causing this? Any help will be appreciated
Best Regards
Just FYI, this is my hardware: LAUNCHXL-F28069M board with the DRV8305 Booster. These are my motor settings :
#define USER_MOTOR_TYPE MOTOR_Type_Pm #define USER_MOTOR_NUM_POLE_PAIRS (20) #define USER_MOTOR_Rr (NULL) #define USER_MOTOR_Rs (0.0484125465) #define USER_MOTOR_Ls_d (3.53583055e-05) #define USER_MOTOR_Ls_q (3.53583055e-05) #define USER_MOTOR_RATED_FLUX (0.0241114106) #define USER_MOTOR_MAGNETIZING_CURRENT (NULL) #define USER_MOTOR_RES_EST_CURRENT (3.0) #define USER_MOTOR_IND_EST_CURRENT (-3.0) #define USER_MOTOR_MAX_CURRENT (24.00) #define USER_MOTOR_FLUX_EST_FREQ_Hz (20.0) #define USER_MOTOR_ENCODER_LINES (1024.0) #define USER_MOTOR_MAX_SPEED_KRPM (1.920) #define USER_SYSTEM_INERTIA (0.2552739978) #define USER_SYSTEM_FRICTION (0.7534176111) #define USER_SYSTEM_BANDWIDTH_SCALE (1.0)
Anything more info I will be happy to supply if this will resolve my problem.