Other Parts Discussed in Thread: TMS320F28069M
Dear team:
Platform: TMS320F28069M LaunchPad + BOOSTXL-DRV8305EVM
I use lab13b routine to control a motor with 12 bit encoder (4096 lines) and 14 pole pairs. Before that, the related parameters have been identified with lab2a / 2C / 12a, and the identified parameters are written into the relevant header file of lab13b.
Now the problem is that the motor will stop after rotating at a certain angle, and shake back and forth at this angle. In other words, the stability accuracy is poor, and sometimes the deviation is estimated to be about 10 degrees (visual inspection).
By adjusting the value of "#define USER_SYSTEM_BANDWIDTH", there will be different results: if the value is too low, the jitter amplitude will be larger, but the jitter frequency will be smaller; if the value is too high, the jitter amplitude will be smaller, but the jitter frequency will be higher, and it will feel like shaking all the time.
Some other parameters have been adjusted, but this problem can not be solved. Such as "USER_PWM_FREQ_kHz, USER_R_OVER_L_EST_FREQ_Hz" and other parameters;
May I ask what is the problem?
Best regards