Other Parts Discussed in Thread: DRV8301
Hello,
Project elements:
- Lab4 FOC
- TMS320c28027f build on custom board.
- The application is for e-bike
- torque amount is controlled with a potential meter
I have been for a while trying to improve the motor starting from a stand position with some load on it.
However with the evaluation board DRV8301 rev D, it starts fine but not with our custom board.
The parameters below I have obtained with EVM8301:
#define USER_MOTOR_TYPE MOTOR_Type_Pm
#define USER_MOTOR_NUM_POLE_PAIRS (7)
#define USER_MOTOR_Rr (NULL)
#define USER_MOTOR_Rs (0.1459)
#define USER_MOTOR_Ls_d (0.00034695)
#define USER_MOTOR_Ls_q (0.00034695)
#define USER_MOTOR_RATED_FLUX (0.1164877)
#define USER_MOTOR_MAGNETIZING_CURRENT (NULL)
#define USER_MOTOR_RES_EST_CURRENT (6.0)
#define USER_MOTOR_IND_EST_CURRENT (-5.0)
#define USER_MOTOR_MAX_CURRENT (40.0)
#define USER_MOTOR_FLUX_EST_FREQ_Hz (20.0)
PI values from the FOC GUI
kp = _IQ(0.7228)
ki _IQ(0.221)
basically the motor starts to hiccup when I increase the torque output value with the potential meter, rarely it finds the angle and it goes fine and other times when I increase it really fast to max, the current line stays stuck at a really low value.
I think the PI values are not sit correctly.
I varied them from the expression window, I see it improves little bit but not what We are looking for.
Could you please assist me what could I do?
also what is the explanation of my problem, how can I adjust the PI values to the right values, it is not really clear for me in the user guide.
Thanks in advance,
Kamal