Go to Post This is not an engineering design challenge, this is a project management and common sense challenge with engineering elements. Don't go out of your way to screw yourself. - PayneTrain [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
View Poll Results: What method are you using for traction control?
No traction control 5 8.06%
Using an accelerometer to directly measure acceleration 4 6.45%
Using encoders to detect slipping wheels 21 33.87%
Using a encoder/accelermeter hybrid approach 19 30.65%
Something else 13 20.97%
Voters: 62. You may not vote on this poll

Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 19-01-2009, 23:07
nathanww nathanww is offline
Hacker
FRC #1678 (Citrus Circuits)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2007
Location: Davis, CA
Posts: 224
nathanww is just really nicenathanww is just really nicenathanww is just really nicenathanww is just really nice
How are you implementing traction control?

I know there's already a thread with traction control ideas--but I wanted to get a sense of how many people are using each method. 1678 is planning on using an accelerometer-based system, where we look for large shifts in juoystick position and check if this correlates with a shift in acceleration.
__________________
Get yer robot source code here!
  #2   Spotlight this post!  
Unread 19-01-2009, 23:10
ROFLcopter's Avatar
ROFLcopter ROFLcopter is offline
who was phone
AKA: Robert Grizzell
FRC #2364 (Oregon RoboHawks)
Team Role: Programmer
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Oregon, IL
Posts: 30
ROFLcopter is on a distinguished road
Send a message via AIM to ROFLcopter Send a message via MSN to ROFLcopter Send a message via Yahoo to ROFLcopter
Re: How are you implementing traction control?

Our team plans to use code. We're going to add an acceleration rate cap. This way when you slam the joysticks forward, you only accelerate at say 25% power a second.

It is a good idea to also program an override button so that you can accelerate to full when you need to.
__________________
This signature has been removed in accordance with City Ordnance law L34.B3. If you feel this signature has been mistakenly removed for reasons not within the guidelines of L34.B3. Visit the City Courthouse #3 and file a report.
  #3   Spotlight this post!  
Unread 19-01-2009, 23:14
Andy L's Avatar
Andy L Andy L is offline
Registered User
FRC #1458
Team Role: Alumni
 
Join Date: Mar 2007
Rookie Year: 2006
Location: Danville
Posts: 348
Andy L has much to be proud ofAndy L has much to be proud ofAndy L has much to be proud ofAndy L has much to be proud ofAndy L has much to be proud ofAndy L has much to be proud ofAndy L has much to be proud ofAndy L has much to be proud ofAndy L has much to be proud of
Send a message via AIM to Andy L
Re: How are you implementing traction control?

From what I understand what my team is doing(I'm not a programmer) we plan on using a mix of encoders and an accelerometer to get our ideal acceleration based on if wheels are slipping and we're accelerating. This is just from what I've been told, I'm not a programmer and I'm not 100% sure on how they're implementing it.
  #4   Spotlight this post!  
Unread 20-01-2009, 01:29
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,827
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: How are you implementing traction control?

There was no mention of just using the encoders to limit accelleration. Since the robot (plus trailer) should be friction limited to an accelleration of 0.5 m/s2 then you just need to make sure the wheels never pick up speed any faster than that.

Interestingly, after we worked this through with the programming team tonight, I took the opportunity to throw some basic kinematics at them.

The time to cross the playing surface at maximum specified (.06 static) coefficient of friction should be (assuming a 54 foot playing field minus robot, trailer and bumper... total length for acelleration should be about 15m) should be about 7.75 seconds, with a peak velocity of just under 4 m/s. Which is about 12 fps, which is considered fairly speedy for an FRC robot.

But then you hit the driver station bumper and stop.

Jason
  #5   Spotlight this post!  
Unread 20-01-2009, 01:47
DarKCroNo's Avatar
DarKCroNo DarKCroNo is offline
Registered User
FRC #2670
 
Join Date: Dec 2007
Location: Toronto
Posts: 37
DarKCroNo is an unknown quantity at this point
Re: How are you implementing traction control?

I'm just wondering how were u able to get the value of 0.5m/s^2? are u simply taking (normal force* CoF)/mass? and than the normal force i'm guessing ur assuming maximum weight?
  #6   Spotlight this post!  
Unread 20-01-2009, 02:07
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: How are you implementing traction control?

Quote:
Originally Posted by dtengineering View Post
The time to cross the playing surface at maximum specified (.06 static) coefficient of friction should be (assuming a 54 foot playing field minus robot, trailer and bumper... total length for acelleration should be about 15m) should be about 7.75 seconds, with a peak velocity of just under 4 m/s. Which is about 12 fps, which is considered fairly speedy for an FRC robot.

But then you hit the driver station bumper and stop.

Jason
And yet Dave has stated that he has gone down the length of the field and back in 12 seconds. This would appear to be pretty solid evidence that the published coefficients are not correct and you should try to perform a test to determine the actual CoF to get the correct maximum acceleration.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)

Last edited by Vikesrock : 20-01-2009 at 02:15.
  #7   Spotlight this post!  
Unread 20-01-2009, 02:19
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,827
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: How are you implementing traction control?

Quote:
Originally Posted by Vikesrock View Post
And yet Dave has stated that he has gone down the length of the field and back in 12 seconds. This would appear to be pretty solid evidence that the published coefficients are not correct and you should try to perform a test to determine the actual CoF to get the correct maximum acceleration.
I've laid out the steps we used here. When we did those calculations we assumed that the entire 36 pound weight of the trailer would be borne by the trailer wheels, which is not an entirely correct assumption, some of the trailer mass will contribute to normal force on the robot and thus improve traction a bit, but even if you run the numbers for just the robot (no trailer), it seems that FIRST has published a (I've been waiting to use this.... sorry)... coefficient of fiction.

Jason

<Edit>
re-running the numbers without the trailer, or with 100% of the trailer weight on the tongue and contributing to the normal force of the robot, is should still take at least seven seconds each way... unless there is some great bouncy rebound off the end driver station wall. These calculations are also based on 100% regolith travel... Dave may have been using the carpet at the edge of the field to get up to speed. Perhaps we have been underestimating the influence that the carpeted boundary will have on the game. </Edit>

Last edited by dtengineering : 20-01-2009 at 03:09.
  #8   Spotlight this post!  
Unread 20-01-2009, 07:43
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: How are you implementing traction control?

Limiting the commanded acceleration of your drive wheels can prevent wheel slippage - but ONLY in the absence of unaccounted external forces. If you are running into the arena walls and other robots, this assumption is no longer valid.

In other words, this type of traction control would not help in a pushing match.
  #9   Spotlight this post!  
Unread 20-01-2009, 08:22
XXShadowXX's Avatar
XXShadowXX XXShadowXX is offline
They call me Cody.
no team (None currently :\)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Pontiac; MI
Posts: 408
XXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud of
Re: How are you implementing traction control?

This is how we're doing it...

Your wheel speed is given by a magnetic rotation sensor (what controls your volume in your car). This is compared to to integrated accelerator value, over 20ms. Find the difference, correct the motor speed, use some ifs to determine if your driver is accelerating your decelerating. Then out put the correct speed of the robot to the wheel, plus a tiny fraction of acceleration energy, or none if you want to hold constant speed...
__________________
Is now an engineer thanks to FIRST.
  #10   Spotlight this post!  
Unread 20-01-2009, 09:28
Doug Leppard's Avatar
Doug Leppard Doug Leppard is offline
Registered User
FRC #1902 (Exploding Bacon)
Team Role: Engineer
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Orlando
Posts: 435
Doug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond repute
Send a message via AIM to Doug Leppard
Re: How are you implementing traction control?

It will be interesting to see how teams do this. Plus it is so expensive to have a large enough field, I think so many teams will be in for a real hard time at their first regional.
__________________
Doug Leppard
  #11   Spotlight this post!  
Unread 20-01-2009, 09:45
MrForbes's Avatar
MrForbes MrForbes is online now
Registered User
AKA: Jim
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Sierra Vista AZ
Posts: 5,966
MrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond reputeMrForbes has a reputation beyond repute
Re: How are you implementing traction control?

Quote:
Originally Posted by dtengineering View Post
There was no mention of just using the encoders to limit accelleration. Since the robot (plus trailer) should be friction limited to an accelleration of 0.5 m/s2 then you just need to make sure the wheels never pick up speed any faster than that.
I talked with our lead programmer about traction control last night...I think the plan is to use just the encoders to detect wheel spin, as a sudden increase in wheel speed, then back off power to get the wheel speed back to what it was before it spun, then ramp power up again till it spins, back off, etc. My guess is that spinning could be limited to a small part of a revolution, since the kit encoders have such high resolution.

Also...turning it off....the plan for now is to turn the steering wheel to turn traction control off.
  #12   Spotlight this post!  
Unread 20-01-2009, 10:00
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,186
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: How are you implementing traction control?

We're basically using a two step process:
  1. Smoke
  2. Mirrors
  #13   Spotlight this post!  
Unread 22-01-2009, 14:49
windell747 windell747 is offline
Registered User
FRC #2477
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2001
Location: Hawaii
Posts: 158
windell747 will become famous soon enoughwindell747 will become famous soon enough
Re: How are you implementing traction control?

We are planning to use an encoder wheel (omniwheel) with encoders attached to the gearboxes. Then the rotation of the shafts on the gearbox will be compared to the encoder wheel rotation. If they aren't moving at the same speed then we know that we are slipping.

Another thing to think about though is that once you loose traction, the bot will need to slow the motors down past where it started to slip to regain traction. Its sort of a hysteresis effect because of the differences in the statics and kinetic coefficients of friction.
  #14   Spotlight this post!  
Unread 22-01-2009, 17:00
Boydean's Avatar
Boydean Boydean is offline
The Blue Alliance
no team
Team Role: Alumni
 
Join Date: Apr 2007
Rookie Year: 2003
Location: SC
Posts: 319
Boydean has a brilliant futureBoydean has a brilliant futureBoydean has a brilliant futureBoydean has a brilliant futureBoydean has a brilliant futureBoydean has a brilliant futureBoydean has a brilliant futureBoydean has a brilliant futureBoydean has a brilliant futureBoydean has a brilliant futureBoydean has a brilliant future
Send a message via AIM to Boydean
Re: How are you implementing traction control?

On our drive train, all four wheels are going to be powered their own motor. And then we are going to monitor the speed of the wheels with encoders. At the moment we are thinking that we going to monitor the speed of the robot with a another wheel that isn't powered and monitored with another encoder. Our chassis should be done by tonight, we will see how all these things go.
__________________
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
Implementing Traction Control for an advantage in the 2009 game DonRotolo Programming 143 27-02-2009 11:53
What are you all using to hold down your control systems? JackknifeJustin General Forum 10 02-02-2008 12:24
How did you control your Robot? 1? 2? Wheel? How? ChrisCook Control System 9 17-05-2005 21:41
Traction Control Algorithm Mr. Lim Programming 3 20-01-2004 14:26
How do you control relays BinaryBob0001 Technical Discussion 2 21-01-2002 08:42


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

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