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.

USER_PWM_FREQ

Hi all,

I am using lab5a where i have putted USER_PWM_FREQ = 35.0.

It is given that for low Inductance motor use freq 45.0 or more. But if i put these higher value then there is not estimation of speed,Rs,Ls occur. seems its FAST estimation does not start. And thus the motor does not run.

My Motor inductance is 2.51633742e-05.

Is there any issue using PWM_FREQ = 35.0 for such low inductance motor?

Thanks.

  • You need to set USER_NUM_PWM_TICKS_PER_ISR_TICK to 2 or 3 in user.h also, beacause the interrupt period time is too short to perform the ISR code.  And you need to use lab02c to ID low inductance motor.

    #define USER_NUM_PWM_TICKS_PER_ISR_TICK (3)