Go to Post Why is everyone on these boards so obsessed with Segways? - Tom Bottiglieri [more]
Home
Go Back   Chief Delphi > Other > Chit-Chat
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-08-2006, 13:28
JBotAlan's Avatar
JBotAlan JBotAlan is offline
Forever chasing the 'bot around
AKA: Jacob Rau
FRC #5263
Team Role: Mentor
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Riverview, MI
Posts: 723
JBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond repute
Send a message via AIM to JBotAlan Send a message via Yahoo to JBotAlan
Trying to figure out the Segway...

Hey,

Yesterday I went to my dad's company picnic and got to play with a Segway. Ever since, I have been trying to figure out the algorithm behind it...hehe!

I think it's a PID loop. As you lean, it adds the offset to a separate integral term that controls the speed. It seems simple, but for 5 grand, it seems that I'm missing something...or is it just overpriced?

What are your thoughts? I can't get anyone around me to analyze how it works because they don't care or know enough to figure it out.

Gosh that thing was fun...

JBot
__________________
Aren't signatures a bit outdated?
Reply With Quote
  #2   Spotlight this post!  
Unread 13-08-2006, 13:53
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,509
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: Trying to figure out the Segway...

I was exactly in your same mindset a couple years ago. So I tried to build one. After I was done, I would have gladly just paid 5 grand. If you try making one, you will quickly learn why it costs so much. It's purpose may not be worth 5 grand but all the parts and development that's in it certainly is.
__________________
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
Reply With Quote
  #3   Spotlight this post!  
Unread 13-08-2006, 18:46
Pat Fairbank's Avatar
Pat Fairbank Pat Fairbank is offline
Circuit Breaker
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2001
Location: San Jose, CA
Posts: 2,132
Pat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond reputePat Fairbank has a reputation beyond repute
Send a message via MSN to Pat Fairbank
Re: Trying to figure out the Segway...

I would imagine the speed limiting function further complicates the balancing algorithm.

When you're approaching the maximum speed for the key you're on, or when you're otherwise approaching the maximum power the motors can put out (like when facing a strong headwind) the motors sort of put on a burst of acceleration to get the base of the Segway further forward in relation to the handlebars, so that if you wanted to accelerate any more you'd have to lean right over the handlebars (which would prompt a stick-shake warning).

So I'm going to leave speculation on how it works to people who are more qualified to answer.
__________________
Patrick Fairbank
Team 254 | Mentor (2012-)
Team 1503 | Mentor (2007-2011)
Team 296 | Alumnus (2001-2004) | Mentor (2005-2006)

patfairbank.com
Reply With Quote
  #4   Spotlight this post!  
Unread 13-08-2006, 19:47
Ashley Weed Ashley Weed is offline
Registered User
no team
 
Join Date: May 2002
Rookie Year: 1995
Location: USA
Posts: 1,410
Ashley Weed has a reputation beyond reputeAshley Weed has a reputation beyond reputeAshley Weed has a reputation beyond reputeAshley Weed has a reputation beyond reputeAshley Weed has a reputation beyond reputeAshley Weed has a reputation beyond reputeAshley Weed has a reputation beyond reputeAshley Weed has a reputation beyond reputeAshley Weed has a reputation beyond reputeAshley Weed has a reputation beyond reputeAshley Weed has a reputation beyond repute
Re: Trying to figure out the Segway...

Wow, I used to sound just like you. When I first started gliding I would think continuously how I was moving and how momentum was working amongst myself and the Seg. After almost two years, I tend to just hop on Slate, smile and glide. It leaves the mind for more joy and less thinking, that's why I paid someone for the Seg instead of building it myself.
Reply With Quote
  #5   Spotlight this post!  
Unread 13-08-2006, 21:48
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: Trying to figure out the Segway...

Quote:
Originally Posted by JBotAlan
Yesterday I went to my dad's company picnic and got to play with a Segway. Ever since, I have been trying to figure out the algorithm behind it...hehe!
You may find the book Code Name Ginger very interesting, as it goes in-depth (without getting too technical) into the creation of the Segway, and many of the engineering and programming problems and issues that had to be solved to make Segways as safe and efficient as they are. I happened to come across it in a local bookstore a few years ago and I bought it on the spot without hesitation.
__________________
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

世上无难事,只怕有心人.
Reply With Quote
  #6   Spotlight this post!  
Unread 13-08-2006, 22:26
KenWittlief KenWittlief is offline
.
no team
Team Role: Engineer
 
Join Date: Mar 2003
Location: Rochester, NY
Posts: 4,213
KenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond repute
Re: Trying to figure out the Segway...

actually the balancing algorithm on a Segway is not much different that the cruise control on a car. Sensors detect the orientation of the platform and the rate at which it is starting to tip, and the motors respond to keep the Segway level

just like the cruise control on a car adjusts the throttle to hold the car at a constant speed - the Segway holds a constant level.

I dont have personal knowledge of the algorithm used, but you can make feedback systems tight or loose. If its tight it will quickly cancel out all error. On the Segway, that would mean as soon as you shifted your weight (lean forward) it would instantly compensate to stay level, moving very little.

I think the feedback on the Segway is selectively loose - when you lean forward it compensates to keep you from falling over, but not completely, so the platform ends up moving forward - sorta like its perpetually falling

Last edited by KenWittlief : 13-08-2006 at 22:28.
Reply With Quote
  #7   Spotlight this post!  
Unread 14-08-2006, 20:48
JBotAlan's Avatar
JBotAlan JBotAlan is offline
Forever chasing the 'bot around
AKA: Jacob Rau
FRC #5263
Team Role: Mentor
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Riverview, MI
Posts: 723
JBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond repute
Send a message via AIM to JBotAlan Send a message via Yahoo to JBotAlan
Re: Trying to figure out the Segway...

It sounds like all of you have given up. Why would you do such a thing?

I wonder if Dean Kamen knows how much this bugs other people? I imagine he would laugh if he knew how much this BUGS ME!!!

Yes, I realize that there are many, many redundant systems in the Segway, but I still think it would be interesting to build my own. I'm definitely talking to the team about building one. What's the worst that can happen.....?
__________________
Aren't signatures a bit outdated?
Reply With Quote
  #8   Spotlight this post!  
Unread 14-08-2006, 21:07
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,509
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: Trying to figure out the Segway...

Quote:
Originally Posted by JBotAlan
What's the worst that can happen.....?
You'll be many hundreds if not thousands of dollars poorer with a pile of hardware that doesn't do a darn thing. And you may have people injured requiring thousands of dollars in medical bills. You did say worst.
__________________
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
Reply With Quote
  #9   Spotlight this post!  
Unread 14-08-2006, 21:13
Jeremiah Johnson's Avatar
Jeremiah Johnson Jeremiah Johnson is offline
Go VOLS!!
AKA: Budda648
no team (QC Elite)
Team Role: Alumni
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Davenport, IA
Posts: 1,476
Jeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond reputeJeremiah Johnson has a reputation beyond repute
Send a message via AIM to Jeremiah Johnson Send a message via MSN to Jeremiah Johnson
Re: Trying to figure out the Segway...

Quote:
Originally Posted by sanddrag
You'll be many hundreds if not thousands of dollars poorer with a pile of hardware that doesn't do a darn thing. And you may have people injured requiring thousands of dollars in medical bills. You did say worst.
Test it with monkeys. Works for the cosmetic industry, so why can't it work for a robotics team? That would possibly solve the thousands of dollars in medical bills, they'll turn into vet bills. Heh... funny me.

But yeah, building your own Segway could prove rather expensive and not worth it. That's just my opinion though.
__________________
Do The Tyler!

XBOX Live Gamertag = theVelvetLie
Reply With Quote
  #10   Spotlight this post!  
Unread 14-08-2006, 21:15
KenWittlief KenWittlief is offline
.
no team
Team Role: Engineer
 
Join Date: Mar 2003
Location: Rochester, NY
Posts: 4,213
KenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond repute
Re: Trying to figure out the Segway...

if you want to know how the segway works, get the patent and read it.

The patent must fully disclose the operation of the system, because that is what is being patented, not just what the system does, but how it does it.

For this reason it is necessary for the patent to fully explain how it works. Otherwise, whenever someone else came up with a similar idea, Segway could claim "thats how we do it, so we have a patent on that...."

your patent only covers your invention as you describe it. If someone else can come up with a different way to make a system that performs the same function, they are not violating your patent.
Reply With Quote
  #11   Spotlight this post!  
Unread 14-08-2006, 21:23
skimoose's Avatar
skimoose skimoose is offline
Parent/Mentor/Engineer
AKA: Arthur Dutra
FRC #0228 (GUS)
Team Role: Electrical
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Meriden, Connecticut
Posts: 568
skimoose has a reputation beyond reputeskimoose has a reputation beyond reputeskimoose has a reputation beyond reputeskimoose has a reputation beyond reputeskimoose has a reputation beyond reputeskimoose has a reputation beyond reputeskimoose has a reputation beyond reputeskimoose has a reputation beyond reputeskimoose has a reputation beyond reputeskimoose has a reputation beyond reputeskimoose has a reputation beyond repute
Re: Trying to figure out the Segway...

Quote:
Originally Posted by KenWittlief
I think the feedback on the Segway is selectively loose - when you lean forward it compensates to keep you from falling over, but not completely, so the platform ends up moving forward - sorta like its perpetually falling
Good call, if I recall correctly from the book, that's how Dean got the project to finally work. He had fallen in the shower and the idea hit him of controlled falling.


Quote:
Originally Posted by JBotAlan
I think it's a PID loop. As you lean, it adds the offset to a separate integral term that controls the speed. It seems simple, but for 5 grand, it seems that I'm missing something...or is it just overpriced?

JBot
It not just speed and direction, you're forgetting balance. You're not balancing the seg, it's balancing you.

You're also missing a lot of safety redundancy. There are (I think) eight gyros on board which are constantly polling and voting, similar to the way the systems work on the space shuttle where multiple redundant sensors provide data and then the results are voted on by the processors to weed out defective sensors or data.

And is it overpriced? I don't think so. If gas gets a little more expensive, say $4/gal., I'll be taking one to work, when I'm not mountain biking or roller-blading that is.

Just need one more mile of trail and I can commute about 75% of the way on the Quinnipiac River Linear Trail, and I saw the survey party out last week working on final designs!
__________________

2009 CT Regional Motorola Quality Award
2010 VRC Connecticut Championship Winners & Amaze Award
2010 VRC Championship Divisional Energy Award
2010 WPI Regional Winner
2010 WPI Regional Engineering Inspiration Award
2011 WPI Regional Chairman's Award
2012 WPI Regional Finalists

Last edited by skimoose : 14-08-2006 at 21:31.
Reply With Quote
  #12   Spotlight this post!  
Unread 15-08-2006, 20:03
Capt.ArD Capt.ArD is offline
Animator
FRC #0116 (Epsilon Delta)
Team Role: Animator
 
Join Date: Jan 2005
Location: Herndon, VA
Posts: 195
Capt.ArD will become famous soon enoughCapt.ArD will become famous soon enough
Re: Trying to figure out the Segway...

actually, i saw a guy (some professor at a college) on the internet who explained how he built his own. it came out to $300 (i think). I'll try to find the link and post it in a bit.

these things don't really need 8 gyros, except for redundancy and safety.

edit: i'm not sure it's the same link, but here you go:http://www.tlb.org/scooter.html
__________________

Last edited by Capt.ArD : 15-08-2006 at 20:08.
Reply With Quote
  #13   Spotlight this post!  
Unread 15-08-2006, 21:00
KenWittlief KenWittlief is offline
.
no team
Team Role: Engineer
 
Join Date: Mar 2003
Location: Rochester, NY
Posts: 4,213
KenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond repute
Re: Trying to figure out the Segway...

Quote:
Originally Posted by Capt.ArD

these things don't really need 8 gyros, except for redundancy and safety.
I agree, if you are building your own to learn about solid state gyros and PID loops, a single point system is fine

if you do this, make sure you wear a helmet when you ride it, and skateboard gloves so your hands dont hit the pavement when you fall.

When you fall! Single point system => single point failures => total loss of functionality!

the segway is designed to be foolproof, so that even the leaders of great nations can ride them with ease

your SeGwAy-X can be a little more..... uhmmmm... interesting to ride, if you are not going to let your grandmother use it in the mall.
Reply With Quote
  #14   Spotlight this post!  
Unread 15-08-2006, 21:27
Billfred's Avatar
Billfred Billfred is online now
...and you can't! teach! that!
FRC #5402 (Iron Kings); no team (AndyMark)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: The Land of the Kokomese, IN
Posts: 8,500
Billfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond repute
Re: Trying to figure out the Segway...

Quote:
Originally Posted by KenWittlief
When you fall! Single point system => single point failures => total loss of functionality!
Off-topic, but how would one go about utlizing multiple gyros in a system? The obvious solution to me would be to average out the values (or, given enough data, something like figure skating with the highest and lowest values thrown out, THEN average), but IANAEE.
__________________
William "Billfred" Leverette - Gamecock/Jessica Boucher victim/Marketing & Sales Specialist at AndyMark

2004-2006: FRC 1293 (D5 Robotics) - Student, Mentor, Coach
2007-2009: FRC 1618 (Capital Robotics) - Mentor, Coach
2009-2013: FRC 2815 (Los Pollos Locos) - Mentor, Coach - Palmetto '09, Peachtree '11, Palmetto '11, Palmetto '12
2010: FRC 1398 (Keenan Robo-Raiders) - Mentor - Palmetto '10
2014-2016: FRC 4901 (Garnet Squadron) - Co-Founder and Head Bot Coach - Orlando '14, SCRIW '16
2017-: FRC 5402 (Iron Kings) - Mentor

93 events (more than will fit in a ChiefDelphi signature), 13 seasons, over 60,000 miles, and still on a mission from Bob.

Rule #1: Do not die. Rule #2: Be respectful. Rule #3: Be safe. Rule #4: Follow the handbook.
Reply With Quote
  #15   Spotlight this post!  
Unread 15-08-2006, 21:32
KenWittlief KenWittlief is offline
.
no team
Team Role: Engineer
 
Join Date: Mar 2003
Location: Rochester, NY
Posts: 4,213
KenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond repute
Re: Trying to figure out the Segway...

in redundant systems each gyro would be read and used as if it is the only gyro in the system. The signals from all gyros are compaired. If they dont agree, one of them is wrong

with a dual system you have no way of knowing which one is wrong, so you must shut the system down

with a triple or quad redundant system, the gyro that disagrees with the rest is flagged as defective, and taken off line. The system can keep functioning until you get down to two.
Reply With Quote
Reply


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
How can you figure out robot speed?!?! gnirts Programming 7 01-04-2006 13:05
how do u figure out the torque req'd to move a robot? Salik Syed Technical Discussion 11 03-11-2004 08:12
Can't figure out auton mode TangoBravo1318 Programming 1 20-02-2003 10:06
A little more complicated, but I'll figure it out... Erin General Forum 12 01-06-2001 14:35
Trying out this place David Kelly Chit-Chat 16 01-06-2001 12:11


All times are GMT -5. The time now is 23:45.

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