Slashdot Mirror


DIY Segway-Style Balancing Robot

clarionhaze writes "Many have tried, and failed, at getting a robot to sustain it's own balance. However; Steve Hassenplug accomplished it with with a small robot he made out of legos and a program in C that runs on BrickOS, an OS made for Legos! You can check out his site or read the article over at TechTV." Update: 01/18 15:52 GMT by T : Unanimous Cow writes "David Anderson of the Dallas Personal Robotics Group has an excellent web page with images and movies of his two-wheel balancing robot. This one uses a single-axis inertial measurement sensor and is very robust on uneven surfaces and off-road."

63 comments

  1. Deja vu by Anonymous Coward · · Score: 0, Redundant

    Now I *know* i've seen the story posted at /. before...can't find it tho in search.

  2. Repeat... by Quixote · · Score: 3, Informative

    Repeat from last year October

  3. A glitch in the matrix... by Anonymous Coward · · Score: 0

    Same as .... this!

  4. havent you watched South Park by Anonymous Coward · · Score: 0

    timmah cant read, or at least he doesnt appear to read slashdot. He is the true repost master here. If you dont bother to read slashdot, then why the hell would you take a job as one of the moderators? I am sure there are tons of people willing to take the job who would actually take some pride in their work.

  5. Completely missing the point.. by The+Creator · · Score: 1

    Whould'nt it be easier to give the bot 4 wheels?

    --

    FRA: STFU GTFO
    1. Re:Completely missing the point.. by spazoid12 · · Score: 1

      Brilliant idea! Thanks for the tip.

      Hey, suddenly I'm thinking...if 4 are better than 2, how about 1,000? Please advise.

    2. Re:Completely missing the point.. by beaverfever · · Score: 1

      although I do see the benefit in people researching whatever and wherever their imaginations take them, and the point of this guy's project was to make the thing balance etc., yes, there is a point to be made that it would be a lot easier to just use four wheels. Kinda reminiscient of that old story about nasa spending big $$$ to develop a pen that would work in zero G while the russians just used pencils.

      All too often engineers and designers let the gee-whiz get in the way of practicality and usefulness, when it comes to everyday items.

      Still, legway is kinda neat. It looks a little dizzy at the end of the spinning video.

    3. Re:Completely missing the point.. by PurpleFloyd · · Score: 1
      Actually, Snopes calls you on the American space-pen/Russian space-pencil legend. Apparently, both the US and USSR used pencils until it was realized that floating bits of graphite (dust and broken lead) weren't the best things to have around electrical equipment, and that wood wasn't that great an idea in a pure-oxygen capsule environment

      Urban legends aside, it seems to me that a robot with two wheels would be able to move around in much smaller spaces than one with four, and that the ability to pivot on the spot might help in cramped maintinence areas where humans don't want to or can't go. After all, isn't the idea of robotics to replace humans in dirty or dangerous jobs?

      --

      That's it. I'm no longer part of Team Sanity.
    4. Re:Completely missing the point.. by beaverfever · · Score: 1
      I'm not surprised that the pen thing is false, but it makes a good story for telling around a table covered in beer and munchies :) Also, yes, surely there is a specialized practical application for a robot like this. Still, I stand by the gist of my post, even though I know that selling power comes into consideration with new products:

      All too often engineers and designers let the gee-whiz get in the way of practicality and usefulness, when it comes to everyday items.

  6. If I can remember this on /. why can't the editors by philj · · Score: 0, Offtopic

    October last year .......

    To think that this site sold for millions. Jesus.

  7. Kamen is Segway & FIRST... by jpellino · · Score: 1

    Dean has a neat trick - every year he unveils a contest that asks the kids to do something new, engineering-wise. In two of these, it seems it was something he'd already figured out - the iBot wheelchair and the Segway - this just blew our minds in FIRST when we realized he and his companies had already come up with one method for something, and we were working on the same idea, guerilla, six-weeks to ship, Apollo 13 style.

    Damn neat. Leaves you speechless.

    Site seems /.'d - can't wait to see an RCX on two wheels...

    --
    "Win treats sysadmins better than users. Mac treats users better than sysadmins. Linux treats everyone like sysadmins."
    1. Re:Kamen is Segway & FIRST... by krisguy · · Score: 1

      The iBot has been a part of discussion at work lately.

      I work for a DME (Durable Medical Equipment) company and we were discussing an article about Medicare funding which brought up some issues about getting funding for newer products on the market.

      While talking about this the iBot came up. Our service manager, with 18 years of experience with repairing different standard and power wheelchairs, made some comments about the iBot I wanted to share.

      1. If it gets stuck on the stairs, would you want to be in it?
      2. Would you want to try to get a loved one out of it if stuck in earlier postition?

      Please discuss!

      --
      I'm a hamker. Hams, hackers, same ethos, different medium. == 73 de KB0STG
    2. Re:Kamen is Segway & FIRST... by Anonymous Coward · · Score: 0

      How can it get stuck on stairs? It's MAGIC!

  8. Asimo by DrunkenPenguin · · Score: 2, Informative

    Interesting story.. Here's something related: Humanoid robot ASIMO designed by Honda. Check out these impressive movies (realplayer format supported) of ASIMO in action. It would be nice to have one around to clean up the flat for example ;)

    ----

    1. Re:Asimo by m1chael · · Score: 0

      its all a hoax, it really is a machine dressed as a man.

      --
      I know you are psychotic, but please make an effort.
    2. Re:Asimo by Anonymous Coward · · Score: 0

      Nope. It's not hoax. ASIMO made it's first public appearance last friday.

  9. not news... by IdahoEv · · Score: 4, Interesting

    "Many have tried, and failed, at getting a robot to sustain it's own balance

    Many have tried and succeeded, as well. Balancing a two-wheeled robot (or balancing a pole from the bottom, or a four wheeled robot on top of a randomly rolling cylinder, etc.) is a fairly common design project for undergraduate engineering students in control theory. I'm not surprised someone did it in legos; they're a perfectly good platform for such an experiment.

    Kamen was not the first to come up with a balancing machine -- he's just the first I know of to market a useful (?) consumer product using such a system for human control of a vehicle. One of those head-smackers ... "why didn't I think of that?".

    --
    I stole this sig from someone cleverer than me.
    1. Re:not news... by Bender_ · · Score: 3, Insightful
      is a fairly common design project for undergraduate engineering students in control theory.

      Yes, its known as the "inverse pendulum problem" and is routinely modelled and solved in control system classes.

      .. maybe the interesting thing about the LegWay is, that the author managed to build it without knowing proper control theory ? The "controller" looks like a stupid two-point controller. A PID controller with properly tuned parameters would probably have improved the characteristics a lot.

    2. Re:not news... by gargle · · Score: 1

      Notice that he has to lift up the inverted pendulum before the robot can balance it. If a non-linear controller is used, it's possible for the robot itself to swing the pendulum upright(and keep it upright) from a horizontal position.

  10. Pete and repeat went into the store... by soulctcher · · Score: 0, Offtopic

    /. came out and who was left?

  11. Some have failed, by Openadvocate · · Score: 2, Informative

    but then there are others.
    There's some Quacktime and Real movies.

    --
    my sig
    1. Re:Some have failed, by VEGx · · Score: 1

      Oh no! Not the Quacktime movies... "And then I like pressed a button and it was all quack quack quack..."

  12. Old news man... by Anonymous Coward · · Score: 0

    Didn't we read about this like last year in October?

  13. Not for Adults! by n3rd · · Score: 1

    Only for embryos age 1 to 4 months.

  14. How about a 'Dupe' category? by xintegerx · · Score: 0, Flamebait

    --If you don't like the following post, please skip it asap--
    We all know such a category would be the busiest, with hot dupes coming off the Repeat Mill at a steady rate.

    It would be great because articles like this must be important enough to be on the front page annually, sometimes 2 or three dupes on the same page, sometimes one after another on the same page... Since the editors believe these articles are so important yet so elusive when they check for previous stories by searching slashdot (they DO check, right?), lets move the dupes to their own categories as they are discovered.

    I am serious. Dupes are great, because I missed this LegWay article the first time around. But let's label the dupes, okay? Except, only allow dupes MISSED by editors when they post, to keep the category fun and to hold the editors responsible for when their name will appear in 10 articles in a row in such a category...

    (But I do believe slashdot is just posting dupes under the alias timothy all the time because they want to appear higher on google through links to interesting stories that people would search for. It's not a news site, but a interesting stuff site.)

  15. LegOS by Isle · · Score: 1

    No BrickOS is not an OS for legos. Because legos is a competing OS made for LEGO and LEGO bricks.

  16. This just prooves LEGO should be used in schools. by OS24Ever · · Score: 4, Insightful

    I played with LEGO as a kid and now as an adult. I really wish someone would have nurtured that facination and help me learn a few things. You know, back in the old days, before you could look everything up on the internet. You actually had to have something documenting some basic technologies then.

    now a days, a kid could search google for a few things, and then find the answers or a great little document written by some MIT type. Where's that little thing that turns you into a kid when you need it.

    --

    As a rock-in-roll Physicist once said, No matter where you go, there you are.

  17. Entrepreneurs by JaredOfEuropa · · Score: 3, Insightful

    One of those head-smackers ... "why didn't I think of that?".

    Someone may well have thought of it before... someone may even have tried to whip one up in his basement, but Kamen took the idea and turned it into a commercial product.

    That takes a special kind of human being. A friend of mine is a little like that: he keeps a small recorder on him (and under his bed) and dictates ideas he gets to himself. He may wake up one night thinking "What if I printed ads for companies on those flexible magnetic sheets, slap them on cabs and pay the cabbie a sum for the privilege?" (In Holland cabs generally have no ads on them). Next morning he starts making phone calls, to buddies in advertising firms, to cab companies, to printers, ect. etc. He spends an enormous amount of energy, and 49 out of 50 times it comes to nothing. It's that successful nr. 50 that counts though.

    You have to admire people like that, having the drive to follow through on an idea and getting a company off the ground. Me, I am much to lazy for that... I'd wake up with an idea, think "Hmm neat" and go back to sleep.

    --
    If construction was anything like programming, an incorrectly fitted lock would bring down the entire building...
    1. Re:Entrepreneurs by KFCKilla · · Score: 1

      I got the chance about a year ago to ride a Segway when one of the lead designers talked to a class I was in.

      Interestingly enough, he said Kamen came up with the idea when one day he slipped in the shower, and started thinking about stability.

      He also pointed out that the Segway is a great example of technology push, as everyone who's ever ridden one (and I'll include myself here) comments that there should be more of them.

      --

      Rock over London. Rock on Chicago. Slashdot: News for Nerds. Stuff that matters.

  18. for the record by paRcat · · Score: 3, Interesting

    I've read slashdot everyday for a few years, but for some reason never saw the original article. And given my interest in robotics, I'm very glad this was posted, repeat or not.

    I don't understand the mentality of someone who feels the necessity to point out every mistake that slashdot moderators make. I mean, you could be a troll, or you could just be anal. In either case, you contributed nothing to anyone. You apparently think someone has hired you to act as a critic. Critics annoy me to, unless they happened to be named Homer Simpson... then I just laugh.

    1. Re:for the record by gvonk · · Score: 1

      Yeah, but from the other side of the fence, I read Slashdot every day, and have for years (less than you though :)) and the second I saw that, I thought "wasn't that on /. like a year a go or something?" It was kind of annoying wondering if this was new news or if it was a really old repeat.
      I think you would have been annoyed if you had seen it last time it got posted. Now, I am not one to criticize, and this is a free site, so I don't mean to suggest that anything should change, just that it's a little annoying.

      --


      El Karma: excelente(principalmente la suma de moderación hecha a los comentarios de los usuarios)
    2. Re:for the record by Quixote · · Score: 1
      I don't understand the mentality of someone who feels the necessity to point out every mistake that slashdot moderators make. I mean, you could be a troll, or you could just be anal. In either case, you contributed nothing to anyone. You apparently think someone has hired you to act as a critic.

      Well, aren't you Mr. Sunshine today?
      A critic is "one who forms and expresses judgments of the merits, faults, value, or truth of a matter." (from Dictionary.com, FYI).

      Read the 4 words that I posted. Do you see any judgement being expressed there, troll boy?

      I just pointed out that this article was a repeat from last year. Nothing more. Nothing less. Take it for what those 4 words mean. Don't try to read too much into things. And practice some reading (and thinking) skills while you're at it.

    3. Re:for the record by Anonymous Coward · · Score: 0

      When timothy CONSTANTLY reposts stories its a reflection of the lack of care that he does his job with. He has reposted stories that are still on the main page! It really is a sign that he doesnt read slashdot regularly.

      And WTF would you post a story without first checking if the story has been posted before. There is a search tool right on the site. Its not like he posts 20 stories a day! It would take about 30 seconds to do a search on a few keywords and the url to see if the story is a dupe. Apparently that is to much work for Tim.

      There are plenty of people who would do the job who would actually have some pride in their work, give it to them.

    4. Re:for the record by brianosaurus · · Score: 1

      This repeat wasn't so annoying. The really annoying ones are when CmdrTaco and Hemos start tag-teaming duplicates. Maybe it some sort of competition to see who can get the same article on the front page the most times?

      --
      blog
    5. Re:for the record by Anonymous Coward · · Score: 0

      And, you were motivated to point this out because?

      A) It certainly didn't bother you, but you felt it your obligation to look out for all the other readers, pointing out this was a rerun lest they miss out on being bothered.

      B) You have no life other than reading /., and the walls are closing in from GAD.

      C) Momma didn't give enough milk to those growing braincells, combined with too many microwave popcorns, leaving a cranium filled with all sorts of entitlements to a stress free, non-repeating, always satisfying, and never needing patience view of the world.

      hmmmm.... have to wonder about your view of karma in the Big Real World outside the playground of /.

    6. Re:for the record by bfree · · Score: 1

      D) He felt that people might be interested in reading the comments on the original story!

      --

      Never underestimate the dark side of the Source

  19. Who needs a Segway? by MidoriKid · · Score: 1

    You can just build one of these out of scaled up, 1 foot legos. Save thousands!

    1. Re:Who needs a Segway? by Anonymous Coward · · Score: 0

      To find out the "down" side of a Segway, just enter
      "Segway accident" in google. If you don't laugh, you get your money back.

  20. In other news ... by RandySC · · Score: 3, Funny

    Using the DMCA, Dean Kamen and Segway have sued a group of nerds who, in their garage, built an open source Segway for $50 that uses Linux and a Beowulf cluster comprised of 4 386's and a rotary bladed push mower from a garage sale.

    --
    Organization: alphabetical, sometimes numerical or messy
  21. Self-balancing unicycle by Animats · · Score: 3, Interesting
    Two-wheeled dynamic balancing isn't that hard. A simple feedback loop coupled to a sensor that measures tilt angle will do it. (A "tilt sensor" or accelerometer alone won't give you valid tilt, though. But see below.) One wheel, though - that's hard.

    A friend of mine built a self-balancing unicycle at the Stanford robotics lab in the 1980s. That's a much tougher problem. There's no metastable point that can be maintained with small corrections.

    If you want to do this, the correct sensor suite is a rate gyro and a pair of accelerometers. Back in the 1980s, both were expensive; now they're cheap ICs. They're auto parts. To get a good value for "down", you integrate the rate gyro and run it through a high pass filter, then add the accelerometer value,filtered through a low pass filter.

    1. Re:Self-balancing unicycle by Anonymous Coward · · Score: 0

      No, the correct sensor is the inner ear. Just put an analog joystick on the handlebar so that the corrections from the human are fed into the system.
      Look, my bicycle does that too, even without any laser gyros and ICs!
      I must be a genius! Oh no, wait, I didn't got to university.
      OK, mod me down.

    2. Re:Self-balancing unicycle by Anonymous Coward · · Score: 0

      That was such a shitty post it wasn't even funny.

      Its plainly clear you have chip on your shoulder from not going to college but you didn't even prove your point. All you did was make yourself look petty and stupid. Hopefully someday you let it go ...

    3. Re:Self-balancing unicycle by Anonymous Coward · · Score: 0

      Hi asshole,
      I did go to college. The chip on my shoulder, sir, comes from the fact that university has become an endless cycle of never-ending degrees that employers seem to think are *required* for even the _lowest_ jobs out there.
      The fact that those cults recruit anyone and their dog into electrical engineering, saturating the market with mediocre engineers, thus causing employers to think that to get better engineers they have to raise the bar ever higher for shitty jobs, doesn't help.
      And my posts aren't meant to be funny. If you want humor, listen to a bunch of 18 year old fresh meat in university who think the world will be at their feet with their lousy degrees.
      Hint: it won't. Ask all the kids who lost their cushy ass-grabbing jobs at Nortel if those degrees mean anything?
      And I stand by my assertion that all you need is a very basic sensor in the handlebar of a segway-ish vehicle and you just need to use the feedback signals from the person to keep that thing upright.

      "you didn't even prove your point"

      And _you_ *proved* that you need laser gyros and a bunch of ICs, or is that just techno-masturbation to justify your having gone to university and gotten into debt and wasted your time learning things that will never be used?

      Fucken asshole. I went *twice* to the fucken cult, like an idiot, and it means *nothing*. It was a waste of time and money.

    4. Re:Self-balancing unicycle by Anonymous Coward · · Score: 0

      You're right about unicycle being difficult, it's a non-holonomic system, for which most standard results from control theory don't work. There are some specialized methods though.

      But,
      Integrate and then run through a high pass filter?
      an (ideal) high-pass filter usually has two zeros at the origin, one of which would cancel your integrator and leave you with a band-pass response. Is this what you meant?

    5. Re:Self-balancing unicycle by Animats · · Score: 1
      I'm oversimplifying. See this paper for a better discussion of the right filters to use.

      The key idea is that the high-frequency components mostly come from the rate gyro, and the low-frequency components mostly come from the inclinometer. With the right filters, you get out a good "down vector". Unless, of course, you go around in a circle for a while, which gives you a consistent acceleration reading which isn't aligned with gravity. This, of course, is why running in a circle makes you dizzy.

  22. Re:This just prooves LEGO should be used in school by Anonymous Coward · · Score: 0

    There already is a LEGO robotics program for children ages 9-14

  23. Pole-Balancing Robot Projects by Anonymous Coward · · Score: 2, Informative
    More background on pole-balancing, fuzzy logic, neural networks and autonomy.

    Intelligent Autonomous Systems, neat robot projects including a neural-network pole-balancer, with pictures and whitepapers
    Link

    Pole-Balancing Mini-Robot using neural networks
    Link

    Intelligent fuzzy logic and PCB fab with pictures and video
    Link

    Reinforcement Learning Pole-Balancing Applet by Appl
    Link

    Demonstrations of Several Solutions to the Pole-Balancing Problem by Jeff Lawson and Chris Lewis
    Link

    1. Re:Pole-Balancing Robot Projects by Anonymous Coward · · Score: 0

      these are still examples of balancing with only one degree of freedom. not the more challenging, pencil-on-end type.

  24. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  25. sorry by clarionhaze · · Score: 1

    sorry about the dupe guys... i'll search more thuroughly before i submit an article... still pretty interesting.

    --
    all i see are 1's and 0's
  26. SAS by Hubert_Shrump · · Score: 1

    I remember October, do you?

    *sigh*

    Is halloween just this fuzzy "where was I?" feeling? I distinctly remember carving tux (onto a pumpkin).

    --
    Keep your packets off my GNU/Girlfriend!
  27. it's quite simple by JustKidding · · Score: 2, Insightful

    It really is simple to build a robot that will retain it's balance, even without any electronics. You simply need big wheels and a heavy weight under the axle, so that the point of gravity is underneath the point of rotation (the axle). My guess is he did that, if only to assist in keeping the balance. The wheels seem pretty big, and it looks like to motors are right in between them. The last thing you want to do is make the robot top-heavy.

    1. Re:it's quite simple by plover · · Score: 1
      You just described a "weeble".

      Rest assured, the pictures on his web show no place you could hide enough weight to overcome the mass of that RCX brick. It sure looks real enough at first glance.

      Hey, if you doubt him, he's got building instructions on his web site, and source code to the program. Go build your own. It'd be far more scientific that accusing him of cheating.

      --
      John
  28. At My Middle School... by Poeir · · Score: 2, Interesting

    I spent a lot of my childhood playing with Legos, and the time I wasn't spending playing with Legos, I was playing with computers.

    Anyway, to the point, during middle school, one of my projects was to build simple robots and control systems, using Legos and an Apple][e. It's been quite a few years, so I barely remember the details, but one of them drove around, another one acted as a motion sensor; the most complex one undertook a series of actions when the motion sensor was triggered, so it was nothing extraordinary; but Legos are (or at least were) used in some schools. This was a few years before Technics were even available, I think; so they may have even been the prototype.

    --
    Sigs are like bumper stickers.
  29. Very Old Controls Example by aclaudet · · Score: 4, Informative


    The balancing act is a very old automatic control problem. Solutions are given in almost every text on the subject. You can get more information on it by searching for "inverted pendulum" on google.

  30. I Knew It!!! by Alexander · · Score: 2, Funny



    See, why overpay for a Segway, when I can build a better machine out of 10 GHZ Athalon's, a 500 GB HD, 15 GB of RAM and run Open Office, GIMP and Gnome!

    Oh, wait, I got Segway confused with Apple....

    --
    "oohhh... I didn't know Schopenhauer was a philosopher!" ..."uhhh yeah, he's the one that begins with
  31. Does it get stuck on stairs? by jpellino · · Score: 1

    Does it? They must've thought of this... I hope.

    What's "earlier position'?

    --
    "Win treats sysadmins better than users. Mac treats users better than sysadmins. Linux treats everyone like sysadmins."
    1. Re:Does it get stuck on stairs? by krisguy · · Score: 1

      See #1 in my original thread.

      --
      I'm a hamker. Hams, hackers, same ethos, different medium. == 73 de KB0STG
  32. talk about missing the point by Anonymous Coward · · Score: 0

    I think it was a joke... you know, an attempt at humor? Oh, I guess you don't know. Bummer. Life sucks when you can't laugh.

    To original poster... you forgot "j/k"

    phbbbbt and stuff

  33. But it's fun. by Hassenplug · · Score: 1

    I really must say, I'm amazed by some of the comments. This robot wasn't built to prove anything to anyone. It was built because the builder wanted to challenge himself. If you don't like it, close your browser. Steve Hassenplug

  34. Re:If I can remember this on /. why can't the edit by Anonymous Coward · · Score: 0

    Any site that lets retards like you feel superior must be worth millions.