gram an input to read acceleration, velocity and position. The
accelerometer takes 5vdc, at 0 acceleration outputs 2.5v and outputs
_+ 1v/g. I've taking the input through a DAQ then multiplied by 9.8
for scaling to m/s^2. I integrate twice, once for velocity and once
for position. I've adjusted for DC levels from the accelerometer. Do
I have to use a peak detect to get the actual position value? I've
also inserted a shift register so that the last position value is
added to the new position each time the loop runs. I've tried taking
200 samples at 1kHz...it appears to be working, but I can't make sense
os the data.
the accelerometer is attached to a mass, which hangs vertically on a
spring. The z axis is the only output.
I've included the file. Any help is much appreciated.
TIA