Go to Post What are you people going to rumor mill about if we ever actually get a water game? - Kevin Sevcik [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 01-05-2005, 21:33
Mike's Avatar
Mike Mike is offline
has common ground with Matt Krass
AKA: Mike Sorrenti
FRC #0237 (Sie-H2O-Bots (See-Hoe-Bots) [T.R.I.B.E.])
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2004
Location: Watertown, CT
Posts: 1,003
Mike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond repute
Self-Balancing 2 Wheeled Robot

Since build/official competitions are over I've been working on making my own robot. Currently, the frame is done (I'll try to post pictures later, for a CAD model see bottom of the post) and I'm looking at what electronic parts I should buy. Here's my current list:

Microcontroller $85.95

6 AA Battery Holder $0.75

Solarbotics GM8 Gearmotor (2x) $12.00
Solarbotics Plastic Wheel (2x) $8.00
Shipping: $4.95

12" PWM Cables (2x) $18.94


What I need is a gyroscope, although of all the researching I've done of balancing robots people have used both gyroscopes and accelerometers. Will just a gyroscope be sufficient? Does anyone know a good/cheap gyroscope/accelerometer that I would need?

Thanks in advance.

CAD Model:
*Note: Those aren't the motors I'm using, and it's wood... not metal.*



EDIT: Whoops, this was supposed to go in Technical Discussion, any mod feel free to move it.
__________________
http://www.mikesorrenti.com/

Last edited by Mike : 01-05-2005 at 22:01.
  #2   Spotlight this post!  
Unread 01-05-2005, 23:15
colt527 colt527 is offline
Registered User
AKA: Ken Colton
FRC #0527
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Long Island
Posts: 123
colt527 is a splendid one to beholdcolt527 is a splendid one to beholdcolt527 is a splendid one to beholdcolt527 is a splendid one to beholdcolt527 is a splendid one to beholdcolt527 is a splendid one to beholdcolt527 is a splendid one to behold
Send a message via AIM to colt527
Re: Self-Balancing 2 Wheeled Robot

Hmm, I think this is a quite a task to take on, You are basically reproducing a segway and Im pretty sure Human Like movement based on balance is not an easy thing to pull off both programming-wize and mechanical wize. Its going to take a lot of effort to pull it off.

On the hardware side:

Ive seen balancing done with distance sensors as well though. Where they point at the ground and measure the distance difference between the 2 sides and make movement decisions based on that. And, I dont know much about the speed of the microcontroller that you need to accomplish this feat but I imagine that it needs to be pretty fast and update often.

Sorry I couldnt be more help, but good luck! and I hope to see it working
__________________
Mentor, Team 527 -- Plainedge Red Dragons
FIRST Volunteer
SUNY Stony Brook Computer Science 2010
kcolton@gmail.com
  #3   Spotlight this post!  
Unread 01-05-2005, 23:59
sanddrag sanddrag is offline
On to my 16th year in FRC
FRC #0696 (Circuit Breakers)
Team Role: Teacher
 
Join Date: Jul 2002
Rookie Year: 2002
Location: Glendale, CA
Posts: 8,510
sanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond repute
Re: Self-Balancing 2 Wheeled Robot

I once tried my hand at a fullsize one with a Parallax BS2 and a Memsic Accelerometer (that parallax sells) but never really got too far with it. I'm not a programmer but even I I was, I'm not sure if the electronics and hardware are capable of balancing.

You may find some useful info at www.tlb.org
__________________
Teacher/Engineer/Machinist - Team 696 Circuit Breakers, 2011 - Present
Mentor/Engineer/Machinist, Team 968 RAWC, 2007-2010
Technical Mentor, Team 696 Circuit Breakers, 2005-2007
Student Mechanical Leader and Driver, Team 696 Circuit Breakers, 2002-2004
  #4   Spotlight this post!  
Unread 02-05-2005, 15:22
artdutra04's Avatar
artdutra04 artdutra04 is offline
VEX Robotics Engineer
AKA: Arthur Dutra IV; NERD #18
FRC #0148 (Robowranglers)
Team Role: Engineer
 
Join Date: Mar 2005
Rookie Year: 2002
Location: Greenville, TX
Posts: 3,078
artdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond reputeartdutra04 has a reputation beyond repute
Re: Self-Balancing 2 Wheeled Robot

Quote:
Originally Posted by colt527
Hmm, I think this is a quite a task to take on, You are basically reproducing a segway and Im pretty sure Human Like movement based on balance is not an easy thing to pull off both programming-wize and mechanical wize. Its going to take a lot of effort to pull it off.
Let's not forget that Mike was the one who coded a working autonomous code that used the camera and capped the vision tetra.

I think you may find this site very informative:
http://www.geology.smu.edu/~dpa-www/robo/nbot/

Also, people have built a "Legway" balancing robot using Lego Mindstorms:
http://www.generation5.org/content/2004/legway.asp
__________________
Art Dutra IV
Robotics Engineer, VEX Robotics, Inc., a subsidiary of Innovation First International (IFI)
Robowranglers Team 148 | GUS Robotics Team 228 (Alumni) | Rho Beta Epsilon (Alumni) | @arthurdutra

世上无难事,只怕有心人.
  #5   Spotlight this post!  
Unread 02-05-2005, 15:40
Paul H's Avatar
Paul H Paul H is offline
Renegade of Funk
AKA: Paul Huston
FRC #0033 (Killer Bees)
Team Role: Alumni
 
Join Date: Jul 2003
Rookie Year: 2003
Location: Royal Oak, MI
Posts: 364
Paul H has a brilliant futurePaul H has a brilliant futurePaul H has a brilliant futurePaul H has a brilliant futurePaul H has a brilliant futurePaul H has a brilliant futurePaul H has a brilliant futurePaul H has a brilliant futurePaul H has a brilliant futurePaul H has a brilliant futurePaul H has a brilliant future
Send a message via AIM to Paul H
Re: Self-Balancing 2 Wheeled Robot

I've got a gyro you can have, I got a few from the yardsale last year and I only really need one. It's the gyro that was in the kit from previous years. All I ask is that you pay shipping.
__________________
-Paul
  #6   Spotlight this post!  
Unread 02-05-2005, 16:36
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Cañada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Cañada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Self-Balancing 2 Wheeled Robot

Quote:
Originally Posted by MikeWasHere05
What I need is a gyroscope, although of all the researching I've done of balancing robots people have used both gyroscopes and accelerometers. Will just a gyroscope be sufficient? Does anyone know a good/cheap gyroscope/accelerometer that I would need?
This is the classic inverted pendulum problem that is given to countless college students each year. You'll need to implement a Kalman filter that'll filter noise, perform sensor fusion and spit out a state estimation. As you've already found out, you'll need a gyro and an accelerometer that's sensitive down to zero Hertz (i.e., gravity). Sparkfun has a gyro/accelerometer board that looks good. The part number is ACL-IMU-203.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
  #7   Spotlight this post!  
Unread 02-05-2005, 20:56
Mike's Avatar
Mike Mike is offline
has common ground with Matt Krass
AKA: Mike Sorrenti
FRC #0237 (Sie-H2O-Bots (See-Hoe-Bots) [T.R.I.B.E.])
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2004
Location: Watertown, CT
Posts: 1,003
Mike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond repute
Re: Self-Balancing 2 Wheeled Robot

Wow, didn't realize it'd be this expensive/complicated.

I'm gonna think about maybe a lower cost/simpler alternative to a gyro, maybe a feeler attached to a pot? If you have any suggestions feel free to post =)

EDIT: Or anyone know how I can build something similar to http://www.sparkfun.com/shop/index.p...s=ACL-IMU-203& for cheaper?
__________________
http://www.mikesorrenti.com/

Last edited by Mike : 02-05-2005 at 21:04.
  #8   Spotlight this post!  
Unread 02-05-2005, 21:30
BrianBSL BrianBSL is offline
Registered User
FRC #0190
 
Join Date: Sep 2004
Rookie Year: 2000
Location: Worcester, MA
Posts: 251
BrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud ofBrianBSL has much to be proud of
Re: Self-Balancing 2 Wheeled Robot

Quote:
Originally Posted by MikeWasHere05
Wow, didn't realize it'd be this expensive/complicated.

I'm gonna think about maybe a lower cost/simpler alternative to a gyro, maybe a feeler attached to a pot? If you have any suggestions feel free to post =)

EDIT: Or anyone know how I can build something similar to http://www.sparkfun.com/shop/index.p...s=ACL-IMU-203& for cheaper?
The sparkfun IMU is neat in that it is all on one board, but you can get evaluation board versions of the same things from Analog Devices (www.analog.com). You can probably save $30-$50 by buying separate EB's instead, but you aren't going to get comparable performance for much less. Make sure you buy EB's or something with the devices mounted. The gyro's are all ballgrid and aren't worth the trouble of mounting yourself, you can solder the accelerometers as they are a small surface mount pitch but its still easier to buy EB's that have all the resistors and caps installed that you need.

As far as something simplier/cheaper, I've seen people attempt the same design using two IR distance sensors on each side.

Last edited by BrianBSL : 02-05-2005 at 21:36.
  #9   Spotlight this post!  
Unread 04-05-2005, 15:25
Mike's Avatar
Mike Mike is offline
has common ground with Matt Krass
AKA: Mike Sorrenti
FRC #0237 (Sie-H2O-Bots (See-Hoe-Bots) [T.R.I.B.E.])
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2004
Location: Watertown, CT
Posts: 1,003
Mike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond repute
Re: Self-Balancing 2 Wheeled Robot

Quote:
Originally Posted by BrianBSL
As far as something simplier/cheaper, I've seen people attempt the same design using two IR distance sensors on each side.
I've decided to use a potentiometer connected to a "feeler" to sense the angle that the bot is at. Once I get that working, I'll buy some IR sensors and use those.
__________________
http://www.mikesorrenti.com/
  #10   Spotlight this post!  
Unread 04-05-2005, 15:46
seanwitte seanwitte is offline
Registered User
None #0116
Team Role: Engineer
 
Join Date: Nov 2002
Location: Herndon, VA
Posts: 378
seanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant future
Send a message via AIM to seanwitte
Re: Self-Balancing 2 Wheeled Robot

Quote:
Originally Posted by MikeWasHere05
I've decided to use a potentiometer connected to a "feeler" to sense the angle that the bot is at. Once I get that working, I'll buy some IR sensors and use those.
You could use the pot as the pivot point for a small pendulum mounted inside the frame. It might have to be heavy to overcome the static friction of the pot, but it would be doable. The value of the pot would be proportional to the tilt angle.
  #11   Spotlight this post!  
Unread 04-05-2005, 19:18
Mike's Avatar
Mike Mike is offline
has common ground with Matt Krass
AKA: Mike Sorrenti
FRC #0237 (Sie-H2O-Bots (See-Hoe-Bots) [T.R.I.B.E.])
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2004
Location: Watertown, CT
Posts: 1,003
Mike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond repute
Re: Self-Balancing 2 Wheeled Robot

Quote:
Originally Posted by seanwitte
You could use the pot as the pivot point for a small pendulum mounted inside the frame. It might have to be heavy to overcome the static friction of the pot, but it would be doable. The value of the pot would be proportional to the tilt angle.
Good idea, probably will try it after the feeler idea. Right now I'm kinda limited to my space/weight, but I'll be sure to check it out later.
__________________
http://www.mikesorrenti.com/
  #12   Spotlight this post!  
Unread 04-05-2005, 23:26
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Self-Balancing 2 Wheeled Robot

Quote:
Originally Posted by MikeWasHere05
I've decided to use a potentiometer connected to a "feeler" to sense the angle that the bot is at. Once I get that working, I'll buy some IR sensors and use those.
A feeler will work as long as the surface is flat and level. Without a true sense of "down", a Segway clone will want to accelerate downhill.
  #13   Spotlight this post!  
Unread 05-05-2005, 19:21
Mike's Avatar
Mike Mike is offline
has common ground with Matt Krass
AKA: Mike Sorrenti
FRC #0237 (Sie-H2O-Bots (See-Hoe-Bots) [T.R.I.B.E.])
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2004
Location: Watertown, CT
Posts: 1,003
Mike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond repute
Re: Self-Balancing 2 Wheeled Robot

Quote:
Originally Posted by Alan Anderson
A feeler will work as long as the surface is flat and level. Without a true sense of "down", a Segway clone will want to accelerate downhill.
Yeah, I was thinking about that. So I might make a feeler design just to experience with using a pot as an angle measurement.

There's also a problem with the pendulum idea. If I am making constant adjustments to control the angle, then the pendulum will start swinging. The swinging will cause harder adjustments, which will just feed this repetition harder until the robot tips. I'm thinking of something along the classic pendulum lines, I'll try to make up a CAD drawing and post it later.
__________________
http://www.mikesorrenti.com/
  #14   Spotlight this post!  
Unread 06-05-2005, 11:47
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Self-Balancing 2 Wheeled Robot

Quote:
Originally Posted by MikeWasHere05
There's also a problem with the pendulum idea. If I am making constant adjustments to control the angle, then the pendulum will start swinging...
If you mount the pendulum to hang from the point of rotation of the platform (i.e. the axle), you'll have a lot less to worry about. You can account for the approximately known linear acceleration and compute something very close to the actual tilt. Modeling the dynamics of the pendulum might still be necessary, but you won't have to deal with the chaotic "double pendulum" system that would arise if the pivot point were somewhere above the axle.
  #15   Spotlight this post!  
Unread 06-05-2005, 14:38
Mike's Avatar
Mike Mike is offline
has common ground with Matt Krass
AKA: Mike Sorrenti
FRC #0237 (Sie-H2O-Bots (See-Hoe-Bots) [T.R.I.B.E.])
Team Role: Programmer
 
Join Date: Dec 2004
Rookie Year: 2004
Location: Watertown, CT
Posts: 1,003
Mike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond reputeMike has a reputation beyond repute
Re: Self-Balancing 2 Wheeled Robot

Quote:
Originally Posted by Alan Anderson
If you mount the pendulum to hang from the point of rotation of the platform (i.e. the axle), you'll have a lot less to worry about. You can account for the approximately known linear acceleration and compute something very close to the actual tilt. Modeling the dynamics of the pendulum might still be necessary, but you won't have to deal with the chaotic "double pendulum" system that would arise if the pivot point were somewhere above the axle.
I can see how that would stop the pendulum from swinging wildly, but for the pot to take readings, it has to be mounted on the pot, right?

The way I'm thinking of designing a pendulum is for it to be less of a circular motion of swinging and more of a linear one. Think of a box with beads in it, when it's tilted the beads fall to one end of the box instead of swinging like a classic pendulum would. Of course, I wouldn't use beads.
__________________
http://www.mikesorrenti.com/

Last edited by Mike : 06-05-2005 at 14:41.
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
Robot Weight Limit: Rule Conflict Specialagentjim Rules/Strategy 10 06-08-2005 17:52
Is allowing a practice robot good for FIRST? Matt Adams General Forum 38 19-01-2005 11:35
THIS TIME TEAM 438 BALANCING ROBOT archiver 2001 1 24-06-2002 01:01
Kamikaze Robot Strategy... Joe Johnson Rules/Strategy 30 07-04-2002 21:42
Calling all Lawyers... ...Define "all parts" Joe Johnson General Forum 10 13-03-2002 15:12


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

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