Calculating Displacment from acceleration

  • Thread starter 6Stang7
  • Start date
  • #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:


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:


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:


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?

Answers and Replies

  • #2
There is no one answer to you?
  • #3
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.

Related Threads on Calculating Displacment from acceleration