DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Integrating Acceleration

I am having difficulty figuring how to implement integrals of acceleration to displacement into my script. I need to add the function of calculating the displacement for each axis from a tri-accelerometer with x-axis being frequency. I currently have a script that can apply FFT to the raw data and graph the acceleration against frequency. When I just integrate the acceleration, the values go off to infinite. I think im missing the unknown constants and boundary conditions to the integrals when going from acceleration to displacement but im not sure on how to add that.

 

Can someone help me go from acceleration to displacement correctly using vbs script?  

0 Kudos
Message 1 of 5
(157 Views)

Script and data would be helpful to see what goes wrong.

Holger Müller

DIAdem experience since 1996
Turn-key applications - Remote and on-site trainings - On-the-job training

| müller+krahmer GmbH | Koenitzer Straße 14, 07338 Kaulsdorf / Germany |
| Phone: +49 36733 / 2328 - 6 | Mobile: +49 160 / 287 7294 |
| Email: mueller@mueller-krahmer.de | Web: www.mueller-krahmer.de |
0 Kudos
Message 2 of 5
(91 Views)

Holger, I have two data acquisition systems and with one I can convert it to displacement, but the post processing of that system is held within. Attached is picture showing results from system 1 outputting the raw data into displacement. I am currently trying to solve for just one direction of the tri-accelerometer on Diadem which is how I post process data for the second data acquisition system. Attached is the script where I convert the raw data which is in g to m/s^2. Then I double integrate and apply a FFT to it. The attached raw data is exported from the first system which outputted the attached graph in hopes of finding a way in diadem to get displacement correct. 

 

Any feedback is appreciated. 

0 Kudos
Message 3 of 5
(82 Views)

Checked your data and script and found no obvious error, but also no similarities between data of the two systems. Are both datasets from the same test?

Holger Müller

DIAdem experience since 1996
Turn-key applications - Remote and on-site trainings - On-the-job training

| müller+krahmer GmbH | Koenitzer Straße 14, 07338 Kaulsdorf / Germany |
| Phone: +49 36733 / 2328 - 6 | Mobile: +49 160 / 287 7294 |
| Email: mueller@mueller-krahmer.de | Web: www.mueller-krahmer.de |
0 Kudos
Message 4 of 5
(58 Views)

Yes, the datasets are from the exact same test. The graph from the first system is the data already processed into displacement. I took the raw data that was used to make that graph and put it into an excel sheet to try and replicate with Diadem. 

0 Kudos
Message 5 of 5
(15 Views)