# How do I measure max oscillation of building using accelerometer?

For my school project, I am trying to measure the effect of a mass damper by changing the length of the string (that carries the mass), my setup is similar to the following video: https://youtu.be/f1U4SAgy60c?t=4m4s

I am trying to find a relationship between the length of the string and the oscillation of the "building". But I don't know exactly what the guy in the video is trying to measure and if it is related to what I'm trying to do.

Is it possible to use an accelerometer to map the oscillation of the "building" and if so, is there a relationship between the accelerometer data and the displacement of the oscillation?

My aim is to find the maximum amplitude for different lengths of string, so does a larger amplitude from the accelerometer data correspond to a larger amplitude in the displacement time graph?

I am desperate for help as I would much rather use accelerometer data rather than use a ruler in the background to measure the displacement of the oscillation.

• well the basic math idea is very simple: acceleration is the derivative of velocity; velocity the derivative of displacement. Reverse operation to derivation is integration. The rest is basic research. – Marcus Müller Apr 19 '18 at 8:19
• But then there is no equation for my data when I plot acceleration against time, so how would I go about doing this, also, is it possible to just use acceleration to indicate the oscillation of the "building"? – G. Gerald Apr 19 '18 at 9:09
• Um, you've got discrete samples, so do discrete integration. I don't understand the problem you're having, to be honest. – Marcus Müller Apr 19 '18 at 9:10
• <old man mode>Darn these kids today. Got smart phones in their pockets that would have been super computers back in my day, and can't discover numerical integration by themselves. Can't even use 'em to find the wikipedia article that tells you how it works</old man mode> – JRE Apr 19 '18 at 12:08
• Oh, and by the way, a mass damper that uses a "string" to couple the mass to the frame will have very little damping. See 6:40 in the video. – WhatRoughBeast Apr 19 '18 at 12:19