Go to Post Haters gonna hate; kill 'em with kindness. - Taylor [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 22-01-2007, 14:29
Bob22341 Bob22341 is offline
Registered User
FRC #1870
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Alberta
Posts: 48
Bob22341 will become famous soon enough
Speed Sensors

I am planing on implementing a speed sensor on my team's robot, and I am wondering what sensors other teams use to tell how fast their robots are moving.
Thanks
  #2   Spotlight this post!  
Unread 22-01-2007, 14:33
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: Speed Sensors

Accelerometers and encoders are excellent choices.
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_
  #3   Spotlight this post!  
Unread 22-01-2007, 14:59
Donut Donut is offline
The Arizona Mentor
AKA: Andrew
FRC #2662 (RoboKrew)
Team Role: Engineer
 
Join Date: Mar 2005
Rookie Year: 2004
Location: Goodyear, AZ
Posts: 1,281
Donut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond repute
Re: Speed Sensors

Probably you want an encoder. Accelerometers can be used, but tend to have more error than encoders (both because use must integrate acceleration from it to get velocity, and because accelerometers tend to get a decent amount of noise in their output).

Many teams use the Greyhill encoders that can be obtained from Digikey. Another available for encoders this year is to buy the encoders designed to hook right up to the Banebots kit transmissions (available at the Banebots website).
__________________
FRC Team 498 (Peoria, AZ), Student: 2004 - 2007
FRC Team 498 (Peoria, AZ), Mentor: 2008 - 2011
FRC Team 167 (Iowa City, IA), Mentor: 2012 - 2014
FRC Team 2662 (Tolleson, AZ), Mentor: 2014 - Present
  #4   Spotlight this post!  
Unread 22-01-2007, 19:59
Nick E Nick E is offline
Robotics, eh?
FRC #0888 (888)
Team Role: Mechanical
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Howard County, Maryland
Posts: 9
Nick E is an unknown quantity at this point
Send a message via AIM to Nick E
Re: Speed Sensors

Well, you could probably do it simply, if you had an optical sensor, that looked down at the wheel...have some kind of mark on the wheel, make the sensor count how many times it "see's" it in a second..then plug that in to some kind of program(becasue you can figure out how far the wheel travels with each rotation) and do it like that. Im not sure how hard this would be from a programming standpoint, but I don't imagine it would be too hard.

That was one heck of a run-on sentence...whew!
  #5   Spotlight this post!  
Unread 25-01-2007, 13:18
Dillon Compton Dillon Compton is offline
Jack-Of-All-Trades
FRC #1391 (Metal Moose)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Malvern, PA
Posts: 186
Dillon Compton has much to be proud ofDillon Compton has much to be proud ofDillon Compton has much to be proud ofDillon Compton has much to be proud ofDillon Compton has much to be proud ofDillon Compton has much to be proud ofDillon Compton has much to be proud ofDillon Compton has much to be proud of
Send a message via AIM to Dillon Compton
Re: Speed Sensors

There are really two options i am aware of: Accelerometers and gear-tooth/encoder/banner sensors.

The main advantage of an accelerometer is that it will mease the robot's net acceleration, not the wheel revolutions. Basically, it measures your actual acceleration (can be converted to velocity relatively easily). This means that in a situation (such as running into a wall/other robot) where your wheels are spinning out, you will get an accurate speed reading, whereas with an encoder-style sensor you will not!

However, encoders are certainly simpler to implement, so look at the application and decide what sort of accuracy and reliability you need, and then choose which sensor to use.

//Dillon Compton
Team 1394
__________________
www.metalmoose.com
  #6   Spotlight this post!  
Unread 25-01-2007, 16:36
DARKAGE's Avatar
DARKAGE DARKAGE is offline
Registered User
AKA: Vic
FRC #0441 (Devil Dogs)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2002
Location: Houston, T.X
Posts: 7
DARKAGE is an unknown quantity at this point
Send a message via Yahoo to DARKAGE
Re: Speed Sensors

how do you connect the speed sensor???
  #7   Spotlight this post!  
Unread 25-01-2007, 16:53
lukevanoort lukevanoort is offline
in between teams
AKA: Luke Van Oort
no team
 
Join Date: Oct 2005
Rookie Year: 2005
Location: Waterloo, ON, Canada
Posts: 1,873
lukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond repute
Send a message via AIM to lukevanoort
Re: Speed Sensors

If you use encoders of some sort and have the weight/space I'd suggest mounting them on a non driven wheel that touches the floor to eliminate error from the robot doing spinning its wheels.
__________________
Team 1219: 2009 - Mentor
Team 587: 2005 - Animator, 2006-2008 - Team Captain
  #8   Spotlight this post!  
Unread 31-01-2007, 13:54
mluckham's Avatar
mluckham mluckham is offline
Registered User
FRC #0758 (Sky Robotics)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2006
Location: Ontario, Canada
Posts: 116
mluckham will become famous soon enoughmluckham will become famous soon enough
Re: Speed Sensors

Accelerometer doesn't tell you current speed, it just measures acceleration. And if you are turning at the time, you will get the forward component of acceleration plus the lateral component (2-axis accelerometer).

Using encoders, you can figure distance travelled, speed, and acceleration.
Put an IF statement in your code that executes its inner code at a known rate (eg: 10 times per second).

Code:
if (time_elapsed_100msec)
{
   Speed = CurrentEncoderCount - prev_EncoderCount;
   Acceleration = Speed - prev_Speed;

   prev_EncoderCount = CurrentEncoderCount;
   prev_Speed = Speed;
}
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
Wheel Speed Sensors / Vehicle Speed Sensors chitu Technical Discussion 11 12-01-2008 02:46
where can we buy hall effect sensors or gear tooth sensors amirjpl Electrical 3 13-02-2006 11:02
speed controller max speed Team 668 Programming 15 13-02-2005 14:05
sensors edomus General Forum 5 19-11-2003 16:46
Speed Sensors archiver 2000 7 23-06-2002 23:01


All times are GMT -5. The time now is 09:16.

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