Application of digital filter in engineering

Slides:



Advertisements
Similar presentations
DCSP-14 Jianfeng Feng Department of Computer Science Warwick Univ., UK
Advertisements

Digital Signal Processing – Chapter 11 Introduction to the Design of Discrete Filters Prof. Yasser Mostafa Kadah
AMI 4622 Digital Signal Processing
IIR Filters and Equalizers R.C. Maher ECEN4002/5002 DSP Laboratory Spring 2002.
6.1 signal flow graph representation of linear constant- coefficient difference equations 6.2 basic structures for IIR system direct forms
Discrete-time Systems Prof. Siripong Potisuk. Input-output Description A DT system transforms DT inputs into DT outputs.
Lecture 9: Structure for Discrete-Time System XILIANG LUO 2014/11 1.
EE513 Audio Signals and Systems Digital Signal Processing (Systems) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
1 Diagramas de bloco e grafos de fluxo de sinal Estruturas de filtros IIR Projeto de filtro FIR Filtros Digitais.
Signal Processing First CH 8 IIR Filters The General IIR Difference Equation 2 feedback term recursive filter FIR part No. of coeff. = N+M+1.
Prof. Nizamettin AYDIN Digital Signal Processing 1.
Chapter 6 Digital Filter Structures
Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE445S Real-Time Digital Signal Processing Lab Fall.
Copyright © 2001, S. K. Mitra Digital Filter Structures The convolution sum description of an LTI discrete-time system be used, can in principle, to implement.
Prof. Nizamettin AYDIN Digital Signal Processing 1.
Discrete-time Systems Prof. Siripong Potisuk. Input-output Description A DT system transforms DT inputs into DT outputs.
1 Z-Transform. CHAPTER 5 School of Electrical System Engineering, UniMAP School of Electrical System Engineering, UniMAP NORSHAFINASH BT SAUDIN
1 Lecture 1: February 20, 2007 Topic: 1. Discrete-Time Signals and Systems.
Lecture 10a Infinite Impulse Response (IIR) Filters.
Z TRANSFORM AND DFT Z Transform
Department of Electrical and Computer Engineering Brian M. McCarthy Department of Electrical & Computer Engineering Villanova University ECE8231 Digital.
EEE 503 Digital Signal Processing Lecture #2 : EEE 503 Digital Signal Processing Lecture #2 : Discrete-Time Signals & Systems Dr. Panuthat Boonpramuk Department.
CHAPTER 2 Discrete-Time Signals and Systems in the Time-Domain
Digital Signal Processing
1 Lecture 4: March 13, 2007 Topic: 1. Uniform Frequency-Sampling Methods (cont.)
Digital Filter Realization
Signal and Systems Prof. H. Sameti Chapter 10: Introduction to the z-Transform Properties of the ROC of the z-Transform Inverse z-Transform Examples Properties.
Finite Precision Numerical Effects
Course Outline (Tentative) Fundamental Concepts of Signals and Systems Signals Systems Linear Time-Invariant (LTI) Systems Convolution integral and sum.
Structures for Discrete-Time Systems
Digital Filter Structures
Technological Educational Institute Of Crete Department Of Applied Informatics and Multimedia Neural Networks Laboratory Slide 1 DISCRETE SIGNALS AND SYSTEMS.
Copyright ©2010, ©1999, ©1989 by Pearson Education, Inc. All rights reserved. Discrete-Time Signal Processing, Third Edition Alan V. Oppenheim Ronald W.
Structures for Discrete-Time Systems 主講人:虞台文. Content Introduction Block Diagram Representation Signal Flow Graph Basic Structure for IIR Systems Transposed.
Chapter 6 Discrete-Time System. 2/90  Operation of discrete time system 1. Discrete time system where and are multiplier D is delay element Fig. 6-1.
DISP 2003 Lecture 5 – Part 1 Digital Filters 1 Frequency Response Difference Equations FIR versus IIR FIR Filters Properties and Design Philippe Baudrenghien,
Signals and Systems Using MATLAB Luis F. Chaparro.
Chapter 6. Digital Filter Structures and Designs Section
Analysis of Linear Time Invariant (LTI) Systems
Prepared by:D K Rout DSP-Chapter 2 Prepared by  Deepak Kumar Rout.
EENG 420 Digital Signal Processing Lecture 2.
Chapter 4 Structures for Discrete-Time System Introduction The block diagram representation of the difference equation Basic structures for IIR system.
Digital Signal Processing Lecture 9 Review of LTI systems
Structures for Discrete-Time Systems
Digital Signal Processing
Lattice Struture.
CEN352 Dr. Nassim Ammour King Saud University
Amplitude Modulation X1(w) Y1(w) y1(t) = x1(t) cos(wc t) cos(wc t)
EEE4176 Applications of Digital Signal Processing
Discrete-time Systems
3.1 Introduction Why do we need also a frequency domain analysis (also we need time domain convolution):- 1) Sinusoidal and exponential signals occur.
Lecture 12 Linearity & Time-Invariance Convolution
Quick Review of LTI Systems
لجنة الهندسة الكهربائية
Lecture 4: Discrete-Time Systems
Lect5 A framework for digital filter design
UNIT V Linear Time Invariant Discrete-Time Systems
Quantization in Implementing Systems
Multiplier-less Multiplication by Constants
Z TRANSFORM AND DFT Z Transform
Chapter 6 Discrete-Time System
Finite Wordlength Effects
Chapter 7 Finite Impulse Response(FIR) Filter Design
Signal Processing First
Tania Stathaki 811b LTI Discrete-Time Systems in Transform Domain Frequency Response Transfer Function Introduction to Filters.
Tania Stathaki 811b LTI Discrete-Time Systems in Transform Domain Ideal Filters Zero Phase Transfer Functions Linear Phase Transfer.
Zhongguo Liu Biomedical Engineering
Zhongguo Liu Biomedical Engineering
Lecture 22 IIR Filters: Feedback and H(z)
Lecture 24 Time-Domain Response for IIR Systems
Presentation transcript:

Application of digital filter in engineering —— Preprocess of test data Simple ? Complex ? Experiments or Theories ? Application and Textbook ? 2017/4/28

Original waveform 2017/4/28

Original Spectrum 2017/4/28

Frequency response of the selected filter 2017/4/28

Waveform after filtering 2017/4/28

Spectrum after filtering 2017/4/28

Digital filter 1.Filter is a particularly important class of linear time-invariant system in DSP. 2.Purpose: Filter, detection and prediction of signal. 3.Content: characteristics structures design approach. 2017/4/28

BASIC STRUCTURE OF DIGITAL FILTER CHAPTER 4 BASIC STRUCTURE OF DIGITAL FILTER h(k), k=0,1,… (Impulse Response) x(n) (Input Sequence) y(n) (Output Sequence) 2017/4/28

4.1 Representation of Digital Filter 4.2 Structure of IIR Filter CONTENTS 4.1 Representation of Digital Filter 4.2 Structure of IIR Filter 4.3 Structure of FIR Filter 4.4 Review 2017/4/28

4.1 Representation of digital filter 4.1.1 Expression of digital filter (1)Difference equation Such as: one-order system (2)Impulse response Such as: h(n) (3)System function Such as: 2017/4/28

4.1.2 Diagram (1)Block-diagram Such as: Unit Delay z-1 a0 a z-1 z-1 a1 Constant multiplication b1 Diagram of one-order digital filter Addition First-order Nth-order Block diagram 2017/4/28

Flow graph of one-order digital filter Such as: z-1 Flow graph of one-order digital filter Flow graph Different structure will determine system’s accuracy, error, stability, cost efficiency and speed, etc al. 2017/4/28

4.1.3 Implementation of the Digital Filter (1)Hardware (Special-purpose) Digital signal processor, FPGA (2)Software Digital Filter Algorithm, C, Matlab 4.1.4 Classification of the Digital Filter (1) Finite Impulse Response (FIR) FIR filter (2) Infinite Impulse Response (IIR) IIR filter 2017/4/28

Finite Impulse Response Infinite Impulse Response h(n): Finite length h(n): infinite length Nonrecursively Recursively 2017/4/28

4.2 Structure of IIR filter 4.2.1 Characteristics of IIR filter System function: At least one coefficient bi is not zero, its difference equation is: IIR filter’s structure is not unique. 具体实现结构不唯一,这话不知道对不对。 There are feedback loops in IIR structure, called recursively. There are poles inside unit circle on z-plane, otherwise unstable. IIR filter’s structure is not unique. 2017/4/28

Direct Form Cascade Form Parallel Form The same H(z) may have different implementation structure  cost efficiency computation error stability finite word-length sensitivity 2017/4/28

4.1.2 Structure of IIR filter (1)Direct Form Difference equation: System function: 直接法就是直接利用差分方程实现数字系统结构 Direct Form 2N delay units are required. 2017/4/28

(2)Direct Form II 2017/4/28

(2)Direct Form II Direct Form II N Delay Unit. z-1 z-1 x(n) y(n) b1 b2 bN a1 a2 aN z-1 a0 x(n) y(n) b1 b2 bN a1 a2 aN z-1 a0 Direct Form II N Delay Unit. 2017/4/28

We can find that: Direct Form II requires N delay units. Common disadvantage of the two form: Coefficient ai , bi can not be adjusted conveniently. When N is large, too sensitive to finite word-length  Instability  Errors. 2017/4/28

are real roots, are complex roots,and N1+N2=N (3)Cascade Form N-order transfer function can be expressed by its poles and zeros: Because H(z)’s parameter ai , bi is real value, zero ci and pole di are real roots or conjugate complex roots, that is: are real roots, are complex roots,and N1+N2=N 2017/4/28

Õ Two-order Cascade Form 表示取整 ] [ 1 · - + = z A ) ( H b a z-1 2 · - + = Õ ú û ù ê ë é N i z A ) ( H b a x(n) y(n) 11 21 11 21 z-1 1M 2M 1M 2M We can see: Cascade form’s structure is flexible, pole and zero can be adjusted conveniently and do not influence each other. Two order’s position can be selected arbitrarily, different scheme has different error and can be optimized. 2017/4/28

(4)Parallel Form Transfer function can be expressed into partial fraction, and can be composed into parallel form: expanding into real roots and conjugate complex roots form: where: N=L+2M,L, one-order network, M, two –order network. 2017/4/28

(4)Parallel Form We can see: Pole can be adjusted independently, zero cannot; If there are multi-order pole, partial fraction expansion is difficult. High speed computation, lower error than cascade form. 2017/4/28

4.3 Structure of FIR filter 4.3.1 Characteristic of FIR filter h(n) is a finite-length sequence, its system function is: FIR doesn’t have feedback loop, it is not a recursive form filter, so there is no problem of stability. 直接利用线性卷积的定义,输出y表示为输入x的延迟序列与相应的系数按位相乘的结果。 4.3.2 Structure of FIR filter (1) Direct-form x(n) y(n) h(0) z-1 h(1) h(2) h(N-1) Convolution sum 2017/4/28

(2)Cascade form Characteristics: Generally, h(n) is real value, H(z)’s zero are real or conjugate complex value.Every pair of conjugate zero composed into a second-order coefficient, so: Product of second-order factors x(n) y(n) 11 21 z-1  1M  2M 01  0M 需要更多的系数 Characteristics: Every order zero can be controlled, so can be applied when transfer zero are required to be controlled. More coefficients. More computation time. 2017/4/28

4.4 Review 4.4.1 Structure of IIR filter Recursively form, problem of stability. Pole inside the unit circle. (1)Direct form: Adjust inconvenient, sensitive to word-length effect; (2)Cascade form: Pole and zero can be adjusted independently; (3)Parallel form: Pole can be adjusted independently, low error. 4.4.2 Structure of FIR filter Non-recursively form, No stability problems. Direct form: zeros adjusted inconvenient. Cascade form: zeros adjusted convenient. 2017/4/28

Õ (4)Parallel Form (3) Cascade Form 1 + a z + a z H ( z ) = A 1 - b z é N + 1 ù ê ú ë 2 û 1 + a z - 1 + a z - 2 Õ H ( z ) = A 1 i 2 i 1 - b z - 1 - b z - 2 i = 1 1 i 2 i x(n) y(n) 11 21 11 21 z-1 1M 2M 1M 2M 2017/4/28

2017/4/28

2017/4/28

2017/4/28

2017/4/28

2017/4/28