Determining path, timing and velocity from a 3d accelerometer

Click For Summary

Discussion Overview

The discussion revolves around the challenges of determining the path, timing, and velocity of a handheld device equipped with a 3D accelerometer. Participants explore methods to account for the changing gravity vector due to the device's movement and the effects of clipping during excessive motion. The conversation includes various approaches to data processing, including the use of Kalman filters and numerical integration techniques.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant suggests that removing the gravity vector may not be necessary and proposes to leave it in until the end to adjust for the "fall" of the device.
  • Another participant argues against this approach, emphasizing the need for a model of the device's attitude state to prevent divergence in integrated data.
  • Concerns are raised about the accelerometer's limitations, particularly regarding clipping during violent swings, which results in lost data that cannot be accurately reconstructed.
  • A participant points out that the assumption of a uniform gravity field is only valid over short distances and may not apply in this scenario due to the device's movement.
  • Discussion includes the assertion that accelerometer readings are subject to various errors, and simple numerical integration techniques may yield poor results without proper gravity accounting.
  • A question is posed about whether a Kalman filter would address the gravity issue or primarily help with noise reduction.
  • The original poster expresses a need for assistance in solving the problem and indicates a willingness to pay for help.

Areas of Agreement / Disagreement

Participants exhibit disagreement regarding the best approach to handling the gravity vector and the implications of clipping in accelerometer data. Multiple competing views remain on how to effectively model the device's motion and the appropriate data processing techniques.

Contextual Notes

Participants highlight limitations related to the assumptions made about gravity, the device's movement, and the inherent errors in accelerometer readings. There is an acknowledgment that the discussion does not resolve these complexities.

tdavis1198
Messages
2
Reaction score
0
Hi,

I wonder if there is anyone who can help me with a problem i have.

I have a device that includes a simple 3d accelerometer. The device is a handheld device and my challenge is to figure out the path that the device moves in space relative to its starting position. I would like to plot the path and velocity with time.

The challenge is that the device can swivel over time which means that the gravity vector changes and so it complicates the requirement to remove the gravity vector so as to figure out the true acceleration.

Additionally, the accelerometer is really not made for violent swings and as such it can clip the output based on excessive movement.

The type of movement that takes place is a repetitive movement and so the general path is known and as such i believe that a model of the gravity vector can be created. Someone has experimented with my data and used Kalman filters and cubic splines to try and figure out the information.

The path information and velocity does not have to be 100% accurate. I just need a good general trend of how the object moves and the timing.

I am not a physicist and my job would be to find an algorithm and then write the software in he embedded hardware. Time is of the essence and if there is someone who could help me figure this out, I would appreciate it.
 
Physics news on Phys.org
Why subtract out the gravity vector? I would instead leave it in, and then at the very end, remove how far it has "fallen".

Clipping, though, is a problem. That information is lost, and the only thing you can do is try and guess what was lost.
 
Vanadium 50 said:
Why subtract out the gravity vector? I would instead leave it in, and then at the very end, remove how far it has "fallen".
This is not a good idea; it is generally a very bad idea.

tdavis1198 said:
The challenge is that the device can swivel over time which means that the gravity vector changes and so it complicates the requirement to remove the gravity vector so as to figure out the true acceleration.
You obviously need some model of the attitude state, otherwise your integrated state will diverge rather quickly, even without gravity entering the picture. One approach is to use gyros as a means of estimating your attitude state.

Additionally, the accelerometer is really not made for violent swings and as such it can clip the output based on excessive movement.
This might be a big problem.
 
D H said:
This is not a good idea; it is generally a very bad idea.

Why? Suppose you do this for one second, and then subtract off 16 feet. Why is this a problem?
 
Vanadium, your approach might work if
  • Earth had a uniform (planar) gravity field.
    This is a valid approximation over a short distance, but if the travel occurs over any significant distance, the uniform gravity assumption fails. Even the spherical gravity assumption fails; NASA requires a waiver if manned spacecraft navigation algorithms use less than an 8x8 spherical harmonics gravity model.
  • The device holds steady attitude.
    This is definitely not the case here. The OP specifically said "the device can swivel over time".
  • You only cared about the state at the end (whenever that is).
    Typically one uses navigation techniques to get an estimate of the state (position, velocity) at every point in time, not just the end.

Accelerometers readings are chock full of errors: white noise, biases, scale factor errors, alignment errors, etc. Run-of-the-mill numerical integration techniques will result in a lousy answer, and that is assuming a proper accounting of the one force that accelerometers cannot measure (gravity). Overly simple numerical integration, without properly accounting for gravity, will result in an incredibly lousy answer. Kalman filters were developed to address this very problem. They are what correctly got the Apollo vehicles to the Moon.
 
Would a Kalman filter help with the gravity problem or just to eliminate the noise?

PS. I need help to solve this problem and I am willing to pay someone to help!
 

Similar threads

  • · Replies 47 ·
2
Replies
47
Views
5K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 16 ·
Replies
16
Views
5K
  • · Replies 1 ·
Replies
1
Views
4K
Replies
8
Views
2K
  • · Replies 6 ·
Replies
6
Views
7K
  • · Replies 20 ·
Replies
20
Views
13K
  • · Replies 14 ·
Replies
14
Views
2K