Other Parts Discussed in Thread: DRV8312, TMDSCNCD28335
Hello,
I am using the DRV8312-92M-KIT and trying to spin a somewhat special motor with it. I know the motor parameters from former investigations. Nevertheless I've tried to work my way through the labs, and as I know this is a low inductance motor (about 44µH), I've tried to ID it with lab02c. I have not been able to get any good results (even with added inductance in the lines which bring the inductance up to 100µH). So because I have all the motor parameters, I've skiped the ID process and proceeded to lab03a. Here is what my motor definiton in the user.h looks like:
#elif (USER_MOTOR == My_Motor)
#define USER_MOTOR_TYPE MOTOR_Type_Pm
#define USER_MOTOR_NUM_POLE_PAIRS (1)
#define USER_MOTOR_Rr (NULL)
#define USER_MOTOR_Rs (6.2)
#define USER_MOTOR_Ls_d (0.0001)
#define USER_MOTOR_Ls_q (0.0001)
#define USER_MOTOR_RATED_FLUX (0.0008)
#define USER_MOTOR_MAGNETIZING_CURRENT (NULL)
#define USER_MOTOR_RES_EST_CURRENT (0.2)
#define USER_MOTOR_IND_EST_CURRENT (-0.2)
#define USER_MOTOR_MAX_CURRENT (1.0)
#define USER_MOTOR_FLUX_EST_FREQ_Hz (40.0)
Now the user.c checks the following: USER_CTRL_FREQ_Hz <= (USER_MOTOR_Rs / (USER_MOTOR_Ls_q + 1e-9)) This means, my USER_CTRL_FREQ_Hz has to be somewhere >62000. If I set the ctrl frequency this high, the program seems to have timing issues and the CTRL does not even get to the CTRL_State_OnLine state.
Any advice?
Thanks,
Chris