Tool/software:
E:\ti\motorware\motorware_1_01_00_18\sw\solutions\instaspin_foc\boards\boostxldrv8305_revA\f28x\f2802xF\projects\ccs\proj_lab20
Hello, I use routine 20. I want to limit the maximum current when I slow down, so as to limit the current recoil, but I don't want to affect the maximum current of acceleration. I give a suitable method to control my maximum current in winter.
The parameters in user.h
#define USER_MOTOR_MAX_CURRENT (20.0) // A - 30~150% of rated current of the motor, and less than half of user_ADC_full_scale_current_A
You can change the maximum and minimum values of the speed PI regulator as well.