New Reply

Relative Postion Calculation using Accelerometer

 
Share Thread Thread Tools
Apr22-12, 05:44 AM   #1
 
Recognitions:
Gold Membership Gold Member

Relative Postion Calculation using Accelerometer


I am starting to learn Mobile Phone Application Development.
Suddenly this idea clicked in.
The app starts with the Phone in rest on your living room table.
Now, the phone is picked up from the living room and transported to the dining room.
Could the app be able to tell this?
Here is how I think it.
If I constantly monitor the acceleration in all three axis, I could be able to tell the instanteneus velocity about those axixes. Then time integral should provide me the displacement?
Is there flaw somewhere?
Can the mobile phone accelerometer be fast and accurate enough?
 
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> Heat-related deaths in Manhattan projected to rise
>> Dire outlook despite global warming 'pause': study
>> Sea level influenced tropical climate during the last ice age
Apr22-12, 10:19 AM   #2
 
The acceleration vector described by the phones accelerometers will be the sum of 2 component vectors, the actual acceleration of the phone, and the force of gravity. In order to make your idea work you need a way to figure out the orientation of the phone at every instant so that you know the direction of the gravity vector (you already know the amplitude is 9.8 m/s2). Once you know the gravity component you can subtract it from the vector measured by the phone to obtain the acceleration. Then you could, in principal, integrate over time to keep track of relative displacement.

The tricky part is finding the direction of the gravity vector. I can think of no way to do it. someone more clever then I might have an idea though.
 
Apr22-12, 10:20 AM   #3
 
Theoretically, it's very possible.

Practically, there's a problem. Accelerometers aren't perfect, which means that the larger the displacement (especially when the discplacement occurs in all directions in the three dimensions), the larger the error. Using only an accelerometer, you have no way of knowing how large this error is.
 
Apr22-12, 11:13 AM   #4
 
Recognitions:
Gold Membership Gold Member

Relative Postion Calculation using Accelerometer


Quote by mrspeedybob View Post
The acceleration vector described by the phones accelerometers will be the sum of 2 component vectors, the actual acceleration of the phone, and the force of gravity. In order to make your idea work you need a way to figure out the orientation of the phone at every instant so that you know the direction of the gravity vector (you already know the amplitude is 9.8 m/s2). Once you know the gravity component you can subtract it from the vector measured by the phone to obtain the acceleration. Then you could, in principal, integrate over time to keep track of relative displacement.

The tricky part is finding the direction of the gravity vector. I can think of no way to do it. someone more clever then I might have an idea though.
Yeah, the rotation thing is what is bothering me too.
Lets suppose the Phone starts flat on the table, with x-acceleration = 0, y-acceleration = 0 and z-acceleration = 9.8m/s.
Now, if our kind volunteer would always transport the phone, with its plane parallel to the ground (like in the initial condition), then we could always subtract 9.8m/s from z-acceleration.
But what if he rotates the phone? What acceleration is felt during the rotation? Can I distinguish rotation from translation?, and if yes, can I find the new orientation, and thus be able to correctly subtract the gravity?
 
Apr25-12, 03:01 AM   #5
 
what other sensors does it have? magnetometer? gyro?
 
Aug1-12, 01:25 PM   #6
 
Many phones have gyroscope sensors and some have magnetic compasses but those have decreased accuracy indoors
 
New Reply
Thread Tools


Similar Threads for: Relative Postion Calculation using Accelerometer
Thread Forum Replies
Propogating Relative Error through an Energy Calculation Set Theory, Logic, Probability, Statistics 3
Propogating Relative Error through an Energy Calculation Mechanical Engineering 0
Postion-Time Graphs Introductory Physics Homework 1
Energy and postion in QM General Physics 5