Go to Post "He who seeks originality will often find novelty, but not great design." - IKE [more]
Home
Go Back   Chief Delphi > Technical > Robotics Education and Curriculum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 16-04-2009, 23:28
Molten's Avatar
Molten Molten is offline
Registered User
AKA: Jason
FRC #1766 (Temper Metal)
Team Role: Mentor
 
Join Date: Dec 2006
Rookie Year: 2006
Location: Indiana
Posts: 2,289
Molten has a reputation beyond reputeMolten has a reputation beyond reputeMolten has a reputation beyond reputeMolten has a reputation beyond reputeMolten has a reputation beyond reputeMolten has a reputation beyond reputeMolten has a reputation beyond reputeMolten has a reputation beyond reputeMolten has a reputation beyond reputeMolten has a reputation beyond reputeMolten has a reputation beyond repute
Re: very urgent help needed regarding algorithm for self balancing of two wheeled rob

Ok, a quick glance of this makes me think that you need more sensors. Below is a link talking about the segway. It says that there are 5 oscilloscopes in it. I'm no expert, but I think if they could have made it with less, they would have. Just curious, what do you need this for? It sounds kind of cool.

http://www.iit.edu/~ipro340f03/hsw.htm

A last second thought. How are you planning on balancing it when it is off center? Moving a weight or changing wheel speed? I would think that the first could be done a bit easier then the second. Though that really depends on the application.
__________________
"Curiosity. Not good for cats, great for scientists."- Numb3rs

"They can break your cookie, but... you'll always have your fortune."-T.W. Turtle, Cats Don't Dance

"Tell my tale to those who ask. Tell it truly - the ill deeds along with the good, and let me be judged accordingly. The rest... is silence."-Dinobot, Beast Wars

"Though the first step is the hardest and the last step ends the quest, the long steps in between are certainly the best."
–Gruffi Gummi, Disney's Adventures of the Gummi Bears
  #2   Spotlight this post!  
Unread 17-04-2009, 00:29
param_vlsi param_vlsi is offline
Registered User
no team
 
Join Date: Apr 2009
Location: chennai
Posts: 2
param_vlsi is an unknown quantity at this point
Re: very urgent help needed regarding algorithm for self balancing of two wheeled rob

I heard that we can balance only with one accelerometer.I am going to balance with controlling the speed of motors.
if you know any algorithm for this let me know
  #3   Spotlight this post!  
Unread 17-04-2009, 03:08
Molten's Avatar
Molten Molten is offline
Registered User
AKA: Jason
FRC #1766 (Temper Metal)
Team Role: Mentor
 
Join Date: Dec 2006
Rookie Year: 2006
Location: Indiana
Posts: 2,289
Molten has a reputation beyond reputeMolten has a reputation beyond reputeMolten has a reputation beyond reputeMolten has a reputation beyond reputeMolten has a reputation beyond reputeMolten has a reputation beyond reputeMolten has a reputation beyond reputeMolten has a reputation beyond reputeMolten has a reputation beyond reputeMolten has a reputation beyond reputeMolten has a reputation beyond repute
Re: very urgent help needed regarding algorithm for self balancing of two wheeled rob

From what I know about dynamics here is a picture of what is happening.


....................................._____________
.....................................\............ .............\
......................................\........... ...............\
.......................................\.......... ..C............\
........................................\......... ....---..........\
.........................................\.......--.......--.........\
......................<---------- ...\__.|....O.....|_____\
.................................................. --......--
.................................................. ....---


Ok, so basically. The C is the center of mass, O is the center of the axle, and U is the distance between C and O. There is a moment created by gravity anytime that C isn't directly over O. The accelerometer provides you with an angle that can be used with geometry to find the displacement in the horizontal plane. The formula for the moment created is mass*gravity*displacement. Now, you have the amount of torque that needs to be corrected against. The way you plan on fixing this is by adding another moment in the opposite direction created by the movement of the axle. The only way this will work well is if the axle supports the frame with bearings so that the actual turning does not create a torque about the axle. All you want is a push along the arrow marked above. Now, the way to calculate this moment is to use the angle found by the accelerometer and geometry to find the vertical displacement between the axle and the C. This moment is going to be displacement*pushing force. The pushing force is going to be mass*gravity*mu*pi*diameter of wheel*rpm. The rpm may take a sensor of sorts.(not sure on that part) So, in essence:

mass*gravity*mu*pi*U*sin(90-N)*diameter of wheel*rpm=mass*gravity*U*cos(90-N)
I go ahead and cancel the mass, gravity and U. This leaves:

sin(90-N)*diameter of wheel*rpm=cos(90-N)

So, rpm=cot(90-N)/diameter of wheel.

OK, now for the disclaimer: All the math posted above was done at 3 in the morning while watching tv and being half asleep. I am not by any means confident in all of the math I did. I think that it should give you a rough estimate of what you are looking for. Anyone that can confirm or improve my work would be greatly appreciated.
__________________
"Curiosity. Not good for cats, great for scientists."- Numb3rs

"They can break your cookie, but... you'll always have your fortune."-T.W. Turtle, Cats Don't Dance

"Tell my tale to those who ask. Tell it truly - the ill deeds along with the good, and let me be judged accordingly. The rest... is silence."-Dinobot, Beast Wars

"Though the first step is the hardest and the last step ends the quest, the long steps in between are certainly the best."
–Gruffi Gummi, Disney's Adventures of the Gummi Bears
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Motor specs for self-balancing scooter dunkonu Motors 1 23-02-2008 12:05
2 wheeled balancing robot John Gutmann Technical Discussion 16 26-08-2005 14:21
Self-Balancing 2 Wheeled Robot Mike Robotics Education and Curriculum 25 02-08-2005 15:12
Self Balancing Robot in FIRST (plausible? possible? preferable?) phrontist General Forum 11 28-06-2004 10:55
Gear Help Needed- Urgent psychoCHIPMUNKK Technical Discussion 6 05-02-2004 13:44


All times are GMT -5. The time now is 17:29.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi