Go to Post A wise man told me a few nights ago, that it is important to own up to all your mistakes, so that others can see you doing that and wont deny and try to hide their own. - Josh Hambright [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 13-09-2007, 22:21
sciguy125 sciguy125 is offline
Electrical Engineer
AKA: Phil Baltar
FRC #1351
Team Role: College Student
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Sunnyvale, CA
Posts: 519
sciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond reputesciguy125 has a reputation beyond repute
Send a message via AIM to sciguy125 Send a message via MSN to sciguy125 Send a message via Yahoo to sciguy125
rangefinding/object detection

I'm working on a project that requires rangefinding. I was wondering what people's experiences have been with ultrasonics and IR range finders.

The problem is that I need to be able to detect a wide range of objects over a large field of view. The range doesn't need to be more than a few feet (6' or 7' might be enough), but it does have to be able to detect narrow objects (maybe an upright broom stick, picking up a chainlink fence would be awesome). Essentially, I need to be able to detect objects that I might encounter while walking down the street. Resolution doesn't have to be that great either, a foot or so is probably fine.

My main concern is the field of view. I suspect that ultrasonics can pick up narrow objects, but only near the center. I also have a feeling that the IR sensors have a very narrow field. Ideally, I'd have 360 degrees, but I might be able to settle for 180. Multiple sensors can be an option, provided that they aren't too expensive, or too bulky.

Sorry I can't be more specific, but I can't talk about the project too much at this stage.
__________________

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GE/S/P a-- e y-- r-- s:++ d+ h! X+++
t++ C+ P+ L++ E W++ w M-- V? PS+ PE+
5- R-- tv+ b+ DI+++ D- G
------END GEEK CODE BLOCK------
  #2   Spotlight this post!  
Unread 14-09-2007, 08:19
Gdeaver Gdeaver is offline
Registered User
FRC #1640
Team Role: Mentor
 
Join Date: Mar 2004
Rookie Year: 2001
Location: West Chester, Pa.
Posts: 1,365
Gdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond reputeGdeaver has a reputation beyond repute
Re: range finding/object detection

Sharp makes a IR distance sensor that is good out to 5 feet. It has a narrow cone of detection. Ultrasonics can sense farther out but have a wide cone of detection. The outdoor environment is a nasty place for IR and ultrasonics. You might consider starting to experiment indoors in a small room. A couple years ago I work with some students on something like this. We built a Vex square bot and mounted a Sharp IR on a servo. The Sharp IR is a simple A to D device. If your ADC readings have allot of bounce, try soldering a 100uf cap across the 5+ and ground at the sensor. Basically you move the servo take an IR reading move again take a reading. Remember it takes time to move the servo so you need a little delay before taking a sample. With this you can make a simple object avoidance robot. After you get this down you could start to play with environment mapping. Add an encoder to measure how far the robot goes and relate that to the sensor data. Its a case of banging a matrix. Take little steps. Tackling the outdoors maybe a little much at first.
  #3   Spotlight this post!  
Unread 14-09-2007, 09:41
Phalanx's Avatar
Phalanx Phalanx is offline
Formerly Team 1089 (Mercury)
AKA: Michael Reffler
FRC #5431 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jun 2005
Rookie Year: 1999
Location: Lewisville, TX (previously NJ)
Posts: 384
Phalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond repute
Re: rangefinding/object detection

During our most recent season and during the off season we've been working the Maxbotic Sonic Range Finder and have had excellent success with it.

You may want to check out this thread for some insights as well as a link to the datasheet for it as well.
http://www.chiefdelphi.com/forums/sh...ad.php?t=46912
__________________
Don't just ask the experts, become one!
Leadership is not about ability. It's about responsibility!
Diagonally Parked in a Parallel Universe. It's okay we do Quantum Physics


  #4   Spotlight this post!  
Unread 14-09-2007, 14:22
Sparks333's Avatar
Sparks333 Sparks333 is offline
Robotics Engineer
AKA: Dane B.
FRC #1425 (Wilsonville Robotics)
Team Role: Alumni
 
Join Date: Feb 2004
Rookie Year: 2003
Location: Wilsonville, Oregon
Posts: 184
Sparks333 is a glorious beacon of lightSparks333 is a glorious beacon of lightSparks333 is a glorious beacon of lightSparks333 is a glorious beacon of lightSparks333 is a glorious beacon of lightSparks333 is a glorious beacon of light
Send a message via AIM to Sparks333
Re: rangefinding/object detection

Our team also used the MaxBotix sensor as well, and actually got a good auto mode working on it using four of them at once. They are extremely reliable, have terrific interfacing characteristics (PWM, Analog, RS232) and have a trigger mechanism that makes it easy to use several at once without reflection from its own sensors. The sensor is great, but, like Gdeaver, I'm dubious about any ultrasonic sensor's ability outdoors, save with lots of postprocessing.

IR is a slippery little beasie, though it does work rather well when used correctly. Some opaque materials are transparent to IR, and IR loves to spread and can be picked up very easily from almost any direction without proper shielding (try holding a TV remote behind your hand. The signal still gets there, by bouncing off everything in sight until it reaches the receiver. It''s magical). It also behaves like light, in that if it hits a reflective object at an angles worse than 90 degrees, you will have a substantially reduced return signal compared to something like ultrasonic. We tested this by bouncing both an Sharp IR beam and a MaxBotix ultrasonic wave off a spider leg cap, and slowly twisting the cap until the sensor could not see it anymore. The IR lost sight after a paltry 15-20 degrees, while the ultrasonic lost it when it was practically on edge.

If this is a project with a lot of resources and computing power, try LADAR - very expensive, but very accurate and 180 (or so) field of vision.

Hope this helps.
__________________
ICs do weird things when voltage is run out of spec.

I love to take things apart. The fact that they work better when I put them back together it just a bonus.

http://www.ravenblack.net/random/surreal.html

Last edited by Sparks333 : 14-09-2007 at 14:24.
  #5   Spotlight this post!  
Unread 14-09-2007, 18:36
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: rangefinding/object detection

Your absolute best bet is a laser range finder, but they are probably much more pricey than you're interested in. Here's one popular example:

http://www.acroname.com/robotics/par...YO-LASER1.html

I have worked with the Polaroid sonar sensor and the Sharp IR sensor. Both are very popular for robotics, but they have their shortcomings. The Polaroid has a field of view of roughly 25º, which makes it pretty difficult to get any worthwhile angular resolution. The Sharp is better in that respect, but I've found it to become mostly worthless beyond even three feet, and that's with the obstacle being a sheet of wood aligned parallel to the plane of the sensor. If what you're trying to detect isn't flat or well-aligned, your readings become much noisier.

In short, reliably detecting things as narrow as a broomstick will be exceptionally difficult without a laser or a whole bunch of redundant sensors. If you go the latter route, keep in mind that trying to read from multiple sensors at the exact same time may cause some interference... it will take some careful coding to avoid this. Also, if you find yourself with a whole bunch of sonar sensors, expect to be driven nuts by the incessant clicking.

Best of luck on your project... keep us posted on your progress.
__________________
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

_
  #6   Spotlight this post!  
Unread 16-10-2007, 20:16
Robostang 548's Avatar
Robostang 548 Robostang 548 is offline
I can program the future...
AKA: Don
FRC #0548 (Robostangs)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Northville Mi
Posts: 69
Robostang 548 is on a distinguished road
Send a message via AIM to Robostang 548 Send a message via MSN to Robostang 548 Send a message via Yahoo to Robostang 548
Re: rangefinding/object detection

My team used the sharp sensor this year on our bot. It worked great for what we needed it to do. We mounted it on the front of our bot and for autonomous mode we just pointed the robot in the direction we wanted it to go and went forward at half speed until the ir picked somthing up (usualy a wall or the rack). I know it worked everytime because I could see that while the robot would hit a wall it would stop moving the drive motors. Next year we plan on using the sharp IR's again only for longer range detection.

-Don
__________________

Team 548:
Attending National Championship, Genesee District, Detroit District 2, West Michigan District, Michigan Championship?


  #7   Spotlight this post!  
Unread 16-10-2007, 21:41
basicxman basicxman is offline
Emily Horsman
FRC #2200 (MMRambotics)
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Burlington, Ontario
Posts: 971
basicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant future
Send a message via AIM to basicxman Send a message via MSN to basicxman Send a message via Yahoo to basicxman
Re: rangefinding/object detection

low cst options are
sharp ir
ping ultrasonic
maxbotic ez-1
i think the srf08 is a little pricey but works great!

check www.robotshop.ca, www.hvwtech.com, www.netmedia.com sells maxbotix ez1's
  #8   Spotlight this post!  
Unread 09-01-2008, 19:37
David Fort David Fort is offline
Registered User
FRC #1001
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2003
Location: Cleveland, OH
Posts: 26
David Fort is on a distinguished road
Re: rangefinding/object detection

I presume this info is too late to be useful, but we found that the Vex ultrasonic sensor picks up chain link fence about 90% of the time if you are about 4 feet away from it and the incident angle is 90 degrees.

At 10 inches, it almost always doesn't see it.

We also used the Vex sonar in this year's FTC challenge QuadQuandry to find the post on the goal. We found you could see the post reliably (the cone angle on the sensor is pretty narrow - maybe 15-20 degrees, so we swept the sensor back and forth to find it).

We earlier tried to pick up the distance to the base on the FTC goal, but found it didn't see the surfaces when viewed from the vertex of the hexagonal base.

For surfaces orthogonal to the beam measurements up to 170 inches seem pretty good. (i think it could go further than that, but that is where 16 bits overflows on the Vex timer)
  #9   Spotlight this post!  
Unread 11-01-2008, 23:56
joshyboy9987 joshyboy9987 is offline
Registered User
FRC #0706
 
Join Date: Jan 2008
Location: Hartland, WI
Posts: 16
joshyboy9987 is an unknown quantity at this point
Re: rangefinding/object detection

I was thinking about this a little while myself. We're thinking of having a similar system for our robot in this year's competition. What if you used an Ultrasonic sensor to do a wide sweep, and then if it found anything unusual, you could use an IR or laser rangefinder to do a fine resolution sweep? You could have all of that stuff mounted on servos too, just so that you could get the direction the obstacle is in.
  #10   Spotlight this post!  
Unread 12-01-2008, 00:10
ubergeek5075's Avatar
ubergeek5075 ubergeek5075 is offline
Registered User
FRC #0910 (Foley Freeze)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2005
Location: Troy, MI
Posts: 14
ubergeek5075 is an unknown quantity at this point
Re: rangefinding/object detection

Our team, for this year's game, is planning on doing obstacle avoidance using distance sensors. The one's we're using are the ultrasonic Maxbotix ones. However, we found problems with using ultrasonics, they have a wide FOV that you cannot tell where exactly an object is in this FOV. (our FOV is about 2 feet wide at worst with a Maxbotix EZ1 unshielded). It just returns the closest distance it finds. Also, the maximum sample rate is 20Hz meaning scanning was ruled out of the question, especially if we're moving.

We did toy with the idea of putting a couple on one servo, offset so reading would be faster, and more fine.

After a little creative coding, and a sensor mounted on last year's robot's camera, I got it turn to a clear path when an object came within range, and in its view. Just a little teaser for anyone paying attention to one of my other posts.
__________________
2005 Newton Division Finalists
2006 IRI Champions
2007 Curie Division Champions
2007 MARC Champions
2007 ARC Champions
2007 Capped in autonomous....Twice
Just remember two things: THE Answer is 42, and
DON'T PANIC!
  #11   Spotlight this post!  
Unread 12-01-2008, 14:31
John Hooper John Hooper is offline
Registered User
no team
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Here
Posts: 14
John Hooper can only hope to improve
Re: rangefinding/object detection

Quote:
Originally Posted by joshyboy9987 View Post
I was thinking about this a little while myself. We're thinking of having a similar system for our robot in this year's competition. What if you used an Ultrasonic sensor to do a wide sweep, and then if it found anything unusual, you could use an IR or laser rangefinder to do a fine resolution sweep? You could have all of that stuff mounted on servos too, just so that you could get the direction the obstacle is in.
Are we allowed to use laser rangefinders? I read one rule that said "no lasers" I thought. Then again, a lot of robots use lasers.
  #12   Spotlight this post!  
Unread 12-01-2008, 16:52
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,810
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: rangefinding/object detection

No lasers.

Quote:
Originally Posted by 8.3.1 - Safety & Damage Prevention
<R02>
ROBOT parts shall not be made from hazardous materials, be unsafe, or cause an unsafe condition. Items specifically PROHIBITED from use on the ROBOT include:
...
• Lasers of any type
...
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #13   Spotlight this post!  
Unread 13-01-2008, 00:10
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: rangefinding/object detection

Our plan for wall-following calls for two side-mounted Maxbotic sonar sensors - keeping the readings similar in value should mean the robot is parallel to the wall. If one reading is significantly larger than the other, a slight turn is called for.

Another (or a pair) of sonar sensors at the front should do for collision-avoidance.
  #14   Spotlight this post!  
Unread 13-01-2008, 10:45
Phalanx's Avatar
Phalanx Phalanx is offline
Formerly Team 1089 (Mercury)
AKA: Michael Reffler
FRC #5431 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jun 2005
Rookie Year: 1999
Location: Lewisville, TX (previously NJ)
Posts: 384
Phalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond repute
Re: rangefinding/object detection

Quote:
Originally Posted by mluckham View Post
Our plan for wall-following calls for two side-mounted Maxbotic sonar sensors - keeping the readings similar in value should mean the robot is parallel to the wall. If one reading is significantly larger than the other, a slight turn is called for.

Another (or a pair) of sonar sensors at the front should do for collision-avoidance.
Remember that there will be 3 robots on the same side of the field and 3 on the other side if you make it across the side line. You may not always be in the center, and you may or may not have another robot right next to you as you travel. So I think your readings may vary greatly and frequently during the autonomous/hybrid period.

Something to think about.
__________________
Don't just ask the experts, become one!
Leadership is not about ability. It's about responsibility!
Diagonally Parked in a Parallel Universe. It's okay we do Quantum Physics


  #15   Spotlight this post!  
Unread 13-01-2008, 20:36
joshyboy9987 joshyboy9987 is offline
Registered User
FRC #0706
 
Join Date: Jan 2008
Location: Hartland, WI
Posts: 16
joshyboy9987 is an unknown quantity at this point
Re: rangefinding/object detection

Another thing too, is that the outside of the field is that narrow bar. That might be a little difficult to pick up. And you're right, no, we can't use lasers, but I was under the impression it's not for a FIRST competition? Not to mention lasers wouldn't work too well with the divider being plexi-glass or whatever...
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
pic: Wierd Moon Object Qbranch Extra Discussion 24 23-05-2007 16:28
Object Enablers SherryG Inventor 1 07-04-2006 10:01
Changing the visibility of an object 65_Xero_Huskie 3D Animation and Competition 9 28-01-2006 17:12
Collision Detection in Inventor? jlewellen Inventor 2 06-01-2005 21:29
The object of Zone Zeal???? Jay5780 General Forum 15 09-04-2002 19:54


All times are GMT -5. The time now is 06:46.

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