Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

safe start bug? when exceeding the pulse width range, full throttle until return to neutral #7

Closed
erwincoumans opened this issue Jun 8, 2015 · 2 comments

Comments

@erwincoumans
Copy link

reproduction:
choose PPM, enable safe start, duty cycle (for easier test on bench)
set the min pulse width and max pulse width a little bit so that the servo signal exceeds it
now exceed the 'max pulse width' by going full throttle, and then slowly release the throttle.

The signal stays full throttle, until returned to 'neutral' central position.

The workaround is to always make sure the servo never exceeds the min/max pulse width.
When disabling the 'safe start' this issue doesn't happen.

@vedderb
Copy link
Owner

vedderb commented Jun 9, 2015

This bug should only be present while BLDC Tool is connected. The reason for that is that BLDC Tool will prevent the timeout that stops the motor from occurring when the PPM signal is gone, which makes the motor run with the last set speed. When the servo signal comes back, safe start assumes that the motor isn't running and prevents all control commands before the neutral position has been active for 50 iterations.

This bug is now fixed in FW 1.4.

@vedderb vedderb closed this as completed Jun 9, 2015
@erwincoumans
Copy link
Author

thanks for the fix!

b264 added a commit to b264/bldc that referenced this issue Jan 22, 2021
manoukianv pushed a commit to manoukianv/vescFirmware4OpenFFBoard that referenced this issue Aug 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants