Part Number:DRV8301
Tool/software:TI-RTOS
Hi there:
I am using the DRV8301-HC-EVM RevD kit (serial number: D1A_1701042) to build a torque control system (based on Lab 4) for a customized BLDC motor.
I used the DAC of the kit to monitor the measured motor speed using an oscilloscope.
The value of the USER_EST_FREQ_Hz (the frequency of the estimator) was 15 kHz, the torque control system worked well, but I am missing fast changes of the motor speed with respect to my application.
I need to increase the value of the "USER_EST_FREQ_Hz" to be able to capture these fast changes of the motor speed.
I set the "USER_EST_FREQ_Hz" to 40 kHz by setting the "USER_PWM_FREQ_kHz" to 80, and the "USER_NUM_PWM_TICKS_PER_ISR_TICK" to 2. However, the state of the Estimator was "EST_State_Idle", and the state of the CTRL was "CTRL_State_OnLine", so the torque controller was inactive!
But I was able to capture the fast change of my motor speed using the oscilloscope and 40 kHz of the "USER_PWM_FREQ_kHz" when the rotor was rotated manually.
I checked the "gMotorVars.UserErrorCode" and there was no error when I used the 40 kHz of the "USER_EST_FREQ_Hz".
I also used the function "EST_isError", and there was no error. Although, I used these functions "CTRL_setupEstOnLineState" and "EST_setFlag_estComplete", but the the state of the Estimator was "EST_State_Idle".
Is it possible to set the "USER_EST_FREQ_Hz" to 40 kHz?
Thanks in advance for your support and help.
Basem Badr