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."
a real one that invents and makes stuff...imagine that , quick arrest the terrorist(/sarcasm)
Best. Name. Ever. for this
What one fool can do, another can. (Ancient Simian Proverb)
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
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
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?
I guess the webserver also is running on an all-analog server, which is now in a "halt and catch fire" state.
Why is it amazing that an analog control system works?
Palm trees and 8
I guess it just couldn't stand up to all the requests.
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...
Owner. We didn't have a CEO; we do have a COO. Jimi was never directly involved in the dealings of Segway, per-se.
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.
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).
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)
How hard do you think it would be to create an analog version of the part that makes you drive off a cliff?
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.
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."
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.
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.
Table-ized A.I.
Instead of spaghetti code, we now have spaghetti hardware :)
http://www.etotheipiplusone.net/pics/seg/seg_102.jpg
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.
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.
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
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.
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.
Now there is a way for you to look like a complete dork with an analog controller instead of a digital microprocessor!
-- QED
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.
You should know!
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?
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!!
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.
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.
"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?
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.