Professional Documents
Culture Documents
Cascade form structures : To obtain the cascade form realization, the numerator and
denominator of given transfer function H(z) is factored into the product of second order
terms.
Here H1(z), H2(z) Hk(z) are second order polynomials Then each subtransfer function (H 1,
H2 etc.) can be realised using direct form I or direct form II structures. The total transfer
function is obtained by connecting all second order subsystems in series as shown in fig
below.
Now we have the general difference equation for discrete time Lii system given by.
We can write the second order differential equation for H k(z) by putting M = N =2 in eq.
(2).
We can obtain direct form-Il structure of eq. (3)
So all such subsystems should be connected in series to obtain the cascade form
realization of hR system.
By using partial fraction expansion we can express the overall transfer function
H(z)as:
Here C is constant and are second order subsystems.
The general block schematic of parallel realization structure for hR system is shown
below:
Here H1(z), H2(z) etc. can be realised by using direct-I or direct-Il structures. Then all
these structures are connected in parallel to obtain parallel form realization for hR
system.
direct form-I, direct form-Il, cascade and parallel structure for the system described
by:
1. Direct form-I
the order of
1. Direct form-Il : To obtain direct form-Il realization, we change H 1(z) and
H2(z), then resulting structure is shown below.
Ans. In impulse invariant method we have replace analog filter by digital filter. The
limitations of impulse invariance method are given below:
mapping from analog frequency to digital frequency is many to one. This mapping
is not one to one.
2. Analog filters are not band limited so there will be aliasing due to sampling process.
Because of this aliasing, the frequency response of resulting digital filter will not be
identical to the original frequency response of analog filter.
3. The change in the value of sampling time has no effect on the amount of
method as follows
Given
Now we will find the value of sampling time using the relation.
Using bilinear transformation H(z) can be obtained by putting, in
Ans. Butterworth filters are all pole filters characterized by the magnitude required
frequency response.
where N is the order of the filter, is its —3dB frequency (àsually called the out- off
frequency), is the passband edge frequency and is the band edge value
(i+e)
There are two types of chebyshev filters. Type I chebyshev filters are all pole filters that
exhibit equiripple behaviour in the passband and a monotonic characteristic in the
stopbond. On the other hand the family of type II Chebyshev filters contains both poles
and zeros and exhibits a monotonic behaviour in the passband. The magnitude squared of
the frequency response characteristics of a type I Chebyshev filter is given as:
Where e is a parameter of the filter related to the ripple in the passband and
……….(1)
Now we will find out the value of sampling time (T5) using we relation.
Ans. First we will calculate the values of the edge frequency for analog filter.
1. Given
4. Calculation of poles
5. Calculate roles:
6 Calculation of system function
impulse invariant method, obtain the digital filter realization of the analog filter
shown in fig.
Ans. Let
The unit sample response derived by sampling every second is given by:
Ans. Given
Using bilinear transformation
Let
Taking z-Transform
Assume T =1 sec.
frequency transformation in analog domain is done. Discuss in detail.
Frequency Transformations
Uptil now we have studied the design of low pass filter only. Now if it is asked to design
other filter like high pass, band pass or band reject filter then we have to use the
frequency transformation.
1.Low pass to low pass : Suppose it is asked to design another LPF with new passband
edge frequency Then use the transformation,
LP
2.Low pass to high pass: Suppose we have to design HPF with cut off frequency
then use,
3.Low pass to bandpass : Suppose we have to design bandpass filter with higher
cutoff frequency and lower cut off frequency then use the transformation,
4.Low pass to bandstop or notch or band reject : Suppose we have to design notch filter
with higher cut-off frequency and lower cut off frequency then use the
transformation,
The following Table gives the summary of frequency transformation
Note : These formulae are applicable for analog frequency transformation. Similarly, we
can transform the LPF in digital domain by using the formulae for digital frequency
transformation.
FIR FILTER DESIGN
signal flow graph representation and lattice form structures for FIR
systems.
Ans. Lattice Structure for FIR Filters : Consider Mth order FIR system with the transfer
function.
In the simplest way Equation (6) can be realized as shown in Fig. (a).
Now the same output can be obtained by using the structure shown in Fig. (b). This
structure is called as single stage lattice structure. This structure provides two outputs
That means the same output can be obtained using single stage lattice structure.
As M = 2 we have to cascade two stages to obtain two stage lattice structure as shown in
Fig. (c).
Here k1 and k2 are reflection coefficients The same way we can increase the number of
stages Finally Mth stage lattice structure is obtained as shown in Fig (d)
the magnitude and phase response of FIR filters. How is linear phase FIR filter
defined.
this polynomial constitute the zeroes of the filter. The frequency response of eq. (1) is
givr’ .by
We can write
which gives us
By taking ratio. (3) to (2), we have
Therefore, FIR filters will have constant phase and when the impulse response is
symmetrical about , then its phase is piecewise linear. Fig. below shows the
property of. eq. (5), for N = 6 and N = 5.
In both the cases when N = 6 and N = 5 in the general case, the unit impulse
response sequence satisfying eq. (5). is symmetrical about For N odd, there is
For this
Then
Therefore FIR filters have constant group delay and not constant phase delay when
their impulse response are antisymmetric around the centre of the sequence, as opposed
to the true linear phase sequence that are symmetric around the centre of the sequence.
Hence
Magnitude specification of FIR filter can be written as
design of FIR filter using window method Also compare design using Kaiser and
Hanrnng Windows
Ans. FIR Filter Design using Windows Different types of windows are used to design
FIR filter First we will discuss the design of FIR filter using rectangular window The
rectangular window is as shown in fig.
Let be infinite duration impulse response. We know that the finite impulse
response h(n) is obtained by multiplying
the design of FIR filters by rectangular and hamming windows. Compare their
performance.
Ans. The design of FIR filters by rectangular Window technique as given below.
Figure below illustrates the plot of equation (2). The transition width of the main labe is
approximate . The first sidelobe will be 13dB down the peak of main lobe and the
roll off will be at 20dB per decade. For a causal rectangular window, the frequency
response can be written as
From equation (2) and (3), it may be noted that the linear phase response of the the causal
filter is written as and the non causal impulse response will have a
zero phase shift.
It may be observed that the non-causal Hamming Window function is related to the
first side lobe is at —43dB. The side lobe roll off is 20 dB/decade.
Ans. FIR filter is said to be having a linear phase structure if its unit impulse
sequence is either symmetric or antisymmetric about some point in time. That means FIR
filter has linear phase if it satisfies the condition.
Here
………(7)
……….
(8)
For
Given,
From the frequency response, we can find that the given response is a symmetrical
N odd response.
Step 2. To find
In general,
Step 3. To find h(n):
So
use 10 tap filter and obtain the impulse response of the desired filter.
Therefore
Sol. Step 1. Draw the ideal desired frequency response of bandpass filter.
Form the desired frequency response, we can find that the given response is symmetric N
odd
Step 2. To find
Sol. Step 1. Draw the ideal desired frequency response of band reject filtr.
From the desired frequency response, we can find that the given response is symmertric,
N-odd.
Step 2. To find
In general,
From the desired frequency response, we can find that the given response is
symmetric.
Step 2. To find
We know that,
Step 1. The filter co-efficients can be obtained from part (a), step (2) and step (5)
As an example, for a first-order digital system (i.e., filter), we can write the difference
equation as under:
Figure illustrates the basic realization block diagram for equation (4) and also the
corresponding structure of the signal flow graph.
Note : From fig., it is quite obvious that there is a direct correspondence between
branches in the digital realization structure and branches in the corresponding signal flow
graph. However, in the signal flow graph, the nodes represent both branch points and
adders in the digital realization block diagram.
……….(1)
………(3)
can obtain
This output can also be obtained from a two-stage lattice filter as shown in figure
Conversion from Lattice Structure to Direct form Structure For N = 3 we can write the
difference equation for an hR filter as below
and from the lattice structure, we can write
And
Now, substituting equations (27) and equation (29) in eqauation (25), we obtain
The equation (32) canbe used to convert lattice structure to direct form.
various steps for the design of linear phase FIR filters using window method.
Design of Linear Phase FIR Filters Using Windows: Let us consider that the digital filter
which is to the designed have the frequency response This is also called the
desired frequency response. As discussed earlier, the required frequency response of a
digital filter is periodic in frequency and may be expanded in a Fourier series, i.e.,
Then, we have
The Fourier Series coefficients of the series h (n) are similar to the impulse response of a
digital filter. Infect, there are two difficulties in the implementation of expression in
equation (33) for designing a digital filter. Firstly, the impulse response is of infinite
duration and secondly, the filter is non-causal and unrealisable. No finite amount of delay
can make the impulse response realisable. Therefore, the filter resulting from a Fourier
series representation of is an unrealisable hR filter.
The finite duration impulse response may be converted to a finite duration impulse
response simply by truncating the infinite series n ± N. However, this results in
undesirable oscillations in the passband and stop band of the digital filter. This is because
of the slow convergence of the Fourier series near the points of discontinuity. These
undesirable oscillations can be reduced by using a set of time, limited weighting
functions, to known as window functions, to modify the Fourier coefficients. The
windowing technique has been illustrated in Fig.
The required frequency response and its Fourier coefficients {h (n)} have been
shown at the top of this figure The finite duration weighting function and is Fourier
transform are shown in the second row. The Fourier transform of the weighting
function contains a main label, which consists of most of the energy of the
window function and side lobes which decay rapidly. The sequence
A major effect of windowing is that the discontinuities in are converted into transi,
ion bands between values on either side of the discontinuity. The width of these transition
bands depends on the width of the main lobe of produces approximation errors for
all w. Based on the above discussion, the desirable characteristics can be listed as under
(i) The Fourier transform of the window functin must have a small width of main
lobe having as mush of the total energy as possible.
(ii) The Fourier transform of the window function should have side lobeswhich
decrease in energy rapidly as w tends to r. Some of the most frequently used window
functions are described in the following sections to follow
Figure illustrates the plot of eqation. The transition width of the main lobe is
approximaty . The first sidelobe will be 13dB down the peak of the main lobe and
the roll off will be at 20 d19 per decade. For a causal rectangular window, the frequency
resiponse can be written as:
From above equations, it may be noted that the linear phase response of the causal