Author Topic: Pole-balancing Robot  (Read 7356 times)

0 Members and 1 Guest are viewing this topic.

Offline SomchayaTopic starter

  • Robot Overlord
  • ****
  • Posts: 180
  • Helpful? 0
  • You know it's cute!
Pole-balancing Robot
« on: April 10, 2007, 02:37:50 PM »
So, this is just an idea that I've been throwing around in my head for a while..

I'm thinking of building (over summer) an omni-directional robot that balances a pole in its center.. I think I've got the workings of the omnidirectional part worked out, but I've no experience with gyroscopes or accelerometers..

I've read a little about them online, and it seems that to be able to detect the angle of the pole, I'll need to integrate the readings from the gyroscope, or double integrate the readings from the accelerometers? Is there an easier way to do this? Integrating seems like it would create a lot of errors in the long run..

Also, if I want the pole to be able to fall in both the x and y directions, will I need to somehow convert the readings from the gyroscope/acclerometer? It seems like the readings of the sensors wouldn't necessarily be in the x-y axis of the robot, since they'll probably be placed near the top of the pole, and I'd need to convert those into the robot's frame. But, that requires knowing the angle of the pole, so it seems like it's going in a circle.. Any suggestions here?

I'm kind of hoping someone will say "all you need to do is X" ;D If there's an easier way to detect the orientation of the pole besides using a gyroscope/accelerometer, that'd be great! The only alternative I've thought of so far is to use 2 or more cameras statically placed in the room to detect the pole and report its angle to the robot, but that approach seems pretty unwieldy and not very elegant..

Edit: another question: this actually belongs more in the mechanics section, but how would I actually go around attaching a pole to a robot that'll allow the pole to fall in the x-y axes?
« Last Edit: April 10, 2007, 02:38:57 PM by Somchaya »
Somchaya - Back after a year of misc things
http://whisker.scribblewiki.com

Offline dunk

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 1,086
  • Helpful? 21
    • dunk's robot
Re: Pole-balancing Robot
« Reply #1 on: April 10, 2007, 05:19:43 PM »
so the accelerometer/rate gyro combonation is usually used in segway style self balancing robots.

since the angle of your base will always be the same (ie, paralell to the ground) and you are just trying to measure the angle between it and the stick, what about encoders round the pivot point?

dunk.

Offline nanob0t

  • Robot Overlord
  • ****
  • Posts: 145
  • Helpful? 0
  • Trust Your Technolust
Re: Pole-balancing Robot
« Reply #2 on: April 10, 2007, 05:53:17 PM »
This sounds like an awesome idea.  Unfortunately, I do not know how to use gyros or accelerometers.  I am interested in learning also.  I'll do some research, and report what I find.

Offline Brandon121233

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 320
  • Helpful? 0
  • "Genius is %1 inspiration and %99 perspiration"
Re: Pole-balancing Robot
« Reply #3 on: April 10, 2007, 05:56:33 PM »
Unfortunately my gut feeling tells me even with this data from the sensors, your in for a ton of geometry, and trig.
Hell, there are no rules here—we're
   trying to accomplish something.

                                                                              —Thomas Edison

Offline zamboniman60

  • Full Member
  • ***
  • Posts: 55
  • Helpful? 0
Re: Pole-balancing Robot
« Reply #4 on: April 10, 2007, 08:48:55 PM »
Well, if you don't need fine measurements, you could use a small tube with a ball bearing in it, and two contacts at one end. Then position it within your robot so that when the robot is straight up and down, the tube is angled slightly so that the ball bearing settles at one end. You'd just need to position 3 of these tubes in your robot, and it could detect which direction it had fallen in when it fell somewhat.

Offline SomchayaTopic starter

  • Robot Overlord
  • ****
  • Posts: 180
  • Helpful? 0
  • You know it's cute!
Re: Pole-balancing Robot
« Reply #5 on: April 10, 2007, 09:58:37 PM »
so the accelerometer/rate gyro combonation is usually used in segway style self balancing robots.

since the angle of your base will always be the same (ie, paralell to the ground) and you are just trying to measure the angle between it and the stick, what about encoders round the pivot point?

dunk.

Hmm, the encoders idea sounds pretty feasible, especially if I limit the pole to falling in one axis only, which will make it easier to construct as well.. I guess I'll let the idea bounce around my head for a while and see what comes out  :)
Somchaya - Back after a year of misc things
http://whisker.scribblewiki.com

Offline ed1380

  • Supreme Robot
  • *****
  • Posts: 1,478
  • Helpful? 3
Re: Pole-balancing Robot
« Reply #6 on: April 10, 2007, 11:30:14 PM »
Problems making the $50 robot circuit board?
click here. http://www.societyofrobots.com/robotforum/index.php?topic=3292.msg25198#msg25198

Offline trigger

  • Full Member
  • ***
  • Posts: 115
  • Helpful? 0
  • It's an op amp, not a gun part.
Re: Pole-balancing Robot
« Reply #7 on: April 10, 2007, 11:33:44 PM »
If the pole can fall in any direction, then I believe that controlling it is impossible.  Even with a perfect feedback filter, it cannot be done because the system is inherently unstable.  This is different from the Segway, which can only fall over in a finite number of directions.

I could be wrong of course.  I've totally forgotten the math since I took my feedback control class, oh, six or seven years ago.  ;D
There are 10 kinds of people in this world: those who can read binary, and those who can't.

Offline SomchayaTopic starter

  • Robot Overlord
  • ****
  • Posts: 180
  • Helpful? 0
  • You know it's cute!
Re: Pole-balancing Robot
« Reply #8 on: April 11, 2007, 06:20:31 AM »
Hmm.. I didn't think about that.. I guess I'll ask my feedback controls prof and see how it goes.. It does seem like it could be controlled properly though with a feedback system.. eg, if it falls along the x axis, go to the left, if it falls along the y axis, go forward.. but I may be wrong about it.. I haven't considered the math of it at all yet  ;D
Somchaya - Back after a year of misc things
http://whisker.scribblewiki.com

Offline ed1380

  • Supreme Robot
  • *****
  • Posts: 1,478
  • Helpful? 3
Re: Pole-balancing Robot
« Reply #9 on: April 11, 2007, 01:40:10 PM »
There is only 2 axises it can fall on. so each part of the microcontroller controls that axis
Problems making the $50 robot circuit board?
click here. http://www.societyofrobots.com/robotforum/index.php?topic=3292.msg25198#msg25198

Offline jsmoker

  • Full Member
  • ***
  • Posts: 118
  • Helpful? 2
Re: Pole-balancing Robot
« Reply #10 on: April 12, 2007, 12:45:51 PM »
Yeah,  you just have the two axis of tilts.  I would go for the encoders.  I did a similar project for a controls lab class with pendulum.  We had to swing up a hanging pendulum from a pivot arm and balance it in an inverted direction.  We got a pretty rock solid result with just the encoders.  I'd imaging a 2D case wouldm't be too much different. Your dynamics in each direction are uncoupled so it seems it'd just be a superpostion of cases. I have a vid somewhere. I'll try to find it when I get home.

Offline DanME

  • Beginner
  • *
  • Posts: 2
  • Helpful? 0
Re: Pole-balancing Robot
« Reply #11 on: April 14, 2007, 01:01:55 AM »
Hello, I am new to this forum but this might help you.


http://meeng.technion.ac.il/Studies/Undergraduate/majors/Halevi/REVADIM_megamot.pdf

go to pages 9 through 13.

 Israel has some of the best robotics technology in the world next to Japan and USA.

Hope this helps!

     - Dan

Offline SomchayaTopic starter

  • Robot Overlord
  • ****
  • Posts: 180
  • Helpful? 0
  • You know it's cute!
Re: Pole-balancing Robot
« Reply #12 on: April 14, 2007, 07:47:08 AM »
Ohhh... that's a pretty cool idea, using a touch screen as a sensor like that!

From the looks of it, I'll probably be using encoders since it seems to be the most direct way of obtaining the tilt.. Hope I actually get around to building the robot though! :)

Edit: I went to look at the diagram again, and it seems they have another sensor (with arrows) connected to an ADC besides the touch screen electronics. Do you know what sensor they might be referring to here?
« Last Edit: April 14, 2007, 07:49:48 AM by Somchaya »
Somchaya - Back after a year of misc things
http://whisker.scribblewiki.com

Offline DanME

  • Beginner
  • *
  • Posts: 2
  • Helpful? 0
Re: Pole-balancing Robot
« Reply #13 on: April 14, 2007, 05:21:31 PM »
Yes i see what you mean, there is no label for the sensor. I believe a lot of this stuff is proprietary so they won't tell us everything about it.


Anyway, good luck.


     - Dan

Offline Tsukubadaisei

  • Robot Overlord
  • ****
  • Posts: 293
  • Helpful? 0
Re: Pole-balancing Robot
« Reply #14 on: April 19, 2007, 07:40:00 AM »
Hey, I've seen a robot that resembles somehow the one you want to build in newscientist. Try researching more about this oneball-balence-robot.  I believe you might get some clues about how to balance a long and tall object over a mechatronical device.

http://www.newscientisttech.com/article/dn9720-ballbalancing-robot-refuses-to-roll-over.html

Good luck with your project, you will need it.
A.I.(yes those are my initials)

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: Pole-balancing Robot
« Reply #15 on: May 02, 2007, 05:52:16 PM »
(sorry for late reply, still backlogged on messages since my trip)

Quote
this actually belongs more in the mechanics section, but how would I actually go around attaching a pole to a robot that'll allow the pole to fall in the x-y axes?
have you considered hacking a video game joystick?

Offline SomchayaTopic starter

  • Robot Overlord
  • ****
  • Posts: 180
  • Helpful? 0
  • You know it's cute!
Re: Pole-balancing Robot
« Reply #16 on: May 02, 2007, 07:25:13 PM »
Oh hmmmm, that's a great idea! I'll have to look into that..
Somchaya - Back after a year of misc things
http://whisker.scribblewiki.com

 


Get Your Ad Here

data_list