View Single Post
  #3   Spotlight this post!  
Unread 08-11-2013, 11:09
gpetilli gpetilli is offline
Registered User
FRC #1559
 
Join Date: Jan 2009
Location: Victor, NY
Posts: 285
gpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to allgpetilli is a name known to all
Re: Syncronous motor speed with encoders

Quote:
Originally Posted by gpetilli View Post
Keep in mind that even if the wheels are all spinning at exactly the correct speeds, the force vector they create is a function of the weight on the wheel. If the CG is off or one wheel is lifted off the ground the robot could spin violently.
I would like to add a clarification to my post above. The amount of torque (and therefor force vector) that a wheel can impart is a function of the traction of the wheel, which is limited by the weight on that wheel. If the CG is such that the weight is unevenly distributed, one wheel may break traction before the others, changing it's force vector contribution and cause the robot to spin. All this assumes the wheels are spinning at the correct speeds an therefor trying to impart the correct force vector.

As for your wheel velocity correction method, yes it will work (for some time) but will not adapt for changes in the environment or robot. Your range of gains is larger than I have seen in the past, and you might want to look for the root cause. The only time I have had one wheel off that much, we tracked it down to a CIM with a very slightly bent output shaft, which caused the spur gear to over engage the gearbox and load the motor more. Start by looking at your slowest wheel and check your weight distribution. Is the frame planar? With the robot on a flat surface, try sliding a piece of paper under each wheel.
Reply With Quote