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

Motors accidentally start spinning on cut PWM impulses #35

Closed
Clouded opened this issue Jan 12, 2015 · 2 comments
Closed

Motors accidentally start spinning on cut PWM impulses #35

Clouded opened this issue Jan 12, 2015 · 2 comments

Comments

@Clouded
Copy link

Clouded commented Jan 12, 2015

Hi everyone!

I'm using Emax 20A modules with BLHeli firmware and noticed a strange motor behavior.
Motors start spinning on short PWM impulses:
< 1000uS - off
< 780uS - slowly spinning and turning off
< 480uS - spinning wildly

If my guess is correct the ESC thinks that these PWM impulses come in high-frequency PWM mode (which they are not, the frequency is still 400Hz).

That seems a little bit dangerous because if you unplug the PWM signal cable during the PWM generation the impulse gets cut and the motor starts spinning. I've just observed such behavior which made me investigate that issue.

  1. I'm sending 1000uS impulses, the motor stays still.
  2. I unplug the PWM cable, the impulse gets cut, motor starts spinning for half a second.
  3. I plug the cable, it may also result in cut impulse and the motor could start spinning, but somehow that situation is rare.

cut impulses

@sskaug
Copy link
Collaborator

sskaug commented Jan 12, 2015

Is this with the FW that the ESCs came with? Which I believe is a derivative of 10.2.
There have been some code changes since this to address such issues.

@Clouded
Copy link
Author

Clouded commented Jan 13, 2015

Yes, the firmware is the one it came with.
I'm not able to update the firmware and try the new version at the moment as I don't posses toolstick or arduino, but I'll try some time soon.
I'll close the issue for now.

@Clouded Clouded closed this as completed Jan 13, 2015
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