SlideShare a Scribd company logo
1 of 13
Chapter 6
Digital Filters
CEN352, Dr. Nassim Ammour, King Saud University 1
CEN352, Dr. Nassim Ammour, King Saud University 2
Digital Filtering: Realization
The Digital filter difference equation:
Where π‘Žπ‘– π‘Žπ‘›π‘‘ 𝑏𝑖 represent the coefficients
of the system.
A digital filter is a DSP system, where π‘₯ 𝑛 π‘Žπ‘›π‘‘ y(n) are the DSP system’s input and output,
respectively.
Definition:
Matlab Implementation:
3-tap (2ndorder) IIR filter
CEN352, Dr. Nassim Ammour, King Saud University 3
Example
Given the DSP system
with initial conditions and the input
Compute the system response y(n) for 20 samples using MATLAB.
Solution:
CEN352, Dr. Nassim Ammour, King Saud University 4
Transfer Function
If π‘₯ 𝑛 and 𝑦 𝑛 are the input and the output of the Digital filter (DSP) respectively, and 𝑋 𝑧 π‘Žπ‘›π‘‘ π‘Œ 𝑧 are their Z-transforms,
Differential Equation:
Z-Transform:
Transfer Function:
Z-Transform
CEN352, Dr. Nassim Ammour, King Saud University 5
Example: Transfer Function
Given a DSP: Find the its transfer function H(z).
Z-Transform:
Z-transform on both sides
of the difference equation
Rearrange:
factoring Y(z) on the left side
and X(z) on the right side
Transfer Function:
Dividing the numerator and denominator by 𝑧2
Given H(z) : Find the difference equation of the system
Rearrange:
Applying the inverse z-transform
and using the shift property
Differential Equation:
CEN352, Dr. Nassim Ammour, King Saud University 6
Pole –Zero from Transfer Function
β€’ A digital transfer function can be written in the pole-zero form.
β€’ The z-plane pole-zero plot is used to investigate characteristics
and the stability of the digital system.
β€’ Relationship of the sampled system in the Laplace domain and
its digital system in the z-transform domain
mapping:
β€’ The z-plane is divided into two parts by a unit circle.
β€’ Each pole is marked on z-plane using the cross symbol x,
while each zero is plotted using the small circle symbol o.
CEN352, Dr. Nassim Ammour, King Saud University 7
Example: Pole-zero plot
Plot poles and zeros
Given the digital transfer function:
multiplying the numerator
and denominator by 𝑧2
=
(𝑧 βˆ’ π‘§π‘’π‘Ÿπ‘œ1)
(𝑧 βˆ’ π‘π‘œπ‘™π‘’1)(𝑧 βˆ’ π‘π‘œπ‘™π‘’2)
The system is stable.
The zeros do not affect
system stability.
π‘§π‘’π‘Ÿπ‘œ1 = 0.5
π‘π‘œπ‘™π‘’1 = βˆ’0.6 + 𝑗0.3
π‘π‘œπ‘™π‘’2 = βˆ’0.6 βˆ’ 𝑗0.3
CEN352, Dr. Nassim Ammour, King Saud University 8
System Stability (Depends on poles’ location)
β€’ If the outmost poles of the DSP TF H(z) are inside the unit circle on the z-plane pole-zero plot, then the system is stable.
β€’ If the outmost poles are first-order poles of the DSP TF H(z) and on the unit circle on the z-plane pole-zero plot, then the
system is marginally stable.
CEN352, Dr. Nassim Ammour, King Saud University 9
Example: System Stability
Sketch the z-plane pole-zero plot and determine the
stability for the system:
Since the outermost pole is multiple
order (2nd order) at z = 1 and is on the
unit circle, the system is unstable.
CEN352, Dr. Nassim Ammour, King Saud University 10
Digital Filter: Frequency Response
β€’ From the Laplace transfer function, we can achieve the analog filter frequency response 𝐻(π‘—πœ”) by substituting
𝑠 = π‘—πœ” into the transfer function H(s).
Magnitude frequency
response
Phase response
Putting
β€’ Similarly, in a DSP system, we substitute z = esT
s=jω
= ejΟ‰T into the Z-transfer function of the system’s
transfer function H(z) to acquire the digital frequency response
normalized digital
frequency
CEN352, Dr. Nassim Ammour, King Saud University 11
Frequency Response Example
Given the digital system with a sampling rate of 8,000 Hz, determine the frequency response.
Solution
Problem
z-transform : (on both sides on the difference equation )
transfer
function
Frequency response:
𝑧 = 𝑒𝑗Ω
Magnitude frequency
response
Phase frequency
response It is observed that when the frequency increases, the magnitude response
decreases. The DSP system acts like a digital low-pass filter, and its phase
response is linear.
CEN352, Dr. Nassim Ammour, King Saud University 12
Digital Filter: Frequency Response –contd.
BASIC TYPES OF FILTERING
Pass-band Ripple
(frequency fluctuation)
parameter
Stop-band Ripple
(frequency fluctuation)
parameter
Pass-band cut-off
frequency
Stop-band cut-off
frequency
Low-pass filter (LPF)
High-pass filter (HPF)
Matlab: Frequency Response:
CEN352, Dr. Nassim Ammour, King Saud University 13
Digital Filter: Frequency Response –contd.
BASIC TYPES OF FILTERING
Lower stop-band
cut-off frequency Lower Pass-band
cut-off frequency
Higher stop-band
Cut-off frequency
Higher pass-band
Cut-off frequency
Band-stop filter (BSF)
Band-pass filter (BPF)

More Related Content

Similar to ch6_digital_filters.pptx

Time response analysis
Time response analysisTime response analysis
Time response analysisKaushal Patel
Β 
Filter- IIR - Digital signal processing(DSP)
Filter- IIR - Digital signal processing(DSP)Filter- IIR - Digital signal processing(DSP)
Filter- IIR - Digital signal processing(DSP)tamil arasan
Β 
2.time domain analysis of lti systems
2.time domain analysis of lti systems2.time domain analysis of lti systems
2.time domain analysis of lti systemsINDIAN NAVY
Β 
DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)
DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)
DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)Ravikiran A
Β 
Frequency Response Techniques
Frequency Response TechniquesFrequency Response Techniques
Frequency Response TechniquesAwaisAli161
Β 
lecture_25-26__modeling_digital_control_systems.pptx
lecture_25-26__modeling_digital_control_systems.pptxlecture_25-26__modeling_digital_control_systems.pptx
lecture_25-26__modeling_digital_control_systems.pptxAnshulShekhar3
Β 
control system Lab 01-introduction to transfer functions
control system Lab 01-introduction to transfer functionscontrol system Lab 01-introduction to transfer functions
control system Lab 01-introduction to transfer functionsnalan karunanayake
Β 
Reduction of PAPR and Efficient detection ordering scheme for MIMO Transmissi...
Reduction of PAPR and Efficient detection ordering scheme for MIMO Transmissi...Reduction of PAPR and Efficient detection ordering scheme for MIMO Transmissi...
Reduction of PAPR and Efficient detection ordering scheme for MIMO Transmissi...IJERA Editor
Β 
Dss
Dss Dss
Dss nil65
Β 
Conventional and-pso-based-approaches-for-model-reduction-of-siso-discrete-sy...
Conventional and-pso-based-approaches-for-model-reduction-of-siso-discrete-sy...Conventional and-pso-based-approaches-for-model-reduction-of-siso-discrete-sy...
Conventional and-pso-based-approaches-for-model-reduction-of-siso-discrete-sy...Cemal Ardil
Β 
Dct and adaptive filters
Dct and adaptive filtersDct and adaptive filters
Dct and adaptive filtersGIET,Bhubaneswar
Β 
Equalization
EqualizationEqualization
Equalizationbhabendu
Β 
OPTIMIZED RATE ALLOCATION OF HYPERSPECTRAL IMAGES IN COMPRESSED DOMAIN USING ...
OPTIMIZED RATE ALLOCATION OF HYPERSPECTRAL IMAGES IN COMPRESSED DOMAIN USING ...OPTIMIZED RATE ALLOCATION OF HYPERSPECTRAL IMAGES IN COMPRESSED DOMAIN USING ...
OPTIMIZED RATE ALLOCATION OF HYPERSPECTRAL IMAGES IN COMPRESSED DOMAIN USING ...Pioneer Natural Resources
Β 

Similar to ch6_digital_filters.pptx (20)

Time response analysis
Time response analysisTime response analysis
Time response analysis
Β 
505 260-266
505 260-266505 260-266
505 260-266
Β 
Filter- IIR - Digital signal processing(DSP)
Filter- IIR - Digital signal processing(DSP)Filter- IIR - Digital signal processing(DSP)
Filter- IIR - Digital signal processing(DSP)
Β 
CCPUnit 2
CCPUnit 2CCPUnit 2
CCPUnit 2
Β 
2.time domain analysis of lti systems
2.time domain analysis of lti systems2.time domain analysis of lti systems
2.time domain analysis of lti systems
Β 
DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)
DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)
DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)
Β 
Frequency Response Techniques
Frequency Response TechniquesFrequency Response Techniques
Frequency Response Techniques
Β 
Z transform Day 1
Z transform Day 1Z transform Day 1
Z transform Day 1
Β 
lecture_25-26__modeling_digital_control_systems.pptx
lecture_25-26__modeling_digital_control_systems.pptxlecture_25-26__modeling_digital_control_systems.pptx
lecture_25-26__modeling_digital_control_systems.pptx
Β 
control system Lab 01-introduction to transfer functions
control system Lab 01-introduction to transfer functionscontrol system Lab 01-introduction to transfer functions
control system Lab 01-introduction to transfer functions
Β 
Reduction of PAPR and Efficient detection ordering scheme for MIMO Transmissi...
Reduction of PAPR and Efficient detection ordering scheme for MIMO Transmissi...Reduction of PAPR and Efficient detection ordering scheme for MIMO Transmissi...
Reduction of PAPR and Efficient detection ordering scheme for MIMO Transmissi...
Β 
Dss
Dss Dss
Dss
Β 
Conventional and-pso-based-approaches-for-model-reduction-of-siso-discrete-sy...
Conventional and-pso-based-approaches-for-model-reduction-of-siso-discrete-sy...Conventional and-pso-based-approaches-for-model-reduction-of-siso-discrete-sy...
Conventional and-pso-based-approaches-for-model-reduction-of-siso-discrete-sy...
Β 
IARE_DSP_PPT.pptx
IARE_DSP_PPT.pptxIARE_DSP_PPT.pptx
IARE_DSP_PPT.pptx
Β 
Dct and adaptive filters
Dct and adaptive filtersDct and adaptive filters
Dct and adaptive filters
Β 
FinalReport
FinalReportFinalReport
FinalReport
Β 
Equalization
EqualizationEqualization
Equalization
Β 
time response
time responsetime response
time response
Β 
P73
P73P73
P73
Β 
OPTIMIZED RATE ALLOCATION OF HYPERSPECTRAL IMAGES IN COMPRESSED DOMAIN USING ...
OPTIMIZED RATE ALLOCATION OF HYPERSPECTRAL IMAGES IN COMPRESSED DOMAIN USING ...OPTIMIZED RATE ALLOCATION OF HYPERSPECTRAL IMAGES IN COMPRESSED DOMAIN USING ...
OPTIMIZED RATE ALLOCATION OF HYPERSPECTRAL IMAGES IN COMPRESSED DOMAIN USING ...
Β 

More from KadiriIbrahim2

Lecture 1 Introduction to robotics (1).pptx
Lecture 1 Introduction to robotics (1).pptxLecture 1 Introduction to robotics (1).pptx
Lecture 1 Introduction to robotics (1).pptxKadiriIbrahim2
Β 
session 2 Process modelling and dynamics (5).pptx
session 2 Process modelling and dynamics (5).pptxsession 2 Process modelling and dynamics (5).pptx
session 2 Process modelling and dynamics (5).pptxKadiriIbrahim2
Β 
Modelling using differnt metods in matlab2 (2) (2) (2) (4) (1) (1).pptx
Modelling using differnt metods in matlab2 (2) (2) (2) (4) (1) (1).pptxModelling using differnt metods in matlab2 (2) (2) (2) (4) (1) (1).pptx
Modelling using differnt metods in matlab2 (2) (2) (2) (4) (1) (1).pptxKadiriIbrahim2
Β 
Introduction to MultisimCircuitSimulation.pdf
Introduction to MultisimCircuitSimulation.pdfIntroduction to MultisimCircuitSimulation.pdf
Introduction to MultisimCircuitSimulation.pdfKadiriIbrahim2
Β 
components_of_hydraulic_and_pneumatic_system_-_part_1.pdf
components_of_hydraulic_and_pneumatic_system_-_part_1.pdfcomponents_of_hydraulic_and_pneumatic_system_-_part_1.pdf
components_of_hydraulic_and_pneumatic_system_-_part_1.pdfKadiriIbrahim2
Β 
Closed-loop control system modelling_pid.pptx
Closed-loop control system modelling_pid.pptxClosed-loop control system modelling_pid.pptx
Closed-loop control system modelling_pid.pptxKadiriIbrahim2
Β 
Introduction to module and IE.ppt
Introduction to module and IE.pptIntroduction to module and IE.ppt
Introduction to module and IE.pptKadiriIbrahim2
Β 
SKAD Electronics Training Manual.pdf
SKAD Electronics Training Manual.pdfSKAD Electronics Training Manual.pdf
SKAD Electronics Training Manual.pdfKadiriIbrahim2
Β 
Power_Point_PresentationTemplate_Mechanical_20.pptx
Power_Point_PresentationTemplate_Mechanical_20.pptxPower_Point_PresentationTemplate_Mechanical_20.pptx
Power_Point_PresentationTemplate_Mechanical_20.pptxKadiriIbrahim2
Β 
Fayomi Bassey Powerpoint seminar.pptx
Fayomi Bassey Powerpoint seminar.pptxFayomi Bassey Powerpoint seminar.pptx
Fayomi Bassey Powerpoint seminar.pptxKadiriIbrahim2
Β 
Project Format.pptx
Project Format.pptxProject Format.pptx
Project Format.pptxKadiriIbrahim2
Β 

More from KadiriIbrahim2 (11)

Lecture 1 Introduction to robotics (1).pptx
Lecture 1 Introduction to robotics (1).pptxLecture 1 Introduction to robotics (1).pptx
Lecture 1 Introduction to robotics (1).pptx
Β 
session 2 Process modelling and dynamics (5).pptx
session 2 Process modelling and dynamics (5).pptxsession 2 Process modelling and dynamics (5).pptx
session 2 Process modelling and dynamics (5).pptx
Β 
Modelling using differnt metods in matlab2 (2) (2) (2) (4) (1) (1).pptx
Modelling using differnt metods in matlab2 (2) (2) (2) (4) (1) (1).pptxModelling using differnt metods in matlab2 (2) (2) (2) (4) (1) (1).pptx
Modelling using differnt metods in matlab2 (2) (2) (2) (4) (1) (1).pptx
Β 
Introduction to MultisimCircuitSimulation.pdf
Introduction to MultisimCircuitSimulation.pdfIntroduction to MultisimCircuitSimulation.pdf
Introduction to MultisimCircuitSimulation.pdf
Β 
components_of_hydraulic_and_pneumatic_system_-_part_1.pdf
components_of_hydraulic_and_pneumatic_system_-_part_1.pdfcomponents_of_hydraulic_and_pneumatic_system_-_part_1.pdf
components_of_hydraulic_and_pneumatic_system_-_part_1.pdf
Β 
Closed-loop control system modelling_pid.pptx
Closed-loop control system modelling_pid.pptxClosed-loop control system modelling_pid.pptx
Closed-loop control system modelling_pid.pptx
Β 
Introduction to module and IE.ppt
Introduction to module and IE.pptIntroduction to module and IE.ppt
Introduction to module and IE.ppt
Β 
SKAD Electronics Training Manual.pdf
SKAD Electronics Training Manual.pdfSKAD Electronics Training Manual.pdf
SKAD Electronics Training Manual.pdf
Β 
Power_Point_PresentationTemplate_Mechanical_20.pptx
Power_Point_PresentationTemplate_Mechanical_20.pptxPower_Point_PresentationTemplate_Mechanical_20.pptx
Power_Point_PresentationTemplate_Mechanical_20.pptx
Β 
Fayomi Bassey Powerpoint seminar.pptx
Fayomi Bassey Powerpoint seminar.pptxFayomi Bassey Powerpoint seminar.pptx
Fayomi Bassey Powerpoint seminar.pptx
Β 
Project Format.pptx
Project Format.pptxProject Format.pptx
Project Format.pptx
Β 

Recently uploaded

CS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdfCS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdfBalamuruganV28
Β 
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONTHE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONjhunlian
Β 
Comprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdfComprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdfalene1
Β 
Virtual memory management in Operating System
Virtual memory management in Operating SystemVirtual memory management in Operating System
Virtual memory management in Operating SystemRashmi Bhat
Β 
Robotics Group 10 (Control Schemes) cse.pdf
Robotics Group 10  (Control Schemes) cse.pdfRobotics Group 10  (Control Schemes) cse.pdf
Robotics Group 10 (Control Schemes) cse.pdfsahilsajad201
Β 
Ch10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdfCh10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdfChristianCDAM
Β 
TEST CASE GENERATION GENERATION BLOCK BOX APPROACH
TEST CASE GENERATION GENERATION BLOCK BOX APPROACHTEST CASE GENERATION GENERATION BLOCK BOX APPROACH
TEST CASE GENERATION GENERATION BLOCK BOX APPROACHSneha Padhiar
Β 
FUNCTIONAL AND NON FUNCTIONAL REQUIREMENT
FUNCTIONAL AND NON FUNCTIONAL REQUIREMENTFUNCTIONAL AND NON FUNCTIONAL REQUIREMENT
FUNCTIONAL AND NON FUNCTIONAL REQUIREMENTSneha Padhiar
Β 
Novel 3D-Printed Soft Linear and Bending Actuators
Novel 3D-Printed Soft Linear and Bending ActuatorsNovel 3D-Printed Soft Linear and Bending Actuators
Novel 3D-Printed Soft Linear and Bending ActuatorsResearcher Researcher
Β 
Gravity concentration_MI20612MI_________
Gravity concentration_MI20612MI_________Gravity concentration_MI20612MI_________
Gravity concentration_MI20612MI_________Romil Mishra
Β 
Mine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxMine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxRomil Mishra
Β 
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmComputer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmDeepika Walanjkar
Β 
"Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ..."Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ...Erbil Polytechnic University
Β 
Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxsiddharthjain2303
Β 
multiple access in wireless communication
multiple access in wireless communicationmultiple access in wireless communication
multiple access in wireless communicationpanditadesh123
Β 
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...Stork
Β 
System Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingSystem Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingBootNeck1
Β 
Artificial Intelligence in Power System overview
Artificial Intelligence in Power System overviewArtificial Intelligence in Power System overview
Artificial Intelligence in Power System overviewsandhya757531
Β 
Levelling - Rise and fall - Height of instrument method
Levelling - Rise and fall - Height of instrument methodLevelling - Rise and fall - Height of instrument method
Levelling - Rise and fall - Height of instrument methodManicka Mamallan Andavar
Β 
Engineering Drawing section of solid
Engineering Drawing     section of solidEngineering Drawing     section of solid
Engineering Drawing section of solidnamansinghjarodiya
Β 

Recently uploaded (20)

CS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdfCS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdf
Β 
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONTHE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
Β 
Comprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdfComprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdf
Β 
Virtual memory management in Operating System
Virtual memory management in Operating SystemVirtual memory management in Operating System
Virtual memory management in Operating System
Β 
Robotics Group 10 (Control Schemes) cse.pdf
Robotics Group 10  (Control Schemes) cse.pdfRobotics Group 10  (Control Schemes) cse.pdf
Robotics Group 10 (Control Schemes) cse.pdf
Β 
Ch10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdfCh10-Global Supply Chain - Cadena de Suministro.pdf
Ch10-Global Supply Chain - Cadena de Suministro.pdf
Β 
TEST CASE GENERATION GENERATION BLOCK BOX APPROACH
TEST CASE GENERATION GENERATION BLOCK BOX APPROACHTEST CASE GENERATION GENERATION BLOCK BOX APPROACH
TEST CASE GENERATION GENERATION BLOCK BOX APPROACH
Β 
FUNCTIONAL AND NON FUNCTIONAL REQUIREMENT
FUNCTIONAL AND NON FUNCTIONAL REQUIREMENTFUNCTIONAL AND NON FUNCTIONAL REQUIREMENT
FUNCTIONAL AND NON FUNCTIONAL REQUIREMENT
Β 
Novel 3D-Printed Soft Linear and Bending Actuators
Novel 3D-Printed Soft Linear and Bending ActuatorsNovel 3D-Printed Soft Linear and Bending Actuators
Novel 3D-Printed Soft Linear and Bending Actuators
Β 
Gravity concentration_MI20612MI_________
Gravity concentration_MI20612MI_________Gravity concentration_MI20612MI_________
Gravity concentration_MI20612MI_________
Β 
Mine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxMine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptx
Β 
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithmComputer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Computer Graphics Introduction, Open GL, Line and Circle drawing algorithm
Β 
"Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ..."Exploring the Essential Functions and Design Considerations of Spillways in ...
"Exploring the Essential Functions and Design Considerations of Spillways in ...
Β 
Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptx
Β 
multiple access in wireless communication
multiple access in wireless communicationmultiple access in wireless communication
multiple access in wireless communication
Β 
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Stork Webinar | APM Transformational planning, Tool Selection & Performance T...
Β 
System Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingSystem Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event Scheduling
Β 
Artificial Intelligence in Power System overview
Artificial Intelligence in Power System overviewArtificial Intelligence in Power System overview
Artificial Intelligence in Power System overview
Β 
Levelling - Rise and fall - Height of instrument method
Levelling - Rise and fall - Height of instrument methodLevelling - Rise and fall - Height of instrument method
Levelling - Rise and fall - Height of instrument method
Β 
Engineering Drawing section of solid
Engineering Drawing     section of solidEngineering Drawing     section of solid
Engineering Drawing section of solid
Β 

ch6_digital_filters.pptx

  • 1. Chapter 6 Digital Filters CEN352, Dr. Nassim Ammour, King Saud University 1
  • 2. CEN352, Dr. Nassim Ammour, King Saud University 2 Digital Filtering: Realization The Digital filter difference equation: Where π‘Žπ‘– π‘Žπ‘›π‘‘ 𝑏𝑖 represent the coefficients of the system. A digital filter is a DSP system, where π‘₯ 𝑛 π‘Žπ‘›π‘‘ y(n) are the DSP system’s input and output, respectively. Definition: Matlab Implementation: 3-tap (2ndorder) IIR filter
  • 3. CEN352, Dr. Nassim Ammour, King Saud University 3 Example Given the DSP system with initial conditions and the input Compute the system response y(n) for 20 samples using MATLAB. Solution:
  • 4. CEN352, Dr. Nassim Ammour, King Saud University 4 Transfer Function If π‘₯ 𝑛 and 𝑦 𝑛 are the input and the output of the Digital filter (DSP) respectively, and 𝑋 𝑧 π‘Žπ‘›π‘‘ π‘Œ 𝑧 are their Z-transforms, Differential Equation: Z-Transform: Transfer Function: Z-Transform
  • 5. CEN352, Dr. Nassim Ammour, King Saud University 5 Example: Transfer Function Given a DSP: Find the its transfer function H(z). Z-Transform: Z-transform on both sides of the difference equation Rearrange: factoring Y(z) on the left side and X(z) on the right side Transfer Function: Dividing the numerator and denominator by 𝑧2 Given H(z) : Find the difference equation of the system Rearrange: Applying the inverse z-transform and using the shift property Differential Equation:
  • 6. CEN352, Dr. Nassim Ammour, King Saud University 6 Pole –Zero from Transfer Function β€’ A digital transfer function can be written in the pole-zero form. β€’ The z-plane pole-zero plot is used to investigate characteristics and the stability of the digital system. β€’ Relationship of the sampled system in the Laplace domain and its digital system in the z-transform domain mapping: β€’ The z-plane is divided into two parts by a unit circle. β€’ Each pole is marked on z-plane using the cross symbol x, while each zero is plotted using the small circle symbol o.
  • 7. CEN352, Dr. Nassim Ammour, King Saud University 7 Example: Pole-zero plot Plot poles and zeros Given the digital transfer function: multiplying the numerator and denominator by 𝑧2 = (𝑧 βˆ’ π‘§π‘’π‘Ÿπ‘œ1) (𝑧 βˆ’ π‘π‘œπ‘™π‘’1)(𝑧 βˆ’ π‘π‘œπ‘™π‘’2) The system is stable. The zeros do not affect system stability. π‘§π‘’π‘Ÿπ‘œ1 = 0.5 π‘π‘œπ‘™π‘’1 = βˆ’0.6 + 𝑗0.3 π‘π‘œπ‘™π‘’2 = βˆ’0.6 βˆ’ 𝑗0.3
  • 8. CEN352, Dr. Nassim Ammour, King Saud University 8 System Stability (Depends on poles’ location) β€’ If the outmost poles of the DSP TF H(z) are inside the unit circle on the z-plane pole-zero plot, then the system is stable. β€’ If the outmost poles are first-order poles of the DSP TF H(z) and on the unit circle on the z-plane pole-zero plot, then the system is marginally stable.
  • 9. CEN352, Dr. Nassim Ammour, King Saud University 9 Example: System Stability Sketch the z-plane pole-zero plot and determine the stability for the system: Since the outermost pole is multiple order (2nd order) at z = 1 and is on the unit circle, the system is unstable.
  • 10. CEN352, Dr. Nassim Ammour, King Saud University 10 Digital Filter: Frequency Response β€’ From the Laplace transfer function, we can achieve the analog filter frequency response 𝐻(π‘—πœ”) by substituting 𝑠 = π‘—πœ” into the transfer function H(s). Magnitude frequency response Phase response Putting β€’ Similarly, in a DSP system, we substitute z = esT s=jΟ‰ = ejΟ‰T into the Z-transfer function of the system’s transfer function H(z) to acquire the digital frequency response normalized digital frequency
  • 11. CEN352, Dr. Nassim Ammour, King Saud University 11 Frequency Response Example Given the digital system with a sampling rate of 8,000 Hz, determine the frequency response. Solution Problem z-transform : (on both sides on the difference equation ) transfer function Frequency response: 𝑧 = 𝑒𝑗Ω Magnitude frequency response Phase frequency response It is observed that when the frequency increases, the magnitude response decreases. The DSP system acts like a digital low-pass filter, and its phase response is linear.
  • 12. CEN352, Dr. Nassim Ammour, King Saud University 12 Digital Filter: Frequency Response –contd. BASIC TYPES OF FILTERING Pass-band Ripple (frequency fluctuation) parameter Stop-band Ripple (frequency fluctuation) parameter Pass-band cut-off frequency Stop-band cut-off frequency Low-pass filter (LPF) High-pass filter (HPF) Matlab: Frequency Response:
  • 13. CEN352, Dr. Nassim Ammour, King Saud University 13 Digital Filter: Frequency Response –contd. BASIC TYPES OF FILTERING Lower stop-band cut-off frequency Lower Pass-band cut-off frequency Higher stop-band Cut-off frequency Higher pass-band Cut-off frequency Band-stop filter (BSF) Band-pass filter (BPF)