Slashdot Mirror


Artificial Retinas Can Balance a Pencil On Its End

mikejuk writes "A team of researchers has built a neural information system that is good enough and fast enough to balance a pencil in real time. If you think it's an easy task, try it! The Institute of Neuroinformatics, ETH / University Zurich have used what look like video cameras to do the job but in fact they are analog silicon retinas. They work so fast that even with fairly basic hardware they can balance a pencil."

41 of 165 comments (clear)

  1. Amazing by spqr0a1 · · Score: 2

    This is impressive bit of tech. Robotic vision has historically been a tough field.
    Anyone knowledgeable enough on the subject to speculate on the implications or interesting uses of this technology?

    1. Re:Amazing by pitchpipe · · Score: 5, Interesting

      This is impressive bit of tech.

      This really impressed me! No artificial vision involved, but awesome nonetheless. Explanation

      --
      Look where all this talking got us, baby.
    2. Re:Amazing by icebraining · · Score: 3, Insightful

      That's not really the point, is it? None of those were accomplished using machine vision.

    3. Re:Amazing by ian_from_brisbane · · Score: 2

      This really impressed me!

      Warning! Mute speakers first... Then it's impressive.

    4. Re:Amazing by ibsteve2u · · Score: 2

      Think he could balance our nation's budget on that?

      --
      Orwell: "In a Time of Universal Deceit, telling the Truth is a Revolutionary Act"
  2. Video Date: by Shikaku · · Score: 5, Informative

    September 26, 2008

    1. Re:Video Date: by Samantha+Wright · · Score: 4, Funny

      Slashdot is like Playboy: you don't read it for the bits advertised on the front page, but for the large amounts of text in between.

      (Also, both are trademarks comprised of two words where the space has been removed and people who capitalise the second word look hella uniformed.)

      --
      Bio questions? Ask me to start a Q&A journal. Computer analogies available for most topics!
    2. Re:Video Date: by ari_j · · Score: 2

      I don't recall being issued any uniform.

  3. If you think it's an easy task, try it! by Culture20 · · Score: 2

    My friends and I used to do that back in middle school to pass the time. Not build artificial retinas; balance pencils on our fingers (on eraser or tip).

  4. Easy task by Kanel · · Score: 2

    Just to get one thing straight: A robot balancing a pencil is not a breakthrough. Similar tasks are standard textbook material, often implemented using fuzzy logic.

    But the way they have done it may or may not be cool. Hard to tell.

    1. Re:Easy task by Jane+Q.+Public · · Score: 2

      This is a standard class project at MIT, except that they use a broomstick, not a pencil. MIT also teaches that it takes fancy algorithms to properly do the job. The difference here is that they are using a pretty simple feedback mechanism, without fancy algorithms. It's just very fast.

    2. Re:Easy task by TerranFury · · Score: 2

      I totally agree that the control aspects of this aren't too hard, but I wanted to clarify a few things:

      1 - The natural frequency of the pendulum goes up as 1/sqrt(length), so a pencil is more difficult than a broomstick.

      2 - In the controls community, fuzzy logic would not be employed to do this. Rather, one would probably use an "energy-pumping" swingup controller to get the pendulum near the critical point, and then a local, linear (maybe with feedback linearization) controller to stabilize the critical point. I think that's more-or-less standard. And although some of the supporting theory can get pretty "fancy," none of the actual computations that happen in the controllers are.

      If there's something impressive here, it's not in the controls, but maybe in the fast, relatively low-latency computer vision. Though, again, for comparison, professional motion capture systems run at 100+ Hz and have latencies under a few milliseconds (which is plenty for this task).

      Or maybe it's just supposed to be cool that this uses a bio-inspired architecture that is different from more standard methods.

    3. Re:Easy task by Jane+Q.+Public · · Score: 3, Informative

      That is precisely my point. To clarify my own statement a little: the last time I was discussing this topic here on /., someone (I don't remember who) was trying to tell me that it was not possible to do this with a relatively simple feedback mechanism, no matter how fast, and that in fact it was necessary to use Lagrange equations as linked to there, or similar, to solve the problem.

      My argument was that using advanced math was not necessary, as long as your feedback and control loop was fast enough. This experiment seems to bear out my side of the argument, since according to their paper they did not use anything beyond what might be considered middle-school math in their solution.

  5. 3D vision by Anonymous Coward · · Score: 2, Insightful

    Unless I'm mistaken, from looking at the picture the camera's "eyes" are placed orthogonally, instead of side by side like a human's. That's an advantage, since we know the machine then has real 3D position info, as opposed to a human's stereoscopic 3D vision. Try it yourself: when you balance a pencil, do you fail more often sideways or towards and away from yourself?

    This is an impressive bit of controls engineering, but let's not compare apples to oranges: the machine is designed for this task, and the human is not. It's in a way impressive that humans are as good as we are at this task despite not having been constructed to do it.

  6. High-Speed Robot Hand Demonstrates Dexterity by Paul+Fernhout · · Score: 4, Interesting

    Similar: http://www.hizook.com/blog/2009/08/03/high-speed-robot-hand-demonstrates-dexterity-and-skillful-manipulation

    It uses high speed visual servoing to dribble a ping-pong ball and to toss and catch a cell phone.

    Ironcially, I am listening to President Obama's speech as I write this, and his advisors (and speech) seem clueless about the changing nature of economics given robotics and other automation, AI, better design, and voluntary social networks (even as I think he means well and it is good for the US that he his helping create some jobs by increasing some exports):
    http://www.earthtechling.com/2011/01/obama-visits-ge-wind-turbine-plant/
    Pres. Obama can talk all he wants about "winning a global competition", but the average human worker anywhere is not going to win a competition with advanced robots... Humans need to learn to "cooperate", not "compete".

    Economic solutions (my comments):
    http://knol.google.com/k/paul-d-fernhout/beyond-a-jobless-recovery/38e2u3s23jer/2

    From a comment I posted yesterday in relation to an (purported) demo of a cold fusion device:
    http://www.journal-of-nuclear-physics.com/?p=360&cpage=6#comment-20270

    In brief, a combination of robotics (and other automation, all made possible by cheaper computing), better design (whether from cold fusion devices or thin-film solar panels), and voluntary social networks (especially with volunteers cooperating through the internet on free and open source digital public works), are decreasing the value of most paid human labor by the law of supply and demand. Cheaper energy will only accelerate this trend, since often you can substitute energy for labor and thought.

    At the same time, demand for goods and services is limited for a variety of reasons. These reasons include some classical ones, like a cyclical credit crunch or a concentration of wealth (with that concentration aided by automation, intellectual monopolies, and the rich getting richer and buying up more and more resources like land for rent seeking). The reasons also including some heterodox alternative economics ones, like people moving up Maslow's Hierarchy of Needs as they get a lot of "stuff" and move on to other pursuits than materialism (including spiritual aspirations, self-actualization, and social connections in communities), and as people embrace a growing environmental consciousness of "Reduce, Reuse, Recycle" to protect the biosphere.

    In general, mainstream economists ignore these issues or have very unexamined beliefs about them. Imaginative innovation, like economist Julian Simon talks about in "The Ultimate Resource", makes possible many wonderful potentialities if we think them through. Please don't let your inventiveness or cold fusion get blamed for any issues caused by unimaginative scarcity-based economic models held onto with almost a religious fervor by so many (see "The Market as God" by theologian Harvey Cox in the Atlantic). Mainstream economist have long used such scarcity-based models to apologize for an overly hierarchical social order that we probably did not even need in the past -- search on "The Mythology of Wealth". Still, some degree of centralization can be a good thing; see Manuel De Landa on "meshworks and hierarchies", and how they keep turning into each other and how all real systems are mixtures of both. So, we need to think and experiment regarding ways to allow our 21st century society to function in a healthy way given all the 21st century technology people like yourself are busy creating in all sorts of areas.

    A New York Times article called: "They Did Their Homework (800 Years of

    --
    A 21st century issue: the irony of technologies of abundance in the hands of those still thinking in terms of scarcity.
    1. Re:High-Speed Robot Hand Demonstrates Dexterity by nopainogain · · Score: 2

      and wait for it.....here comes the juvenile "high speed hand usage" joke

    2. Re:High-Speed Robot Hand Demonstrates Dexterity by Samantha+Wright · · Score: 3, Insightful

      Job automation has been a major concern for politicians and workers since the industrial revolution, with a noteworthy resurgence in manufacturing with the introduction of automobile-building robots. Humans can out-do machines when they're underpaid (see China) but the choice to invest in a machine and all of its highly-skilled repair labour comes in response to rising wages—and by the way, did you know you're grossly off-topic?

      --
      Bio questions? Ask me to start a Q&A journal. Computer analogies available for most topics!
    3. Re:High-Speed Robot Hand Demonstrates Dexterity by Paul+Fernhout · · Score: 2

      I wrote: "Even China is automating to cut costs: http://plasticsnews.com/china/english/headlines2.html?id=1278958338
      "In the wake of labor unrest, Chinese factories are adding automation to control rising labor costs. It was bound to happen. China, once considered one of the lowest-cost automotive producers because of its supply of cheap labor, is becoming another example of rising expectations as workers demand their share of the country's growing industrial prosperity." It is the fiscal logic of mainstream capitalism in its final death spiral... There was no net job growth in the USA for the entire last decade (despite rising population). That has never happened before in the USA. Yet, productivity in terms of the US GDP grew 40% (with the benefits almost entirely going to the business owners/investors). Why should that trend not continue? Mainstream economists, even liberal ones like Paul Krugman, seem pretty much oblivous to the implications. Offshoring is a huge red herring they are chasing..."

      Regardless of what Samantha said, why would someone mod this offtopic? People are creating an artificial retina, and it is offtopic to talk about the consequences of automation? Who gets mod points these days? :-)

      --
      A 21st century issue: the irony of technologies of abundance in the hands of those still thinking in terms of scarcity.
  7. Re:Yet another example of why humans are better. by Jane+Q.+Public · · Score: 2

    Considering that it's a completely different problem, it should be easy to impress you. How about a robot that you instruct to open the pantry, but it opens the bathroom door instead?

  8. But... by 93+Escort+Wagon · · Score: 4, Funny

    Can those fancy algorithms make a pencil disappear?

    --
    #DeleteChrome
  9. Just barely under control by MichaelSmith · · Score: 2

    It never seems to be able to damp down the movement. It should be able to reduce amplitude to less then a centimetre or so.

  10. Re:To the person who told me before here on /. by Jane+Q.+Public · · Score: 3, Informative

    Wrong. Read TFA, and if necessary read their paper, and try again. They used a relatively simple feedback mechanism and simple algebra, not Lagrange equations.

  11. Re:To the person who told me before here on /. by by+(1706743) · · Score: 3, Interesting

    If you have fast enough feedback, then the displacements (and hence, angles) involved in the equations of motion for the inverted pendulum are really small, and hence the transcendentals involved can probably be approximated by the small angle approximation -- and then the "algorithms" (solutions to the equations of motion) are pretty simple I think.

    Also, I'm not sure that standing a pencil on end is the same thing as an inverted pendulum, because the bottom end isn't secured for the pencil (correct?). For an inverted pendulum, if you oscillate the base fast enough the pendulum will remain upright (see the wikipedia article you linked) -- so it's pretty trivial to stand a pencil on end in this fashion, I think (just attach it to something that oscillates -- a speaker will probably do).

  12. biomimetic for purely philosophical reasons by drewm1980 · · Score: 5, Informative

    I have seen this demo in person and chatted at length with its creator. It uses a custom sensor chip that does some analog temporal filtering and thresholding of light intensity at each pixel, sending events when the threshold is crossed. The intent of the authors seems to be to mimic the human visual system in silicon, even if it makes no engineering sense whatsoever. The demo was extremely sensitive to fluorescent lighting; the author had to run out and buy an incandescent desk lamp to get it to work at all. The event-based image representation makes it incompatible with everything that has been learned in computer vision over the last decade.

    1. Re:biomimetic for purely philosophical reasons by Anonymous Coward · · Score: 5, Insightful

      In case anyone misinterprets your comment.. The fact that it is incompatible with the last decade of computer vision doesn't make it wrong, nor does it make the previous decade of research in computer vision wrong. As you wrote, different philosophies behind the solutions.

    2. Re:biomimetic for purely philosophical reasons by hardtofindanick · · Score: 2

      > The event-based image representation makes it incompatible with everything that has been learned in computer vision over the last decade

      I think you are grossly exaggerating. The so called "events" are simply difference images, and they have long been used for representation of motion where accurate representation is not needed and computational power is scarce.

  13. Re:Try it? by Iskender · · Score: 2

    I'm thinking the same thing - this is my attempt at frist post using only my retinas, and frankly it's not exactly looking like a success.

  14. Re:Try it? by Anonymous Coward · · Score: 5, Funny

    Do not balance pencil on remaining retina :(

  15. Re:To the person who told me before here on /. by jpmorgan · · Score: 2

    Well, it's all control theory. If all you want to do is something stupid and trivial like balancing an inverted pendulum, then the math isn't too hard and the algorithm is comparatively simple. If you want to do anything more complex, then you have to start using more complex math.

    It's not so hard to turn the 'inverted pendulum' into a more complex case where simple trigonometry and algebra doesn't work: mount your pendulum on a turntable.

  16. #betterthanapokeintheeyewithabluntstick by lennier · · Score: 3, Funny

    Stop playing with that pencil. It's all fun and games until someone loses a silicon retina.

    --
    You are not a brain: http://books.google.com/books?id=2oV61CeDx-YC
  17. Re:Looks familiar... by Ksevio · · Score: 2

    As TFA mentions, the larger the object, the slower the reaction time is needed.

    So balancing a pencil is more impressive than a broomstick because it requires quicker reactions.

  18. Re:Amazing (or hoax)? by PopeRatzo · · Score: 2

    At the end of the video, when the tech removes the pencil, it looks like he's pulling it up out of some sort of indent. If that "indent" was a rubber aperture, this might not be as impressive as it first looked. Was the pencil being "balanced" on end or with the first 1/4 inch inserted into something?

    I would love for this to be as cool as it looks, so someone please explain where I'm making a mistake.

    --
    You are welcome on my lawn.
  19. Re:To the person who told me before here on /. by pz · · Score: 4, Insightful

    ... that balancing such an object requires the use of several fancy algorithms:

    This is proof that, just exactly as I asserted, all you need is relatively simple feedback as long as it's fast enough.

    Yep, that was me. I guess I should go back to my MIT professors and let them all know that they're full of hooey. I've sure been shown up by Jane Q. Public!

    Or, on the other hand, I could look at the video these fellows provided. Doing that, I might notice that the system is barely stable, very noisy, does not deal with perturbation very well, and accumulates error. I could then read the paper and see, under the section called "VI Control System" it explicitly states that they are using a PD system (proportional and derivative), as described in the system of two differential equations. Then I could read the sentence, "Our system normally balances an object for several minutes before losing it..." which would probably be because they don't have an I term to worry about accumulating error. Lack of an I term makes the system drift, and you can see in the video that it nearly hits the edge of the actuator workspace a few times. Striking the limit of motion would be a catastrophic change in actuator impedance and cause the pencil to be dropped. The fact that they had to include a D term means that there is more than just straight (linear) feedback. But, hey, I guess those MIT professors didn't actually know what they were talking about when they taught us 18.03 Differential Equations. Either that or Ms. Public can't read papers very well, and doesn't recognize a differential equation when she sees one.

    Again, I'll state, Ms. Public, please stay away from designing any systems that are critical to support or protection of human life. You have now repeatedly demonstrated your incompetence to do so in a public forum.

    --

    Put my fist through my alarm clock with its ding-dong death inside my ear. - The Blackjacks.
  20. Re:To the person who told me before here on /. by Jane+Q.+Public · · Score: 2

    But that's separate from the point I was making, which is that the inverted pendulum problem, without further complications, does not require advanced math to solve if your feedback/control loop is fast enough.

  21. Re:To the person who told me before here on /. by Nyeerrmm · · Score: 2

    Unless you qualify a PID control system as a relatively simple feedback system, particularly when applied to a linearized system (which is what appears to be the case -- extremely fast observation and actuation make it easier to make a small angle assumption). PID controllers are something you can learn in an undergrad control class. While a complete understanding of their behavior and the art of designing one for a given system can be very challenging, the concepts are straightforward. I'd consider a non-linear Lyapunov controller or something with a measure of optimality in it to be a 'complex' feedback algorithm.

    And I learned all this at a lowly state school (Texas A&M to be precise). I'm happy that Ms. Public can understand the fundamentals of it.

  22. Re:Amazing (or hoax)? by Crudely_Indecent · · Score: 2

    I was thinking the same thing myself. The video starts with a hand on the pencil, so you don't get to see the pencil actually placed. At the end, it's like the platform is pulled to the corner while the pencil is removed. It should be fairly easy to snag the pencil while the device is operating, but instead it's a drawn out drag to the corner. And what's the left hand doing off camera at the very end of the video?

    Real, fake? I can't say. The way the video is shown makes me suspect it's fake.

    --


    "Lame" - Galaxar
  23. Re:Samsung's automated sentry machine gun... by Paul+Fernhout · · Score: 3, Insightful

    :-)

    I'm glad someone is paying attention. :-)

    I was just watching some Star Trek: Enterprise episodes and when I saw all these big starships (Andorian vs. Vulcan in that case) shooting at each other, it just seemed, well, here they have warp drive, anti-matter energy, anti-gravity, and all they can think to do with it all is fight over some planets, when the whole universe is full of matter they can use to reorganize into space habitats and starships?

    Anyway, I'm not saying you don't make a good point. But this is a deep issue that seems to me is being widely ignored. It relates to so many of these issue coming up as we approach one or more singularities. How do you suggest I approach that?

    --
    A 21st century issue: the irony of technologies of abundance in the hands of those still thinking in terms of scarcity.
  24. Re:Samsung's automated sentry machine gun... by Thing+1 · · Score: 2

    A decade or so ago, I was really into nanotechnology, and proselytized to all who would listen and many who wouldn't. I got somewhere with it, but mostly I just wasted time and money (and annoyed the pig). I'm not sure how best to approach it; the singularities are, by definition, "opaque" as in it's very difficult to know what's going to happen on the other side, due to the rapid technological change that we will experience.

    I mean, just understanding the digital abundance is difficult for some. I signed my folks up for Netflix yesterday, and that got my dad to understand it partially, "Wow we can watch just about any movie" (except, of course, the first 3 he looked up...). But trying to explain to him that in the future, he'd be able to choose "Corvette" from the Netflix menu and one would appear in his yard, he said "yeah in science fiction"; he's clearly not ready.

    I'm very much looking forward to the day when I can make reliable personal backups, so traveling will no longer have risk.

    But in a very real sense, we will never be "post-scarcity". One of my goals is to Dyson-sphere off every available star, rationing the energy so that we can make the universe live longer (we know it will die a heat death rather than collapse, as of about 15 years ago). So even once we've achieved nanotechnology, we'll still be in conflict with other life forms that like their stars the way they are, thanks.

    Anyway, last night's post was somewhat similar to the reaction I had about 30 pages into "The Gripping Hand", which was "please dear god let them stop using that phrase!" :)

    --
    I feel fantastic, and I'm still alive.
  25. Re:To the person who told me before here on /. by SomeKDEUser · · Score: 3, Insightful

    the PID algorithm is four lines of code. the RST also. But to prove the properties of either, you must understand Z-transforms (which really are Laplace transforms for sampled functions).

    You can tune your PID using Ziegler-Nicholls, and that requires absolutely no knowledge of maths. To tune it optimally, you need a very good physical model, and pretty involved maths.

    So I don't know what the other guy's argument were, but you might have been both perfectly right.

  26. Re:Tag correction by 2.7182 · · Score: 4, Insightful

    People have been doing this since the 90s. Here is a paper where they say they use a 30 fps camera. I am sure you can find an older one. I saw one in 1996. http://www.manuelstuflesser.net/stuflesser_paper.pdf Also, if you ask CV people they don't think they are part of AI. Some of them use AI, but there are many tools used.

  27. Re:Try it? by bawdymonkey · · Score: 2, Funny

    Do not balance pencil on remaining retina .(

    Fixed that for you. :D