Author Topic: How to detect a ramp ....... ??  (Read 3412 times)

0 Members and 1 Guest are viewing this topic.

Offline AndremahaTopic starter

  • Beginner
  • *
  • Posts: 1
  • Helpful? 0
How to detect a ramp ....... ??
« on: March 27, 2011, 11:00:21 PM »
Hi
i need a way to build my robot to detect a ramp and climb it which is on its way by using IR sensors. How can i do this ???



Please give me an advice.
my bot is line fallowing one which built using 2DC motors and IR....

Thanks !!!
 ??? ??? ??? ??? ??? ??? ???

Offline Metal Slug 2

  • Supreme Robot
  • *****
  • Posts: 333
  • Helpful? 11
Re: How to detect a ramp ....... ??
« Reply #1 on: March 28, 2011, 12:47:20 AM »
Hi Andremaha,

Without a clear picture of what your robot looks like or the course it must follow, I can only offer limited help.

There are several options available to detect the ramp.  It if it were up to me, I would use a simple mercury tilt switch.  A little more advanced, you can also use an accelerometer to detect acceleration of the robot and provide angle measurements for you to measure the slope of the ramp.  A flex sensor properly placed at the front of your robot could bend to indicate a ramp is ahead.  Or even the line detection sensors could be placed such that the ramp could trip them.

Offline Joker94

  • Supreme Robot
  • *****
  • Posts: 1,119
  • Helpful? 26
Re: How to detect a ramp ....... ??
« Reply #2 on: March 28, 2011, 01:53:00 AM »
There a few more details that would be helpful.
     -what is the approximate size of the ramp?
     -What is the purpose of sensing the ramp(is it to increase power going up the ramp to maintain a speed)?
     -Are you able to add additional sensors  or can you only use the infrared?
     -When do you want to sense the ramp. when you are a 1' away or when the robot starts to hit the incline?

These basic points will play a big part in the recommendation of appropriate sensors for the application.

Offline mstacho

  • Supreme Robot
  • *****
  • Posts: 376
  • Helpful? 10
Re: How to detect a ramp ....... ??
« Reply #3 on: March 28, 2011, 10:21:08 AM »
alternately, if you are OK with sensing the ramp once you're ON the ramp, you could use a gyroscope to detect whether the robot is tilted.  That would elliminate some of the problems with using an accelerometer (the biggest problem being: how do you use an accelerometer to distinguish between acceleration and the incline?)

MIKE
Current project: tactile sensing systems for multifingered robot hands

Offline Metal Slug 2

  • Supreme Robot
  • *****
  • Posts: 333
  • Helpful? 11
Re: How to detect a ramp ....... ??
« Reply #4 on: March 28, 2011, 12:47:43 PM »
alternately, if you are OK with sensing the ramp once you're ON the ramp, you could use a gyroscope to detect whether the robot is tilted.  That would elliminate some of the problems with using an accelerometer (the biggest problem being: how do you use an accelerometer to distinguish between acceleration and the incline?)

MIKE

Position the accelerometer such that one of the axis' is facing along the axis represented by up and downward motion (most commonly associated as a "z-axis"), instead of the xy planar axis that may be usually associated in correspondence to the floor.  Acceleration along the x and y axis should not have any effect on the z-axis.  Only in the circumstance that the robot is suddenly forced slightly upward by hitting the base of the ramp should the z-axis measure any change in G's.

Offline photomark

  • Jr. Member
  • **
  • Posts: 44
  • Helpful? 0
Re: How to detect a ramp ....... ??
« Reply #5 on: March 29, 2011, 02:45:11 AM »
Another possible solution that involves tilt switches , get the smallest ones you can find and arrange as many as you can at slightly different angles , as your robot tilts the relevant switches are activated , the main difficulty with this is the accuracy is totally dependent of the quality of workmanship and the amount of switches used . 

I really don't no if it would work , its just an idea I thought to put in as I read your question .

In many ways I have just described a type on encoder.

Why stop at detecting a slope , I also would want to measure it .

Offline greasemonkey94

  • Jr. Member
  • **
  • Posts: 29
  • Helpful? 1
Re: How to detect a ramp ....... ??
« Reply #6 on: April 04, 2011, 11:58:37 AM »
hello,

using an accelerometer might your best bet.
However you could also use the IR sensor(assuming you're using the sharp ones) like this guy-->http://www.societyofrobots.com/robotforum/index.php?topic=11333.0


 


Get Your Ad Here

data_list