Hi Chris,
just found this line is user.c:
pUserParams->estWaitTime[EST_State_RampUp] = (uint_least32_t)((5.0 + USER_MOTOR_FLUX_EST_FREQ_Hz / USER_MAX_ACCEL_EST_Hzps) * USER_EST_FREQ_Hz);
I think that the "add" operator should be "times"...
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Chris,
just found this line is user.c:
pUserParams->estWaitTime[EST_State_RampUp] = (uint_least32_t)((5.0 + USER_MOTOR_FLUX_EST_FREQ_Hz / USER_MAX_ACCEL_EST_Hzps) * USER_EST_FREQ_Hz);
I think that the "add" operator should be "times"...
Mojo,
No it’s not a bug.
The resulting time allows a ramp up depending on ramp up frequency and ramp up acceleration. And it also adds 5 seconds so it stabilizes before proceeding once it reaches the end frequency.