Slashdot Mirror


All-Analog DIY Segway Project

An anonymous reader writes "One of the zany hacker-makers here at MIT just finished this DIY Segway project (video). Difference from the others: it's all analog. The controller is built without a microprocessor or even digital logic. It does use a gyroscope like the real Segway. The functionality looks fairly basic, but the fact that the controller works at all is amazing. The guy has a ton of other projects on his site too. Definitely worth a read for people who enjoy building things."

141 comments

  1. and here we have a hacker by chronoss2010 · · Score: 4, Funny

    a real one that invents and makes stuff...imagine that , quick arrest the terrorist(/sarcasm)

    1. Re:and here we have a hacker by Anonymous Coward · · Score: 0

      lol u mad bro?

    2. Re:and here we have a hacker by jobst · · Score: 2

      would you please carefully read the ENTIRE message including the very last word, please!

      --
      to code or not to code, that is the question.
    3. Re:and here we have a hacker by Anonymous Coward · · Score: 0

      Well, this has been an interesting thread, but you're all missing out on monkey hand job porn.

      Until you've read a good short story about Britney Spears, crazed on cocaine, whacking off a howler monkey in a limo while cruising down Rodeo Drive, you have no idea how magnificent online porn can be.

      Thank you... and Happy Hanukkah!

  2. SEGFAULT by PatPending · · Score: 5, Funny

    Best. Name. Ever. for this

    --
    What one fool can do, another can. (Ancient Simian Proverb)
    1. Re:SEGFAULT by camperslo · · Score: 5, Insightful

      The ultimate SEGFAULT was a sad one, the CEO of Segway dying from running his off a cliff by his home.

      http://www.huffingtonpost.com/2010/09/27/jimi-heselden-segway-boss_n_739983.html

    2. Re:SEGFAULT by PatPending · · Score: 1

      The ultimate SEGFAULT was a sad one, the CEO of Segway dying from running his off a cliff by his home.

      And dutifully posted on /.

      --
      What one fool can do, another can. (Ancient Simian Proverb)
    3. Re:SEGFAULT by Anonymous Coward · · Score: 0

      http://www.dailymail.co.uk/news/article-1213891/Driver-ended-teetering-cliff-edge-guilty-blindly-following-sat-nav-directions.html

      Motors + Men = Moronicity

  3. Controllers were analog before they were digital. by RoverDaddy · · Score: 4, Informative

    Digital controllers -emulate- analog behavior (at least many of them do). There's a pantload of research and science behind analog control.

    --
    RETURN without GOSUB in line 1050
  4. site unavailable by Anonymous Coward · · Score: 0

    and the site has been slashdotted.

    1. Re:site unavailable by Yvan256 · · Score: 1

      I guess it just couldn't stand up to all the requests.

    2. Re:site unavailable by Anonymous Coward · · Score: 0

      Anonymous did it.

    3. Re:site unavailable by gnapster · · Score: 1

      You should know!

  5. The Land Before CPUs by Glendale2x · · Score: 4, Funny

    Why is this amazing "that the controller works at all"? There was a time before microprocessors, you know, and they did fun things like travel in space without them.

    --
    this is my sig
    1. Re:The Land Before CPUs by Anne_Nonymous · · Score: 2

      Sure, but name one moon mission that had and XBox aboard.

    2. Re:The Land Before CPUs by Sir_Lewk · · Score: 1

      I'm not really sure what to make of this comment. You are aware that the Apollo missions used extraordinary advanced integrated circuit computers, right? The Apollo Guidance Computer was no analog computer...

      --
      "linux is just DOS with a UNIX like syntax" -- Galactic Dominator (944134)
    3. Re:The Land Before CPUs by Burdell · · Score: 4, Interesting

      The computers that flew were digital, but the computers that tested them were analog. My father worked on the Saturn V guidance system, and they built one of the earliest "hardware in the loop" simulation setups to test the software and flight-certify the computers that flew. Digital computers of the day were not fast enough to simulate the inputs and monitor the outputs in real time, so the simulation was built with analog computers.

    4. Re:The Land Before CPUs by skywatcher2501 · · Score: 3, Informative

      Talking about spaceflight, the Russians only recently replaced the analogue Soyuz control system with a fully digital one.

    5. Re:The Land Before CPUs by EmagGeek · · Score: 1

      No kidding. It's not as if a PID controller is hard to do in analog circuitry.

    6. Re:The Land Before CPUs by Anonymous Coward · · Score: 1
      "the Apollo missions used extraordinary advanced integrated circuit computers, right?"

      No, they didn't. They were obsolete by the time they flew.

    7. Re:The Land Before CPUs by Tablizer · · Score: 1

      No, they didn't. They were obsolete by the time they flew.

      What isn't?

    8. Re:The Land Before CPUs by Magada · · Score: 1

      The pilots?

      --
      Something bad is coming when people are suddenly anxious to tell the truth.
  6. Females?! by lul_wat · · Score: 4, Funny

    They are all at MIT?! I'd have studied harder in highschool if they'd only told us.

    --
    Divide a cake by zero. Is it still a cake?
    1. Re:Females?! by Colonel+Korn · · Score: 3, Funny

      They are all at MIT?! I'd have studied harder in highschool if they'd only told us.

      The MIT recruiting video sent to my high school might have convinced you.

      A pair of serious undergrads, one male and one female, are working in a lab. The glassware is very impressive and filled with bubbling food coloring or whatnot. The lights are low to draw attention to the Science. Then the two look at each other knowingly, sweep the contents of a benchtop onto the floor and start making out atop it to the wail of an electric guitar.

      --
      "I zero-index my hamsters" - Willtor (147206)
    2. Re:Females?! by Anonymous Coward · · Score: 0

      They are all at MIT?! I'd have studied harder in highschool if they'd only told us.

      It's MIT they're all robots.

    3. Re:Females?! by prefec2 · · Score: 1

      No no they are just robots and avatars of the media lab. Females in CS and engineering? Come on do you believe in Santa Clause? Do you?

    4. Re:Females?! by johncadengo · · Score: 1

      At least one of those was a man.

      And the project an excuse to impress women with their apparent skill in awkwardly balancing, slowly scooting, and... badly jousting.

      --
      My page.
    5. Re:Females?! by Anonymous Coward · · Score: 0

      Females in CS and engineering? Come on do you believe in Santa Clause? Do you?

      At MIT, it's Christmas every day.

    6. Re:Females?! by Anonymous Coward · · Score: 0

      The MIT recruiting video sent to my high school might have convinced you.

      A pair of serious undergrads, one male and one female, are working in a lab. The glassware is very impressive and filled with bubbling food coloring or whatnot. The lights are low to draw attention to the Science. Then the two look at each other knowingly, sweep the contents of a benchtop onto the floor and start making out atop it to the wail of an electric guitar.

      Yes, this is the biggest change I've noted when going back to MIT for reunions. When I was an undergrad in the 1970's the M:F ratio varied from 95:5 to 90:10. If a similar recruiting video had been made back then, there would have been 5 or 10 guys lining up along the lab bench and the gal could take her pick(s). The gal across the hall in my dorm chose MIT for just this reason.....

    7. Re:Females?! by Anonymous Coward · · Score: 0

      So? What's your point exactly?

    8. Re:Females?! by maxbash · · Score: 1

      You cannot divide the cake by zero, so the cake would remain. You could argue that my solution tries makes divide by zero equal to a divide by 1, but not so. I can illustrate the difference. If a Baker sells you cake with the requirement that you must divide it, if you divide by one you will get the cake, if you try to divide by zero the cake will remain Baker and the sale will be voided.

    9. Re:Females?! by Anonymous Coward · · Score: 0

      Didn't you see the tee shirt? (E/c^2)(-1^1/2)(PV/nR) == miT

  7. 403 Forbidden by noidentity · · Score: 5, Funny

    I guess the webserver also is running on an all-analog server, which is now in a "halt and catch fire" state.

    1. Re:403 Forbidden by PatPending · · Score: 4, Funny

      Likely due to a SEGFAULT.

      --
      What one fool can do, another can. (Ancient Simian Proverb)
    2. Re:403 Forbidden by cosm · · Score: 1

      Or perhaps fell off a cliff.

      --
      'We are trying to prove ourselves wrong as quickly as possible, because only in that way can we find progress.' RPF
    3. Re:403 Forbidden by ColaMan · · Score: 1

      Very hard to say that it is definitely on fire however. It's just somewhere towards the far right hand side of the "Working <-----> Halted, on fire" continuum.

      --

      You are in a twisty maze of processor lines, all alike.
      There is a lot of hype here.
    4. Re:403 Forbidden by PatPending · · Score: 1
      --
      What one fool can do, another can. (Ancient Simian Proverb)
    5. Re:403 Forbidden by cosm · · Score: 1

      So it's running Windows ME?

      --
      'We are trying to prove ourselves wrong as quickly as possible, because only in that way can we find progress.' RPF
    6. Re:403 Forbidden by Anonymous Coward · · Score: 0

      This comment gets my "first LOL of the day" award!

  8. My thoughts exactly by betterunixthanunix · · Score: 4, Insightful

    Why is it amazing that an analog control system works?

    --
    Palm trees and 8
    1. Re:My thoughts exactly by 0100010001010011 · · Score: 4, Informative

      Kids these days couldn't imagine trying to implement a PID controller without a microprocessor. It does make it easy to watch what is going on.

      Watching large governors work is pretty cool. No electronics to speak of. Just a properly tuned set of weights and some geometry.

    2. Re:My thoughts exactly by seanadams.com · · Score: 3, Insightful

      It's not amazing but it's certainly harder. Probably higher part count, more electrical noise to deal with, harder to debug, harder to implement delays and state machines, more wiring etc. It's just impractical for most purposes.

    3. Re:My thoughts exactly by prefec2 · · Score: 1

      Because such scooters have been developed or to be more precise people tried to invent them before the all digital segway. And they failed. So it is amazing that they were able to do it. It is a little bit an anachronism, because today you try to do all controlling digital. Analog is not precise enough (people think).

    4. Re:My thoughts exactly by Jarik+C-Bol · · Score: 3, Interesting

      Actually, they are pretty awesome even at a small scale. I took a small engines class once, where we each where given a lawn mower engine to tear down and rebuild. Lawn mowers have governors in them (dinky little plastic ones usually) butI swear, we spent several hours playing with them once we got down that far into the engines.

      --
      I've decided to Diversify my Holdings. I've divided my cash between my left and right pockets, instead of all in one.
    5. Re:My thoughts exactly by robot256 · · Score: 4, Interesting

      Analog is not precise enough (people think).

      Speaking as a controls engineer, they have obviously not done much digital controls. You have to worry about things like sampling rate, aliasing, round-off error, and digital noise introduced into the (inescapably) analog parts of the circuit. For a simple system, a properly-designed analog controller is much easier to implement, and has advantages like "infinite" sampling rate, graceful failure modes, white (gaussian) noise as opposed to odd frequencies introduced by sampling and clock frequencies, and no programming bugs or crashes.

      Analog controllers for simple linear systems (like telescope mirrors) are in virtually every spacecraft ever launched for precisely those reasons. Only recently has the push for miniaturization driven some simple systems into digital FPGA controllers.

    6. Re:My thoughts exactly by kanto · · Score: 1

      He probably "cheated" and designed the whole damn thing on a computer. Anyway, the reason you can't really do stuff like this on an analog system is imo that you'd had to hit a sweet spot with all you're calculations and all the hardware would actually have to do what it was supposed to do; even then the system wouldn't have been able to do proper error checking and recovery if some component went haywire. Yes, he did it with an analog system, but alas it's really of no consequence.

    7. Re:My thoughts exactly by drolli · · Score: 1

      Because people are arrogant. They always believe that every generation before them was in the dark ages. Soon they will believe that having no internet was equivalent to living uninformed in a dictatorship.

    8. Re:My thoughts exactly by MightyYar · · Score: 1

      That's partly true... I mean, we aren't really seeing limits where analog loses points. Like, they need to filter that noise out, which will require more than just reprogramming the DSP. What kind of safety limits does it have built-in? Does it change behavior when it heats up or cools down? Do you have to use trim pots every time you go to use it?

      --
      W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
    9. Re:My thoughts exactly by Walt+Dismal · · Score: 1

      Mr. F. Flintstone of Bedrock writes: "When I was a kid, all we had to make PID controllers with were rocks, mud, and sticks, and we LIKED it! (Although the op amp bandwidth was bad. I mean, really bad.)"

    10. Re:My thoughts exactly by seanadams.com · · Score: 1

      Troll? Wow. I was just explaining for the benefit of non-EEs why it isn't usually done this way since the advent of inexpensive microcontrollers. This is hardly controversial.

    11. Re:My thoughts exactly by FrameRotBlues · · Score: 1

      I think I would've given you modpoints if I had any. I was thinking along the same lines you were, though I don't know if I'd agree that it would necessarily be impractical.

    12. Re:My thoughts exactly by Jane+Q.+Public · · Score: 1

      Yes, but ultimately this particular project is still probably pointless. He won't do better than the Segway already does. The best he could hope for would be to do the same, cheaper.

      THAT is a worthwhile goal. Price is the only thing that has kept the Segway back.

    13. Re:My thoughts exactly by udippel · · Score: 4, Interesting

      And I have mod points, but don't give you any. 'Troll' is awfully harsh, I agree. I'd rather give you some 'un-informed'.
      The higher part count is surely on the side of the digital controller. Just look at the diagrams offered: analog means direct processing of signals, no A/D. Just some op-amps, pwm, done.
      Harder to debug? Nonsense. You debug with a voltmeter instead of a logic analyzer.
      You are right with respect to advanced controlling, though, like counting, timing, delays. But none is needed here, some filters are just enough, and filters are implemented easier with some RCs around an op-amp. Also, you need a bridge. A bridge is much more simple if build in an analog manner. So your 'just impractical' is a good reason to not give you any mod points. It might be your opinion, and you sure may have one, but to me, an EE with some experience in developing controllers, it doesn't hold water in the case of a gyroscope.

    14. Re:My thoughts exactly by udippel · · Score: 1

      Have you looked at the circuit diagrams?
      What do you mean with proper error checking and recovery in this context? You think a digital controller would not make the thing fall over when the gyroscope fails? Are you sure you know what you are talking about here, or just reproducing what you heard in 101 of digital controllers?

    15. Re:My thoughts exactly by Jane+Q.+Public · · Score: 2

      Yes, but the problem is: this ain't it.

      His motor driver chips for example (International Rectifier IRS21184), take standard CMOS digital input signals. Digital input, or digital-compatible input, makes no difference. Somewhere along the line you still need to do what amounts to A-D Conversion. Which brings back most of the problems you mentioned.

      Unless I misunderstood, and from the spec sheet I don't think so (the schematic shows Schmitt-trigger inputs, which convert analog input to square wave with hysteresis), then no matter what he says, this is an analog-digital hybrid system, not "pure analog" at all.

    16. Re:My thoughts exactly by Jane+Q.+Public · · Score: 1

      Pardon: that number was IRS21844. Just a keyboard slip.

    17. Re:My thoughts exactly by Jane+Q.+Public · · Score: 1

      "Because people are arrogant. They always believe that every generation before them was in the dark ages. Soon they will believe that having no internet was equivalent to living uninformed in a dictatorship."

      Exactly. As opposed to living misinformed in a dictatorship.

    18. Re:My thoughts exactly by Arlet · · Score: 2

      The higher part count is surely on the side of the digital controller. Just look at the diagrams offered: analog means direct processing of signals, no A/D. Just some op-amps, pwm, done.

      How does adding some op-amps and discrete PWM reduce part count ? Have you counted all the resistors and capacitors for the filtering ?

      With a digital controller, you can implement the A/D, filtering, control loops, and the motor PWM all inside the same device. You can even avoid some of the A/D stuff by using a accelerometers and gyroscopes with a digital interface.

      and filters are implemented easier with some RCs around an op-amp

      An RC filter can be implemented in a single line of code on a controller.

    19. Re:My thoughts exactly by tibit · · Score: 1

      Not a realistic one, though. IOW: tell that to people who code Spice-like modelling software :)

      --
      A successful API design takes a mixture of software design and pedagogy.
    20. Re:My thoughts exactly by Arlet · · Score: 1

      I'd add a second (or even third) gyroscope and accelerometer, and have the controller compare the inputs. If they are too far apart, the controller goes into "failure mode" where it will cut power to the motor. When they are consistent, you can average the values for lower noise.

      Even on the existing design, you can compare the gyroscope and accelerometer.

    21. Re:My thoughts exactly by Arlet · · Score: 1

      True, you can't model a realistic RC filter in one line of code, but you can model a perfect one, which is exactly what you'd want in this case.

    22. Re:My thoughts exactly by Anonymous Coward · · Score: 1

      What makes the Segway possible isn't its digital control system (that's fairly trivial), it's the sensors. The reason that such scooters didn't exist before is that the consumer-grade accelerometers were not available. Of course inertial guidance systems have existed since WWII, but they were way too expensive and bulky to put in a scooter.

      You'll notice that devices containing miniature accelerometers all started appearing around the same time: HD drop sensors (2003), Wii controllers (2006), iPhones (2007), and of course the Segway (2001).

      Other reasons that balancing scooters weren't around is that the battery and motor technology wasn't quite up to snuff. You can't sell a motorized scooter that is too heavy, doesn't go fast enough, or doesn't have enough range. Hybrid cars also started appearing at around the same time, too.

      The fact of the matter is that once you realize right around 2000 that you can make a balancing scooter, the first thing you think of is using a digital control system. Since a digital control makes it easy to add anti-theft systems, variable speed limits (different keys have different max speeds), and battery charge logic, you would never consider using a purely analog system.

      dom

    23. Re:My thoughts exactly by Prune · · Score: 2

      I built an analog PID temperature controller for my espresso machine (as every coffee geek knows, grouphead temperature variation over about a degree C during the ~25 s extraction noticeably affects the taste). It's one of the rare cases I use opamps. The analog part of all my audio projects always uses transistors or tubes, as chip amps have the problem of thermal variation in the latter stages affecting the input stages which are in the same thermal package. This doesn't show up in a steady signal harmonic distortion measurement but there are specific tests for it. Plus, you can't really experiment with new topologies when you use an IC. Anyway, as a software developer in my day job, I find it a great thing to do analog in my hobby, as it adds a sort of Zen balance. I do now some digital in audio as well, but more out of necessity due to my dissatisfaction with the performance of current digital-analog converters. There is an interesting interplay between the two, though, as well as between electronics in general and the neuropsychology of human hearing which makes perception of distortion poorly correlated with typical engineering metrics such as THD in blind listening tests. 2nd harmonic is inaudible to as much as 1% for most people, for example, while some higher than 3rd harmonics and other distortions suchas crossover (class B or AB amps) and amplitude-to-frequency modulation effects which though tiny occur in many amplifiers, are audible at as little as several ppm (a healthy ear has a 120 dB dynamic range)

      --
      "Politicians and diapers must be changed often, and for the same reason."
    24. Re:My thoughts exactly by Khyber · · Score: 1

      I wonder which would last longer? The one with microprocessors or the analog one?

      Price might not be the ultimate deciding factor if it could be demonstrated to last significantly longer than the Segway, which would make an equivalent price point seem more attractive.

      --
      Still waiting on Serviscope_minor to wake up to fucking reality and realize that Jessica Price isn't going to fuck him.
    25. Re:My thoughts exactly by pnewhook · · Score: 1

      Passive components have always been shown to last longer than active ones, therefore the analog controller will last longer. There's nothing much to break unless you burn it out.

      --
      Tesla was a genius. Edison however was a overrated hack who liked to torture puppies.
    26. Re:My thoughts exactly by pnewhook · · Score: 1

      It's not harder if you know electronics. A PID op amp needs only 4 op amps, 9 resistors and 2 capacitors. No need to debug, no electrical noise to worry about no need for state machines and no need for a delay (why would you even want a delay in a PID controller?) Building a microcontroller based PID with A/D in and D/A out is actually a lot harder than that, plus you then have to program it.

      --
      Tesla was a genius. Edison however was a overrated hack who liked to torture puppies.
    27. Re:My thoughts exactly by JoeMerchant · · Score: 1

      Yeah, I did software systems at a company for a decade, then we had a problem come along that just didn't want any software in it's controller, it was much better suited to analog control - 2 variables, inherently stable mechanics, the marketing guys still wanted a flat screen display on the controller to make it "look like a $30K device."

      When you've only got one or two control loops, a microprocessor based solution is a lot more complex, costly and failure prone.

    28. Re:My thoughts exactly by JoeMerchant · · Score: 1

      Price is the only thing that has kept the Segway back.

      Not only price of the device, but also price of rethinking the infrastructure that the Segway operates in - too fast for sidewalks, too vulnerable for car lanes, and too damn annoying to integrate into bike path traffic.

    29. Re:My thoughts exactly by Arlet · · Score: 1

      It's not harder if you know electronics. A PID op amp needs only 4 op amps, 9 resistors and 2 capacitors. No need to debug

      Obviously, for someone experienced in electronics, a PID op amp circuits is easy, and needs no debugging.

      For someone experienced in microcontroller based digital control, a firmware PID control is easy too, and has no need for debugging either.

      Also, this project isn't just a simple PID controller. They also have filters, mixing of accelerometer and gyroscope data, steering, and PWM motor control.

    30. Re:My thoughts exactly by Arlet · · Score: 1

      Passive components have always been shown to last longer than active ones

      A lot of PC motherboards fail because the electrolytic caps wear out, not because the CPU dies.

    31. Re:My thoughts exactly by robot256 · · Score: 1

      Very good point. I should have RTFA.

    32. Re:My thoughts exactly by Magada · · Score: 1

      building an analog circuit that's programmable means you end up with a digital system

      Oh, really?

      --
      Something bad is coming when people are suddenly anxious to tell the truth.
    33. Re:My thoughts exactly by hitmark · · Score: 1

      sounds a bit to much like a placebo effect for my taste...

      --
      comment first, facts later. http://chem.tufts.edu/AnswersInScience/RelativityofWrong.htm
    34. Re:My thoughts exactly by camperslo · · Score: 1

      Why is it amazing that an analog control system works?

      It's not surprising that an analog system works well, but it does seem to be getting less and less common to find engineers or hobbyists that are skilled at cooking them up. Now days many young people get hooked on computers and games with fewer taking an interest in things more analog like ham radio or building their own audio amps and speaker systems.

    35. Re:My thoughts exactly by Khyber · · Score: 1

      That's likely due to using cheap electrolytes instead of solid caps.

      --
      Still waiting on Serviscope_minor to wake up to fucking reality and realize that Jessica Price isn't going to fuck him.
    36. Re:My thoughts exactly by kanto · · Score: 1

      Why would I need to look at the circuit diagrams to make a broad general statement?) Just saying it's hell of a lot easier to implement redundancy (both gyro and controller) and a system with clear cut failure/recovery procedures using digital stuff.

      Dang, didn't know I should've also taken the course 101 of analog controllers to be street credible.

    37. Re:My thoughts exactly by Anonymous Coward · · Score: 0

      The motor drive is PWM so I guess you could claim that the very last stage is pseudo-digital. The IRS21844 is "just" a half bridge driver, primary function being to drive the gates of the power transistors at the motors but it also produces the dead-band (such that both transistors do not turn on at the same time, shorting the battery and probably destroying those transistors in the process) and to shut down the outputs if the power supply rails are too low for safe operation. While I do not know for a fact how these functions are implemented inside the driver IC, I suspect much of it is analog (voltage comparators, RC time constants, etc)

      Also note that his design implements the PWM in the analog way: there is a "triangle wave generator" (an oscillator) and the output of that oscillator (a voltage) is compared to the output of the control loop integrator (another voltage) using a voltage comparator (LM311) which goes to the input of the bridge driver IC.

    38. Re:My thoughts exactly by seanadams.com · · Score: 1

      it doesn't hold water in the case of a gyroscope.

      I was speaking to professionally designed products as opposed to just a demonstration of the gyroscope principle. You sound like you have some EE experience but I wonder if you are seriously suggesting that someone would attempt an all-analog control system for such a thing. Even little remote controlled toy helicopters now use DSP for that purpose, and their part count is extremely low.

      Sure you _can_ do a gyroscope with a few op amps, but if you're actually going to make a segway-style product then you also need steering, low battery safety, tip-over safety (ie jog it back upright if you're going too fast), and so on. It also needs to be reliable and manufacturable, and with a micorcontroller-based design that is a lot easier to do because you can have self tests (factory and power-on) that sanity-check your inputs and such. And you can do all of that very easily in a $2 micro.

      I'm curious what actual products you can think of where such low-speed analog control systems are preferable to a nearly-free microcontroller. I have the habit of reverse engineering nearly every new electronic device I buy and have not seen that kind of implementation for a loooooong time.

    39. Re:My thoughts exactly by udippel · · Score: 1

      I know, on Slashdot one is supposed to not agree, ever. ;)
      What you write makes a lot of sense to me, now.
      Actually, if I wanted to build a prototype to demonstrate the feasibility, I would probably still do an analogue one. I still gobble together parts from my shelf and solder, faster than gobbling stuff together and solder and program.
      The very moment even a small series needs to be done, the use of uPs becomes a must.
      My comment was motivated by some remarks of some people in here, who seemed to imply that it couldn't be done in analog; or it would be a miracle if it worked with an analog controller.
      No, digital is not by default 'better' than analog. It cannot produce miracles. In the end the world is analog, and controlling is done easier and more precise in digital.

    40. Re:My thoughts exactly by Prune · · Score: 1

      Note where I wrote "blind listening tests". That is what placebo is there to account for. That THD does not in general correlate with perception of distortion has been published in papers in the Journal of the Audio Engineering Society, which is the audio engineering equivalent of the IEEE.

      --
      "Politicians and diapers must be changed often, and for the same reason."
    41. Re:My thoughts exactly by Anonymous Coward · · Score: 0

      I'm glad that Wikipedia found an up to date and useful picture of a governor to illustrate their article, and not one copied from the ninth edition of the Encyclopædia Britannica published in 1875.

    42. Re:My thoughts exactly by pnewhook · · Score: 1

      Yes and for those the digital solution is better. Just pointing out that it isn't so 'amazing' to have an analog controller. All of the Mercury, Apollo and Gemini controllers were analog. The guidance computer was digital on Apollo but it was pretty state of the art and had only 4k ram.

      Filters are actually far easier to design as an analog circuit than a digital one (a low pass is just one resistor and one capacitor). And there is no lag that you would get with a digital filter either.

      --
      Tesla was a genius. Edison however was a overrated hack who liked to torture puppies.
    43. Re:My thoughts exactly by tibit · · Score: 1

      Agreed, through there are some people who spend quite a bit of time replicating all the imperfections -- say in the Arturia MiniMoog emulator :)

      --
      A successful API design takes a mixture of software design and pedagogy.
    44. Re:My thoughts exactly by Bakkster · · Score: 1

      You mean analog/digital, not passive/active. An op-amp is just as much an active component as a microcontroller.

      --
      Write your representatives! Repeal the 2nd Law of Thermodynamics!
    45. Re:My thoughts exactly by pnewhook · · Score: 1

      Yes sorry. More correctly I was thinking programmable / fixed, but analog digital is ok for this discussion too.

      --
      Tesla was a genius. Edison however was a overrated hack who liked to torture puppies.
    46. Re:My thoughts exactly by hitmark · · Score: 1

      i was aiming at the coffee requirements, guess i should have quoted...

      --
      comment first, facts later. http://chem.tufts.edu/AnswersInScience/RelativityofWrong.htm
  9. Beautiful Effort by KaeloDest · · Score: 0

    as I understand it the sidewinder missile uses a very primitive analog seeker head. I would imagine that it's evolution is a little more than 'closed' so let's see what this different/open parallel effort leads to

    --
    --Shaddup and support your local PBS station Plan for it
  10. Interestingly... by Anonymous Coward · · Score: 0

    The original prototypes of the Segway were all-analog; eventually, for lots of reasons, it was decided digital was a better choice. (My source is... me. Yeah, I work there.)

  11. Re:Controllers were analog before they were digita by fuzzyfuzzyfungus · · Score: 1

    Arguably, it goes a lot further back than that: all that research and science on analog control was done by organisms who would be dead before they hit the ground were it not for evolved analog control/feedback systems by the thousand...

  12. Actually, not CEO. by Anonymous Coward · · Score: 1

    Owner. We didn't have a CEO; we do have a COO. Jimi was never directly involved in the dealings of Segway, per-se.

    1. Re:Actually, not CEO. by PatPending · · Score: 1, Funny

      Owner. We didn't have a CEO; we do have a COO.

      Too bad you didn't have a CSO*

      *Chief Safety Officer

      --
      What one fool can do, another can. (Ancient Simian Proverb)
    2. Re:Actually, not CEO. by camperslo · · Score: 1

      There wasn't any defect in the design or manufacture of the Segway. He had a dangerous location on his own property, an area where one could have just as easily had an accident on a bike or a skateboard. It wasn't a place for any company officer. It's sad that he died, but at least he was doing something he enjoyed. If it were me, I'd rather have gone that way than in a car wreck or hospital or from a heart attack while too fat in front of a television set.

    3. Re:Actually, not CEO. by Anonymous Coward · · Score: 0

      Parent post is informative, not troll. He was actually the owner, not an officer. He bought the company without being involved in the creation or operation.

      http://www.telegraph.co.uk/news/uknews/8027301/Segway-company-owner-dies-riding-two-wheeled-machine-off-cliff.html

  13. Addition http error code, instead of 403 forbidden by jobst · · Score: 1

    I think slashdot needs to apply for a new http error code at w3, something like:

        601 slashdotted fault, no server response
        602 slashdotted slow, some server response
        603 slashdotted dead, fallen over

    --
    to code or not to code, that is the question.
  14. I would like to join the chorus by The+Master+Control+P · · Score: 1

    Asking how it is "remarkable" that an analog device works as intended. Digital, applied to physical systems, is just emulated analog (necessarily so because, of course, the world is analog).

    1. Re:I would like to join the chorus by Jane+Q.+Public · · Score: 3, Informative

      Heisenberg and Planck might disagree with you on that.

    2. Re:I would like to join the chorus by Prune · · Score: 1

      The holographic principle and the Bekenstein bound show the opposite is the case and the world, including any analog quantity or signal, does not have arbitrary precision. The Planck scale means that spacetime itself is not infinitely differentiable. Your satatement has been knowably wrong since QM was discovered.

      --
      "Politicians and diapers must be changed often, and for the same reason."
  15. The best part... by farnsaw · · Score: 2

    The best part is the shopping cart in the lab holding a jumble of electronics.

    --
    "Computer Scientists can count to 1024 on their fingers" (non-mutant, non-mutilatated, human computer scientists)
    1. Re:The best part... by Anonymous Coward · · Score: 0

      Didn't you notice any of the females? Oh, wait, this is /.

    2. Re:The best part... by PatPending · · Score: 1

      The best part is the shopping cart in the lab holding a jumble of electronics.

      I'm an unemployed, homeless software engineer, and those are my worldly possessions, you insensitive clod!

      --
      What one fool can do, another can. (Ancient Simian Proverb)
    3. Re:The best part... by Chris+Tucker · · Score: 2
      --
      Guaranteed! This comment 100% Anthrax free!
    4. Re:The best part... by Anonymous Coward · · Score: 0

      And not a DJ Roomba among them. How sad.

  16. Re:Controllers were analog before they were digita by pz · · Score: 0

    Digital controllers -emulate- analog behavior (at least many of them do). There's a pantload of research and science behind analog control.

    At MIT, if you take 18.03 (differential equations), you see an example of a PID controller to balance a broomstick (inverted pendulum) --- in analog -- which, with not too much generalization, becomes a Segway. It doesn't surprise me in the least that this guy is at MIT.

    --

    Put my fist through my alarm clock with its ding-dong death inside my ear. - The Blackjacks.
  17. Re:Controllers were analog before they were digita by Anonymous Coward · · Score: 0

    For whatever it is worth, my intro controls course lab (in 2006) was taught using an analog computer:
    http://www.comdyna.com/gp6intro.htm
    Additionally, we were taught the circuitry behind it.

    However, it's still cool sort of in the same way as people that launch weather balloons to take pictures of the earth--it's a fun project.

    Also, as a control geek, it was really neat looking at the analog controllers on some of the old satellites on display at the Smithsonian air and space museum.

  18. Cliff? by Das+Auge · · Score: 1

    How hard do you think it would be to create an analog version of the part that makes you drive off a cliff?

    1. Re:Cliff? by Jane+Q.+Public · · Score: 1

      His vehicle did not make him drive off a cliff, any more than if he had driven his car off a cliff.

  19. Re:Controllers were analog before they were digita by Anonymous Coward · · Score: 0

    Just about anyone who took a controls class anywhere is familiar with the inverted pendulum problem and PID controllers. That would be roughly a quarter of EEs in the US and virtually all MEs. That more people don't know about these things is an artifact of control systems not being as glamorous as it once was.

  20. The Tilting Handlebar by Deslack · · Score: 0

    Maneuvering the Segfault would be awkward due to that. It shouldn't be that hard to move the switch and make it steer like a bicycle's steering handlebar, which isn't that hard to do at all.

    But all in all, they've made the Segway-like device simpler, thus cheaper and easier to manufacture and service. We'll have stuff like this as christmas presents soon enough.

    --
    .sigs are useless; it doesn't protect you from imposters.
    1. Re:The Tilting Handlebar by Sulphur · · Score: 2

      Two MIT profs were arguing which was smarter.

      One pointed at a 14" disk drive and said "I can make that walk across the room."

      He keyed in something and after a few seeks it lurched onto two legs and walked across the room.

      The other one said "That's nothing; I can make it turn around and go back."

    2. Re:The Tilting Handlebar by Anonymous Coward · · Score: 0

      ...and I can make it Seek for stuff, and to Park.

  21. Real men do it with op-amps by djhuft · · Score: 1

    Cool, good to know people still do stuff in analog once in a while. Makes you learn those pesky things called differential equations. Of course, all the equations have already been published in about a zillion masters thesis papers... Recreating them in analog circuits just gives you EE street cred.

  22. Analog by twoears · · Score: 1

    As an audiophile I proclaim this as proof that analog is better than digital, but only when ordered with the audiophile version 48 kHz motor controllers to avoid the piercing 6 kHz whine, along with fancy hookup wire.

  23. What a difference lawyers can make by Tablizer · · Score: 1

    If you don't have to worry about lawsuits, then you can simplify much of the mechanism: no exhaustive testing, no redundant backup circuits, no fault logging, no record keeping, etc.

    However, there's nobody to sue when you inadvertently kiss the front of a moving bus.

    Next Up: DIY Apollo Landings and Darwin Awards merge.

    1. Re:What a difference lawyers can make by Anonymous Coward · · Score: 0

      Hasn't NASA already recreated that last scene? But with shuttles?

      "Hey dad, i wanna go to space!"
      "Son... oh son... " ...
      "I'm doing it, i'm doing it, i'm going to spa..."
      Woops

  24. I get it... by Arlet · · Score: 1

    Instead of spaghetti code, we now have spaghetti hardware :)

    http://www.etotheipiplusone.net/pics/seg/seg_102.jpg

    1. Re:I get it... by Anonymous Coward · · Score: 0

      That's actually a relatively clean wiring job for a prototype. Wait until you see a wirewrap board until you pull out the term "spaghetti hardware."

  25. Re:Controllers were analog before they were digita by Jane+Q.+Public · · Score: 2

    MIT?? This is kid's stuff. The only difference between your broomstick controller and a $20 DIY backyard sun-tracking sundial is that the broom balancer is 2-axis, and has to be faster. Big deal.

  26. Digital has lower part count by mangu · · Score: 1

    The higher part count is surely on the side of the digital controller

    It may look so, until you realize that all the parts in the digital controller are in a single chip.

    When I got my EE degree one of the most widely used analog chips was the 555. With an eight-pin chip plus a few capacitors and resistors one could perform a wide range of timing tasks.

    Well, it has been several years now since I last touched a 555. Today I use a 12F675 PIC instead. The same eight-pin count, but it can do anything a 555 does, plus a lot more, without any external components. A/D conversion, PWM, counters, 4 MHz clock oscillator, everything is inside that chip.

    Need a filter? I can design an elliptic IIR filter in a few seconds using Pyhton and SciPy, and implement it in a short routine in the PIC. And if those six I/O pins are not enough you can use bigger chips from the same line. The only analog parts needed is the anti-aliasing filter in the A/D input.

  27. Patent infringment? by MotorMachineMercenar · · Score: 1

    Hate to point this out, but I'd imagine this project probably infringes on multiple patents on the Segway. The fact that they use different technology isn't a solid defense.

    --
    "We have an A-Bomb...what more do you want, mermaids?" --I.I. Rabi, speaking in defense of Robert Oppenheimer
    1. Re:Patent infringment? by b1t+r0t · · Score: 1

      Well then it's a good thing that patents don't matter when bulding crazy shit like this for fun or for a class grade, ain't it?

      --

      --
      "Open source is good." - Steve Jobs
      "Open source is evil." - Microsoft
    2. Re:Patent infringment? by Anonymous Coward · · Score: 0

      Well then it's a good thing that patents don't matter when bulding crazy shit like this for fun or for a class grade, ain't it?

      Because a patent is an exclusive monopoly during its term, it does matter.

  28. Re:Controllers were analog before they were digita by xded · · Score: 1

    Good luck automatically tuning the analog loop for driver's weight, handlebar bags, quick temperature changes, etc. That's where digital systems show their flexibility.

    Still, this makes for one hell of a learning project.

  29. Re:Controllers were analog before they were digita by pz · · Score: 2

    MIT?? This is kid's stuff. The only difference between your broomstick controller and a $20 DIY backyard sun-tracking sundial is that the broom balancer is 2-axis, and has to be faster. Big deal.

    Um, no. Clearly you have not studied this problem which is a (perhaps *the*) classic PID exercise. A simple P term (proportional) will fail very, very quickly. Add the D term (differential) and you get stability, but drift. Finally, add the I term (integral) and you eliminate the drift and turn the meta-stable system into a stable one. If you want stability to external perturbation, or generalization to a broad range of loads, then you need more analysis and more terms.

    Designing one of those from scratch, based only on the mathematical modeling, and building it from individual components, while worthy of no more than an undergraduate exercise at MIT, is non-trivial. Designing a full Segway-like system is a generalization of this problem and also non-trivial.

    If you think it's so easy, then please build one yourself -- demonstrating all of the calculations -- and post the video.

    --

    Put my fist through my alarm clock with its ding-dong death inside my ear. - The Blackjacks.
  30. Old school dork by ukemike · · Score: 1

    Now there is a way for you to look like a complete dork with an analog controller instead of a digital microprocessor!

    --
    -- QED
  31. Analog vs Digital by NonSenseAgency · · Score: 1

    Truly this isnt very surprising. Analog computing has been around a lot longer than digital and for certain things is far superior (read faster). Forcing things into a digital mold just "because" is a terrible mistake. Certain pieces of military hardware that I used to work with were analog and probably still are, it gives a "good enough" answer and does it orders of magnitude faster than equivalent digital devices.

  32. Re:Addition http error code, instead of 403 forbid by gnapster · · Score: 1

    Maybe the server could handle the traffic, but 403 is their host's way of dealing with going over a periodic bandwidth limit.

    As to your proposal, it seems like they are out of order. Shouldn't it be: some response, no response, slashdotters let out the magic smoke?

  33. geek lust! by Master+Obi-Jon · · Score: 1

    Well, while all the analysis from you lovely ppl is fascinating and a bit over my head, i confess - i DO know this is one cool project... and if i could build/have one i would be a happy geek!!

  34. Re:Controllers were analog before they were digita by Jane+Q.+Public · · Score: 1

    On the contrary: as long as you have sufficient negative feedback, you can have a stable system without all your glorified analysis. The trick is to have sufficient and accurate negative feedback.

    Systems have been made this way successfully for decades, and still are.

    Guidance systems, for example, and even control systems for heat-seeking missiles (which have to be accurate and fast). These have been made successfully for many years without your precious PID. While your example might be one of an ideal system, simpler systems provably work for the kind of task under discussion.

  35. Re:Controllers were analog before they were digita by pz · · Score: 1

    Wow. All I can say is, please do not design any airplanes, power distribution, or life-critical systems. You clearly are far from qualified with that level of understanding of system stability and how it is affected with feedback. Seriously, don't.

    PID systems are used everywhere. Even in guidance systems (if you recall, the first cruise missiles had a problem with long-term error accumulation because they didn't have an integral term in the control system). Now not every system needs all three P, I, D terms; it depends on where the system poles are. And, it turns out, that with an inverted pendulum, the inherently metastable system cannot be made strictly stable with just a P term. Ever designed a feedback network around an op-amp with a capacitor? That would be a D term. Ever used a chopper-stabilized op-amp to eliminate offset? That would be a non-linear approach to an I term.

    If you insist otherwise, then, please, show us your incredible design that can handle the inverted pendulum system with only the P term. That would be purely resistive feedback, because anything reactive would embody either an I or a D term or both. Really. Post a video. I want to see it.

    --

    Put my fist through my alarm clock with its ding-dong death inside my ear. - The Blackjacks.
  36. Re:Controllers were analog before they were digita by Jane+Q.+Public · · Score: 1

    "Ever designed a feedback network around an op-amp with a capacitor?"

    That is an example of an ANALOG solution. So what's your beef?

  37. Re:Controllers were analog before they were digita by Jane+Q.+Public · · Score: 1

    More specifically: I erred in saying that it could be done "without all the analysis". What I actually meant, and my only real point, was that it could be done with analog circuitry; digital is not a requirement.

  38. Re:Controllers were analog before they were digita by Anonymous Coward · · Score: 0

    http://demonstrations.wolfram.com/InvertedPendulumControls/

    Set the derivative terms to zero and go to town.

    If you can't be assed to play around with it to find a solution that goes to equilibrium, try theta = 0.5, K_p_y= 1.8, K_d_y = 0, K_p_theta = 63, and K_d_theta = 0.

    I'm not saying this is anywhere near optimal (or robust), but it works.