Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Calculating Displacment from acceleration

  1. Jul 29, 2010 #1
    I have some accelerometer data from an object and I want to find the natural frequency and displacement of this object. A plot of the recorded data looks like this:

    k3cYOl.jpg

    As you can see, I did a FFT of the signal to find it's components, and at ~20Hz, we can see the main component.

    I know that, for the most part, this object is at steady state, so the equation for this component is in the forum of asin(wt).

    My question comes to finding the value of a. This is noise present on this signal, which can been seen below:

    Y8GKJl.jpg

    The red sin wave is one that I made to fit the main component of the signal (by plugging in different values until it "looked right"), and the frequency of this wave matches that given from the FFT. The amplitude of this wave (red) should be my acceleration value, correct? If so, then what is the best way to calculate it's value? If I take all the values that the accelerometer recorded (in g) and take the rms of all the values, will that give me the value of a for the main component?

    The accelerometer data is a 131328x4 matrix, so if I do:

    rms=sqrt(mean(y)^2+std(y)^2);

    where y is just the first column of data (that of one of the accelerometers)

    in Matlab, will I get the amplitude of my signal?
     
  2. jcsd
  3. Aug 23, 2017 #2
    There is no one answer to you?
     
  4. Aug 23, 2017 #3

    DrClaude

    User Avatar

    Staff: Mentor

    This was posted 7 years ago, by someone who hasn't been here for 3 years.

    Please do not revive such a dead thread, especially if you have nothing to contribute.

    Thread closed.
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook