Go to Post The only people who are dumb or ignorant in this world are the ones who don't stop and ask why. - T967 [more]
Home
Go Back   Chief Delphi > Technical > Electrical
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 06-03-2005, 18:44
Kashi Chan Kashi Chan is offline
Registered User
no team
 
Join Date: Mar 2005
Location: California
Posts: 17
Kashi Chan is an unknown quantity at this point
Speed of banner sensor

just a thought, how fast can banner sensors pick up the white lines? cause today when we were testing it, didnt seem to pic up the lines well enough, a 8 in diameter wheel with a counter sticker that has...1cm think lines, 4 lines going across totaling up to 8 counts per revolution.
  #2   Spotlight this post!  
Unread 06-03-2005, 18:58
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 of banner sensor

Quote:
Originally Posted by Kashi Chan
just a thought, how fast can banner sensors pick up the white lines? cause today when we were testing it, didnt seem to pic up the lines well enough, a 8 in diameter wheel with a counter sticker that has...1cm think lines, 4 lines going across totaling up to 8 counts per revolution.
I don't know how fast the Banner sensor itself operates, but in the user_routines.c file, code is only executed every 26.2ms, which works out to 38 times per second. This is not fast enough to work with the vast majority of encoder applications. I would suggest either moving your code to user_routines_fast.c, or using Kevin Watson's encoder code (which is more accurate, but also more difficult to use and understand than your own code).
__________________
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 06-03-2005, 19:20
Kashi Chan Kashi Chan is offline
Registered User
no team
 
Join Date: Mar 2005
Location: California
Posts: 17
Kashi Chan is an unknown quantity at this point
Re: Speed of banner sensor

yeah this is in our auton code, but it didnt run too well, i dont know if its because our wheels spin too fast for the sensor to tell the difference between black and white, or if our line is too thin. cause when i match up the sensor to the lines, the sensors a bit bigger so it might pick up black white black, and discern that as black instead of white
  #4   Spotlight this post!  
Unread 06-03-2005, 19:33
Biff Biff is offline
Registered User
AKA: Tom Cooper
#1227 (Techno Gremlins)
Team Role: Mentor
 
Join Date: Jan 2004
Location: Grand Rapids MI
Posts: 214
Biff is a jewel in the roughBiff is a jewel in the roughBiff is a jewel in the roughBiff is a jewel in the rough
Re: Speed of banner sensor

We were able to using Kevin's code were able to get Quadrature (two banners) from a four edge (one 1/4 white 1/4 black etc.) motor coupler on Cim motors running flat out, this was confirmed in code and with a scope. Last year after ship date. We could not, get anything else to work. As I recall there are spces for banners on their website. Things vary with the model, And some teams have reported that they drop out every now and again. Cims flat out are around 4800 rpm and since the interrupt was on both edges this was about 320 Hz as I recall, scope read about 160 Hz as it was only triggering on either falling or rising edges Good luck
  #5   Spotlight this post!  
Unread 06-03-2005, 19:37
Kashi Chan Kashi Chan is offline
Registered User
no team
 
Join Date: Mar 2005
Location: California
Posts: 17
Kashi Chan is an unknown quantity at this point
Re: Speed of banner sensor

aright i guess i will take a look at the kevin FRC code place. i assume it was from '04? do you still remember the file name or was it the one named beacon.zip?
  #6   Spotlight this post!  
Unread 06-03-2005, 19:54
Biff Biff is offline
Registered User
AKA: Tom Cooper
#1227 (Techno Gremlins)
Team Role: Mentor
 
Join Date: Jan 2004
Location: Grand Rapids MI
Posts: 214
Biff is a jewel in the roughBiff is a jewel in the roughBiff is a jewel in the roughBiff is a jewel in the rough
Re: Speed of banner sensor

Quote:
Originally Posted by Kashi Chan
aright i guess i will take a look at the kevin FRC code place. i assume it was from '04? do you still remember the file name or was it the one named beacon.zip?
It was the code having to do interrupts and quadrature. I think he updated it for this year. The big part of it is using interrupts.
  #7   Spotlight this post!  
Unread 06-03-2005, 19:56
Kashi Chan Kashi Chan is offline
Registered User
no team
 
Join Date: Mar 2005
Location: California
Posts: 17
Kashi Chan is an unknown quantity at this point
Re: Speed of banner sensor

Quote:
Originally Posted by Biff
It was the code having to do interrupts and quadrature. I think he updated it for this year. The big part of it is using interrupts.
ah ok i see, thanks for all the help biff. really appreciate it
  #8   Spotlight this post!  
Unread 06-03-2005, 20:00
jdiwnab's Avatar
jdiwnab jdiwnab is offline
Really the Inventor Guy
AKA: Bryan Hartley
FRC #0617
Team Role: College Student
 
Join Date: Nov 2004
Rookie Year: 2002
Location: Highland Springs, VA
Posts: 260
jdiwnab is a jewel in the roughjdiwnab is a jewel in the roughjdiwnab is a jewel in the rough
Re: Speed of banner sensor

Quote:
Originally Posted by Kashi Chan
yeah this is in our auton code, but it didnt run too well, i dont know if its because our wheels spin too fast for the sensor to tell the difference between black and white, or if our line is too thin. cause when i match up the sensor to the lines, the sensors a bit bigger so it might pick up black white black, and discern that as black instead of white
We used it to. We had a shiny metal disk break and used an older model (for reflective tape). We painted a white disk behind the metal black. We were able to count the spokes that went by and so were able to move the arm percicly.

But the count was different if you went at regular speed vs counting by hand. So the number that we got at one point was higher than we wanted. But We tweeked it and things went OK (for comming in dead last)
__________________
Proof that Macs will win the platform war: How did Scotty know how to use MacDraft in Star Trek IV?
// random()
I have 100 gmail invites. PM me if you want one.
If they want us to think outside of the box, why do they make us fit in a 38x28x60 inch box?
Beware of Geeks bearing GIFs
Help me test my server software
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
Banner Sensor Help ten3brousone Programming 1 13-02-2005 11:05
Banner Sensor Wstedtlogan Electrical 1 20-12-2004 17:21
PID control loops - closed loop feedback KenWittlief Technical Discussion 56 26-04-2004 21:27
Banner Sensor Programming Problem 2Crisis Programming 4 24-02-2004 13:40
banner sensor positioning and times bob1million Programming 4 16-02-2004 13:40


All times are GMT -5. The time now is 00:36.

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