2025-06-09 8:26 PM
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
Solved! Go to Solution.
2025-06-13 7:14 AM
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
2025-06-13 7:14 AM
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
2026-01-06 2:00 AM - edited 2026-01-06 10:44 PM
Hi @cedric H ,
I have used st motor control workbench version 6.4.1, cubeMX version 6.15 cube ide version 1.19. In Motor control workbench i have selected steval_esc001v1 and motor as bldc.txt file (attached below). Now i kept all the settings of the project as default. In which driver settings shows as 16Khz as pwm frequency.
so, I have given the pwm input as 62.5us time period and 10 to 90% duty cycle and i got no response from the motor movement. So is the pwm should be 800us in my case too, or how to calibrate for my esc.
Best Regards,
Santhosh.