03-23-2005 12:22 PM
03-24-2005 09:40 AM
03-24-2005 12:44 PM
@johnsold wrote:
Integration has a low pass frequency response. If you put the high pass filter first it will eliminate any DC component. A DC component will eventually cause the integrator to saturate unless it gets reset. Since you are filtering the DC out, I presume you are not interested in determining position. Thus, I would recommend high pass filtering first, then integrating.
As for initial conditions, it may depend upon what you are doing with the data, how many samples you are integrating at a time, etc. If the samples are taken continuously and integrated in blocks you might want to use shift registers to set the initial condition for block n to the final value from block n-1. Check the Help files for the Integrate VI for suggestions on appropriate use of the boundary conditions.
Lynn