Go to Post HAH! What else am I supposed to do on a weekend? Sleep? - Michael Hill [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 27-01-2015, 18:40
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Data from BuiltInAccelerometer

I currently don't have access to the roboRIO (well... access to the ability to send it flying across the room at 13 feet per second) untill later in the build season so I was wondering if anyone had any data regarding reads from the accelerometer, specifically converting the g's from the accelerometer at setpoints.

Thanks!

Note: I realize Z might differ slightly based on altitude of the testing facility, I'm not so concerned in that as I am x-y
  #2   Spotlight this post!  
Unread 27-01-2015, 18:48
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,026
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Data from BuiltInAccelerometer

Quote:
Originally Posted by Arhowk View Post
converting the g's from the accelerometer at setpoints.
Converting them to what? And what do you mean by "setpoints" in this context?


  #3   Spotlight this post!  
Unread 27-01-2015, 19:06
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: Data from BuiltInAccelerometer

Quote:
Originally Posted by Ether View Post
Converting them to what? And what do you mean by "setpoints" in this context?


FPS (feet per second).

by "setpoints" i mean something like

"at defined 3 feet per second the accelerometer was reading 1g"
"at defined 5 feet per second the accelerometer was reading 1.5g"
"at defined 9 feet per second the accelerometer was reading 2g"
known feet per second / accelerometer g reading pairs.
  #4   Spotlight this post!  
Unread 27-01-2015, 19:10
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 988
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Data from BuiltInAccelerometer

Quote:
Originally Posted by Arhowk View Post
FPS (feet per second).

known feet per second / accelerometer g reading pairs.
Velocity is not proportional to accelerometer readings. Accelerometers measure acceleration. You would need to integrate accelerometer readings to get velocity.
  #5   Spotlight this post!  
Unread 27-01-2015, 19:11
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,026
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Data from BuiltInAccelerometer


I see RufflesRidge beat me to it.
  #6   Spotlight this post!  
Unread 27-01-2015, 19:46
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: Data from BuiltInAccelerometer

Quote:
Originally Posted by RufflesRidge View Post
Velocity is not proportional to accelerometer readings. Accelerometers measure acceleration. You would need to integrate accelerometer readings to get velocity.
Oh, that makes sense. Than, 1g should be proportional to 32.1740486 ft * s^-1 * s^-1. I feel dumb now.

Thanks!

E/ the neutral reading of the accelerometer seems to oscillate around 0.002 and 0.004. (not 0.2 and 0.4)

Within 10 seconds, this would give the incorrect reading of ten feet per second if integrated.

Has anyone even got the accelerometer to work properly?

Last edited by Arhowk : 27-01-2015 at 20:00.
  #7   Spotlight this post!  
Unread 28-01-2015, 01:02
rich2202 rich2202 is online now
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,151
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: Data from BuiltInAccelerometer

The math is trivial with the assumption that the robot never turns.

As soon as the robot turns, or goes up/down over the scoring zone, the math gets complex really quickly.

Then, you have to map the xyz space of the roboRio to your xyz space (you don't want to assume that the accelerometer in the roboRio is exactly flat to the base of the roboRio, and that the roboRio is mounted in a plane parallel to the floor.

Last edited by rich2202 : 28-01-2015 at 01:05.
  #8   Spotlight this post!  
Unread 28-01-2015, 08:14
FrankJ's Avatar
FrankJ FrankJ is offline
Robot Mentor
FRC #2974 (WALT)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Marietta GA
Posts: 1,900
FrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond repute
Re: Data from BuiltInAccelerometer

A little bit off topic, but. I was listening on the radio today about a basket ball with sensors (I assume an accelerometer hence the slight topic correlation) that tracks its movement and transmits to a smart phone app. So if you can do it through 3D space, you should be able to do it on a robot in 2d space with something that weighs less than a basketball.
__________________
If you don't know what you should hook up then you should read a data sheet
  #9   Spotlight this post!  
Unread 28-01-2015, 11:59
Joshua Sicz Joshua Sicz is offline
Registered User
FRC #2403
 
Join Date: Jan 2014
Location: Mesa, Arizona
Posts: 29
Joshua Sicz is an unknown quantity at this point
Re: Data from BuiltInAccelerometer

I would be very careful with this because it is very hard to get velocity with acceleration from something like the built in accelerometer. Our team has messed with it alot and found there is no good way to figure it our because you have a LOT of noise comming from it. The only real use we found is just telling which direction the robot is going.

The earth has a huge force that is hard to get rid of. If you want to get something accurate enough to tell velocity you might want to go get the NavX board sold my andymark but even with that board the velocity is only accurate for only about 2-3 seconds before it starts to get off.

If the accelerometer was accurate enough to tell speed we would have used them in cars on such. But because of the earth it won't be useful as you think it would. What you learn in physics is only ideal situation.
  #10   Spotlight this post!  
Unread 28-01-2015, 12:05
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,026
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Data from BuiltInAccelerometer

Quote:
Originally Posted by Joshua Sicz View Post
The only real use we found is just telling which direction the robot is going.
The above is a bit ambiguous. How does an accelerometer tell which direction the robot is going?


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


All times are GMT -5. The time now is 10:03.

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