Go to Post But no matter how you place, the thing to watch for is the character change in the team members. The trophies are only important for a few hours. The character that is built will last a lifetime. - BrothersKeepers [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-02-2007, 15:27
Craig1989 Craig1989 is offline
Registered User
FRC #0539
 
Join Date: Jan 2006
Location: Virginia, USA
Posts: 16
Craig1989 is on a distinguished road
One Side Drives Faster than the Other.

It appears I have the classic one side drives faster than the other problem (right side is faster). I believe this problem is caused because the motors spin faster one way then the other (correct me if I'm wrong). We are using 2 small cims on each side. How is the best way to resolve this problem, put a limit in the program maybe?

Appreciate suggestions.
Thanks
  #2   Spotlight this post!  
Unread 09-02-2007, 15:50
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,368
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: One Side Drives Faster than the Other.

There are so many answers to your question that it would be much simpler to answer if you gave us a little more information.

1) Are you using a mixing function to drive from one joy stick?
2) Are you using two joy sticks to drive.
3) Are you using a different control system, if so, what?
4) Do you have some sort of velocity feedback, like, gear tooth sensors installed?


With out that info, I would only be able to guess that you have a trim pot on a joy stick out of position.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
  #3   Spotlight this post!  
Unread 09-02-2007, 15:57
Craig1989 Craig1989 is offline
Registered User
FRC #0539
 
Join Date: Jan 2006
Location: Virginia, USA
Posts: 16
Craig1989 is on a distinguished road
Re: One Side Drives Faster than the Other.

We are using the two flight sticks, both are identical. We don't have any feedback atm, we may install that later.

Additionally we have tried replacing the slower of the two with a different stick, this does not change the problem.

Last edited by Craig1989 : 09-02-2007 at 16:00.
  #4   Spotlight this post!  
Unread 09-02-2007, 16:00
kaszeta's Avatar
kaszeta kaszeta is offline
Registered User
FRC #0095 (Grasshoppers)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Lebanon, NH
Posts: 334
kaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of light
Re: One Side Drives Faster than the Other.

Quote:
Originally Posted by Craig1989 View Post
It appears I have the classic one side drives faster than the other problem (right side is faster). I believe this problem is caused because the motors spin faster one way then the other (correct me if I'm wrong). We are using 2 small cims on each side. How is the best way to resolve this problem, put a limit in the program maybe?
The best way is a feedback loop.

I've found that the easiest way is a gyro-based feedback loop that corrects for undesired yaw. Almost as easy is a speed-based feedback loop with shaft encoders that keeps the robot's wheels moving the same speed.
  #5   Spotlight this post!  
Unread 09-02-2007, 16:18
AdamHeard's Avatar
AdamHeard AdamHeard is offline
Lead Mentor
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Atascadero
Posts: 5,508
AdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond repute
Send a message via AIM to AdamHeard
Re: One Side Drives Faster than the Other.

Quote:
Originally Posted by kaszeta View Post
The best way is a feedback loop.

I've found that the easiest way is a gyro-based feedback loop that corrects for undesired yaw. Almost as easy is a speed-based feedback loop with shaft encoders that keeps the robot's wheels moving the same speed.
How difficult is this.

How did you determine if the driver wanted a straight line or not? did you look at the difference between the two sticks?

Any feedback would be appreciated.
  #6   Spotlight this post!  
Unread 09-02-2007, 16:19
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,368
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: One Side Drives Faster than the Other.

Quote:
Originally Posted by Craig1989 View Post
We are using the two flight sticks, both are identical. We don't have any feedback atm, we may install that later.

Additionally we have tried replacing the slower of the two with a different stick, this does not change the problem.
Now that sounds like classic motor BIAS issues. Of course, binding may also be contributing.

Adding velocity feedback or as kaszeta suggested, a gyro would give you a single input to sample. GTS on each side would be a little more complex, but would give you more accurate control. It's your choice, but it sounds like some sort of feedback is in your future.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
  #7   Spotlight this post!  
Unread 09-02-2007, 16:46
dtengineering's Avatar
dtengineering dtengineering is offline
Teaching Teachers to Teach Tech
AKA: Jason Brett
no team (British Columbia FRC teams)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Vancouver, BC
Posts: 1,830
dtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond repute
Re: One Side Drives Faster than the Other.

While feedback loops are the best way to get perfectly even performance on both sides, if you are experiencing severe undesired turning on a CIM drive system I suspect the problem is mechanical, not electrical.

My understanding is that the CIMs are very symmetric motors and exhibit almost exactly equal performance in each direction. (unlike some other DC motors that are timed for higher performance in one direction)

Check your drive train... gearboxes (does one turn more easily than the other?), chains (differing chain tensions can cause extra drag on one side), sprocket alignment, and bearing alignment for your axles. When you power down and turn the wheels by hand can you feel a different "stiffness" from one side to the other? Is your battery mounted to one side, or do you have other weight distribution differences? That might make a difference, too.

If you have access to a clamp on ammeter (or other convenient means of measuring current), put your robot up on blocks and run both sides full-forward and full-reverse. Does one side draw significantly more curent than the other? If so, that is a sign of a mechanical friction-type problem more so than an electrical problem.

For three years now we have used open loop control with the small CIMs and while the robots have not travelled perfectly straight, they have been good enough to be competitive.... once we got the tensions equalized and the transmissions broken in. There is, however, a limit to how good you can go with this, and if you want perfection you are going to need some form of feedback.

Jason
  #8   Spotlight this post!  
Unread 09-02-2007, 17:10
kaszeta's Avatar
kaszeta kaszeta is offline
Registered User
FRC #0095 (Grasshoppers)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Lebanon, NH
Posts: 334
kaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of light
Re: One Side Drives Faster than the Other.

Quote:
Originally Posted by AdamHeard View Post
How difficult is this.

How did you determine if the driver wanted a straight line or not? did you look at the difference between the two sticks?
Typically we use a single joystick drive (y-axis commands speed, and x-axis commands the turning rate), but the difference between the two sticks should work as well.

I've posted sample PID code for the gyro in some other threads, just look at some of my recent posts. Nothing terribly difficult to implement, although it helps to have an understanding of how feedback loops work.
  #9   Spotlight this post!  
Unread 09-02-2007, 18:05
kiettyyyy's Avatar
kiettyyyy kiettyyyy is offline
Registered User
FRC #1538 (The Holy Cows)
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2005
Location: San Diego, CA
Posts: 181
kiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond reputekiettyyyy has a reputation beyond repute
Send a message via AIM to kiettyyyy
Re: One Side Drives Faster than the Other.

One way you can slightly correct this issue is by putting your robot up on blocks and calibrating your speed controllers, if that doesnt work, you can try to do a more simple P function to correct for the difference between the two motor outputs.

Cheers!
  #10   Spotlight this post!  
Unread 09-02-2007, 19:21
Alex Cormier's Avatar
Alex Cormier Alex Cormier is offline
www.TwoPencilDesigns.com
AKA: Grizz, Twinkletoes, PitBull1126
FRC #1405
Team Role: Coach
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Rochester, NY
Posts: 5,580
Alex Cormier has a reputation beyond reputeAlex Cormier has a reputation beyond reputeAlex Cormier has a reputation beyond reputeAlex Cormier has a reputation beyond reputeAlex Cormier has a reputation beyond reputeAlex Cormier has a reputation beyond reputeAlex Cormier has a reputation beyond reputeAlex Cormier has a reputation beyond reputeAlex Cormier has a reputation beyond reputeAlex Cormier has a reputation beyond reputeAlex Cormier has a reputation beyond repute
Re: One Side Drives Faster than the Other.

do you have all 4 motors facing the same way?

http://www.chiefdelphi.com/media/photos/26744?

you can see how the motors have a identical position. one of them has a extra chain and sprocket to reach the wheels.

this could solve your solution also.
__________________

Two Pencil Designs - Vinyl Graphics, Bumper Numbers, and Strategy Items!
Like us on Facebook & follow us on Twitter
Facebook.com/TwoPencilDesigns & TwoPencilDesign
  #11   Spotlight this post!  
Unread 09-02-2007, 21:12
Andrew Blair's Avatar
Andrew Blair Andrew Blair is offline
SAE Formula is FIRST with Gasoline.
FRC #0306 (CRT)
Team Role: Alumni
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Corry
Posts: 1,193
Andrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond repute
Send a message via AIM to Andrew Blair Send a message via Yahoo to Andrew Blair
Re: One Side Drives Faster than the Other.

Although, as posted before, the CIM's exhibit very little bias as produced, small factors such as slight mounting shifts, small binds in the motor itself, and other minor variables will affect the performance of different motors slightly. If the issue is not as simple or noticeable as a bind in one side or the other, you may want to try a different motor pair.

As far as software compensation, as also stated before, try adding a constant in front of you problem motor's output to adjust.

I would not recommend calibrating the Victors however. If the problem is not a static one, you will run into problems during autonomous, and it can create other unforeseen, mysterious issues. I speak from experience here...
__________________
Reading makes a full man, conference a ready man, and writing an exact man.
-Sir Francis Bacon

"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
-Albert Einstein
  #12   Spotlight this post!  
Unread 09-02-2007, 23:17
Justin M. Justin M. is offline
Mechanical/Driver
FRC #0321 (RoboLancers)
Team Role: Mechanical
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Philadelphia, PA
Posts: 310
Justin M. is on a distinguished road
Send a message via AIM to Justin M.
Re: One Side Drives Faster than the Other.

Quote:
Originally Posted by kaszeta View Post
Typically we use a single joystick drive (y-axis commands speed, and x-axis commands the turning rate), but the difference between the two sticks should work as well.

I've posted sample PID code for the gyro in some other threads, just look at some of my recent posts. Nothing terribly difficult to implement, although it helps to have an understanding of how feedback loops work.
Today we tried doing uploading a single-stick control, just so I could try it out (I was curious as to how it would drive). We had the same exact problem, one side was going faster than the other. This is why we ruled out one-stick driving, it's very hard to get the joystick perfectly in the y-axis to have even power, however, this probably can be fixed with better programming. If the joystick travels slightly diagonal, then a certain amount of power is applied more to the left motor, less to the right, and vice versa.

Once we switched back to our original tank drive (two joysticks), the robot drives like a dream. I prefer driving this way as well - try using two-stick control and see how your robot handles.

Otherwise it's mechanical. Test the gearboxes and poke around to see if theres any issues. Make sure the wheels are aligned perfectly with the chain, and the drive sprockets are properly mounted to the output shaft of the gearbox. Also if your chains are really tight, try slacking them up a bit, so they can be a bit more flexible.
__________________
Team 321: CHS RoboLancers - Drexel University, CHS Alumni Assn., SDP, Philadelphia Motorsports, Lima Corperation
  #13   Spotlight this post!  
Unread 09-02-2007, 23:45
sparkydp sparkydp is offline
Registered User
AKA: David Page
FRC #0435 (Robodogs)
Team Role: Mentor
 
Join Date: Apr 2005
Rookie Year: 2002
Location: Raleigh, NC
Posts: 32
sparkydp is on a distinguished road
Re: One Side Drives Faster than the Other.

try calibrating your speed controllers. This a lot of times can be the problem.
  #14   Spotlight this post!  
Unread 12-02-2007, 11:00
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,792
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: One Side Drives Faster than the Other.

Craig,
All of the above suggestions are great but no one mentioned that wiring might be an issue. If you have desigened the robot with all of your electrical on one side and there is significant length of wire feeding the side that is slow, you may be experiencing current reduction in that motor set. If you are using #12 wire there could be a significant drop in the wire.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #15   Spotlight this post!  
Unread 12-02-2007, 11:09
Brandon Holley's Avatar
Brandon Holley Brandon Holley is online now
Chase perfection. Catch excellence.
AKA: Let's bring CD back to the way it used to be
FRC #0125 (NU-TRONs, Team #11 Alumni (GO MORT))
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2001
Location: Boston, MA
Posts: 2,593
Brandon Holley has a reputation beyond reputeBrandon Holley has a reputation beyond reputeBrandon Holley has a reputation beyond reputeBrandon Holley has a reputation beyond reputeBrandon Holley has a reputation beyond reputeBrandon Holley has a reputation beyond reputeBrandon Holley has a reputation beyond reputeBrandon Holley has a reputation beyond reputeBrandon Holley has a reputation beyond reputeBrandon Holley has a reputation beyond reputeBrandon Holley has a reputation beyond repute
Send a message via AIM to Brandon Holley
Re: One Side Drives Faster than the Other.

On a side note....

We received our 2 kit small CIMs...We looked at them, saw they were CIMs and put them in the locked cabinet until we needed them.

We took them out to mount em up, and I gave each motor shaft a quick twist. The 1st one was perfect, teh 2nd one, was horribly bound up. About half of the rotation was flawless, the other half required a bit of effort to turn. We figured we'd put it in the drive train to see if it would work itself out, but it appears that it may be getting worse. Any comments to this??
__________________
MORT (Team 11) '01-'05 :
-2005 New Jersey Regional Chairman's Award Winners
-2013 MORT Hall of Fame Inductee

NUTRONs (Team 125) '05-???
2007 Boston Regional Winners
2008 & 2009 Boston Regional Driving Tomorrow's Technology Award
2010 Boston Regional Creativity Award
2011 Bayou Regional Finalists, Innovation in Control Award, Boston Regional Finalists, Industrial Design Award
2012 New York City Regional Winners, Boston Regional Finalists, IRI Mentor of the Year
2013 Orlando Regional Finalists, Industrial Design Award, Boston Regional Winners, Pine Tree Regional Finalists
2014 Rhode Island District Winners, Excellence in Engineering Award, Northeastern University District Winners, Industrial Design Award, Pine Tree District Chairman's Award, Pine Tree District Winners
2015 South Florida Regional Chairman's Award, NU District Winners, NEDCMP Industrial Design Award, Hopper Division Finalists, Hopper/Newton Gracious Professionalism Award
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[wiki]: how to save more than one prog. in the RC Edourdo FIRSTwiki 1 04-02-2007 17:29
The American War on Science (FIRST is on the other side) JoelP General Forum 18 09-06-2006 14:47
Turning; easier one way or the other? FizMan Technical Discussion 14 03-07-2004 14:03
More than one joystick from one port Jmoo Programming 3 26-06-2003 18:01
How Do I Program My RC To Spot One wheel From Going faster than the other Kyle1010 Programming 5 12-01-2003 15:30


All times are GMT -5. The time now is 12:49.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi