First off, if this isn't the proper stack for this, I apologize, but since my question isn't based around code, I think this is the proper place.
I am making a system based around a 3 DOF accelerometer to track earthquakes. I take the magnitude of the three axis: mag = sqrt(x^2 + y^2 + z^2). I then take a moving average of 64 points of the data. I get great noise reduction from this method.
My question is on the baseline value of the accelerometer readings. It is my understanding, that since I take the magnitude of the 3 axis, that at any given location, the orientation of the accelerometer shouldn't affect the magnitude?
I shook the table that the acc was on, gives a great image of the vibration, but it doesn't return to the original baseline. This same type of behavior happens if I spin it, raise or lower it, ect..
I am using a Invensense MPU-6050 accelerometer. I do have access to other 3 DOF gyro, maybe that could be helpful? I didn't think so since I don't need exact orientation out of it.
Thanks a lot.
Moved back to baseline exactly. So it seems like it's a calibration issue.