SlideShare a Scribd company logo
1 of 43
Download to read offline
Digital Signal Processing
Module -5
Realization of Digital Filter
Structures for Realization of IIR
Systems
• In general, the time domain representation of
an Nth order IIR system is,
𝑦 𝑛 = − 𝑎𝑚𝑦 𝑛 − 𝑚 + 𝑏𝑚𝑥 𝑛 − 𝑚
𝑀
𝑚=0
𝑁
𝑚=1
• And the z-domain representation of an Nth
order IIR system is,
𝐻 𝑧 =
𝑌(𝑧)
𝑋(𝑧)
=
𝑏0
+ 𝑏1
𝑧
−
1
+ 𝑏2
𝑧
−
2
+ …. + 𝑏𝑀𝑧
−
𝑀
.
1 + 𝑎1
𝑧
−
1
+ 𝑎2
𝑧
−
2
+ …. + 𝑎𝑁𝑧
−
𝑁
• The above two representations of IIR system
can be viewed as a computational procedure
to determine the output sequence y(n) from
the input sequence x(n).
• Also in the above representations the value of
M gives the number of zeros and value of N
gives the number of poles of the IIR system.
Structures for Realization of IIR
Systems
• The computations in the above equation can
be arranged into various equivalent sets of
difference equations which leads to different
types of structures for realizing IIR Systems.
• Some of the structures of the system gives a
direct relation between the time - domain
equation and the z-domain equation.
• The different types of structures for realizing
the IIR systems are
1. Direct form – I structure
2. Direct form – II structure
3. Cascade form structure
4. Parallel form structure
Direct Form – I Structure of IIR System
• Consider the difference equation governing an IIR
system.
𝑦 𝑛 = − 𝑎𝑚𝑦 𝑛 − 𝑚 + 𝑏𝑚𝑥 𝑛 − 𝑚
𝑀
𝑚=0
𝑁
𝑚=1
𝑦 𝑛 = − 𝑎1𝑦(𝑛 − 1) − 𝑎2𝑦(𝑛 − 2) − ….. − 𝑎𝑁𝑦(𝑛 − 𝑁)
+ b0x(n) + b1x(n-1) + b2x(n-2) + ….. + bMx(n-M)
• On taking Z-transform of the above equation we
get,
𝑦 𝑧 = −𝑎1𝑧
− 1𝑌(𝑧) −𝑎2𝑧
− 2𝑌 𝑧 − …..
−𝑎𝑁𝑧
− 𝑁𝑌 𝑧 + 𝑏0𝑋 𝑧 + 𝑏1𝑧
− 1 𝑋 𝑧 +
𝑏2𝑧
− 2 𝑋 𝑧 + … . +𝑏𝑀𝑧
− 𝑀 𝑋(𝑧)
• The above equation can be directly represented
by a block diagram as shown in figure(slide 8) and
this structure is called direct form –I structure.
• The direct form –I structure requires separate
delays (z-1) for input and output samples. Hence,
it requires more memory.
Direct Form – I Structure of IIR System
Direct Form – I Structure of IIR System
• From the direct form – I structure, it is observed that the
realization of an Nth order discrete time system with M
number of zeros and N number of poles, involves M+N+1
number of multiplications and M+N number of additions.
• Also this structure involves M+N delays and so M+N
memory locations are required to store the delayed
signals.
• When the number of delays in a structure is
equal to the order of the system, the structure
is called canonic structure.
• If the number of delays is not equal to order
of the system and so direct form-I structure is
non-canonic structure
Direct form – II Structure of IIR System
• It uses less number of delay elements than the direct
form –I structure.
• Consider the general difference equation governing
an IIR system,
𝑦 𝑛 = − 𝑎𝑚𝑦 𝑛 − 𝑚 + 𝑏𝑚𝑥 𝑛 − 𝑚
𝑀
𝑚=0
𝑁
𝑚=1
𝑦 𝑛 = − 𝑎1𝑦(𝑛 − 1) − 𝑎2𝑦(𝑛 − 2) − ….. − 𝑎𝑁𝑦(𝑛 − 𝑁)
+ b0x(n) + b1x(n-1) + b2x(n-2) + ….. + bMx(n-M)
• On taking Z-transform of the above equation we get,
𝑌 𝑧 = −𝑎1𝑧
− 1𝑌(𝑧) −𝑎2𝑧
− 2𝑌 𝑧 − ….. −𝑎𝑁𝑧
− 𝑁𝑌 𝑧
+𝑏0𝑋 𝑧 + 𝑏1𝑧
− 1 𝑋 𝑧 + 𝑏2𝑧
− 2 𝑋 𝑧 + … . +𝑏𝑀𝑧
− 𝑀 𝑋(𝑧)
Direct form – II Structure of IIR System
𝑌 𝑧 + 𝑎1𝑧
− 1𝑌(𝑧) + 𝑎2𝑧
− 2𝑌 𝑧 + ….. + 𝑎𝑁𝑧
− 𝑁𝑌 𝑧
= 𝑏0𝑋 𝑧 + 𝑏1𝑧
− 1 𝑋 𝑧 + 𝑏2𝑧
− 2 𝑋 𝑧 + ⋯ + 𝑏𝑀𝑧
− 𝑀 𝑋 𝑧
Y(z) [1 + a1z-1 + a2 z-2 + …. + aNz-N] = X(z)[b0 + b1z-1 +
b2z-2 + …. + bMz-M]
Y(z)
X(z )
=
[b0 + b1z−1 + b2z−2 + …. + bMz−M]
[1 + a1z−1 + a2 z−2 + …. + aNz−N]
Direct form – II Structure of IIR System
Let,
Y(z)
X(Z )
=
W(z)
X(Z )
*
Y(z)
W(Z )
Where,
W(z)
X(Z )
=
1
[1 + a1z−1 + a2 z−2 + …. + aNz−N]
Y(z)
W(Z )
= [b0 + b1z-1 + b2z-2 + …. + bMz-M]
On cross multiplying (1) we get,
W(z) + a1z-1W(z)+ a2 z-2W(z)+…+ aNz-NW(z)=X(z)
Or
W(z) = X(z) - a1z-1W(z) − a2 z-2W(z) − …. - aNz-NW(z)
Direct form – II Structure of IIR System
• On cross multiplying (2) we get,
Y(z)=b0 W(z)+ b1z-1 W(z)+ b2z-2 W(z)+ …. + bMz-MW(z)
• The equation (3) & (4) represent the IIR system in z-
domain and can be realized by a direct structure called
direct form – II structure as shown in figure(slide 15).
• From the direct form – II structure , it is observed that
the realization of an Nth order discrete time system
with M number of zeros and N number of poles,
involves M+N+1 number of multiplications and M+N
number of additions.
• N memory locations are required to store the delayed
signals.
Direct form – II Structure of IIR System
Cascade Form Realization of IIR System
• The transfer function H(z) can be expressed as a
product of a number of second order or first order
sections, as shown in below equation.
𝐻 𝑧 =
𝑌(𝑧)
𝑋(𝑧)
= H1 z ∗ H2 z ∗ H3 z … . Hm z
= 𝐻𝑖(𝑧)
𝑚
𝑖=1
Where, 𝐻𝑖 𝑧 =
c0i + c1iz
−1 + c2iz
−2
d0i + d1iz
−1 + d2iz
−2 ------(second order
section)
(𝑜𝑟) 𝐻𝑖 𝑧 =
c0i + c1iz
−1
d0i + d1iz
−1 --------( First order section)
Cascade Form Realization of IIR System
• The individual second order or first order
sections can be realized either in direct form –
I or direct form – II structures.
• The overall system is obtained by cascading
the individual sections as shown in figure(slide
18).
• The number of calculations and the memory
requirement depends on the realization of
individual sections.
Cascade Form Realization of IIR System
• The difficulty in cascade structure are,
1. Decision of pairing poles and zeros.
2. Deciding the order of cascading the first
and second order sections.
3. Scaling multipliers should be provided
between individual sections to prevent the system
variables from becoming too large or too small.
Parallel Form Realization of IIR System
• The transfer function H(z) of a discrete time system can
be expressed as a sum of first and second order
sections, using partial fraction expansion technique as
shown in below equation.
𝐻 𝑧 =
𝑌(𝑧)
𝑋(𝑧)
= C + H1 z ∗ H2 z ∗ H3 z … . Hm z
= C + 𝐻𝑖(𝑧)
𝑚
𝑖=1
Where, 𝐻𝑖 𝑧 =
c0i + c1iz
−1
d0i + d1iz
−1 + d2iz
−2 ------(second order
section)
(𝑜𝑟) 𝐻𝑖 𝑧 =
c0i
d0i + d1iz
−1 --------( First order section)
Parallel Form Realization of IIR System
Structures for Realization of FIR
Systems
• In general, the time domain representation of
an Nth order FIR system is,
𝑦 𝑛 = 𝑏𝑚𝑋(𝑛 − 𝑚)
𝑁−1
𝑚=0
= b0x(n) + b1x(n-1) + b2x(n-2) + …. + bN-1x(n-(N-1))
• And the z-domain representation of a FIR system is,
𝐻 𝑧 =
𝑌(𝑧)
𝑋(𝑧)
= b0 + b1z-1 + b2z-2 + …. + bN-1z-(N-1)
Structures for Realization of FIR
Systems
• The above two representations of FIR system can be
viewed as a computational procedure to determine the
output sequence y(n) from the input sequence x(n). And
the value of N gives the number of zeros of the FIR
system.
• The computations in the above equation can be arranged
into various equivalent sets of difference equations,
which leads to different types of structures for realizing
FIR systems.
• The different types of structures for realizing
FIR system are
1. Direct form realization
2. Cascade realization
3. Linear phase realization
Direct Form Realization of FIR System
• Consider the difference equation governing a
FIR system,
𝑦 𝑛 = 𝑏𝑚𝑋(𝑛 − 𝑚
𝑁−1
𝑚=0 )
= b0x(n) + b1x(n-1) + b2x(n-2) + …. + bN-1x(n-(N-1))
• On taking z-transform of the above equation
we get,
Y(Z) = b0X(z) + b1z-1X(z) + b2z-2X(z) + b3z-
3X(z) + …. + bN-2z-(N-2)X(z) + bN-1z-(N-1)X(z)
• The above equation can be directly
represented by a block diagram as shown in
figure(slide 27) and this structure is called
direct form structure.
Direct Form Realization of FIR System
• The direct form structure provides a direct
relation between time domain and z- domain
equations.
• From the direct form structure, it is observed that
the realization of an Nth order FIR discrete time
system involves N number of multiplications and
N-1 number of additions.
• Also structure involves N-1 delays and so N-1
memory locations are required to store the
delayed signals.
Direct Form Realization of FIR System
Cascade Form Realization of FIR
System
• Consider the transfer function of a FIR system,
𝐻 𝑧 =
𝑌(𝑧)
𝑋(𝑧)
= b0 + b1z-1 + b2z-2 + …. + bN-1z-(N-1)
• The transfer function of FIR system is (N-1)th
order polynomial in z.
• This polynomial can be factorized into first and
second order factors .
Cascade Form Realization of FIR
System
• The transfer function can be expressed as a
product of first and second order factors or
sections as shown in below equation.
𝐻 𝑧 =
𝑌(𝑧)
𝑋(𝑧)
= H1 z ∗ H2 z ∗ H3 z … . Hm z
= 𝐻𝑖(𝑧)
𝑚
𝑖=1
Where, Hi(z) = c0i + c1iz-1 + c2iz-2---(second order section)
Or , Hi(z) = c0i + c1iz-1 ----------------(First order section)
Cascade Form Realization of FIR
System
• The individual second order or first order
sections can be realized either in direct form
structure or linear phase structure.
• The overall system is obtained by cascading
the individual sections as shown in
figure(slide31).
• The number of calculations and the memory
requirement depends on the realization of
individual sections.
Cascade Form Realization of FIR
System
Linear Phase Realization of FIR System
• Consider the impulse response h(n) of FIR
system,
h(n) = {b0, b1, b2, ….. , bN-1}
• In FIR system, for linear phase response the
impulse response should be symmetrical.
• The condition for symmetry is,
h(n) = h(N-1-n)
Linear Phase Realization of FIR System
• When the impulse response is symmetric, the samples
of impulse response will satisfy the condition ,
bn = bN-1-n.
• By using the above symmetry condition it is possible to
reduce the number of multipliers required for the
realization of FIR System. Hence the linear phase
realization is also called realization with minimum
number of multipliers.
• Consider the transfer function of FIR system,
𝐻 𝑧 =
𝑌(𝑧)
𝑋(𝑧)
= b0 + b1z-1 + b2z-2 + …. + bN-1z-(N-1)
Linear Phase Realization of FIR System
Case (i): When N is even
• 𝐻 𝑧 =
𝑌(𝑧)
𝑋(𝑧)
= b0 + b1z-1 + b2z-2 + …. + bN-1z-(N-1)
= 𝑏𝑚𝑧
𝑁−1
𝑚=0
-m
= 𝑏𝑚𝑧
(
𝑁
2
)−1
𝑚=0
-m + 𝑏𝑚𝑧
𝑁−1
𝑚=(
𝑁
2
)
-m
• Let, p = N-1-m (or) m = N-1-p
• When m=N/2; p = N-1-(N/2) = (N/2)-1
• When m= N-1; p = N-1-(N-1) = 0
Linear Phase Realization of FIR System
• Therefore,
𝑌(𝑧)
𝑋(𝑧)
= 𝑏𝑚𝑧
(
𝑁
2
)−1
𝑚=0
-m + 𝑏𝑁 − 1 − 𝑝𝑧
(
𝑁
2
)−1
𝑝=0
-(N-1-p)
= 𝑏𝑚𝑧
(
𝑁
2
)−1
𝑚=0
-m + 𝑏𝑁 − 1 − 𝑚𝑧
(
𝑁
2
)−1
𝑚=0
-(N-1-m)
= 𝑏𝑚𝑧
(
𝑁
2
)−1
𝑚=0
-m + 𝑏𝑚𝑧
(
𝑁
2
)−1
𝑚=0
-(N-1-m)
= 𝑏𝑚[𝑧
(
𝑁
2
)−1
𝑚=0
-m + z –(N-1-m)]
Linear Phase Realization of FIR System
• Therefore,
Y(z) = b0[X(z) + z-(N-1)X(z)] + b1[z-1X(z) + z-(N-
2)X(z)] + ….. + b(n/2)-2 [z-((N/2)-2)X(z) + z-
((N/2)+1)X(z)]+ b(n/2)-1 [z-((N/2)-1)X(z) + z-
(N/2)X(z)]
• When N is even , the above equation can be used
to construct the direct form structure of linear
phase FIR system with minimum number of
multipliers as shown in figure(slide37).
Linear Phase Realization of FIR System
Linear Phase Realization of FIR System
Case (ii) : When N is odd
• 𝐻 𝑧 =
𝑌(𝑧)
𝑋(𝑧)
= b0 + b1z-1 + b2z-2 + …. + bN-1z-(N-1)
= 𝑏𝑚𝑧
𝑁−1
𝑚=0
-m
= 𝑏𝑚𝑧
(
𝑁−3
2
)
𝑚=0
-m +b((N-1)/2)z-((N-1)/2)
+ 𝑏𝑚𝑧
𝑁−1
𝑚=(
𝑁+1
2
)
-m
• Let, p = N-1-m (or) m = N-1-p
When m=(N+1)/2; p = N-1-((N+1)/2)
= ((N-3)/2)
When m= N-1; p = N-1-(N-1) = 0
𝑌(𝑧)
𝑋(𝑧)
= 𝑏𝑚𝑧
(
𝑁−3
2
)
𝑚=0
-m +b((N-1)/2)z-((N-1)/2)
+ 𝑏𝑁 − 1 −
(
𝑁−3
2
)
𝑝=0 𝑝𝑧-(N-1-p)
Linear Phase Realization of FIR System
• Therefore,
= 𝑏𝑚𝑧
(
𝑁−3
2
)
𝑚=0
-m +b((N-1)/2)z-((N-1)/2)
+ 𝑏𝑁 − 1 −
(
𝑁−3
2
)
𝑚=0 𝑚𝑧-(N-1-m)
= 𝑏𝑚𝑧
(
𝑁−3
2
)
𝑚=0
-m +b((N-1)/2)z-((N-1)/2)
+ 𝑏
(
𝑁−3
2
)
𝑚=0 𝑚𝑧-(N-1-m)
= b((N-1)/2)z-((N-1)/2) + 𝑏
(
𝑁−3
2
)
𝑚=0 𝑚[𝑧−m + 𝑧-(N-1-m)
]
Linear Phase Realization of FIR System
• Therefore,
Y(z) = b((N-1)/2)z-((N-1)/2) X(z)+b0[X(z) +
z-(N-1)X(z)] + b1[z-1X(z) + z-(N-2)X(z)] + ….. +
b((N-5)/2) [z-((N-5)/2)X(z) + z-((N+3)/2)X(z)] +
b((n-3)/2) [z-((N-3)/2)X(z)+z-((N+1)/2)X(z)]
• When N is odd , the above equation can be
used to construct the direct form structure of
linear phase FIR system with minimum
number of multipliers as shown in
figure(slide42).
Linear Phase Realization of FIR System
Linear Phase Realization of FIR System
• From the direct form linear phase structure, it
is observed that the realization of an Nth order
FIR discrete time system for odd values of N
involves (N+1)/2 number of multiplications
and N-1 number of additions.
• Also structure involves N-1 delays and so N-1
memory locations are required to store the
delayed signals.

More Related Content

Similar to DSP- Module -5.pdf

digital-signal-processing-objective.docx
digital-signal-processing-objective.docxdigital-signal-processing-objective.docx
digital-signal-processing-objective.docx
Srinivasu Raju
 
Paper computer
Paper computerPaper computer
Paper computer
bikram ...
 
Paper computer
Paper computerPaper computer
Paper computer
bikram ...
 
Solving the energy problem of helium final report
Solving the energy problem of helium final reportSolving the energy problem of helium final report
Solving the energy problem of helium final report
JamesMa54
 
Chapter 4 time domain analysis
Chapter 4 time domain analysisChapter 4 time domain analysis
Chapter 4 time domain analysis
Bin Biny Bino
 

Similar to DSP- Module -5.pdf (20)

Consider the system.docx
Consider the system.docxConsider the system.docx
Consider the system.docx
 
Digitalcontrolsystems
DigitalcontrolsystemsDigitalcontrolsystems
Digitalcontrolsystems
 
Lec4 State Variable Models are used for modeing
Lec4 State Variable Models are used for modeingLec4 State Variable Models are used for modeing
Lec4 State Variable Models are used for modeing
 
digital-signal-processing-objective.docx
digital-signal-processing-objective.docxdigital-signal-processing-objective.docx
digital-signal-processing-objective.docx
 
Control assignment#1
Control assignment#1Control assignment#1
Control assignment#1
 
Signals and Systems part 2 solutions
Signals and Systems part 2 solutions Signals and Systems part 2 solutions
Signals and Systems part 2 solutions
 
P3.4,p3.2
P3.4,p3.2P3.4,p3.2
P3.4,p3.2
 
Robot maptalk
Robot maptalkRobot maptalk
Robot maptalk
 
Computer graphics notes 2 tutorials duniya
Computer graphics notes 2   tutorials duniyaComputer graphics notes 2   tutorials duniya
Computer graphics notes 2 tutorials duniya
 
Computer graphics 2
Computer graphics 2Computer graphics 2
Computer graphics 2
 
Signals and Systems Assignment Help
Signals and Systems Assignment HelpSignals and Systems Assignment Help
Signals and Systems Assignment Help
 
Solution manual for theory and applications of digital speech processing lawr...
Solution manual for theory and applications of digital speech processing lawr...Solution manual for theory and applications of digital speech processing lawr...
Solution manual for theory and applications of digital speech processing lawr...
 
assignemts.pdf
assignemts.pdfassignemts.pdf
assignemts.pdf
 
Paper computer
Paper computerPaper computer
Paper computer
 
Paper computer
Paper computerPaper computer
Paper computer
 
Signals and systems: Part ii
Signals and systems:  Part iiSignals and systems:  Part ii
Signals and systems: Part ii
 
AU QP Answer key NOv/Dec 2015 Computer Graphics 5 sem CSE
AU QP Answer key NOv/Dec 2015 Computer Graphics 5 sem CSEAU QP Answer key NOv/Dec 2015 Computer Graphics 5 sem CSE
AU QP Answer key NOv/Dec 2015 Computer Graphics 5 sem CSE
 
Solving the energy problem of helium final report
Solving the energy problem of helium final reportSolving the energy problem of helium final report
Solving the energy problem of helium final report
 
Chapter 4 time domain analysis
Chapter 4 time domain analysisChapter 4 time domain analysis
Chapter 4 time domain analysis
 
Manual solucoes ex_extras
Manual solucoes ex_extrasManual solucoes ex_extras
Manual solucoes ex_extras
 

Recently uploaded

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
dharasingh5698
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 

Recently uploaded (20)

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 

DSP- Module -5.pdf

  • 1. Digital Signal Processing Module -5 Realization of Digital Filter
  • 2. Structures for Realization of IIR Systems • In general, the time domain representation of an Nth order IIR system is, 𝑦 𝑛 = − 𝑎𝑚𝑦 𝑛 − 𝑚 + 𝑏𝑚𝑥 𝑛 − 𝑚 𝑀 𝑚=0 𝑁 𝑚=1 • And the z-domain representation of an Nth order IIR system is, 𝐻 𝑧 = 𝑌(𝑧) 𝑋(𝑧) = 𝑏0 + 𝑏1 𝑧 − 1 + 𝑏2 𝑧 − 2 + …. + 𝑏𝑀𝑧 − 𝑀 . 1 + 𝑎1 𝑧 − 1 + 𝑎2 𝑧 − 2 + …. + 𝑎𝑁𝑧 − 𝑁
  • 3. • The above two representations of IIR system can be viewed as a computational procedure to determine the output sequence y(n) from the input sequence x(n). • Also in the above representations the value of M gives the number of zeros and value of N gives the number of poles of the IIR system.
  • 4. Structures for Realization of IIR Systems • The computations in the above equation can be arranged into various equivalent sets of difference equations which leads to different types of structures for realizing IIR Systems. • Some of the structures of the system gives a direct relation between the time - domain equation and the z-domain equation.
  • 5. • The different types of structures for realizing the IIR systems are 1. Direct form – I structure 2. Direct form – II structure 3. Cascade form structure 4. Parallel form structure
  • 6. Direct Form – I Structure of IIR System • Consider the difference equation governing an IIR system. 𝑦 𝑛 = − 𝑎𝑚𝑦 𝑛 − 𝑚 + 𝑏𝑚𝑥 𝑛 − 𝑚 𝑀 𝑚=0 𝑁 𝑚=1 𝑦 𝑛 = − 𝑎1𝑦(𝑛 − 1) − 𝑎2𝑦(𝑛 − 2) − ….. − 𝑎𝑁𝑦(𝑛 − 𝑁) + b0x(n) + b1x(n-1) + b2x(n-2) + ….. + bMx(n-M)
  • 7. • On taking Z-transform of the above equation we get, 𝑦 𝑧 = −𝑎1𝑧 − 1𝑌(𝑧) −𝑎2𝑧 − 2𝑌 𝑧 − ….. −𝑎𝑁𝑧 − 𝑁𝑌 𝑧 + 𝑏0𝑋 𝑧 + 𝑏1𝑧 − 1 𝑋 𝑧 + 𝑏2𝑧 − 2 𝑋 𝑧 + … . +𝑏𝑀𝑧 − 𝑀 𝑋(𝑧) • The above equation can be directly represented by a block diagram as shown in figure(slide 8) and this structure is called direct form –I structure. • The direct form –I structure requires separate delays (z-1) for input and output samples. Hence, it requires more memory.
  • 8. Direct Form – I Structure of IIR System
  • 9. Direct Form – I Structure of IIR System • From the direct form – I structure, it is observed that the realization of an Nth order discrete time system with M number of zeros and N number of poles, involves M+N+1 number of multiplications and M+N number of additions. • Also this structure involves M+N delays and so M+N memory locations are required to store the delayed signals.
  • 10. • When the number of delays in a structure is equal to the order of the system, the structure is called canonic structure. • If the number of delays is not equal to order of the system and so direct form-I structure is non-canonic structure
  • 11. Direct form – II Structure of IIR System • It uses less number of delay elements than the direct form –I structure. • Consider the general difference equation governing an IIR system, 𝑦 𝑛 = − 𝑎𝑚𝑦 𝑛 − 𝑚 + 𝑏𝑚𝑥 𝑛 − 𝑚 𝑀 𝑚=0 𝑁 𝑚=1 𝑦 𝑛 = − 𝑎1𝑦(𝑛 − 1) − 𝑎2𝑦(𝑛 − 2) − ….. − 𝑎𝑁𝑦(𝑛 − 𝑁) + b0x(n) + b1x(n-1) + b2x(n-2) + ….. + bMx(n-M) • On taking Z-transform of the above equation we get, 𝑌 𝑧 = −𝑎1𝑧 − 1𝑌(𝑧) −𝑎2𝑧 − 2𝑌 𝑧 − ….. −𝑎𝑁𝑧 − 𝑁𝑌 𝑧 +𝑏0𝑋 𝑧 + 𝑏1𝑧 − 1 𝑋 𝑧 + 𝑏2𝑧 − 2 𝑋 𝑧 + … . +𝑏𝑀𝑧 − 𝑀 𝑋(𝑧)
  • 12. Direct form – II Structure of IIR System 𝑌 𝑧 + 𝑎1𝑧 − 1𝑌(𝑧) + 𝑎2𝑧 − 2𝑌 𝑧 + ….. + 𝑎𝑁𝑧 − 𝑁𝑌 𝑧 = 𝑏0𝑋 𝑧 + 𝑏1𝑧 − 1 𝑋 𝑧 + 𝑏2𝑧 − 2 𝑋 𝑧 + ⋯ + 𝑏𝑀𝑧 − 𝑀 𝑋 𝑧 Y(z) [1 + a1z-1 + a2 z-2 + …. + aNz-N] = X(z)[b0 + b1z-1 + b2z-2 + …. + bMz-M] Y(z) X(z ) = [b0 + b1z−1 + b2z−2 + …. + bMz−M] [1 + a1z−1 + a2 z−2 + …. + aNz−N]
  • 13. Direct form – II Structure of IIR System Let, Y(z) X(Z ) = W(z) X(Z ) * Y(z) W(Z ) Where, W(z) X(Z ) = 1 [1 + a1z−1 + a2 z−2 + …. + aNz−N] Y(z) W(Z ) = [b0 + b1z-1 + b2z-2 + …. + bMz-M] On cross multiplying (1) we get, W(z) + a1z-1W(z)+ a2 z-2W(z)+…+ aNz-NW(z)=X(z) Or W(z) = X(z) - a1z-1W(z) − a2 z-2W(z) − …. - aNz-NW(z)
  • 14. Direct form – II Structure of IIR System • On cross multiplying (2) we get, Y(z)=b0 W(z)+ b1z-1 W(z)+ b2z-2 W(z)+ …. + bMz-MW(z) • The equation (3) & (4) represent the IIR system in z- domain and can be realized by a direct structure called direct form – II structure as shown in figure(slide 15). • From the direct form – II structure , it is observed that the realization of an Nth order discrete time system with M number of zeros and N number of poles, involves M+N+1 number of multiplications and M+N number of additions. • N memory locations are required to store the delayed signals.
  • 15. Direct form – II Structure of IIR System
  • 16. Cascade Form Realization of IIR System • The transfer function H(z) can be expressed as a product of a number of second order or first order sections, as shown in below equation. 𝐻 𝑧 = 𝑌(𝑧) 𝑋(𝑧) = H1 z ∗ H2 z ∗ H3 z … . Hm z = 𝐻𝑖(𝑧) 𝑚 𝑖=1 Where, 𝐻𝑖 𝑧 = c0i + c1iz −1 + c2iz −2 d0i + d1iz −1 + d2iz −2 ------(second order section) (𝑜𝑟) 𝐻𝑖 𝑧 = c0i + c1iz −1 d0i + d1iz −1 --------( First order section)
  • 17. Cascade Form Realization of IIR System • The individual second order or first order sections can be realized either in direct form – I or direct form – II structures. • The overall system is obtained by cascading the individual sections as shown in figure(slide 18). • The number of calculations and the memory requirement depends on the realization of individual sections.
  • 18. Cascade Form Realization of IIR System • The difficulty in cascade structure are, 1. Decision of pairing poles and zeros. 2. Deciding the order of cascading the first and second order sections. 3. Scaling multipliers should be provided between individual sections to prevent the system variables from becoming too large or too small.
  • 19. Parallel Form Realization of IIR System • The transfer function H(z) of a discrete time system can be expressed as a sum of first and second order sections, using partial fraction expansion technique as shown in below equation. 𝐻 𝑧 = 𝑌(𝑧) 𝑋(𝑧) = C + H1 z ∗ H2 z ∗ H3 z … . Hm z = C + 𝐻𝑖(𝑧) 𝑚 𝑖=1 Where, 𝐻𝑖 𝑧 = c0i + c1iz −1 d0i + d1iz −1 + d2iz −2 ------(second order section) (𝑜𝑟) 𝐻𝑖 𝑧 = c0i d0i + d1iz −1 --------( First order section)
  • 20. Parallel Form Realization of IIR System
  • 21. Structures for Realization of FIR Systems • In general, the time domain representation of an Nth order FIR system is, 𝑦 𝑛 = 𝑏𝑚𝑋(𝑛 − 𝑚) 𝑁−1 𝑚=0 = b0x(n) + b1x(n-1) + b2x(n-2) + …. + bN-1x(n-(N-1)) • And the z-domain representation of a FIR system is, 𝐻 𝑧 = 𝑌(𝑧) 𝑋(𝑧) = b0 + b1z-1 + b2z-2 + …. + bN-1z-(N-1)
  • 22. Structures for Realization of FIR Systems • The above two representations of FIR system can be viewed as a computational procedure to determine the output sequence y(n) from the input sequence x(n). And the value of N gives the number of zeros of the FIR system. • The computations in the above equation can be arranged into various equivalent sets of difference equations, which leads to different types of structures for realizing FIR systems.
  • 23. • The different types of structures for realizing FIR system are 1. Direct form realization 2. Cascade realization 3. Linear phase realization
  • 24. Direct Form Realization of FIR System • Consider the difference equation governing a FIR system, 𝑦 𝑛 = 𝑏𝑚𝑋(𝑛 − 𝑚 𝑁−1 𝑚=0 ) = b0x(n) + b1x(n-1) + b2x(n-2) + …. + bN-1x(n-(N-1))
  • 25. • On taking z-transform of the above equation we get, Y(Z) = b0X(z) + b1z-1X(z) + b2z-2X(z) + b3z- 3X(z) + …. + bN-2z-(N-2)X(z) + bN-1z-(N-1)X(z) • The above equation can be directly represented by a block diagram as shown in figure(slide 27) and this structure is called direct form structure.
  • 26. Direct Form Realization of FIR System • The direct form structure provides a direct relation between time domain and z- domain equations. • From the direct form structure, it is observed that the realization of an Nth order FIR discrete time system involves N number of multiplications and N-1 number of additions. • Also structure involves N-1 delays and so N-1 memory locations are required to store the delayed signals.
  • 27. Direct Form Realization of FIR System
  • 28. Cascade Form Realization of FIR System • Consider the transfer function of a FIR system, 𝐻 𝑧 = 𝑌(𝑧) 𝑋(𝑧) = b0 + b1z-1 + b2z-2 + …. + bN-1z-(N-1) • The transfer function of FIR system is (N-1)th order polynomial in z. • This polynomial can be factorized into first and second order factors .
  • 29. Cascade Form Realization of FIR System • The transfer function can be expressed as a product of first and second order factors or sections as shown in below equation. 𝐻 𝑧 = 𝑌(𝑧) 𝑋(𝑧) = H1 z ∗ H2 z ∗ H3 z … . Hm z = 𝐻𝑖(𝑧) 𝑚 𝑖=1 Where, Hi(z) = c0i + c1iz-1 + c2iz-2---(second order section) Or , Hi(z) = c0i + c1iz-1 ----------------(First order section)
  • 30. Cascade Form Realization of FIR System • The individual second order or first order sections can be realized either in direct form structure or linear phase structure. • The overall system is obtained by cascading the individual sections as shown in figure(slide31). • The number of calculations and the memory requirement depends on the realization of individual sections.
  • 31. Cascade Form Realization of FIR System
  • 32. Linear Phase Realization of FIR System • Consider the impulse response h(n) of FIR system, h(n) = {b0, b1, b2, ….. , bN-1} • In FIR system, for linear phase response the impulse response should be symmetrical. • The condition for symmetry is, h(n) = h(N-1-n)
  • 33. Linear Phase Realization of FIR System • When the impulse response is symmetric, the samples of impulse response will satisfy the condition , bn = bN-1-n. • By using the above symmetry condition it is possible to reduce the number of multipliers required for the realization of FIR System. Hence the linear phase realization is also called realization with minimum number of multipliers. • Consider the transfer function of FIR system, 𝐻 𝑧 = 𝑌(𝑧) 𝑋(𝑧) = b0 + b1z-1 + b2z-2 + …. + bN-1z-(N-1)
  • 34. Linear Phase Realization of FIR System Case (i): When N is even • 𝐻 𝑧 = 𝑌(𝑧) 𝑋(𝑧) = b0 + b1z-1 + b2z-2 + …. + bN-1z-(N-1) = 𝑏𝑚𝑧 𝑁−1 𝑚=0 -m = 𝑏𝑚𝑧 ( 𝑁 2 )−1 𝑚=0 -m + 𝑏𝑚𝑧 𝑁−1 𝑚=( 𝑁 2 ) -m • Let, p = N-1-m (or) m = N-1-p • When m=N/2; p = N-1-(N/2) = (N/2)-1 • When m= N-1; p = N-1-(N-1) = 0
  • 35. Linear Phase Realization of FIR System • Therefore, 𝑌(𝑧) 𝑋(𝑧) = 𝑏𝑚𝑧 ( 𝑁 2 )−1 𝑚=0 -m + 𝑏𝑁 − 1 − 𝑝𝑧 ( 𝑁 2 )−1 𝑝=0 -(N-1-p) = 𝑏𝑚𝑧 ( 𝑁 2 )−1 𝑚=0 -m + 𝑏𝑁 − 1 − 𝑚𝑧 ( 𝑁 2 )−1 𝑚=0 -(N-1-m) = 𝑏𝑚𝑧 ( 𝑁 2 )−1 𝑚=0 -m + 𝑏𝑚𝑧 ( 𝑁 2 )−1 𝑚=0 -(N-1-m) = 𝑏𝑚[𝑧 ( 𝑁 2 )−1 𝑚=0 -m + z –(N-1-m)]
  • 36. Linear Phase Realization of FIR System • Therefore, Y(z) = b0[X(z) + z-(N-1)X(z)] + b1[z-1X(z) + z-(N- 2)X(z)] + ….. + b(n/2)-2 [z-((N/2)-2)X(z) + z- ((N/2)+1)X(z)]+ b(n/2)-1 [z-((N/2)-1)X(z) + z- (N/2)X(z)] • When N is even , the above equation can be used to construct the direct form structure of linear phase FIR system with minimum number of multipliers as shown in figure(slide37).
  • 37. Linear Phase Realization of FIR System
  • 38. Linear Phase Realization of FIR System Case (ii) : When N is odd • 𝐻 𝑧 = 𝑌(𝑧) 𝑋(𝑧) = b0 + b1z-1 + b2z-2 + …. + bN-1z-(N-1) = 𝑏𝑚𝑧 𝑁−1 𝑚=0 -m = 𝑏𝑚𝑧 ( 𝑁−3 2 ) 𝑚=0 -m +b((N-1)/2)z-((N-1)/2) + 𝑏𝑚𝑧 𝑁−1 𝑚=( 𝑁+1 2 ) -m
  • 39. • Let, p = N-1-m (or) m = N-1-p When m=(N+1)/2; p = N-1-((N+1)/2) = ((N-3)/2) When m= N-1; p = N-1-(N-1) = 0 𝑌(𝑧) 𝑋(𝑧) = 𝑏𝑚𝑧 ( 𝑁−3 2 ) 𝑚=0 -m +b((N-1)/2)z-((N-1)/2) + 𝑏𝑁 − 1 − ( 𝑁−3 2 ) 𝑝=0 𝑝𝑧-(N-1-p)
  • 40. Linear Phase Realization of FIR System • Therefore, = 𝑏𝑚𝑧 ( 𝑁−3 2 ) 𝑚=0 -m +b((N-1)/2)z-((N-1)/2) + 𝑏𝑁 − 1 − ( 𝑁−3 2 ) 𝑚=0 𝑚𝑧-(N-1-m) = 𝑏𝑚𝑧 ( 𝑁−3 2 ) 𝑚=0 -m +b((N-1)/2)z-((N-1)/2) + 𝑏 ( 𝑁−3 2 ) 𝑚=0 𝑚𝑧-(N-1-m) = b((N-1)/2)z-((N-1)/2) + 𝑏 ( 𝑁−3 2 ) 𝑚=0 𝑚[𝑧−m + 𝑧-(N-1-m) ]
  • 41. Linear Phase Realization of FIR System • Therefore, Y(z) = b((N-1)/2)z-((N-1)/2) X(z)+b0[X(z) + z-(N-1)X(z)] + b1[z-1X(z) + z-(N-2)X(z)] + ….. + b((N-5)/2) [z-((N-5)/2)X(z) + z-((N+3)/2)X(z)] + b((n-3)/2) [z-((N-3)/2)X(z)+z-((N+1)/2)X(z)] • When N is odd , the above equation can be used to construct the direct form structure of linear phase FIR system with minimum number of multipliers as shown in figure(slide42).
  • 42. Linear Phase Realization of FIR System
  • 43. Linear Phase Realization of FIR System • From the direct form linear phase structure, it is observed that the realization of an Nth order FIR discrete time system for odd values of N involves (N+1)/2 number of multiplications and N-1 number of additions. • Also structure involves N-1 delays and so N-1 memory locations are required to store the delayed signals.