Go to Post I wouldn't trade my FIRST experiences for the world. - Koko Ed [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 18-01-2012, 20:04
shuhao shuhao is offline
Registered User
FRC #4069 (Lo-Ellen Robotics)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2012
Location: Sudbury
Posts: 138
shuhao is an unknown quantity at this point
A reasonably reliable distance sensor with 10m range?

I'm currently having trouble finding a proper range sensor that could give me a reasonably accurate reading with a ~10m range.

The problem that I'm having is that the ultrasonic sensor will probably be interfered by others and itself.. Any laser distance sensor (class I) will probably not bounce well off the back wall.

The kinect is great, but it only gives accurate readings within meters...

Any ideas?
  #2   Spotlight this post!  
Unread 21-01-2012, 15:05
Mara's Avatar
Mara Mara is offline
Team 696 Safety Czar
FRC #0696 (Circuit Breakers)
Team Role: Mechanical
 
Join Date: Jan 2012
Rookie Year: 2010
Location: La Crescenta
Posts: 16
Mara has a little shameless behaviour in the past
Re: A reasonably reliable distance sensor with 10m range?

Our team has repeatedly used ultrasonic sensors in the past to measure distance. If I were to choose, I would go with that.
  #3   Spotlight this post!  
Unread 21-01-2012, 16:44
shuhao shuhao is offline
Registered User
FRC #4069 (Lo-Ellen Robotics)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2012
Location: Sudbury
Posts: 138
shuhao is an unknown quantity at this point
What about Interference?
  #4   Spotlight this post!  
Unread 21-01-2012, 19:29
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 7,019
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: A reasonably reliable distance sensor with 10m range?

Search on that and see what's already been said...
__________________

I am N2IRZ - What's your callsign?
  #5   Spotlight this post!  
Unread 21-01-2012, 20:40
Mr. Rogers's Avatar
Mr. Rogers Mr. Rogers is offline
That? That was in the CAD.
FRC #3539 (Byting Bulldogs)
Team Role: College Student
 
Join Date: Apr 2011
Rookie Year: 2011
Location: Romeo, MI
Posts: 67
Mr. Rogers will become famous soon enoughMr. Rogers will become famous soon enough
Re: A reasonably reliable distance sensor with 10m range?

Here's one, 1068 cm max range. http://www.maxbotix.com/products/MB1261.htm
We use analog voltage, the data sheet for this one says:

Pin 3 -
(AN) This pin outputs analog voltage with a scaling factor of
(Vcc/1024) per 2 cm. A supply of 5V yields ~4.9mV/2cm., and 3.3V
yields ~3.2mV/2cm.


So you just connect your +, ground, and signal wire of your pwm accordingly, and plug it into the analog breakout.

It says "about 4.9mV/2cm" So +/- 2cm, maybe a little less accurate than that though.

As far as code goes, it's just a proportion between your voltage and your distance, hence "4.9mV/2cm"
If java's your kind of thing, get.Voltage(); (from AnalogChannel class) it will return the voltage of the sensor, use the above proportion to convert that to a distance.
__________________
Grow the roses of success!
2011 Archimedes 2nd seed,
2011 Waterford Champion, 2011 Troy Simi-Finalist,
2011 Waterford Rookie all star, 2011 Troy Rookie all star
http://www.bytingbulldogs.com/

Last edited by Mr. Rogers : 21-01-2012 at 20:46.
  #6   Spotlight this post!  
Unread 22-01-2012, 17:38
theprgramerdude theprgramerdude is offline
WPI Freshman
AKA: Alex
FRC #2503 (Warrior Robotics)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Brainerd, Minnesota
Posts: 347
theprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud of
Re: A reasonably reliable distance sensor with 10m range?

The ultrasonics really aren't that susceptible to interference - they're rather immune to it unless someone else has their robot directly pointing their sonar at yours. If that's the case, it'll probably only be for half a second max before the interference is completely gone and you can have good readings.

Edit: If you're really concerned about interference, then consider placing two, or even three, sensors to do the same job spaced across the robot. The multiple sensors will serve as an easy form of error detection in the event that interference is experienced.
__________________
Attending: MN Duluth Regional

Last edited by theprgramerdude : 22-01-2012 at 17:57.
  #7   Spotlight this post!  
Unread 22-01-2012, 21:50
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,113
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: A reasonably reliable distance sensor with 10m range?

Quote:
Originally Posted by theprgramerdude View Post
Edit: If you're really concerned about interference, then consider placing two, or even three, sensors to do the same job spaced across the robot. The multiple sensors will serve as an easy form of error detection in the event that interference is experienced.
Or the multiple sensors will interfere with each other and make the problem worse. If you really want to run several ultrasonic sensors, you're probably going to want to wire them so they aren't all pinging simultaneously.
  #8   Spotlight this post!  
Unread 22-01-2012, 21:53
Mk.32's Avatar
Mk.32 Mk.32 is offline
Registered User
AKA: Mark
FRC #2485 (W.A.R. Lords)
Team Role: Engineer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: San Diego
Posts: 770
Mk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud ofMk.32 has much to be proud of
Re: A reasonably reliable distance sensor with 10m range?

How well will the ultrasonics work when pointed at an angle? Like from the robot to the top basket?
__________________
Engineering mentor: Team 2485: WARLords 2013-

Team President: Team 3647 2010-2013
  #9   Spotlight this post!  
Unread 22-01-2012, 22:09
theprgramerdude theprgramerdude is offline
WPI Freshman
AKA: Alex
FRC #2503 (Warrior Robotics)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Brainerd, Minnesota
Posts: 347
theprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud of
Re: A reasonably reliable distance sensor with 10m range?

Quote:
Originally Posted by Alan Anderson View Post
Or the multiple sensors will interfere with each other and make the problem worse. If you really want to run several ultrasonic sensors, you're probably going to want to wire them so they aren't all pinging simultaneously.
Naturally, you'd like to do this in any case, whether they're facing the same direction or not. Multiple sensors in close proximity can have interference regardless of direction if you let them fire off willy-nilly.

Could you define, angle? They'll work in any orientation; Because of the acoustic cone, though, they'll detect any object, be it the hoop or not, along the path that the sound wave.

For certain models (the ones with the cone around the sensor), the acoustic cone is very narrow, and so it's effectively a long range line detector. For the ones without the cone, it's rather useless as-is unless you add your own custom cone to focus the sound wave, because the wide cone will probably hit the bridge or barrier and bounce back first.
__________________
Attending: MN Duluth Regional
  #10   Spotlight this post!  
Unread 22-01-2012, 22:14
wireties's Avatar
wireties wireties is offline
Principal Engineer
AKA: Keith Buchanan
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Rockwall, TX
Posts: 1,171
wireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond repute
Send a message via AIM to wireties
Re: A reasonably reliable distance sensor with 10m range?

Quote:
Originally Posted by Mk.32 View Post
How well will the ultrasonics work when pointed at an angle? Like from the robot to the top basket?
Don't do that - point them at the wall and do the math to get the distance to the rim. It is very simple, you could even put it in a lookup table.

HTH
  #11   Spotlight this post!  
Unread 22-01-2012, 22:25
theprgramerdude theprgramerdude is offline
WPI Freshman
AKA: Alex
FRC #2503 (Warrior Robotics)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Brainerd, Minnesota
Posts: 347
theprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud of
Re: A reasonably reliable distance sensor with 10m range?

Quote:
Originally Posted by wireties View Post
Don't do that - point them at the wall and do the math to get the distance to the rim. It is very simple, you could even put it in a lookup table.

HTH
Why wouldn't you want to do this? If you don't angle them towards the basket, it's rather likely you'll end up detecting the wall/bridge unless you choose the version with the cone.
__________________
Attending: MN Duluth Regional
  #12   Spotlight this post!  
Unread 25-01-2012, 09:23
wireties's Avatar
wireties wireties is offline
Principal Engineer
AKA: Keith Buchanan
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Rockwall, TX
Posts: 1,171
wireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond repute
Send a message via AIM to wireties
Re: A reasonably reliable distance sensor with 10m range?

Quote:
Originally Posted by theprgramerdude View Post
Why wouldn't you want to do this? If you don't angle them towards the basket, it's rather likely you'll end up detecting the wall/bridge unless you choose the version with the cone.

The bridge? Are you gonna shoot from the opposite side of the field?

If you point at the basket you might get a return off the rim or the mount or the wall (with very little movement of the robot). I think it wiser to point it at the wall well under the rim for consistency. And you want a fine cone for this application.

HTH
  #13   Spotlight this post!  
Unread 25-01-2012, 18:07
ScottW of MaxBo ScottW of MaxBo is offline
Registered User
no team
 
Join Date: Feb 2008
Location: Brainerd, MN
Posts: 19
ScottW of MaxBo is a glorious beacon of lightScottW of MaxBo is a glorious beacon of lightScottW of MaxBo is a glorious beacon of lightScottW of MaxBo is a glorious beacon of lightScottW of MaxBo is a glorious beacon of lightScottW of MaxBo is a glorious beacon of light
Re: A reasonably reliable distance sensor with 10m range?

Hello this is Thomas from MaxBotix. If you view our FIRST Support notes on Facebook have a comment on looking for the backboard with the sensor. If you read the text below you will see it may be better to use geometry to find distance of the sensor from the baskets. If you know the height of the baskets and you take the data from the sensor you can use those to find the exact distance from sensor to basket. If you have any questions you want to ask us please post them on our Facebook wall. This will help us to best support you with the competition

6. "How can we make sure we are sensing the back board and not another object, like another robot?"


First, the sensor will have to be perpendicular to the backboard and on the same plain as the backboard in order for the sensor to detect the backboard. If the sensor is off axis to the board, it will cause the ultrasonic sound to be reflected away from the sensor. A good example of this is to think of it as if you were to shine a flashlight in a mirror, does the light reflect back to you and cause you to illuminate? Or does it illuminate an area off to the side of you? This is the same concept for the ultrasonic sensor. If you put the sensor on an arm, this would likely help to align the sensor with the backboard. Without an arm the sensor will not see the higher backboards as the sound will reflect above the sensor.


If you have any questions you want to ask us please post them on our Facebook wall. This will help us to best support you with the competition.
__________________
Best regards,

Scott Wielenberg
Technical Support & Sales
of MaxBotix Inc.
Phone: (218) 764-2489 Ext. 2
Fax: (218) 764-2194
Email: scott@maxbotix.com
Web: www.maxbotix.com
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 18:56.

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