Go to Post ...if you say "AndyMark" three times we show up... - Billfred [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #10   Spotlight this post!  
Unread 12-07-2012, 22:20
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Sensors

Quote:
Originally Posted by theawesome1730 View Post
Accelerometer:
Useful for things this year like balancing the bridge, it determines angle so you can tell if the bridge is level or not.

An accelerometer does NOT return angle. It returns the sum of all acceleration applied to it in the axis it measures. If you are NOT moving in any way (or at a perfectly constant speed... very hard to do in FRC), the only acceleration you will see is that of gravity, from which you can determine the angle of gravity relative to the axis of the accelerometer with one or two accelerometers.

If you are trying to balance a bridge using the accelerometer, you will also see acceleration from the driving, which will make the sensor see gravity as being in a different place.

While I have seen 6-axis IMU algorithms which can accurately keep track of their position in 5 dimensions indefinitely (it's hard to keep track of yaw indefinitely without any other sensors), that is far too complicated for an FRC robot (as cool as it is)

A gyro is most likely the right sensor for auto balancing.

As for useful sensors, consider the interface. For absolute sensors, an analog interface is the easiest to interface with the current control system. For incremental sensors, a quadrature or single-phase digital output is the easiest. Anything else (especially USB) is significantly more difficult. My favorite sensors of all time would probably the 1 or 10 turn analog potentiometer, and the Banner reflected light sensor.

Final thought - We on 33 have a policy against using an incremental sensor for measuring absolute position. This means that any mechanism that has a defined, fixed limit (such as an arm or elevator) MUST use an absolute sensor. We do this in case the robot ever reboots during a match, so it dosen't have to re-initialize itself.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
 


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


All times are GMT -5. The time now is 05:58.

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