Dear Sir/Madam
I have problem with sensored inertia identification lab (Lab 12a). The motor does not rotate when Run_Identify is set. I have tried to perform the identification, but the motors stops after some turns, Error Id 2003 is obtained (no matter the value of gMotorVars.SpinTAC.VelIdTorqueRampTime_sec variable)
I have revised the encoder conections:
I have moved the motor 1 turn (anti clockwise) and st_obj.vel.conv.Pos_mrev was 1.0 (Q24 format) so both resolution encoder lines are OK.
I have changed U and V phases, but the motor does not spin.
I have performed lab 5c, 5d, 5e without problem, so I suppose that problem is related to the encoder
The motor data (identified) is:
#elif (USER_MOTOR == DELTA_ME080AS104)
#define USER_MOTOR_TYPE MOTOR_Type_Pm
#define USER_MOTOR_NUM_POLE_PAIRS (2)
#define USER_MOTOR_Rr (NULL)
#define USER_MOTOR_Rs (0.009204548)
#define USER_MOTOR_Ls_d (0.00004952461)
#define USER_MOTOR_Ls_q (0.00004952461)
#define USER_MOTOR_RATED_FLUX (0.05395144)
#define USER_MOTOR_MAGNETIZING_CURRENT (NULL)
#define USER_MOTOR_RES_EST_CURRENT (12.0)
#define USER_MOTOR_IND_EST_CURRENT (-12.0)
#define USER_MOTOR_MAX_CURRENT (40.0)
#define USER_MOTOR_FLUX_EST_FREQ_Hz (20.0)
#define USER_MOTOR_ENCODER_LINES (512.0)
#define USER_MOTOR_MAX_SPEED_KRPM (3.0)
#define USER_SYSTEM_INERTIA (0.345330596)
#define USER_SYSTEM_FRICTION (1.438587368)
Voltage = 12VDc
Rated Speed = 3000rpm
Rated Current = 44A
Rated Torque = 1.28Nm
Peak Current = 133A
Peak Torque = 3.6Nm
Ke = 2.12V/Krpm
Poles = 2
The hardware is: DRV8301 ev board.
Any idea?
Thank you in advance,
Borja Gómez