Like some of you, I am trying to extract displacement information by doubly integrating accelerometer data. I am running into two problems that I hope the signal processing expertise of this bulletin board can help.
The periodic signal that I am trying to measure is ~1-3 hertz. I have attempted to filter the data with various LabVIEW bandpass filters (forward and backward filtered) but I cannot sufficiently remove the DC offset such that the results from the double integration do not just take off to infinity. I have been subtracting the mean from both the acceleration data and the first integral results (velocity) just to get a periodic displacement result that is the correct order of magnitude. however, I've noticed that noodling w
ith the number of poles of the various filters I've tried (butterworth, chebyshev) can effect the displacement results by as much as 20%.
So, my two questions:
(1) How can I remove the DC offset of a 1-3 Hz signal that is drifting over time?
(2) What is good practice for using digital filters? Can I "calibrate" the filter by figuring out the number of poles that gives a result that matches a known displacement and then subsequently use that filter setting for future measurements?
I look forward to your response.
Jeremy