Skip to content
This repository has been archived by the owner on May 25, 2020. It is now read-only.

Arm & Science: Implement motor ramping #35

Open
jetkov opened this issue Mar 15, 2019 · 0 comments
Open

Arm & Science: Implement motor ramping #35

jetkov opened this issue Mar 15, 2019 · 0 comments

Comments

@jetkov
Copy link
Contributor

jetkov commented Mar 15, 2019

In order to avoid high inrush current when motors are spun up PWM duty cycle ramping needs to be implemented.

Ramping should happen when a motor speed is requested that is significantly different than the current motor speed, if the current speed is near zero. The values of these ranges and the rate of the ramp need to be characterized.

A few guesses to this:

  • Ramping only needs to occur if the current duty cycle is less than 10-15% or if the direction of rotation changes. The motor will just start spinning in this range.
  • Ramp rate should be slow at first, and can then be quicker proportional to speed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant