Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: pomprocker on January 24, 2009, 12:05:05 PM

Title: Ledge Detection
Post by: pomprocker on January 24, 2009, 12:05:05 PM
Does any one have any recommendation for ledge detection sensors that I can mount underneath my robot pointing at the floor?

i don't want him to fall down the stairs  ;)

(http://a41.ac-images.myspacecdn.com/images01/19/l_e01f8d4cbec864d4ef6f4c47ef29a748.jpg)


Title: Re: Ledge Detection
Post by: cooldog on January 24, 2009, 12:13:33 PM
the irobot rommba uses ir range finders that measure really close distances

Edge detection:
You mean like detect when its hovering over the edge of a stair case? You can use a simple IR range finder that can measure extremely short distances (0cm to like 30cm) so that when suddenly its sensor range goes from ~3cm to really anything over 100, it knows that it could get damaged due to a fall if it continues any further.
Title: Re: Ledge Detection
Post by: frodo on January 24, 2009, 12:34:20 PM
whats ledge detection? ???
Title: Re: Ledge Detection
Post by: cooldog on January 24, 2009, 12:43:53 PM
it is so your robot when driving if it comes to a ledge like if it's on top of a table or if it it's going to go down the stairs it will know to stop and go back
Title: Re: Ledge Detection
Post by: want2learn on January 24, 2009, 01:14:48 PM
Build a basic 38khz generator with a 555 or with a 74hc04, feed the output to some IR leds.

Use a modulated IR reciever (38khz too).

When the IR reciever is recieving light you will have a 1 or 0 output depending on which one you use. Hook this up to a pin on your mcu. When you stop/start recieving a signal from the reciever you're at an edge.
One reciever and led setup at each end of the bot (tilted at a slight angle if you need extra reaction time) and you're sorted
Title: Re: Ledge Detection
Post by: airman00 on January 24, 2009, 08:54:24 PM
non-tactile ledge detection or tactile?
Title: Re: Ledge Detection
Post by: pomprocker on January 24, 2009, 10:47:07 PM
non-tactile ledge detection or tactile?


What do you mean?
Title: Re: Ledge Detection
Post by: want2learn on January 25, 2009, 12:55:55 AM
tactile means touch
Title: Re: Ledge Detection
Post by: pomprocker on January 25, 2009, 02:14:41 AM
oh, non tactile would be preferred
Title: Re: Ledge Detection
Post by: SciTech02 on January 25, 2009, 02:41:22 AM
I remember doing a setup with my old BOE-Bot so that it could detect edges (it was one of the projects in the book that came with the robot).  It basically worked the same as obstacle avoidance, except it turns away when the left, right, or both IR detectors did not detect anything (they were aiming at the ground immediately in front of the bot).  This worked fairly well, until it fell of my dining room table one day; it survived with no damage, but I never tried that again (I think the table messed with the sensors, it was a glass one).  It may also had to do with the sensors still pointing forward instead of directly down at the ground beneath the bot.

So using IR detectors (not Sharp IR rangefinders or sonar sensors) make the most ideal ledge detectors.  Their cheap and take little programming and power to use.  Unless you really want to know exactly how far the ground is below the bot (for topography perhaps?), I would go with two IR detectors.
Title: Re: Ledge Detection
Post by: Soeren on January 25, 2009, 09:44:55 AM
I would go with at least 6 detectors and LED's (which could be driven from the same oscillator) equally spaced around the perimeter of the 'bot, as otherwise, you would still fall (too late detection), if going towards the ledge in an angle.
Title: Re: Ledge Detection
Post by: strydom on January 25, 2009, 10:23:48 AM
Does any one have any recommendation for ledge detection sensors that I can mount underneath my robot pointing at the floor?

i don't want him to fall down the stairs  ;)

(http://a41.ac-images.myspacecdn.com/images01/19/l_e01f8d4cbec864d4ef6f4c47ef29a748.jpg)



what program did u use to make the desing of that robot
Title: Re: Ledge Detection
Post by: HDL_CinC_Dragon on January 25, 2009, 12:43:12 PM
what program did u use to make the desing of that robot
Google Sketchup

Gift from the Gods, AKA Google.
Title: Re: Ledge Detection
Post by: frodo on January 25, 2009, 12:52:05 PM
going off topic a bit here but Dragon, type into google google god and click on i'm feeling lucky.
Title: Re: Ledge Detection
Post by: HDL_CinC_Dragon on January 25, 2009, 12:55:37 PM
Omg I cried from laughing so hard...
Title: Re: Ledge Detection
Post by: Canabots on January 25, 2009, 02:20:04 PM
Have you considered trying these?
http://www.hvwtech.com/products_view.asp?ProductID=95 (http://www.hvwtech.com/products_view.asp?ProductID=95)
http://www.hvwtech.com/products_view.asp?ProductID=97 (http://www.hvwtech.com/products_view.asp?ProductID=97)

According to the description they're meant for surface detection, though they need to be fairly close to the ground (about .5cm I think). Though that might be ideal for you, since it will detect nothing at a ledge and you can program your robot to back away at that instance.

I hope your robot doesn't harm itself!  ;)
 
Canabots
Title: Re: Ledge Detection
Post by: MaltiK on January 25, 2009, 02:36:33 PM
Any IR ranger at a 45 degree angle downwards with the horizon will do the job fine. Just gotta change the code a bit to use triangulation of the signals differently and place it closer to the front/bottom.