Evaluation board: drv8301-hc-evm revd Lab 10a Overmodulation When I use gMotorVars.Flag_enableRsRecalc=1;After the motor start button is pressed, there will be a delay of 7s before the motor really turns. After the motor start button is pressed, there will be a delay of 7s before the motor really starts, which obviously does not meet the requirements of our product. We require the motor start delay time to be within 0.05s. How to change the following parameters to make the motor start delay time meet the requirements of our product? pUserParams->ctrlWaitTime[CTRL_State_OffLine] = (uint_least32_t)( 0.05 * USER_CTRL_FREQ_Hz); pUserParams->RsWaitTime[EST_Rs_State_RampUp] = (uint_least32_t)( 1.0 * USER_EST_FREQ_Hz); pUserParams->RsWaitTime[EST_Rs_State_Coarse] = (uint_least32_t)( 2.0 * USER_EST_FREQ_Hz); pUserParams->RsWaitTime[EST_Rs_State_Fine] = (uint_least32_t)( 7.0 * USER_EST_FREQ_Hz); When I change pUserParams->RsWaitTime[EST_Rs_State_Fine] = (uint_least32_t)( 0.05 * USER_EST_FREQ_Hz); However, the motor cannot be started normally with load, and the delay time is 0.05s. I want to enable gmotorvars. Flag_enableRsRecalc in the process of motor starting. Meanwhile, the delay time of starting is required to be within 0.05s. How should I modify the code?
↧