Go to Post You are not allowed to think outside of the box, but you are allowed to think diagonally in the box. - eugenebrooks [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-02-2011, 14:52
ebarker's Avatar
ebarker ebarker is offline
Registered User
AKA: Ed Barker
FRC #1311 (Kell Robotics)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Kennesaw GA
Posts: 1,437
ebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond repute
Re: driving straight

This is a topic that comes up every year.

Assuming that you have taken care of calibrating the Jaguars I will move on to the issue of 'motor bias'.

DC motors have a tendency to run a little faster in one direction than in the reverse direction. It is a nature of the beast.

Since you have at least two motors, one on each side of the robot, and they are turning in opposite directions relative to each other, there is the motor bias problem.

So if one side is turning CW, the other side is CCW. And one of those modes is faster than the other.

And all of this is assuming you have calibrated the Jaguars, and that you didn't build in a drivetrain defect into a transmission, like a draggy failed bearing, etc.

So even with calibrated Jag's, perfectly matched transmission, it will not go perfectly straight.
__________________
Ed Barker
Reply With Quote
  #2   Spotlight this post!  
Unread 09-02-2011, 15:05
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,077
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: driving straight

Drive 20 feet forward. Note which way the robot veered.

Drive 20 feet in reverse. Note which way the robot veered.

If the robot turned the opposite direction in reverse as forwards (e.g. it ended up near the original start point), one side of the drive is faster than the other in both directions. Check tension, motor free speeds, grease, calibration, etc.

If the robot turned the same way forwards and backwards (one side is faster forwards but the other side is faster in reverse), it may just be motor bias. You can (1) double check speed controller calibration, (2) just live with it, or (3) add sensors or other mechanisms to help correct the problem. Usually (1) and (2) will be good enough.
Reply With Quote
  #3   Spotlight this post!  
Unread 09-02-2011, 21:08
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: driving straight

Quote:
Originally Posted by ebarker View Post
So even with calibrated Jag's, perfectly matched transmission, it will not go perfectly straight.
I have to disagree with that. We had a drivebase a number of years ago that could go perfectly straight even when only being driven by the motors on one side. If there is nothing causing binding in the drivetrain, the most important factor for how straight a robot will go is the alignment of the wheels.
Reply With Quote
  #4   Spotlight this post!  
Unread 10-02-2011, 11:26
Bsteckler's Avatar
Bsteckler Bsteckler is offline
Resident computer tech
FRC #2402 (JamesMonroebotics)
Team Role: Programmer
 
Join Date: Nov 2007
Rookie Year: 2008
Location: Fredericksburg, VA
Posts: 56
Bsteckler has a spectacular aura aboutBsteckler has a spectacular aura about
Re: driving straight

In addition to calibrating the Jags and checking the motors, you may also want to check your joystick calibration. One joystick could be set to put out a higher PWM value then the other, and thus one set of motors would be driving faster than the other set.
__________________
"Don't try anything you are about to see us do at home, ever"
-The Mythbusters

2402 scores points.

Reply With Quote
  #5   Spotlight this post!  
Unread 10-02-2011, 12:16
basicxman basicxman is offline
Emily Horsman
FRC #2200 (MMRambotics)
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Burlington, Ontario
Posts: 971
basicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant future
Send a message via AIM to basicxman Send a message via MSN to basicxman Send a message via Yahoo to basicxman
Re: driving straight

This is quite common, it's near impossible for your robot to go perfectly straight on it's own. Even if your robot's weight was perfectly distributed the manufacturing process of any of your parts can have an effect.

If you have some encoders around, consider using them to make sure your wheels are traveling the correct distance and if not correcting their speed in code (see: closed-loop control systems).
Reply With Quote
Reply


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


All times are GMT -5. The time now is 06:17.

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