Professional Documents
Culture Documents
Structure of Fir Filter1
Structure of Fir Filter1
Third Stage
Digital Signal
:Report Title
structure of fir filter
For a FIR design, we have a couple of options such as the windowing method, the
frequency sampling method, and more. Then, we need to choose a realization
structure for the obtained system function. In other words, there are several structures
which exhibit the same system function H( z ) H(z). One consideration for choosing
The direct-form structure is directly obtained from the difference equation. Assume that
the difference equation of the FIR filter is given by
y ( n ) = M − 1 ∑ k = 0bk x ( n− k) y(n)=∑k=0M−1bkx(n−k)
Equation 1
Based on the above equation, we need the current input sample
For M = 5 M=5, we can simply obtain the following diagram from Equation 1.
an (M − 1) (M−1)th-order FIR filter. However, usually, we can almost halve the
number of multipliers. This can be achieved by noting that we are mainly interested in
linear-phase FIR filters. In fact, the main advantage of a FIR filter over an infinite
impulse response (IIR) design is its linear-phase response, otherwise, for a given set of
specifications, an IIR design can offer a filter of lower order and reduce the
computational complexity. On the other hand, for a linear-phase FIR filter, we observe
the following symmetry in the coefficients of the difference equation
bk = ±bM − 1 − k bk=±bM−1−k
y ( n ) = b0 x ( n )
+ b1 x ( n− 1) + b2 x ( n− 2) + b3 x ( n− 3) + b4 x ( n− 4) y(n)=b0
x(n)+b1x(n−1)+b2x(n−2)+b3x(n−3)+b4x(n−4)
+ b2 x ( n− 2) y(n)=b0(x(n)+x(n−4))+b1(x(n−1)+x(n−3))+b2x(n−2)
The structure obtained from the above equation is shown in Figure 2. While Figure 1
requires five multipliers, employing the symmetry of a linear-phase FIR filter, we can
implement the filter using only three multipliers. This example shows that for an
(M−1)th-order FIR filter from M M to M + 12 M+12. For a brief discussion about
While the direct form is derived from the difference equation, the cascade structure is
obtained from the system function H( z ) H(z). The idea is to decompose the target
system function into a cascade of second-order FIR systems. In other words, we need to
find second-order systems which satisfy
+ b2k z− 2 ) H(z)=∑k=0M−1bkz−k=∏k=1P(b0k+b1kz−1+b2kz−2)
Equation 2
real. The reader may wonder why we need to rewrite a given H( z ) H(z) in terms of
second-order sections. In a future article, we will see that the main advantage of the
cascade structure is its smaller sensitivity to the coefficient quantization.
To clarify converting a system function into the cascade form, let’s review an example.
Summary
References :
1. allaboutcircuits.com/technical-articles/structures-for-implementing-finite-
impulse-response-filters/