Digital Filtering: Realization

Similar documents

EE 470 Signals and Systems

UNIT II IIR FILTER DESIGN

ELEC-C5230 Digitaalisen signaalinkäsittelyn perusteet

Lab S-9: Interference Removal from Electro-Cardiogram (ECG) Signals

DIGITAL FILTERS. !! Finite Impulse Response (FIR) !! Infinite Impulse Response (IIR) !! Background. !! Matlab functions AGC DSP AGC DSP

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

Experiment 4- Finite Impulse Response Filters

Signals and Filtering

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

EEM478-WEEK8 Finite Impulse Response (FIR) Filters

4. Design of Discrete-Time Filters

Window Method. designates the window function. Commonly used window functions in FIR filters. are: 1. Rectangular Window:

EEM478-DSPHARDWARE. WEEK12:FIR & IIR Filter Design

ijdsp Workshop: Exercise 2012 DSP Exercise Objectives

IIR Filter Design Chapter Intended Learning Outcomes: (i) Ability to design analog Butterworth filters

Biosignal filtering and artifact rejection. Biosignal processing I, S Autumn 2017

EE 422G - Signals and Systems Laboratory

Biosignal filtering and artifact rejection. Biosignal processing, S Autumn 2012

DSP Laboratory (EELE 4110) Lab#10 Finite Impulse Response (FIR) Filters

Team proposals are due tomorrow at 6PM Homework 4 is due next thur. Proposal presentations are next mon in 1311EECS.

Design of FIR Filter for Efficient Utilization of Speech Signal Akanksha. Raj 1 Arshiyanaz. Khateeb 2 Fakrunnisa.Balaganur 3

Digital Filters IIR (& Their Corresponding Analog Filters) Week Date Lecture Title

ELEC3104: Digital Signal Processing Session 1, 2013 LABORATORY 3: IMPULSE RESPONSE, FREQUENCY RESPONSE AND POLES/ZEROS OF SYSTEMS

ECE438 - Laboratory 7a: Digital Filter Design (Week 1) By Prof. Charles Bouman and Prof. Mireille Boutin Fall 2015

Electrical & Computer Engineering Technology

Design IIR Band-Reject Filters

UNIT-II MYcsvtu Notes agk

Advanced Digital Signal Processing Part 5: Digital Filters

GEORGIA INSTITUTE OF TECHNOLOGY. SCHOOL of ELECTRICAL and COMPUTER ENGINEERING. ECE 2026 Summer 2018 Lab #8: Filter Design of FIR Filters

1 PeZ: Introduction. 1.1 Controls for PeZ using pezdemo. Lab 15b: FIR Filter Design and PeZ: The z, n, and O! Domains

Corso di DATI e SEGNALI BIOMEDICI 1. Carmelina Ruggiero Laboratorio MedInfo

ECE 5650/4650 Exam II November 20, 2018 Name:

EC6502 PRINCIPLES OF DIGITAL SIGNAL PROCESSING

The University of Texas at Austin Dept. of Electrical and Computer Engineering Final Exam

CHAPTER -2 NOTCH FILTER DESIGN TECHNIQUES

Noise removal example. Today s topic. Digital Signal Processing. Lecture 3. Application Specific Integrated Circuits for

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District DEPARTMENT OF INFORMATION TECHNOLOGY DIGITAL SIGNAL PROCESSING UNIT 3

F I R Filter (Finite Impulse Response)

6.555 Lab1: The Electrocardiogram

A comparative study on main lobe and side lobe of frequency response curve for FIR Filter using Window Techniques

Filters. Phani Chavali

SMS045 - DSP Systems in Practice. Lab 1 - Filter Design and Evaluation in MATLAB Due date: Thursday Nov 13, 2003

Infinite Impulse Response Filters

ACS College of Engineering Department of Biomedical Engineering. BMDSP LAB (10BML77) Pre lab Questions ( ) Cycle-1

CS3291: Digital Signal Processing

B.Tech III Year II Semester (R13) Regular & Supplementary Examinations May/June 2017 DIGITAL SIGNAL PROCESSING (Common to ECE and EIE)

Outline. Discrete time signals. Impulse sampling z-transform Frequency response Stability INF4420. Jørgen Andreas Michaelsen Spring / 37 2 / 37

LECTURER NOTE SMJE3163 DSP

Comparative Study of Chebyshev I and Chebyshev II Filter used For Noise Reduction in ECG Signal

Plot frequency response around the unit circle above the Z-plane.

Computer-Aided Design (CAD) of Recursive/Non-Recursive Filters

Experiment 2 Effects of Filtering

Biomedical Instrumentation B2. Dealing with noise

Design of IIR Filter Using Model Order Reduction. Techniques

Active Filter. Low pass filter High pass filter Band pass filter Band stop filter

FX Basics. Filtering STOMPBOX DESIGN WORKSHOP. Esteban Maestre. CCRMA - Stanford University August 2013

The University of Texas at Austin Dept. of Electrical and Computer Engineering Midterm #1

Design Digital Non-Recursive FIR Filter by Using Exponential Window

EE390 Final Exam Fall Term 2002 Friday, December 13, 2002

Design of FIR Filters

ESE531 Spring University of Pennsylvania Department of Electrical and System Engineering Digital Signal Processing

Part B. Simple Digital Filters. 1. Simple FIR Digital Filters

Signals and Systems Using MATLAB

ASN Filter Designer Professional/Lite Getting Started Guide

Lecture 3 Review of Signals and Systems: Part 2. EE4900/EE6720 Digital Communications

Digital Filters FIR and IIR Systems

Design of infinite impulse response (IIR) bandpass filter structure using particle swarm optimization

CHAPTER 2 FIR ARCHITECTURE FOR THE FILTER BANK OF SPEECH PROCESSOR

Subtractive Synthesis. Describing a Filter. Filters. CMPT 468: Subtractive Synthesis

Digital Signal Processing

Frequency-Response Masking FIR Filters

Butterworth Active Bandpass Filter using Sallen-Key Topology

INFINITE IMPULSE RESPONSE (IIR) FILTERS

Review of Filter Types

Digital Filters - A Basic Primer

Design IIR Filters Using Cascaded Biquads

Chapter 7 Filter Design Techniques. Filter Design Techniques

Implementation and Comparison of Low Pass FIR Filter on FPGA Using Different Techniques

Integer Filters. Jon D. Pfeffer

y(n)= Aa n u(n)+bu(n) b m sin(2πmt)= b 1 sin(2πt)+b 2 sin(4πt)+b 3 sin(6πt)+ m=1 x(t)= x = 2 ( b b b b

IJSER. Chen [2] has gave a lot of information in digital filtering with additions in the area of computer-aided design of digital filters.

ASC-50. OPERATION MANUAL September 2001

Signal Processing for Speech Applications - Part 2-1. Signal Processing For Speech Applications - Part 2

PHYS225 Lecture 15. Electronic Circuits

APPLIED SIGNAL PROCESSING

Digital Filters. Linearity and Time Invariance. Implications of Linear Time Invariance (LTI) Music 270a: Introduction to Digital Filters

Brief Introduction to Signals & Systems. Phani Chavali

Problem Point Value Your score Topic 1 28 Discrete-Time Filter Analysis 2 24 Upconversion 3 30 Filter Design 4 18 Potpourri Total 100

Adaptive Filters Application of Linear Prediction

ISSN: X International Journal of Advanced Research in Electronics and Communication Engineering (IJARECE) Volume 7, Issue 5, May 2018

EE 311 February 13 and 15, 2019 Lecture 10

SKP Engineering College

Resonator Factoring. Julius Smith and Nelson Lee

E Final Exam Solutions page 1/ gain / db Imaginary Part

Concordia University. Discrete-Time Signal Processing. Lab Manual (ELEC442) Dr. Wei-Ping Zhu

ECE503: Digital Filter Design Lecture 9

Spring 2014 EE 445S Real-Time Digital Signal Processing Laboratory Prof. Evans. Homework #2. Filter Analysis, Simulation, and Design

Signals. Continuous valued or discrete valued Can the signal take any value or only discrete values?

On-Chip Implementation of Cascaded Integrated Comb filters (CIC) for DSP applications

Transcription:

Digital Filtering: Realization Digital Filtering: Matlab Implementation: 3-tap (2 nd order) IIR filter 1

Transfer Function Differential Equation: z- Transform: Transfer Function: 2

Example: Transfer Function Given: z- Transform: Rearrange: Transfer Function: Given: Rearrange: Differential Equation: 3

Pole Zero from Transfer Function The system is stable. The zeros do not affect system stability. 4

System Stability Depends on poles location 5

Example: System Stability Since the outermost pole is multiple order (2 nd order) at z = 1 and is on the unit circle, the system is unstable. 6

Digital Filter: Frequency Response Magnitude frequency response Phase response Putting Example: Given Sampling rate = 8k Hz Transfer function: Frequency response: Complete Plot! and 7

Digital Filter: Frequency Response contd. Low Pass Filter (LPF) Band Pass Filter (BPF) Matlab: Frequency Response 8

Impulse Response of FIR Filters Frequency response of ideal LPF: Impulse response of ideal LPF: After truncating 2M+1 major components: Making causal, symmetric Where, 9

Ideal Low Pass Filter Impulse Response: Example: 3-tap FIR LPF with cutoff freq. = 800 Hz and sampling rate = 8k Hz. Using symmetry: 10

Ideal Low Pass Filter contd. Delaying h(n) by M = 1 sample, Filter coefficients Transfer function Differential Eq: Frequency response Magnitude: Complete Plot! Phase: 11

Linear Phase If filter has linear phase property, the output will simply be a delayed version of input. Let, 17-tap FIR filter with linear phase property. 8 samples delay 8 samples delay 12

Nonlinear Phase Input: Linear phase filter output: 90 d phase delay filter output: Input: Linear phase filter output: 90 d phase delay filter output: Distorted! 13

Linear Phase: Zero Placement A single zero can be either at z = 1 or z = -1. ( B or D) Real zeros not on the unit circle always occur in pairs with r and r -1. (C) If the zero is complex, its conjugate is also zero. (E) [on the unit circle] Complex zeros not on the unit circle always occur in quadruples with r and r -1. (A) 14

Example: FIR Filtering With Window Method Problem: Solution: M = 2 Symmetry 15

Example: Window Method contd. Hamming window function Symmetry Windowed impulse response By delaying h w (n) by M = 2 samples, 16

FIR Filter Length Estimation 17

Example: FIR Filter Length Estimation Problem: Design a BPF with Use Hamming window Solution: Cutoff frequencies: Normalized Choose nearest higher odd N = 25 Now design the filter with hint from slide 15. 18

Application: Noise Reduction Input waveform: sinusoid + broadband noise Spectrum: Want to remove this noise Specification: LPF Pass band frequency [0 800 Hz] Stop band frequency [1000 4000 Hz] Pass band ripple < 0.02 db Stop band attenuation = 50 db 19

Application: Noise Reduction contd. 133- tap FIR filter, so a delay of 66 However, noise reduction in real world scenario is not so easy! Almost there is NO noise! 20

Frequency Sampling Design Method Simple to design Filter length = 2M + 1 Calculate FIR filter coefficients: Magnitude response in the range [ 0 ~ ] Use the symmetry: 21

Example: Frequency Sampling Design Method Problem: Solution: By symmetry: 22

Coefficient Quantization Effect Filter coefficients are usually truncated or rounded off for the application. Transfer function with infinite precision: Transfer function with quantized precision: Error of the magnitude frequency response: K = tap Example 25 tap FIR filter; 7 bits used for fraction Let infinite precision coeff. = 0.00759455135346 Error is bounded by < 25 / 256 = 0.0977 Quantized coeff. = 1 / 2 7 = 0.0078125 23

Complementary Example - I z transform of a n z u( n) z a 1 1 az 1 24

Complementary Example - II Given: Given: 25

IIR Filter Design: Bilinear Transformation Method 26

Bilinear Transformation Method For LPF and HPF: For BPF and BRF: Frequency Warping From LPF to LPF: From LPF to HPF: From LPF to BPF: Prototype Transformation From LPF to BRF: Obtained Transfer Function: 27

Example 1: Bilinear Transformation Method Problem: Solution: First-order LP Chebyshev filter prototype: Applying transformation LPF to HPF: Applying BLT: 28

Example 2: Bilinear Transformation Method Problem: Solution: A first-order LPF prototype will produce second-order BPF prototype. 29

Example 2: Bilinear Transformation Method Contd. 1 st order LPF prototype: Applying transformation LPF to BPF: Applying BLT: 30

Pole Zero Placement Method Second-Order BPF Design r: controls bandwidth : controls central frequency Location of poles & zeros: controls magnitude Location of pole: determines stability Number of zero: determines phase linearity 31

Pole Zero Placement Method Second-Order BRF Design Example 32

Pole Zero Placement Method First-Order LPF Design Example 100 Hz < 33

Pole Zero Placement Method First-Order HPF Design Practice examples. 34

Application: 60 Hz Hum Eliminator Hum noise: created by poor power supply or electromagnetic interference and characterized by a frequency of 60 Hz and its harmonics. Hum eliminator Frequency response of Hum eliminator Corrupted by hum & harmonics 35

ECG Pulse QRS Complex ECG + Hum makes difficult to analyze. nth R (n+1)th R T ms Heart beat /min = 60000 / T 36

Heart Beat Detection Using ECG Pulse 1 2 3 1 To filter muscle noise 40 Hz 2 Practice example 3 37