Max speed issue (direction switching) with Parallax Motor Mount/position contro
When the maximum travel speed is set faster than the motor can physically travel at, the motor will run at full speed for a few seconds, then suddenly (instantaneously, no ramping) switch directions and rotate for a few more seconds, the switch back again in an ongoing cycle. The time period between subsequent direction switches appears to increase after each direction switch.
Is this a known issue or is there something else wrong?
Edit: I'm using the Parallax 12V motors/position controller combo with the HB-25.
Post Edited (bulkhead) : 12/7/2008 11:31:50 AM GMT
Is this a known issue or is there something else wrong?
Edit: I'm using the Parallax 12V motors/position controller combo with the HB-25.
Post Edited (bulkhead) : 12/7/2008 11:31:50 AM GMT
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
What is the current rating of your motor?
Besides motor abuse, throwing a motor into reverse like that can send current surges at least twice the motor rating if not more through the motor controller.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
I generated the problem by setting a value of 100 counts per half second as the max speed and then setting a distant position (10,000) for the motor to go to, where the actual maximum speed achievable by the motors is around 48 counts per half second (determined by querying the speed). Setting lower maximum speeds below 48 results in the motors functioning properly, as far as I could tell. Does this happen to anyone else?
Right now I'm setting a max speed below 48 so I don't run into this issue; everything else is working fine. Also, this problem occurs with both of the motor/position controller/hb-25 sets, left and right.
Jax
ps please send me your code as well so I can look at it and make changes to it just incase. PM me and I'll send you my personal e-mail
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
If a robot has a screw then it must be romoved and hacked into..
Here is the basic code that generates the problem:
Jax
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
If a robot has a screw then it must be romoved and hacked into..