Robotizing a mechanical walking frame

Hello,

I'm looking for a device that records my walking motions digitally, and can control servos to imitate my walking forces, balance etc..

You see, I've got this 'mechanical spring-loaded bipedal walking frame' that assists in the walking motion (google search "spring walker" to understand what I mean), and what I want to do with it is turn it into a autonomous walking robot.

I've been thinking that if I attached servos and a computer (brain) to it to record my walking motions, then I can get it to walk on its own...without me strapped into it, that is. But I need advice on what kind of servos (make, model) to use that's powerful enough to move the walking frame. And, also what kind of device or program would allow me to record and save my actions in such a manner that I don't have to keep sorting out the data to tell the computer "when this, do this, etc (if p then q)? Presumably there's a device out there that would do all this for me, and not too expensive?

I figured I could utilize the info gained by IR sensors taped to the frame to help with the decision making of what king of motion to do at a given situation (i.e. that it doesn't try to clime a hill when walking on the road, or walking when it's suppost to clime, etc.) Can you advise on what IR sensors are good for this particular job?

I don't know the scale of this kind of project, or if it's too difficult to do without expert roboticists on hand, but I'd like to try anyway.

Thanks very much, hope you guys can help.


This is a companion discussion topic for the original entry at https://community.robotshop.com/robots/show/robotizing-a-mechanical-walking-frame

Sceptical
Hmmm… My first concern is that something blindly copying your movements wouldn’t balance.

you should post a video of
you should post a video of it in action - its hard to tell how it all works from just a static picture. Then if you could get BOA to try it … that way we can see how "simple" it really is - (should make an awesome video too) ;DD

robot walking frame
Yeah, balance is gonna be a major problem to overcome, especially on two legs. I’m not too keen on using big feet to produce better stability, but I was thinking of using some sort of gyro to enable ‘centre of gravity’ finding with a built-in sensor…but where can I get the right gyro-sensor unit?<o:p></o:p><o:p> </o:p>For a video of the spring walker in action see: http://www.springwalker.com/SpringWalker.mpg<o:p></o:p>

 

Yes, but…
What I mean is if you build in ANY sort of PID or sense-and-react system the result will not be a copy of your movements.

copying movement
I figured copying my walking would be a better way to teach a robot to walk than having to go through artificial codes. Can a PID be tuned to take into account my walking motion and use that as its user-defined parameter? just wondering what’s the cheapest, fastest, best way?<o:p></o:p>

Less complex walker/jumper?

Check these out :

Power Riser Freestyle

 

some mechanicals

Oh yeah, they’re a
Oh yeah, they’re a variation on the “bionic boot”.<o:p></o:p>Trouble is I’d have to construct legs and hips with joints & everything if I wana get them to walk on their own!<o:p></o:p>

Chaos

Well, yes but. Think about it the other way: How would YOU balance. If your robot is copying you, walking along beside you or whatever and you miss a step or trip on the sidewalk. You make moves to correct your own balance, which will probably CAUSE your robot to fall over, because it “thinks” it should be copying you.

Your respective environmanets would need to be identical. If you walk on a stone, with your right foot, your left foot starts to rise sooner than expected. If there is no stone under the robot’s right foot, it’ll try to lift the left too soon and fall over.

I suppose you might consider an high level of abstraction, where your movement translates to “he’s walking” or “he’s running” or “he’s turning”. Then you could program the robot to “walk” or “run” or “turn” as applicable.

…but then you’re into artificial codes…

Strength and redesign?

This sounds like a pretty involved project. There’s a biped robot website at Xrobots that shows a number of simple, cheap as possible, robots that could simulate walking, not sure about jumping. The early designs (Android 7 and under) use surplus windshield wiper motors to have enough torque to move. These you’d need to apply your own drivers to, as well as developing the program for the micros needed.

About recording your motions, you could either rig a “leg jig” or use a webcam. The leg jig would have potentiometers or some other displacement reading device at each joint, then the outputs could be sent to a micro, that could stream the data into a PC. The webcam(s) could record data from special color markers placed at joints, to record data in a simlar manner. I believe that some of the bipeds, like Asimo, have been based on pre-recorded data like you are considering, but they also rely on sensor data to use control algorithms (like PID) to “adjust” these pre-recorded motions to the current floor conditions.

At any rate, quite a project. I don’t know of any premade system that will help record or play back motion in this manner. Oh, regarding sensors, might be better to go the sonar route, for greater distance. It’s ok for a robot that is breadbox sized to see only 30" ( 80 cm) to 60" (160 cm) in front with IR, but a people sized robot would benefit with a little more warning.

high level of abstraction guaranteed
Yeah, I was thinking a high level of abstraction is needed regarding translating my movements into “when this, do this” scenarios that are sufficiently removed from the particular, but not that removed as to render the robot incapable of recognising the situation altogether (such as, when there’s a hill, it knows it’s a hill regardless of how steep it is). Erm…this is looking more and more like a lot of code-work, and I think, goes away from my original project intention (i.e. to turn a walking frame into a robot, and teach it to walk using raw data gleaned from my ‘acts of motion’ when I walk, and apply that data to similar situations, so it (the robot) can walk on its own). <o:p></o:p><o:p> </o:p>

I’m trying to figure out a short-cut to doing this…I figured if I have the mechanical walking legs, all I’d have to do is 1) strategically attach servos to the joints to give it enough power to move on its own. Then, having recorded my movements as pre-programmes in a reader/processor (something like the reader from a motion-control rig for a camera) I’d 2) get the processor to control the servos to ‘enact’ my movements at the right time (i.e. when on a road, walk on the road, etc,.) I’m sure a device is already on the market that does all this. However, I might need recognition software (which is another thing altogether and probably very pricey).

http://www.societyofrobots.co

http://www.societyofrobots.com/programming_computer_vision_tutorial.shtml

Very useful site.

paper on bipedal walking bots
Eric D. Vaughan, Ezequiel Di Paolo, and Inman R. Harvey at the Centre for Computational Neuroscience and Robotics, <st1:place w:st=“on”><st1:placetype w:st=“on”>University</st1:placetype> of <st1:placename w:st=“on”>Sussex</st1:placename></st1:place>, have published a great paper titled “The Evolution of Control and Adaptation in a 3D Powered Passive Dynamic Walker”.<o:p></o:p>Although the title sounds imposing, the paper walks (no pun intended) you through all the modelling and design challenges involved with designing a bipedal robot capable of walking just like a human being!<o:p></o:p>

I haven’t started reading it yet but it looks tasty!

see:http://www.informatics.sussex.ac.uk/users/ezequiel/evaughan_alife9.pdf<o:p></o:p>

 

A servo might be a little
A servo might be a little underpowered, you might find better strength in stepper motors. A IR encoder could also be used with the stepper motor to provide input and stepper motors ‘lock’ when not told to do something.

Stepper of DC motor dilemma

Thanks for that Krowbar!

<o:p></o:p> Erm,…I’ve read somewhere stepper motors do not generate much torque, and as a result, slipping can occur (i.e. where the motor turns when no pulses are given or the motor fails to turn in response to the pulses). Also, that the control electronics are somewhat more complicated. And, in practice stepper motors are a good choice for precise, low torque motions, since they eliminate the need for feedback control.<o:p></o:p><o:p> </o:p>I was thinking, therefore, maybe a permanent magnet brushed DC gearhead motor would be better than a stepper motor, since the advantages of DC motors include: simple to drive, cheap, and relatively high power-to-weight ratio. A disadvantage is that I’d need a sensor, such as an encoder or tachometer, to keep track of the position or velocity of the motor.<o:p></o:p> <o:p></o:p>With a stepper motor, on the other hand, we can simply send a series of pulses to the motor, and it will rotate an angle proportional to the number of pulses. In theory, if we know how many pulses have been sent, we know where the motor is, and we know the velocity of the motor is proportional to the pulse frequency.<o:p></o:p><o:p> </o:p>Oh no, this is a dilemma! Can anybody give more info & advice on this please?<o:p></o:p>

Money vs Torque

My experience is that the amount of money you spend on a motor/gearbox is directly proportional to torque it produces. I don’t think there’s such a relationship between steppers and servos. For your frame either would need a big gearbox.

NB - unusually, that paper is writen in a nice, easy to understand format. There are plenty of pictures, too.

IR vs Sonar
Hey thanks for the advice! I’ve been looking on the internet for info on IR and Sonar ranges, specs etc., in order to compare them. Have you got any info you could share regarding these (and maybe prices if you know of sellers)? Thanks very much. J<o:p></o:p>

Another thread here, Sonar vs IR

Check the thread here :

https://www.robotshop.com/letsmakerobots/node/1481#comment-4396

Sharp IR sensors run from $9 to $15 from various vendors.

The Maxbotix sonars as well as a few of the Devantechs are around $25, the Senscomps around $50 I think.

really good site
I’ve only just finished reading that tutorial. It’s really good. Thanks for the link.<o:p></o:p>

3D version

I’ve been thinking about scanning the walking frame to 3D (virtual) so that I can manipulate it easier. What I mean by this is; if it’s in virtual, I can animate it and experiment with different motor strengths to weight (of the frame) ratio, change the lengths of leg, tension of springs, or even change the materials from metal to plastic (or even wood)! It might save time with all the physical experimentation and it may stop any physical damage coming to the frame, if I goof-up the work.

It’s just a thought, but any suggestions on this? Anybody have experience regarding 3D scanning and animation tools? Do you know of anywhere that can provide 3D scanning or reverse engineering? Thanks very much :slight_smile: