[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 594: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 650: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 1110: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 1110: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 1110: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5277: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5277: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5277: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
vedder.se forums • PID Speed control issues
Page 1 of 1

PID Speed control issues

Posted: 12 Sep 2018, 03:57
by rakshak
I am using a VESC to control a sensor'ed motor. I am using the PID speed control mode. Everything works fine when the throttle in under (aprox) 20%. Once it gets over that, the motor ramps up to max. Nothing I do (short of cutting the power) makes the motor stop. Hitting "Stop" or "Breaks" on the VESC tool or setting the throttle to zero doesn't make the motor stop.

I have the VESC tool connected to the motor and I can see that the VESC is not sending any signals to the motor but the duty cycle is at 95%. (Attached screenshot)

Let me know which of my settings you would like to see to help with debugging.

EDIT: After some more testing I have noticed that the motor spins out of control when it hit 35% duty. Not sure if this is a symptom or something unrelated.