Go to Post Teamwork, dedication and friendship have a lot of play in all factors of life, including a robot contest. - tenthirtythree [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 19-01-2004, 22:37
Jedi Padawan's Avatar
Jedi Padawan Jedi Padawan is offline
Electrical Expert Student
AKA: Dan Howell
no team
Team Role: College Student
 
Join Date: Jan 2004
Rookie Year: 2001
Location: Greenville
Posts: 53
Jedi Padawan is on a distinguished road
Send a message via AIM to Jedi Padawan
Question IR Sensor questions

OK my team is looking into assembling and possibly using them but first and foremost I can't seem to find the schematics to the IR sensors or the Current sensors. Where might these be located. And secondly a kind of programming question, what does FIRST's standard default on the IR sensors tell the robot to do?? (if you can diagram it it would be helpful). I ask this b/c it's the difference between line following and the sensor that we want to measure (as to how fast each is) if any team has completed trials of this and would like to post results they would be most appreciated. Thank You
__________________
It's all fun and games till the bosh motor breaks.....
  #2   Spotlight this post!  
Unread 19-01-2004, 22:54
Joel Glidden's Avatar
Joel Glidden Joel Glidden is offline
My heart pumps diesel.
FRC #4293 (Komodo)
Team Role: Engineer
 
Join Date: Apr 2002
Rookie Year: 2001
Location: Highlands Ranch, CO
Posts: 208
Joel Glidden is a glorious beacon of lightJoel Glidden is a glorious beacon of lightJoel Glidden is a glorious beacon of lightJoel Glidden is a glorious beacon of lightJoel Glidden is a glorious beacon of lightJoel Glidden is a glorious beacon of light
Re: IR Sensor questions

We built the beacons. We loaded the EDU RC with the beacon code. We built a servo-mounted tracker. We loaded the competition RC with the tracker code. We turned it on. We got the IR detectors plugged into the right digital inputs.

It worked.

BUT the biggest problem we had with the system was reflected IR. The tracker would lock on and track the beacon beautifully. It would also lock on and track reflections of the beacon just as beautifully. Imagine a flashlight in a house of mirrors. The tracker was happy to track any one of at least two dozen different points in the room.

This was in a normal room with normal walls and furniture. I can't imagine what would happen with gobs of aluminium diamond plate and robots thrown into the mix.

The bottom line for our team was that the system is not reliable enough to use on its own. It could be helpful if used in tandem with some other sensor package. We will probably use an IR tracker but it will have to agree with our odometry and our angular rate sensor before our software believes what it's telling us.

-Joel
  #3   Spotlight this post!  
Unread 19-01-2004, 22:59
Jedi Padawan's Avatar
Jedi Padawan Jedi Padawan is offline
Electrical Expert Student
AKA: Dan Howell
no team
Team Role: College Student
 
Join Date: Jan 2004
Rookie Year: 2001
Location: Greenville
Posts: 53
Jedi Padawan is on a distinguished road
Send a message via AIM to Jedi Padawan
Re: IR Sensor questions

Reason I ask is we will have to design a whole new custom circuit with the gyro in order to turn that sensitively if the IR beacon is not reliable and that takes alot more time than I would like to devote to doing that...
__________________
It's all fun and games till the bosh motor breaks.....
  #4   Spotlight this post!  
Unread 19-01-2004, 23:37
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Cañada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Cañada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: IR Sensor questions

Quote:
Originally Posted by Jedi Padawan
OK my team is looking into assembling and possibly using them but first and foremost I can't seem to find the schematics to the IR sensors or the Current sensors. Where might these be located. And secondly a kind of programming question, what does FIRST's standard default on the IR sensors tell the robot to do?? (if you can diagram it it would be helpful). I ask this b/c it's the difference between line following and the sensor that we want to measure (as to how fast each is) if any team has completed trials of this and would like to post results they would be most appreciated. Thank You
You can find the build directions on the FIRST website. When you build the beacon, reverse pins 2 and 3 of Q1 because the schematic is incorrect. A known good schematic can be found on my website. While tweaking the navigation software for the kick-off demo, we could consistantly get to the beacon in 10 or 11 seconds.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #5   Spotlight this post!  
Unread 20-01-2004, 00:01
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Cañada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Cañada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: IR Sensor questions

Quote:
Originally Posted by Joel Glidden
BUT the biggest problem we had with the system was reflected IR. The tracker would lock on and track the beacon beautifully. It would also lock on and track reflections of the beacon just as beautifully.
This is a problem that can be solved with some creative engineering. I found out early on that if I placed the sensor at the same height as the beacon and severly limited the sensors view to areas above and below the beacon, the tracker worked really, really well.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #6   Spotlight this post!  
Unread 20-01-2004, 07:57
Joel Glidden's Avatar
Joel Glidden Joel Glidden is offline
My heart pumps diesel.
FRC #4293 (Komodo)
Team Role: Engineer
 
Join Date: Apr 2002
Rookie Year: 2001
Location: Highlands Ranch, CO
Posts: 208
Joel Glidden is a glorious beacon of lightJoel Glidden is a glorious beacon of lightJoel Glidden is a glorious beacon of lightJoel Glidden is a glorious beacon of lightJoel Glidden is a glorious beacon of lightJoel Glidden is a glorious beacon of light
Re: IR Sensor questions

Thanks for the tip, Kevin. We'll keep tweaking our "blinders". We're planning on using one or two trackers as a backup/sanity check for our odometry.

-Joel
  #7   Spotlight this post!  
Unread 20-01-2004, 12:03
Greg Ross's Avatar
Greg Ross Greg Ross is offline
Grammar Curmudgeon
AKA: gwross
FRC #0330 (Beach 'Bots)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Hermosa Beach, CA
Posts: 2,245
Greg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond repute
Send a message via AIM to Greg Ross Send a message via Yahoo to Greg Ross
Re: IR Sensor questions

Quote:
Originally Posted by Kevin Watson
This is a problem that can be solved with some creative engineering. I found out early on that if I placed the sensor at the same height as the beacon and severly limited the sensors view to areas above and below the beacon, the tracker worked really, really well.

-Kevin
Kevin,

Any hints on how to "severly limit" the sensors' view above and below. I don't see evidence from the pictures on your website.
__________________
Greg Ross (The Grammar Curmudgeon formerly known as gwross)
S/W Engineer, Team 330, the Beach 'Bots
<--The Grammar Curmudgeon loves this cartoon.
“Life should not be a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming "Wow! What a Ride!" Hunter S. Thompson
"Playing a practical joke means doing something mean and calling it funny." Me
  #8   Spotlight this post!  
Unread 20-01-2004, 16:07
edflyerssn007's Avatar
edflyerssn007 edflyerssn007 is offline
Registered User
AKA: Voice of God
#0329 (The P-Town Pirates)
Team Role: Programmer
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Patchogue-Medford, NY
Posts: 17
edflyerssn007 is an unknown quantity at this point
Send a message via AIM to edflyerssn007
Re: IR Sensor questions

Anyone have any pictures of the workin IR beacon circutry
  #9   Spotlight this post!  
Unread 20-01-2004, 18:56
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Cañada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Cañada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: IR Sensor questions

Quote:
Originally Posted by gwross
Kevin,

Any hints on how to "severly limit" the sensors' view above and below. I don't see evidence from the pictures on your website.
If the sensors rotate in a plane that includes the beacon, the tracker will work just fine if it can't see (reflections) above or below that plane. Our original prototype looked like a side-by-side shotgun mounted to the servo. Imagine looking through a long, dark piece of tube while you slowly spin around a dark room that also has a friend holding an LED flashlight at the same height as the tube. As you spin around, what are the chances that you'll see a reflection off of any surface? Pretty slim because the point of reflection must also reside on that idealized plane. The chances are also made even slimmer when you realize that not only does the point of origin have to reside on the plane, but the photon must also pass through one specific spot on the plane: your eye.

We found this setup to work pretty well until the servo had to try to keep up with a moving target. So we had a minor epiphany and realized that if we cut a slit down the tubes such that one of the sensors would always have a view of the beacon, we would always know which direction to move the servo to catch up. This greatly simplified the tracking state-machine to this:

Right Left
Sensor Sensor Action
0 0 Search until one sensor sees the beacon
0 1 Rotate left
1 0 Rotate right
1 1 Do nothing

0 = Beacon "quality" == 0
1 = Beacon "quality" > 0

Hope this helps.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #10   Spotlight this post!  
Unread 20-01-2004, 20:48
Joel Glidden's Avatar
Joel Glidden Joel Glidden is offline
My heart pumps diesel.
FRC #4293 (Komodo)
Team Role: Engineer
 
Join Date: Apr 2002
Rookie Year: 2001
Location: Highlands Ranch, CO
Posts: 208
Joel Glidden is a glorious beacon of lightJoel Glidden is a glorious beacon of lightJoel Glidden is a glorious beacon of lightJoel Glidden is a glorious beacon of lightJoel Glidden is a glorious beacon of lightJoel Glidden is a glorious beacon of light
Re: IR Sensor questions

I don't know if it's been said already, but it would be worth saying it twice. Thanks for all the hard work, Kevin. It is much appreciated. I wish you could have seen the faces in our shop when we got the tracker working.

-Joel
  #11   Spotlight this post!  
Unread 20-01-2004, 22:08
Jedi Padawan's Avatar
Jedi Padawan Jedi Padawan is offline
Electrical Expert Student
AKA: Dan Howell
no team
Team Role: College Student
 
Join Date: Jan 2004
Rookie Year: 2001
Location: Greenville
Posts: 53
Jedi Padawan is on a distinguished road
Send a message via AIM to Jedi Padawan
Re: IR Sensor questions

Thank You all this information will really help (and maybe we won't end up redesigning that particular pain of a circuit...). If I can come up with any more ideas on this I'll be sure to post them. Thanks again for all the help.
__________________
It's all fun and games till the bosh motor breaks.....
  #12   Spotlight this post!  
Unread 20-01-2004, 23:22
Hinkel Y.'s Avatar
Hinkel Y. Hinkel Y. is offline
Registered User
FRC #0188 (Woburn Robotics)
Team Role: College Student
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Toronto, Ontario, Canada
Posts: 100
Hinkel Y. has a spectacular aura aboutHinkel Y. has a spectacular aura aboutHinkel Y. has a spectacular aura about
Send a message via MSN to Hinkel Y.
Re: IR Sensor questions

Our team tried out the IR beacon, and it tracks alright... But there's some flaws to the IR... If the IR bounces off metal or something shiny, it screws up the way it tracks the beacon... Any Ideas to solve that? The only thing we tried are paper tubes, and yet, the IR could bounce off metal objects like a desk for example and screws it up... Any sugestions?
  #13   Spotlight this post!  
Unread 21-01-2004, 01:59
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Cañada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Cañada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: IR Sensor questions

Quote:
Originally Posted by Joel Glidden
I don't know if it's been said already, but it would be worth saying it twice. Thanks for all the hard work, Kevin. It is much appreciated. I wish you could have seen the faces in our shop when we got the tracker working.

-Joel
Joel, that last sentence made it all worthwhile. Thank you.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #14   Spotlight this post!  
Unread 14-02-2004, 13:25
hedgehogger hedgehogger is offline
Registered User
#1348
 
Join Date: Jan 2004
Location: John F.Kennedy Highschool
Posts: 31
hedgehogger can only hope to improve
Re: IR Sensor questions

Can someone help me interpret the comment at the top of tracker.c?
IR sensor 1 is the left sensor on the left tracker
IR sensor 2 is the right sensor on the left tracker
IR sensor 3 is the left sensor on the right tracker
IR sensor 4 is the right sensor on the right tracker
This seems to make some design assumptions that I have not read somewhere? If I were to diagram this looking at the robot from the top - would it look something like this?


-------IR2-----IR3
---+-----------------+
---|------front-------|
IR1|-----------------|IR4
---|-----ROBOT------|
---|-----------------|
---|-----------------|
---|------back-------|
---+-----------------+

Last edited by hedgehogger : 14-02-2004 at 13:30.
  #15   Spotlight this post!  
Unread 14-02-2004, 13:35
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Cañada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Cañada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: IR Sensor questions

Quote:
Originally Posted by hedgehogger
Can someone help me interpret the comment at the top of tracker.c?
IR sensor 1 is the left sensor on the left tracker
IR sensor 2 is the right sensor on the left tracker
IR sensor 3 is the left sensor on the right tracker
IR sensor 4 is the right sensor on the right tracker
This seems to make some design assumptions that I have not read somewhere? If I were to diagram this looking at the robot from the top - would it look something like this?

IR2 IR3
+-----------------+
|------front-------|
IR1|-----------------|IR4
|-----ROBOT------|
|-----------------|
|-----------------|
|------back-------|
+-----------------+
No, each servo motor has two infrared sensors mounted on them. Each one of these assemblies is called a "tracker". You'll need at least two trackers, spaced as far apart as you can get them, before you can triangulate a heading and distance to the beacon(s). This is from the FAQ:

Q: Got any photos of an example tracking assembly?
A: Glad you asked. Have a look here.


-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
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


All times are GMT -5. The time now is 19:33.

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