02-22-2011 03:21 PM
Hey maxwellb,
Try replacing your DFD NStage MRate Filtering with State with simply the DFD NStage MRate Filtering VI. You can create a True Constant and set the init? (F) to TRUE for your first case, then have it as FALSE for the remaining iterations. Let me know if that helps!
02-22-2011 04:27 PM
Taylor,
I actually have tried that, and the effects are almost exactly the same.
02-23-2011 08:55 AM
What sort of filter configurations do you have feeding in to the DFD NStage MRate Filtering with State.vi?
02-23-2011 12:14 PM
After doing some research, what is most likely causing this unwanted artifact is the natural transient response for digital filters. There's a great article and example at the link below that explains the transient response for a digital filter and why it takes some time for the signal to settle down to its steady state. If you get a chance, run through the article and example and let me know if this helps!
02-23-2011 01:35 PM
Taylor,
This article does describe something similar to my problem. That is encouraging to see. However, it doesn't mention any solutions.
Is this just a problem that digital filters will always have? I thought there must be some way to initialize the filter correctly and avoid the initial transient.
02-23-2011 02:43 PM
When using digital filters, it is my understanding that there will always be a transient state that the output signal will go through before it reaches its steady state. However, depending on what type of filter you use (Finite Impulse Response or Infinite Impulse Response), that transient response can vary based on filter orders and feedback coefficients. As you can see in that example, the transient response varies if you change the filter type and the filter order. Hope this helps!