Part Number: TMS320F28069
Hello!
I want to implement a torque control for the following motor:
#define USER_MOTOR_TYPE MOTOR_Type_Pm
#define USER_MOTOR_NUM_POLE_PAIRS (20)
#define USER_MOTOR_Rr (NULL)
#define USER_MOTOR_Rs (0.5303857)
#define USER_MOTOR_Ls_d (0.001883274)
#define USER_MOTOR_Ls_q (0.001883274)
#define USER_MOTOR_RATED_FLUX (0.341985)
#define USER_MOTOR_MAGNETIZING_CURRENT (NULL)
#define USER_MOTOR_RES_EST_CURRENT (4.0)
#define USER_MOTOR_IND_EST_CURRENT (-1.0)
#define USER_MOTOR_MAX_CURRENT (17)
#define USER_MOTOR_FLUX_EST_FREQ_Hz (6.0)
#define USER_MOTOR_MAX_SPEED_KRPM (0.100)
#define USER_MOTOR_MAX_ACCEL (4.0)
I have perform the identification without problem, but I have tried to implement both torque and speed control based labs and I have found problems when the motor has to move a load. I have mounted an encoder to avoid startup issues, but the problems remains. The motor includes a brake disc fixed to it axle. If the brake is released the motor spins correctly, but if brake is set the motor stops. This could be normal since the motor is being braked, but the torque that the torque control loop applies for this case fall to zero Nm. I though that the torque should raise to it maximum value (derived from USER_MOTOR_MAX_CURRENT) no matter of the movement of the motor.
Any advice?
Thank you in advance
Borja