Go to Post At the end of the day, every team in FRC has accomplished something amazing in the sculpting of the next generation of leaders. - Elliot191 [more]
Home
Go Back   Chief Delphi > Technical > Electrical
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 06-08-2005, 02:06
John Gutmann John Gutmann is offline
I'm right here
AKA: sparksandtabs
FRC #0340 (GRR)
Team Role: Mechanical
 
Join Date: Feb 2005
Rookie Year: 2004
Location: rochester
Posts: 804
John Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant futureJohn Gutmann has a brilliant future
Send a message via AIM to John Gutmann Send a message via MSN to John Gutmann Send a message via Yahoo to John Gutmann
gyro substitution

i have seen people on here doing expirement with balancing robtos and they wanted to know if you could make 'segway robot' with just an accelerometer and no gyro and of coure the answer was to us distance sensors, but of coure those won't work as well on surfaces that are not level.

so i got to thinking and wondered if you could use a accerometer to measure rate of angular change by some how starting a timer when the angle starts to change and check it every X seconds and then compute it for how fast it was changing angles and then update the speed of the robot or unit? would this work? could this possibly work? would it bogg down the processor too much? would you need a co or sub processor just to handle that? would it be easier and simpler to do? less expensive, yes but how effiecient will it be?

if you can't do that can you make a program for distance sensors with some kinda of switch to measure when it is level and then adjust the distance each sensor should be at? so it will work on a slope of X degrees?

and for a balancing robot that does use distance sensors how do you know what motor speed to use and length of time they are on so you dont go past the desired angle u wish to be at?
  #2   Spotlight this post!  
Unread 06-08-2005, 04:34
Hutch Hutch is offline
NOTAG
FRC #0461 (Westside Boiler Invasion)
Team Role: Programmer
 
Join Date: Jul 2005
Location: Indiana
Posts: 69
Hutch will become famous soon enoughHutch will become famous soon enough
Re: gyro substitution

Well, I'm sure it can be done... I'd think though that if you didn't have enough processing power to do it, you'd just be better off with a gyro since I'm sure a subprocessor would offset any cost saved by not having a gyro. And a gyro is obviously much more suited to the task...

While I'm sure it is possible, I'm not sure how practical it really is (or how effective for that matter).
  #3   Spotlight this post!  
Unread 06-08-2005, 08:42
Joe Johnson's Avatar Unsung FIRST Hero
Joe Johnson Joe Johnson is offline
Engineer at Medrobotics
AKA: Dr. Joe
FRC #0088 (TJ2)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Raynham, MA
Posts: 2,644
Joe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond repute
Re: gyro substitution

I don't believe that the system you describe is "observable" using just a single accelerometer -- the basic problem from what I understand is that a single accelerometer cannot tell if the change in measured acceleration is from DV/dt or changes in gravity from changes in angle.

I think it would be possible to use several (at least 2) accelerometers to do the angle calculation BUT... ...you will have practical problems.

To get angle from a yaw rate sensor you only have to integrate once (from Omega to Theta) . In general, integration is more friendly than differentiation, but it does involve that Constant term and there is that drift problem (small errors add up).

To get angle from acceleration, I think you will have to effectively integrate twice (once to go from Acceleration to Velocity, then again to go from Velocity to Position). This adds 2 Constant terms and there is a REALLY tough drift problem (small errors add up FASTER AND FASTER as time goes by).

I think a gyro (an angular rate sensor) is probably the better way to go.

Joe J.

P.S. I'm not here and you didn't read this ;-) I am much too busy at Robotic Amusements, Inc., getting ready for our product launch at the AMOA Show in Sept. Wish us luck...
__________________
Joseph M. Johnson, Ph.D., P.E.
Mentor
Team #88, TJ2
  #4   Spotlight this post!  
Unread 06-08-2005, 13:13
Hutch Hutch is offline
NOTAG
FRC #0461 (Westside Boiler Invasion)
Team Role: Programmer
 
Join Date: Jul 2005
Location: Indiana
Posts: 69
Hutch will become famous soon enoughHutch will become famous soon enough
Re: gyro substitution

Well you'd know at the start that it's all from angular change, and then you could start integrating... And based on angle, that would determine hte contribution of angular acceleration and gravity... I think it could in theory be observed but it sounds pretty impractical.
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
Gyro Calibration ImmortalAres Programming 1 07-06-2005 13:29
Updated: Example Gyro Interface Code Kevin Watson Programming 2 28-03-2005 04:36
Example gyro code released. Kevin Watson Programming 60 17-03-2005 18:32
arm-limitting gyro PD loop producing some strange results ZZII 527 Programming 8 16-02-2005 02:30
Gyro Troubles SteveO Programming 13 30-01-2005 16:46


All times are GMT -5. The time now is 11:56.

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