Go to Post Knowledge is power. Know whats coming and you can be ready for it when it happens. - KenWittlief [more]
Home
Go Back   Chief Delphi > ChiefDelphi.com Website > Extra Discussion
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 08-01-2007, 21:54
Billfred's Avatar
Billfred Billfred is offline
...and you can't! teach! that!
FRC #5402 (Iron Kings); no team (AndyMark)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: The Land of the Kokomese, IN
Posts: 8,500
Billfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond repute
pic: Encoders and AndyMarks, 341 Style

Reply With Quote
  #2   Spotlight this post!  
Unread 08-01-2007, 21:55
Kyle Love's Avatar
Kyle Love Kyle Love is offline
Support STEM Education
FRC #3301 (Jay County Robotics)
Team Role: Teacher
 
Join Date: Apr 2004
Rookie Year: 2004
Location: Portland, IN
Posts: 3,072
Kyle Love has a reputation beyond reputeKyle Love has a reputation beyond reputeKyle Love has a reputation beyond reputeKyle Love has a reputation beyond reputeKyle Love has a reputation beyond reputeKyle Love has a reputation beyond reputeKyle Love has a reputation beyond reputeKyle Love has a reputation beyond reputeKyle Love has a reputation beyond reputeKyle Love has a reputation beyond reputeKyle Love has a reputation beyond repute
Re: pic: Encoders and AndyMarks, 341 Style

The TechnoKats used the gear tooth sensors last year in our gearbox, I'll look to see if I have any pics of it. Basically we mounted it to the gear box and covered the top of the gearbox with lexan.
__________________

Kyle Love
Teams I've been on:
Team 45 - The TechnoKats - Student/Leader/Driver 2004-2007
Team 1646 - Boiler Precision Guessworks - Mentor 2007-2011
Team 3301 - Jay County Robotics - Teacher 2011-Present

Reply With Quote
  #3   Spotlight this post!  
Unread 08-01-2007, 22:22
Lil' Lavery Lil' Lavery is offline
TSIMFD
AKA: Sean Lavery
FRC #1712 (DAWGMA)
Team Role: Mentor
 
Join Date: Nov 2003
Rookie Year: 2003
Location: Philadelphia, PA
Posts: 6,606
Lil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond reputeLil' Lavery has a reputation beyond repute
Send a message via AIM to Lil' Lavery
Re: pic: Encoders and AndyMarks, 341 Style

If you use live axles, you can mount it on the drive axles.
If you run chain, you can add an extra sprocket along the length of the chain and an encoder to that (http://www.chiefdelphi.com/media/photos/25474).
__________________
Being correct doesn't mean you don't have to explain yourself.
Reply With Quote
  #4   Spotlight this post!  
Unread 09-01-2007, 11:44
OZ_341's Avatar Unsung FIRST Hero
OZ_341 OZ_341 is offline
Registered User
#0341 (Wissahickon)
Team Role: Mentor
 
Join Date: Jun 2002
Rookie Year: 2000
Location: Ambler, PA
Posts: 1,477
OZ_341 has a reputation beyond reputeOZ_341 has a reputation beyond reputeOZ_341 has a reputation beyond reputeOZ_341 has a reputation beyond reputeOZ_341 has a reputation beyond reputeOZ_341 has a reputation beyond reputeOZ_341 has a reputation beyond reputeOZ_341 has a reputation beyond reputeOZ_341 has a reputation beyond reputeOZ_341 has a reputation beyond reputeOZ_341 has a reputation beyond repute
Re: pic: Encoders and AndyMarks, 341 Style

Just as a side note this system worked very well, so we did it again on our 2006 machine. We used the encoder data for automatic shifting and for steering adjustment.

Just wanted everyone to know that they were looking at a configuration that works.

Thanks!

Al Ostrow
__________________
2010 Championship Chairman's Award
2016 MAR District Champion (thank you 225 & 1257)
2016 Galileo Division, #6 Seed, 9 W - 1 L
2016 MAR District Innovation in Controls Award
2016 Westtown District Finalist (thank you 4954 & 484)
2016 Westtown District Imagery Award (It took 17 yrs)
2016 Hatboro District Judge's Award
Overall Record 49 W - 21 L
Reply With Quote
  #5   Spotlight this post!  
Unread 09-01-2007, 12:06
dlavery's Avatar
dlavery dlavery is offline
Curmudgeon
FRC #0116 (Epsilon Delta)
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Herndon, VA
Posts: 3,176
dlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond repute
Re: pic: Encoders and AndyMarks, 341 Style

Quote:
Originally Posted by OZ_341 View Post
Just as a side note this system worked very well, so we did it again on our 2006 machine. We used the encoder data for automatic shifting and for steering adjustment.

Just wanted everyone to know that they were looking at a configuration that works.

Thanks!

Al Ostrow
Al -

I jsut want to check to be sure I am understanding the photo. It looks like the sensor is mounted on a tab attached to the top of the shifting gearbox, and the tab is angled so that the teeth of the gear mounted on the encoder mesh with the driven gear at an angle (i.e. the gears do not mesh across the full face width, but only at the corner of the driven gear). Is that correct? That also appears to be one of the Greyhill encoders. What is the rotational resolution of the encoder you used?

-dave
__________________
"I know what you're thinking, punk," hissed Wordy Harry to his new editor, "you're thinking, 'Did he use six superfluous adjectives or only five?' - and to tell the truth, I forgot myself in all this excitement; but being as this is English, the most powerful language in the world, whose subtle nuances will blow your head clean off, you've got to ask yourself one question: 'Do I feel loquacious?' - well do you, punk?"
- Stuart Vasepuru, 2006 Bulwer-Lytton Fiction Contest



My OTHER CAR is still on Mars!!!
Reply With Quote
  #6   Spotlight this post!  
Unread 09-01-2007, 13:15
OZ_341's Avatar Unsung FIRST Hero
OZ_341 OZ_341 is offline
Registered User
#0341 (Wissahickon)
Team Role: Mentor
 
Join Date: Jun 2002
Rookie Year: 2000
Location: Ambler, PA
Posts: 1,477
OZ_341 has a reputation beyond reputeOZ_341 has a reputation beyond reputeOZ_341 has a reputation beyond reputeOZ_341 has a reputation beyond reputeOZ_341 has a reputation beyond reputeOZ_341 has a reputation beyond reputeOZ_341 has a reputation beyond reputeOZ_341 has a reputation beyond reputeOZ_341 has a reputation beyond reputeOZ_341 has a reputation beyond reputeOZ_341 has a reputation beyond repute
Re: pic: Encoders and AndyMarks, 341 Style

Quote:
Originally Posted by dlavery View Post
Al -

I jsut want to check to be sure I am understanding the photo. It looks like the sensor is mounted on a tab attached to the top of the shifting gearbox, and the tab is angled so that the teeth of the gear mounted on the encoder mesh with the driven gear at an angle (i.e. the gears do not mesh across the full face width, but only at the corner of the driven gear). Is that correct? That also appears to be one of the Greyhill encoders. What is the rotational resolution of the encoder you used?

-dave
The answer is yes to the configuration question. We had acceptable contact between the gears, but not great. We saw some wear due to this intentional misalignment, but there was not much force on the encoder gear so it was not too bad.
The answer is also yes to the Greyhill question.
I will have to look up the resolution or ask one of our kids on the programming team. Its probably on the spec. sheet. I am a hopelessly mechanical kind of guy!

I'll ask and report back.
__________________
2010 Championship Chairman's Award
2016 MAR District Champion (thank you 225 & 1257)
2016 Galileo Division, #6 Seed, 9 W - 1 L
2016 MAR District Innovation in Controls Award
2016 Westtown District Finalist (thank you 4954 & 484)
2016 Westtown District Imagery Award (It took 17 yrs)
2016 Hatboro District Judge's Award
Overall Record 49 W - 21 L
Reply With Quote
  #7   Spotlight this post!  
Unread 09-01-2007, 13:26
dlavery's Avatar
dlavery dlavery is offline
Curmudgeon
FRC #0116 (Epsilon Delta)
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Herndon, VA
Posts: 3,176
dlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond reputedlavery has a reputation beyond repute
Re: pic: Encoders and AndyMarks, 341 Style

Quote:
Originally Posted by OZ_341 View Post
The answer is yes to the configuration question. We had acceptable contact between the gears, but not great. We saw some wear due to this intentional misalignment, but there was not much force on the encoder gear so it was not too bad.
The answer is also yes to the Greyhill question.
I will have to look up the resolution or ask one of our kids on the programming team. Its probably on the spec. sheet. I am a hopelessly mechanical kind of guy!

I'll ask and report back.
OK, thanks. The reason I asked about the rotational resolution of the encoder is that with enough encoders at a high-enough resolution, they can generate an interrupt stream fast enough to overwhelm the RC if you tried to keep up with every encoder count. I am curious about what you found to be a reasonable balance between resolution and RC response time.

-dave
__________________
"I know what you're thinking, punk," hissed Wordy Harry to his new editor, "you're thinking, 'Did he use six superfluous adjectives or only five?' - and to tell the truth, I forgot myself in all this excitement; but being as this is English, the most powerful language in the world, whose subtle nuances will blow your head clean off, you've got to ask yourself one question: 'Do I feel loquacious?' - well do you, punk?"
- Stuart Vasepuru, 2006 Bulwer-Lytton Fiction Contest



My OTHER CAR is still on Mars!!!

Last edited by dlavery : 09-01-2007 at 13:52.
Reply With Quote
  #8   Spotlight this post!  
Unread 09-01-2007, 13:30
OZ_341's Avatar Unsung FIRST Hero
OZ_341 OZ_341 is offline
Registered User
#0341 (Wissahickon)
Team Role: Mentor
 
Join Date: Jun 2002
Rookie Year: 2000
Location: Ambler, PA
Posts: 1,477
OZ_341 has a reputation beyond reputeOZ_341 has a reputation beyond reputeOZ_341 has a reputation beyond reputeOZ_341 has a reputation beyond reputeOZ_341 has a reputation beyond reputeOZ_341 has a reputation beyond reputeOZ_341 has a reputation beyond reputeOZ_341 has a reputation beyond reputeOZ_341 has a reputation beyond reputeOZ_341 has a reputation beyond reputeOZ_341 has a reputation beyond repute
Re: pic: Encoders and AndyMarks, 341 Style

Sounds like a good question for Jared, our programming mentor.

I'll let you know.
__________________
2010 Championship Chairman's Award
2016 MAR District Champion (thank you 225 & 1257)
2016 Galileo Division, #6 Seed, 9 W - 1 L
2016 MAR District Innovation in Controls Award
2016 Westtown District Finalist (thank you 4954 & 484)
2016 Westtown District Imagery Award (It took 17 yrs)
2016 Hatboro District Judge's Award
Overall Record 49 W - 21 L
Reply With Quote
  #9   Spotlight this post!  
Unread 09-01-2007, 13:45
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: pic: Encoders and AndyMarks, 341 Style

Team 40 ran 4 128 Line Greyhill Encoders direct drive with four 8" mecanum wheels we had a max speed of 10 FPS last year and it didn't seem to overwhelm the processor. We probably could have gotten away withe 64 line units and have been accurate enough to accomplish most positioning goals.

We also used the camera for aligning with the target. Which generates allot of interrupts while running I think I heard in the range 11520 a second.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
Reply With Quote
  #10   Spotlight this post!  
Unread 09-01-2007, 16:02
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: pic: Encoders and AndyMarks, 341 Style

Quote:
Originally Posted by Kingofl337 View Post
We also used the camera for aligning with the target. Which generates allot of interrupts while running I think I heard in the range 11520 a second.
You heard wrong. Stop repeating this misinformation. It's only a few hundred characters per second at full tilt.
Reply With Quote
  #11   Spotlight this post!  
Unread 10-01-2007, 10:59
Mike Bortfeldt Mike Bortfeldt is offline
Registered User
FRC #1126 (& 1511)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Rochester, NY
Posts: 119
Mike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud of
Re: pic: Encoders and AndyMarks, 341 Style

Dave,

For the past 2 years we have used an identical setup in our transmissions that works fairly well. We have a 128 count quadrature encoder on the output shaft of each transmission interrupting on the A channel, rising edge only. Free spinning speed equates to around 2400 interrupts/sec, but under load is only around 2000 interrupts/sec at maximum speed. With the wheel diameter we have used the past 2 years, this gives about 190 counts/foot traveled. When calculating speed each 26.2 millisecond loop, we get an "instantaneous" velocity resolution of around 2 inches/sec. Just from a personal standpoint, I would like a little better resolution (without averaging over a longer period of time) of closer to 1 inch/sec, but I can't really say I've seen any problems with the current setup (maybe around 3000-3200 interrupts/sec would be "ideal" for us).

As far as RC loading, our 2006 bot had around 12,000+ interrupts/sec worse case without a problem (gut feel of around 20-30% cpu loading max due to interrupts - drive encoders, shooting wheel encoder, internal 250 microsecond clock, analog port scanner, serial port communication). While the number of interrupts/sec is certainly a factor in RC loading, more important ones are the interrupt context saving and the amount "work" performed in the ISR. Having to save the .tmpdata or MATH_DATA sections can add a significant amount of execution time to each interrupt and should be avoided if possible.

Mike
Reply With Quote
  #12   Spotlight this post!  
Unread 10-01-2007, 16:47
BrianBSL BrianBSL is offline
Registered User
FRC #0190
 
Join Date: Sep 2004
Rookie Year: 2000
Location: Worcester, MA
Posts: 251
BrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud of
Re: pic: Encoders and AndyMarks, 341 Style

Quote:
Originally Posted by Alan Anderson View Post
You heard wrong. Stop repeating this misinformation. It's only a few hundred characters per second at full tilt.
But the baud rate is still 115k - which is 14400 characters per second (rate). The total number of characters you get in one second is irrelevant, because for the period you are getting a message from the camera you are getting interrupts at that rate if that is the defined serial rate. Over an entire match it may not average this - but average doesn't count for ISR's if when it happens once (say at the same time you are getting a lot of encoder interrupts) when it matters most.
__________________
My posts represent my personal views only, and do not represent the views of either my team, Team 190, nor its primary sponsor, Worcester Polytechnic Institute.

Last edited by BrianBSL : 10-01-2007 at 16:51.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Thanks to Teams 341 and 86! dpraedan Thanks and/or Congrats 1 01-05-2006 00:58
Encoders and putdata theycallhimtom Programming 3 09-02-2006 19:24
Testing and Cause of Failure for Encoders and Hall Effect sensors ChrisH Electrical 28 19-09-2005 01:07
pic: The Team 341 Jeepinator CD47-Bot Extra Discussion 2 01-11-2004 15:48
thanks to 341 and 204 edomus General Forum 1 29-03-2004 08:17


All times are GMT -5. The time now is 03:44.

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