Go to Post The future is being developed by FIRSTers! - Andy Baker [more]
Home
Go Back   Chief Delphi > Technical > Control System > Sensors
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 05-02-2009, 12:39
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,521
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Ultrasonic Sensors

Please be aware there are some issues using the Analog output of the Maxbotix sensor.

#1 There is a "bump" if you have a large change in distance. The sensor will overshoot the actual distance and then ramp back down to the correct one. You can filter this using averaging, but it will slow the response.
#2 Don't expect to be able to use these to track or range other robots. They respond too slowly. Last year, at full speed using these sensors, we had to stop when the sensor hit 48 inches because of the response time. If we did so, it was actually hitting the brakes at about 18 inches, and stopping with 3 or 4 inches to spare.

What you CAN do with these is use them for collision detection. You can also aim them at a continuing obstruction. For instance - aim it a wall that you're traveling next to. You can keep track of how close you are to it.

I do not know if the other outputs of the Maxbotix will exhibit the same behavior. I'd suggest purchasing one and working with it before you decide it will solve your problems.

For static ranging, however, they are VERY accurate. Consistently within less that an inch.

Last edited by Tom Line : 05-02-2009 at 22:33.
Reply With Quote
  #2   Spotlight this post!  
Unread 07-02-2009, 11:23
PWHSrobotics PWHSrobotics is offline
Registered User
no team
 
Join Date: Jan 2006
Location: Missouri
Posts: 31
PWHSrobotics is an unknown quantity at this point
Re: Ultrasonic Sensors

We got our sensors today, but have a question

- How are other teams hooking up the sensors to work with the built in Ultrasonic VI's given to us in labview?
Reply With Quote
  #3   Spotlight this post!  
Unread 09-02-2009, 07:38
PWHSrobotics PWHSrobotics is offline
Registered User
no team
 
Join Date: Jan 2006
Location: Missouri
Posts: 31
PWHSrobotics is an unknown quantity at this point
Re: Ultrasonic Sensors

any help or a link to a topic that this was already answered in would be much appreciated
Reply With Quote
  #4   Spotlight this post!  
Unread 09-02-2009, 10:43
nathanww nathanww is offline
Hacker
FRC #1678 (Citrus Circuits)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2007
Location: Davis, CA
Posts: 224
nathanww is just really nicenathanww is just really nicenathanww is just really nicenathanww is just really nice
Re: Ultrasonic Sensors

I'm not a labview programmer, but as I understand the built-in ultrasonics routines are for digital ultrasonic sensors(the system sends out a ping and then waits to hear the returning ping). The maxbotics has a coprocessor that does this, so instead of using digital pulses, it just sends you back an analog value, which you can read the same way you'd read a potentiometer.
__________________
Get yer robot source code here!
Reply With Quote
  #5   Spotlight this post!  
Unread 09-02-2009, 14:33
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,521
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Ultrasonic Sensors

Quote:
Originally Posted by nathanww View Post
I'm not a labview programmer, but as I understand the built-in ultrasonics routines are for digital ultrasonic sensors(the system sends out a ping and then waits to hear the returning ping). The maxbotics has a coprocessor that does this, so instead of using digital pulses, it just sends you back an analog value, which you can read the same way you'd read a potentiometer.
The maxbotics will send PWM values or analog values. Take your pick.

If you use the analog values, you can simply read the analog channel and divide by a constant to get number of inches.

No idea about the ultrasonics sensor VI - it was easier for me to do it the way I stated since we used them last year.
Reply With Quote
  #6   Spotlight this post!  
Unread 09-02-2009, 23:21
windell747 windell747 is offline
Registered User
FRC #2477
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2001
Location: Hawaii
Posts: 158
windell747 will become famous soon enoughwindell747 will become famous soon enough
Re: Ultrasonic Sensors

I'm not sure how to get the sensors working with the labview tutorial, but if you have the ones that output an analog voltage I can imagine you can just read in the value as an analog input and scale that value by a constant by multiplying a constant to it.
Reply With Quote
  #7   Spotlight this post!  
Unread 11-02-2009, 00:04
tennisbeast29's Avatar
tennisbeast29 tennisbeast29 is offline
Soup Eater
AKA: Nina Rao
FRC #2191 (Fluxcore)
 
Join Date: Dec 2008
Rookie Year: 2009
Location: Pennsylvania
Posts: 5
tennisbeast29 is an unknown quantity at this point
Re: Ultrasonic Sensors

I was thinking about using an ultrasonic range finder. It's very good at detecting walls and other solid objects.

But for robots, which have different sized parts hanging about and holes everywhere that could have echos, I thought it wouldn't really be accurate because they would all affect the distance. This is my first year so I'm not sure, did this system work for anyone?
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
WPILib and Ultrasonic sensors DanielR. Programming 7 18-06-2008 17:31
Parallax and Maxbotix ultrasonic sensors Lucretius Programming 5 20-02-2008 14:34
Ultrasonic sensors on digital ports 3-6 problems wt200999 Programming 14 13-02-2008 08:13
Ultrasonic range sensors for Vex Robot OneCoolDude Programming 1 01-12-2007 09:22
can we use ultrasonic sensors? GMKlenklen Electrical 20 15-01-2007 14:34


All times are GMT -5. The time now is 21: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