<< Chapter < Page | Chapter >> Page > |
where is the desired ideal amplitude response, is the achieved amplitude response with the length related to by Equation 29 from FIR Digital Filters . This integral squared error is approximated by the discrete squared errordefined in [link] for which in some cases is much easier to minimize. However for some very useful cases, formulas can be foundfor that minimize [link] and that is what we will be considering in this section.
If the error measure is the unweighted integral squared error defined in [link] , Parseval's theorem gives the equivalent time-domain formulation for the error to be
In general, this ideal response is infinite in duration and, therefore, cannot be realized exactly byan actual FIR filter.
As was done in the case of the discrete error measure, we break the infinite sum in [link] into two parts, one of which depends on and the other does not.
Again, we see that the minimum is achieved by using for . In other words, the infinitely long is symmetrically truncated to give the optimal least integral squared errorapproximation. The problem then becomes one of finding the to truncate.
Here the integral definition of approximation error is used. This is usually what we really want, but in some cases the integrals can not becarried out and the sampled method above must be used.
Here we assume the simplest ideal lowpass single band FIR filter to have unity passband gain for and zero stopband gain for similar to those in Figure 8a from FIR Digital Filters and [link] . This gives
as the ideal desired amplitude response. The ideal shifted filter coefficients are the inverse DTFT from Equation 15 from Chebyshev or Equal Ripple Error Approximation Filters of this amplitude which for odd are given by
which is sometimes called a “sinc" function. Note is generally infinite in length. This is now symmetricallytruncated and shifted by to give the optimal, causal length- FIR filter coefficients as
and otherwise. The corresponding derivation for an even length starts with the inverseDTFT in Equation 5 from Constrained Approximation and Mixed Criteria for a shifted even length filter is
which when truncated and shifted by gives the same formula as for the odd length design in [link] but one should note that is not an integer for an even .
We now derive the design formula for a filter with an ideal amplitude response that is a linearly increasing function in the passband ratherthan a constant as was assumed above. This ideal amplitude response is given byand illustrated in [link] For odd, the ideal infinitely long shifted filter coefficients are the inverse DTFT of this amplitude given by
Notification Switch
Would you like to follow the 'Digital signal processing and digital filter design (draft)' conversation and receive update notifications?