A self-balancing robot

I’m not so sure

Actually, I’ve been giving some thought to Professor Frits’ wild outburst. Raising the battery will give you more time to correct a fall. I know it’s counter-intuitive, but it stands a fighting chance of working.

Have you given any though to how you can get it to move around? My feeling was that you have to allow it to fall a little, but not quite catch up. This means if you want it to go one way and it doesn’t want to fall that way, you have to force it to drive the “wrong” way to cause it to start to fall.

Getting it to drive down a slope will be lots of fun to code!!

Ok, maybe i’ll give it a try

Ok, maybe i’ll give it a try raising the battery.

To move it around, i concluded that the best thing is to just change the value for “straight up”. That is: to make it stable, the program tries to keep the robot angle to 0°, correcting as needed. If you force it to keep the robot angle to say 2°, it will keep that angle, and the only way is to have a fixed speed forward. I haven’t tested it but i’m almost sure it will work.

I think that, once the robot is as stable as i want it, slopes should pose no problems. If the robot is straight up, it shouldn’t fall becouse of the slope, and the wheels should just keep it on the same spot…

I think that all you wrote
I think that all you wrote on Tue, 2008-09-30 08:56 was written at a time where your gods was with you. I agree 100%.

higher mass (battery)

Did any of you consider doing the broomstick experiment before making suggestions about battery placement? Even as a thought experiment. I did. The longer the broomstick, the more time I have to correct the angle.

As an aside: Nicola, try to get a feel for your controller’s job. Do it yourself. Pick up your bot by the wheels en try to balance it yourself. As if it were a broomstick. That way you will be able to tell if raising the CoM (Center of Mass) will make it easier or harder.

Do the Math
You could do the math. But that would be too sciency. Trial and Error / Luck and Flaw are the new laws of robotics.

too sciencey indeed
for 11ish percent of LMR anyway

Precision
That’s VERY precise. I’d be interested to see your LMR Science-ish list.

hophop
hopping to http://node/2016 and taking test now…

you’re famous!

you’re famous!

 

-on the internets…

http://www.hacknmod.com/hack/build-a-self-balancing-segway-like-robot/

/ vzz-clck-“Maneuver”

ahah that great! I’m famous!

ahah that great! I’m famous! :slight_smile:

lol, is that site famous?

anyway, if anyone is interested, i now exchange autographs for robotic components :slight_smile:

 

Congratulations for your

Congratulations for your robot. It is impressive.

I’ve been using the same engine controller for a robot very
similar. After a few months I have managed to become operational. I still have to improve a lot.

I leave a link so you can see my robot.

http://www.youtube.com/watch?v=uzOAsiFep3c


(Sorry for my English, it is not too good)

Ehy, that’s really very

Ehy, that’s really very similar to my design :slight_smile: it looks even more stable

Is there a page about your project with more details and info? i’ll be happy to see how you implemented it. If not, you could consider adding your robot it to this site, i’m sure others will be happy as well.

How did you find the emg30 motors?

Hello At this point I do

Hello

At this point I do not have web page about my project. If I can try to add to this site.

About emg30 engines, I bought it in spain.
http://www.msebilbao.com/tienda/product_info.php?cPath=53_102&products_id=373
Also I have seen here …
http://www.superrobotica.com/S330100.htm

IC

Its really amazing, i also want to make one same as urs.

may i know what controller and IC chips u r using? it need to programme or not, wat software use to programe? MAtlab 7.5?

Ciao Nicola
Hi Nicola, great bot!!! If you prefer, fantastico robot!!!

Similar robot, but self balancing on a rolling cylinder instead.

Hi there, i’m looking to build a similar robot but rather than balancing on a flat surface, i’m looking to make it balance on a rolling cylinder.

If you were me, how would you do it differently to achieve such objective?

Thanks in advance for any advices.

Can you post the code for

Can you post the code for the best one you got?

Height of battery

There’s a closed form solution for this, 

http://en.wikipedia.org/wiki/Inverted_pendulum

And it shows that the lower your weight is located, the lower accelerations your need to get it back balanced (most of the time)