cancel
Showing results for 
Search instead for 
Did you mean: 

STEVAL ESC001V1 PID Tuning

tejas_amp
Senior

When i give varying PWM signal at high frequency under range, the motor sometimes produces noise and gets stuck (0 speed even though pwm signal is valid). What is the issue? I feel its due to PID tuning. Kindly share PID tuning method.

Thanks 

1 ACCEPTED SOLUTION

Accepted Solutions
cedric H
ST Employee

Hello @tejas_amp 

To be able to drive your motor, the ESC state machine must be in ESC_ARMED state. Only once it is in ESC_ARMED state your motor will start as soon as the PWM command stay high more than 1060 us.

To reach ESC_ARMED State, your PWM input must be high between 800us and 1060us for 200 ms.

Do not hesitate to have a look at esc.c file to understand how it works.

Regards

Cedric

 

 

View solution in original post

1 REPLY 1
cedric H
ST Employee

Hello @tejas_amp 

To be able to drive your motor, the ESC state machine must be in ESC_ARMED state. Only once it is in ESC_ARMED state your motor will start as soon as the PWM command stay high more than 1060 us.

To reach ESC_ARMED State, your PWM input must be high between 800us and 1060us for 200 ms.

Do not hesitate to have a look at esc.c file to understand how it works.

Regards

Cedric