IIR Filters (II)

Total Page:16

File Type:pdf, Size:1020Kb

IIR Filters (II) Lecture 8 - IIR Filters (II) James Barnes ([email protected]) Spring 2014 Colorado State University Dept of Electrical and Computer Engineering ECE423 – 1 / 29 Lecture 8 Outline ● Introduction ● Digital Filter Design by Analog → Digital Conversion ● (Probably next lecture) ”All Digital” Design Algorithms ● (Next lecture) Conversion of Filter Types by Frequency Transformation Colorado State University Dept of Electrical and Computer Engineering ECE423 – 2 / 29 ❖ Lecture 8 Outline Introduction ❖ IIR Filter Design Overview Method: Impulse Invariance for IIR FIlters Approximation of Derivatives Bilinear Transform Matched Z-Transform Introduction Colorado State University Dept of Electrical and Computer Engineering ECE423 – 3 / 29 IIR Filter Design Overview ● Methods which start from analog design ✦ Impulse Invariance ✦ Approximation of Derivatives ✦ Bilinear Transform ✦ Matched Z-transform All are different methods of mapping the s-plane onto the z-plane ● Methods which are ”all digital” ✦ Least-squares ✦ McClellan-Parks Colorado State University Dept of Electrical and Computer Engineering ECE423 – 4 / 29 ❖ Lecture 8 Outline Introduction Method: Impulse Invariance for IIR FIlters ❖ Impulse Invariance ❖ Impulse Invariance (2) ❖ Impulse Invariance (3) ❖ Impulse Invariance (4) ❖ Impulse Invariance Procedure ❖ Impulse Invariance Example Method: Impulse Invariance for IIR FIlters ❖ Impulse Invariance Example (2) Approximation of Derivatives Bilinear Transform Matched Z-Transform Colorado State University Dept of Electrical and Computer Engineering ECE423 – 5 / 29 Impulse Invariance We start by sampling the impulse response of the analog filter: ha(t) h[n]= ha(nt0) t0 Sampling Theorem gives relation between Fourier Transform of sampled and continuous ”signals”: ∞ 1 ω 2πk H(z)|z=ejω = Ha(j − j ), (1) t0 t0 t0 k=X−∞ where ω =Ωt0 = 2πf/fs and f is the analog frequency in Hz. Colorado State University Dept of Electrical and Computer Engineering ECE423 – 6 / 29 Impulse Invariance (2) Analytic Continuation: assume eqn (1) holds true over the entire complex s and z s st0 planes. Equvalent to replacing Ω with j and ω with j . Sampling the impulse response is equivalent to mapping the s-plane to the z-plane using z = est0 = eσt0 ejΩt0 (2) From the polar representation of z = r ejω: ● The entire Ω axis of the s-plane wraps around the unit circle of the z-plane an infinite number of times; ● The negative half s-plane maps to the interior of the unit circle and the RHP to the exterior. This means stable analog filters (poles in LHP) will transform to stable digital filters (poles inside unit circle). ● This is a many-to-one mapping of strips of the s-plane to regions of the z-plane. ✦ Not a conformal mapping. ✦ The poles map according to z = est0 , but the zeros do not Colorado State University Dept of Electrical and Computer Engineering ECE423 – 7 / 29 Impulse Invariance (3) Mapping jΩ . 3 π t0 z-plane s-plane π t 0 1+j0 σ - π t0 . Colorado State University Dept of Electrical and Computer Engineering ECE423 – 8 / 29 Impulse Invariance (4) Limitation of Impulse Invariance: overlap of images of the frequency response. This prevents it from being used for high-pass filter design Ha(jΩ) 1 Ω Ωc H(ejω) 1 t0 ω -2π 2π Ωct0 Advantage of Impulse Invariance: linear translation between Ω and ω - preserves shape of filter frequency response. Colorado State University Dept of Electrical and Computer Engineering ECE423 – 9 / 29 Impulse Invariance Procedure How do we use Impulse Invariance for IIR filter design? Start with Partial Fraction Expansion of Analog Filter, where αkare the pole locations. NOTE: IN THIS AND MOST OF THE FOLLOWING, IT IS ASSUMED THAT ALL POLES ARE FIRST-ORDER (NOT MULTIPLE). N N Ak αkt Ha(s) = ⇒ ha(t) = Ake u(t) (3) s − αk kX=1 kX=1 and the sampled impulse response is N αk nt0 h[n] = ha(nt0) = Ake u[n] (4) kX=1 with discrete-time transfer function N Ak H(z) = − (5) 1 − eαkt0 z 1 kX=1 Colorado State University Dept of Electrical and Computer Engineering ECE423 – 10 / 29 Impulse Invariance Example s+a Let Ha = (s+a)2+b2 . This filter has a zero at β=-a and poles at αk = −a ± jb. The partial fraction expansion is 1/2 1/2 H (s) = + . (6) a s + a + jb s + a − jb The corresponding discrete-time filter has a transfer function given by 1/2 1/2 H(z) = − − − + − − , (7) 1 − e (a jb)t0 z 1 1 − e (a+jb)t0 z 1 or − − B(z) 1 − e at0 cos(bt ) z 1 0 (8) H(z) = = −at −1 −2at −2 A(z) 1 − 2e 0 cos(bt0) z + e 0 z Colorado State University Dept of Electrical and Computer Engineering ECE423 – 11 / 29 Impulse Invariance Example (2) Pole and Zero Locations Colorado State University Dept of Electrical and Computer Engineering ECE423 – 12 / 29 ❖ Lecture 8 Outline Introduction Method: Impulse Invariance for IIR FIlters Approximation of Derivatives ❖ Method: Approximation of Derivatives ❖ Approximation of Derivatives (2) ❖ Approximation of Approximation of Derivatives Derivatives (3) Bilinear Transform Matched Z-Transform Colorado State University Dept of Electrical and Computer Engineering ECE423 – 13 / 29 Method: Approximation of Derivatives This explanation is a plausibility argument, not a rigorous proof. Start with an analog filter with system function H(s) expressed in rational form with constant coefficients: M β sk H(s) = k=0 k . (9) PN k k=0 αks In the time domain, this is equivalent toP the differential equation M N dky(t) dkx(t) α = β . (10) k dtk k dtk kX=0 kX=0 But we can approximate a derivative by a backward difference: dy(t) ∼ y(nt0) − y(nt0 − t0) y[n] − y[n − 1] |t=nt0 = = . (11) dt t0 t0 Colorado State University Dept of Electrical and Computer Engineering ECE423 – 14 / 29 Approximation of Derivatives (2) The left hand and right hand sides of eqn(11) represent a continuous time and discrete time system which are supposed to be equivalent: dy y(t) dt H(s) = s y[n] − y[n]−y[n−1] 1−z 1 H(z) = t0 t0 For both systems to be equivalent, we must have the following mapping: 1 − z−1 s = . (12) t0 This relationship between s and z holds for all orders of the derivative, with s replaced by skand the first order difference replaced by the k-th order difference. Hence it holds for the system described by eqn (10). Colorado State University Dept of Electrical and Computer Engineering ECE423 – 15 / 29 Approximation of Derivatives (3) Solving previous for z: 1 z = (13) 1 − st0 This is one mapping between the s and z-planes. It maps the entire LH plane of the s-plane into a circle centered at z=[1/2,0] and radius 1/2. It is not a useful mapping if you want to create a digital filter with poles in other regions inside the unit circle. However, there is no aliasing. Colorado State University Dept of Electrical and Computer Engineering ECE423 – 16 / 29 ❖ Lecture 8 Outline Introduction Method: Impulse Invariance for IIR FIlters Approximation of Derivatives Bilinear Transform ❖ Method: Bilinear Transform ❖ Bilinear Transform (2) ❖ Bilinear Transform - Bilinear Transform Pre-warping ❖ Bilinear Transform - Pre-warping (2) ❖ Design Example for Second Order Section ❖ Second-order Section (2) ❖ Second-order Section (3) ❖ Alternative to The Previous Two Slides: Matlab ❖ What to Do Now? (Reminder from Lecture 7) Matched Z-Transform Colorado State University Dept of Electrical and Computer Engineering ECE423 – 17 / 29 Method: Bilinear Transform BLT is the standard method for designing digital filters ”by hand”. Like the previous method (Approximating Derivatives), it is based on an approximate solution of the continuous-time equation (11), but instead of approximating the derivative(s), it approximates integrals using the Trapezoidal Rule. Consider the system ′ c1ya(t) + c0ya(t) = d0x(t), (14) with system function H(s) given by: d0 Ha(s) = . (15) c1s + c0 ′ Express ya(t) as an integral of ya(t): t ′ ya(t) = ya(t) dt + ya(τ), (16) Zτ and let t = nt0 and τ =(n − 1)t0 . Colorado State University Dept of Electrical and Computer Engineering ECE423 – 18 / 29 Bilinear Transform (2) Then (see Oppenheim and Schafer), using the Trapezoidal Rule to approximate the integral, (16) can be written: t ′ ′ y (nt ) = y ((n − 1)t ) + 0 [y (nt ) + y ((n − 1)t ). (17) a 0 a 0 2 a 0 a 0 ′ Substituting for ya(nt0) from equation (14) and using y[n] = y(nt0), we have : t c d (y[n] − y[n − 1]) = 0 [− 0 (y[n] + y[n − 1]) + 0 (x[n] + x[n − 1])]. (18) 2 c1 c0 Taking the z-transform of this equation and using the fact that Z{y[n − 1]} = z−1Y (z),..., we get Y (z) d 0 (19) H(z) = = 2 1−z−1 . X(z) c −1 + c 1 t0 1+z 0 Colorado State University Dept of Electrical and Computer Engineering ECE423 – 19 / 29 Bilinear Transform - Pre-warping − Comparing (19) to (15): H(z) = Ha(s)| 2 1−z 1 , i.e. the discrete-time transform s= − t0 1+z 1 will equal the continuous time transform if 2 1 − z−1 (20) s = −1 . t0 1 + z Substituting s = jΩ and z = ejω and using the definition sin(x) ejx − e−jx tan(x) = = j , (21) cos(x) ejx + e−jx we get the following relation between Ω and ω : 2 ω Ω = tan( ). (22) t0 2 Colorado State University Dept of Electrical and Computer Engineering ECE423 – 20 / 29 Bilinear Transform - Pre-warping (2) The relation between Ω and ω and the mapping between s- and z-planes are shown below: Note that the bilinear transform maps the entire left-hand s-plane to the interior of the unit circle of the z-plane, and that higher frequencies along the jΩ axis are compressed compared with frequencies near 0.
Recommended publications
  • Dsp Notes Prepared
    DSP NOTES PREPARED BY Ch.Ganapathy Reddy Professor & HOD, ECE Shaikpet, Hyderabad-08 Ch Ganapathy Reddy, Prof and HOD, ECE, GNITS id:[email protected],9052344333 1 DIGITAL SIGNAL PROCESSING A signal is defined as any physical quantity that varies with time, space or another independent variable. A system is defined as a physical device that performs an operation on a signal. System is characterized by the type of operation that performs on the signal. Such operations are referred to as signal processing. Advantages of DSP 1. A digital programmable system allows flexibility in reconfiguring the digital signal processing operations by changing the program. In analog redesign of hardware is required. 2. In digital accuracy depends on word length, floating Vs fixed point arithmetic etc. In analog depends on components. 3. Can be stored on disk. 4. It is very difficult to perform precise mathematical operations on signals in analog form but these operations can be routinely implemented on a digital computer using software. 5. Cheaper to implement. 6. Small size. 7. Several filters need several boards in analog, whereas in digital same DSP processor is used for many filters. Disadvantages of DSP 1. When analog signal is changing very fast, it is difficult to convert digital form .(beyond 100KHz range) 2. w=1/2 Sampling rate. 3. Finite word length problems. 4. When the signal is weak, within a few tenths of millivolts, we cannot amplify the signal after it is digitized. 5. DSP hardware is more expensive than general purpose microprocessors & micro controllers. Ch Ganapathy Reddy, Prof and HOD, ECE, GNITS id:[email protected],9052344333 2 6.
    [Show full text]
  • Virtual Analog (VA) Filter Implementation and Comparisons Copyright © 2013 Will Pirkle
    App Note 4"Virtual Analog (VA) Filter Implementation and Comparisons "Copyright © 2013 Will Pirkle Virtual Analog (VA) Filter Implementation and Comparisons Will Pirkle I have had several requests from readers to do a Virtual Analog (VA) Filter Implementation plug-in. The source of these designs is a book electronically published in June 2012 named The Art of VA Filter Design by Vadim Zavalishin. This awesome piece of work is free and available from many sources including my own site www.willpirkle.com. This short book is an excellent introduction to basic analog filtering theory as well as digital transformations. It is so concise in this respect that I am considering using it as part of the text materials for an Advanced Analog Circuits class I teach. I highly recommend this excellent book - you will need to understand its content to use this App Note; for the most part I use the same variable names as the book so you will want to use it as a reference. Zavalishinʼs derivations and descriptions are so well thought out and so well written that it makes no sense for me to repeat them here and I donʼt think it can be simplified any more that it already is in his book. Another reason that I enjoyed this book is that the author followed a similar derivation to reach the bilinear transform as my DSP professor (Claude Lindquist) did when I was in graduate school; in fact I use part of that same derivation in my classes and book. Also similar was the use of an integrator as a prototype filter to generate the discrete time transforms.
    [Show full text]
  • Noise Will Be Noise: Or Phase Optimized Recursive Filters for Interference Suppression, Signal Differentiation and State Estimation (Extended Version) Hugh L
    Available online at https://arxiv.org/ 1 Noise will be noise: Or phase optimized recursive filters for interference suppression, signal differentiation and state estimation (extended version) Hugh L. Kennedy Abstract— The increased temporal and spectral resolution of oversampled systems allows many sensor-signal analysis tasks to be performed (e.g. detection, classification and tracking) using a filterbank of low-pass digital differentiators. Such filters are readily designed via flatness constraints on the derivatives of the complex frequency response at dc, pi and at the centre frequencies of narrowband interferers, i.e. using maximally-flat (MaxFlat) designs. Infinite-impulse-response (IIR) filters are ideal in embedded online systems with high data-rates because computational complexity is independent of their (fading) ‘memory’. A novel procedure for the design of MaxFlat IIR filterbanks with improved passband phase linearity is presented in this paper, as a possible alternative to Kalman and Wiener filters in a class of derivative-state estimation problems with uncertain signal models. Butterworth poles are used for configurable bandwidth and guaranteed stability. Flatness constraints of arbitrary order are derived for temporal derivatives of arbitrary order and a prescribed group delay. As longer lags (in samples) are readily accommodated in oversampled systems, an expression for the optimal group delay that minimizes the white-noise gain (i.e. the error variance of the derivative estimate at steady state) is derived. Filter zeros are optimally placed for the required passband phase response and the cancellation of narrowband interferers in the stopband, by solving a linear system of equations. Low complexity filterbank realizations are discussed then their behaviour is analysed in a Teager-Kaiser operator to detect pulsed signals and in a state observer to track manoeuvring targets in simulated scenarios.
    [Show full text]
  • Overview Textbook Prerequisite Course Outline
    ESE 337 Digital Signal Processing: Theory Fall 2018 Instructor: Yue Zhao Time and Location: Tuesday, Thursday 7:00pm - 8:20pm, Javits Lecture Center 101 Contact: Email: [email protected], Office: 261 Light Engineering Office Hours: Tuesday, Thursday 1:30pm - 3:00pm, or by appointment Teaching Assistants, and Office Hours: • Jiaming Li ([email protected]): THU 12:30pm - 2:00pm, or by appointment, Location: 208 Light Engineering (Changes of hours, if any, will be updated on Blackboard.) Overview Digital Signal Processing (DSP) lies at the heart of modern information technology in many fields including digital communications, audio/image/video compression, speech recognition, medical imaging, sensing for health, touch screens, space exploration, etc. This class covers the basic principles of digital signal processing and digital filtering. Skills for analyzing and synthesizing algorithms and systems that process discrete time signals will be developed. 3 credits. Textbook • A.V. Oppenheim and R.W. Schafer, Discrete Time Signal Processing, Prentice Hall, Third Edition, 2009 Prerequisite • ESE 305, Deterministic Signals and Systems Course Outline Week 1 DT signals, DT systems and properties, LTI systems Week 2 Convolution, properties of LTI systems Week 3 Examples of LTI systems, eigen functions, frequency response of DT systems, DTFT 1 ESE 337 Syllabus Week 4 Convergence and properties of DTFT Week 5 Theorems of DTFT, useful DTFT pairs, examples, Z-transform Week 6 Examples of Z-transform, properties of ROC Week 7 Inverse Z-transform,
    [Show full text]
  • ECGR4124 Digital Signal Processing Exam 2 Spring 2017 Name
    ECGR4124 Digital Signal Processing Exam 2 Spring 2017 Name: _____________________________________ LAST 4 NUMBERS of Student Number: _____ Do NOT begin until told to do so Make sure that you have all pages before starting NO TEXTBOOK, NO CALCULATOR, NO CELL PHONES/WIRELESS DEVICES Open handouts, 2 sheet front/back notes, NO problem handouts, NO exams, NO quizzes DO ALL WORK IN THE SPACE GIVEN Do NOT use the back of the pages, do NOT turn in extra sheets of work/paper Multiple-choice answers should be within 5% of correct value Show ALL work, even for multiple choice ACADEMIC INTEGRITY: Students have the responsibility to know and observe the requirements of The UNCC Code of Student Academic Integrity. This code forbids cheating, fabrication or falsification of information, multiple submission of academic work, plagiarism, abuse of academic materials, and complicity in academic dishonesty. Unless otherwise noted: F{} denotes Discrete time Fourier transform {DTFT, DFT, or Continuous, as implied in problem} F-1{} denotes inverse Fourier transform ω denotes frequency in rad/sample, Ω denotes frequency in rad/second ∗ denotes linear convolution, N denotes circular convolution x*(t) denotes the conjugate of x(t) Useful constants, etc: e ≈ 2.72 π ≈ 3.14 e2 ≈ 7.39 e4 ≈ 54.6 e-0.5 ≈ 0.607 e-0.25 ≈ 0.779 1/e ≈ 0.37 √2 ≈ 1.41 e-2 ≈ 0.135 √3 ≈ 1.73 e-4 ≈ 0.0183 √5 ≈ 2.22 √7 ≈ 2.64 √10 ≈ 3.16 ln( 2 ) ≈ 0.69 ln( 4 ) ≈ 1.38 log10( 2 ) ≈ 0.30 log10( 3 ) ≈ 0.48 log10( 10 ) ≈ 1.0 log10( 0.1 ) ≈ -1 1/π ≈ 0.318 sin(0.1) ≈ 0.1 tan(1/9) ≈ 1/9 cos(π / 4) ≈ 0.71 cos( A ) cos ( B ) = 0.5 cos(A - B) + 0.5 cos(A + B) ejθ = cos(θ) + j sin(θ) 1/10 5 Points Each, Circle the Best Answer 1.
    [Show full text]
  • Digital Signal Processing I Exam 2 Fall 1999 Session 17 Live: 21 Oct
    Digital Signal Processing I Exam 2 Fall 1999 Session 17 Live: 21 Oct. 1999 Cover Sheet Test Duration: 75 minutes. Open Book but Closed Notes. Calculators NOT allowed. This test contains four problems. All work should be done in the blue books provided. Do not return this test sheet, just return the blue books. Prob. No. Topic of Problem Points 1. Digital Upsampling 35 2. Digital Subbanding 25 3. Multi-Stage Upsampling/Interpolation 20 4. IIR Filter Design Via Bilinear Transform 20 1 Digital Signal Processing I Exam 2 Fall 1999 Session 17 Live: 21 Oct. 1999 Problem 1. [35 points] X (F) H (ω) a LP 1/4W 2 F ω W W π 3π π π 3π π 4 4 4 4 x (t) h [n] a Ideal A/D x [n] w [n] Lowpass Filter y [n] 2 π LP 3π F = 4W ω = ω = s p 4 s 4 gain =2 Figure 1. The analog signal xa(t) with CTFT Xa(F ) shown above is input to the system above, where x[n]=xa(n/Fs)withFs =4W ,and sin( π n) cos( π n) h [n]= 2 4 , −∞ <n<∞, LP π n − n2 2 1 4 | |≤ π 3π ≤| |≤ such that HLP (ω)=2for ω 4 , HLP (ω)=0for 4 ω π,andHLP (ω) has a cosine π 3π roll-off from 1 at ωp = 4 to 0 at ωs = 4 . Finally, the zero inserts may be mathematically described as ( x( n ),neven w[n]= 2 0,nodd (a) Plot the magnitude of the DTFT of the output y[n], Y (ω), over −π<ω<π.
    [Show full text]
  • Understanding Digital Signal Processing
    Understanding Digital Signal Processing Richard G. Lyons PRENTICE HALL PTR PRENTICE HALL Professional Technical Reference Upper Saddle River, New Jersey 07458 www.photr,com Contents Preface xi 1 DISCRETE SEQUENCES AND SYSTEMS 1 1.1 Discrete Sequences and Their Notation 2 1.2 Signal Amplitude, Magnitude, Power 8 1.3 Signal Processing Operational Symbols 9 1.4 Introduction to Discrete Linear Time-Invariant Systems 12 1.5 Discrete Linear Systems 12 1.6 Time-Invariant Systems 17 1.7 The Commutative Property of Linear Time-Invariant Systems 18 1.8 Analyzing Linear Time-Invariant Systems 19 2 PERIODIC SAMPLING 21 2.1 Aliasing: Signal Ambiquity in the Frequency Domain 21 2.2 Sampling Low-Pass Signals 26 2.3 Sampling Bandpass Signals 30 2.4 Spectral Inversion in Bandpass Sampling 39 3 THE DISCRETE FOURIER TRANSFORM 45 3.1 Understanding the DFT Equation 46 3.2 DFT Symmetry 58 v vi Contents 3.3 DFT Linearity 60 3.4 DFT Magnitudes 61 3.5 DFT Frequency Axis 62 3.6 DFT Shifting Theorem 63 3.7 Inverse DFT 65 3.8 DFT Leakage 66 3.9 Windows 74 3.10 DFT Scalloping Loss 82 3.11 DFT Resolution, Zero Padding, and Frequency-Domain Sampling 83 3.12 DFT Processing Gain 88 3.13 The DFT of Rectangular Functions 91 3.14 The DFT Frequency Response to a Complex Input 112 3.15 The DFT Frequency Response to a Real Cosine Input 116 3.16 The DFT Single-Bin Frequency Response to a Real Cosine Input 117 3.17 Interpreting the DFT 120 4 THE FAST FOURIER TRANSFORM 125 4.1 Relationship of the FFT to the DFT 126 4.2 Hints an Using FFTs in Practice 127 4.3 FFT Software Programs
    [Show full text]
  • ESE 531: Digital Signal Processing Today IIR Filter Design Impulse
    Today ESE 531: Digital Signal Processing ! IIR Filter Design " Impulse Invariance " Bilinear Transformation Lec 18: March 30, 2017 ! Transformation of DT Filters IIR Filters and Adaptive Filters ! Adaptive Filters ! LMS Algorithm Penn ESE 531 Spring 2017 – Khanna Penn ESE 531 Spring 2017 - Khanna 2 IIR Filter Design Impulse Invariance ! Transform continuous-time filter into a discrete- ! Want to implement continuous-time system in time filter meeting specs discrete-time " Pick suitable transformation from s (Laplace variable) to z (or t to n) " Pick suitable analog Hc(s) allowing specs to be met, transform to H(z) ! We’ve seen this before… impulse invariance Penn ESE 531 Spring 2017 - Khanna 3 Penn ESE 531 Spring 2017 - Khanna 4 Impulse Invariance Impulse Invariance ! With Hc(jΩ) bandlimited, choose ! With Hc(jΩ) bandlimited, choose j ω j ω H(e ω ) = H ( j ), ω < π H(e ω ) = H ( j ), ω < π c T c T ! With the further requirement that T be chosen such ! With the further requirement that T be chosen such that that Hc ( jΩ) = 0, Ω ≥ π / T Hc ( jΩ) = 0, Ω ≥ π / T h[n] = Thc (nT ) Penn ESE 531 Spring 2017 - Khanna 5 Penn ESE 531 Spring 2017 - Khanna 6 1 IIR by Impulse Invariance Example jω ! If Hc(jω)≈0 for |ωd| > π/T, no aliasing and H(e ) = H(jω/T), ω<π jω ! To get a particular H(e ), find corresponding Hc and Td for which above is true (within specs) ! Note: Td is not for aliasing control, used for frequency scaling. Penn ESE 531 Spring 2017 - Khanna 7 Penn ESE 531 Spring 2017 - Khanna 8 Example Example 1 eat ←⎯L→ s − a Penn ESE 531 Spring
    [Show full text]
  • Chap 4 Sampling of Continuous-Time Signals Introduction
    Chap 4 Sampling of Continuous-Time Signals Introduction 4.1 Periodic Sampling 4.2 Frequency-Domain Representation of Sampling 4.3 Reconstruction of a Bandlimited Signal from its Samples 4.4 Discrete-Time Processing of Continuous-Time Signals 4.5 Continuous-Time Processing of Discrete-Time Signals 4.6 Changing the Sampling Rate Using Discrete-Time Processing 4.7 Multirate Signal Processing 4.8 Digital Processing of Analog Signals 4.9 Oversampling and Noise Shaping in A/D and D/A Conversion 2018/9/18 DSP 2 Periodic Sampling Sequence of samples x[n] is obtained from a continuous-time signal xc(t) : x[n] = xc(nT), - infinity < n < infinity T : sampling period fs = 1/T : sampling frequency, samples/second C/D Continuous-to-discrete-time Xc(t) converter X[n] = Xc(nT) T In a practical setting, the operation of sampling is often implemented by an analog-to-digital (A/D) converter which can be approximated to the ideal C/D converter. The sampling operation is generally not invertible. The inherent ambiguity in sampling is of primary concern in signal processing. 2018/9/18 DSP 3 Sampling with a Periodic Impulse Train s(t) C/D Converter Conversion from impulse train x[n] = x (nT) x (t) X C C xS(t)to discrete-time sequence xC(t) xC(t) xS(t) 2 Sampling Rates xS(t) -4T 0 2T -4T 0 2T x[n] 2 Output Sequences x[n] -4 0 2 -4 0 2 2018/9/18 DSP 4 Frequency-domain representation of sampling The conversion of xc(t) to xs(t) through modulating signal s(t) which is a periodic impulse train s(t) (t nT ) n xs (t) xc (t)s(t) xc (t) (t nT ) n by shifting property of the impulse xs (t) xc (nT)(t nT) n The Fourier transform of a periodic impulse train is a periodic impulse train.
    [Show full text]
  • Digital Signal Processing Lecture 8
    Lecture 8 Recap Introduction CT->DT Digital Signal Processing Impulse Invariance Lecture 8 - Filter Design - IIR Bilinear Trans. Example Electrical Engineering and Computer Science University of Tennessee, Knoxville Overview Lecture 8 1 Recap Recap Introduction CT->DT 2 Introduction Impulse Invariance 3 Bilinear Trans. CT->DT Example 4 Impulse Invariance 5 Bilinear Trans. 6 Example Roadmap Lecture 8 Introduction Discrete-time signals and systems - LTI systems Unit sample response h[n]: uniquely characterizes an Recap LTI system Introduction Linear constant-coefficient difference equation CT->DT Frequency response: H(ej!) Impulse Invariance Complex exponential being eigenfunction of an LTI j! j! Bilinear Trans. system: y[n] = H(e )x[n] and H(e ) as eigenvalue. Example z transform P1 −n The z-transform, X(z) = n=−∞ x[n]z Region of convergence - the z-plane System function, H(z) Properties of the z-transform The significance of zeros 1 H n−1 The inverse z-transform, x[n] = 2πj C X(z)z dz: inspection, power series, partial fraction expansion Sampling and Reconstruction Transform domain analysis - nwz Review - Design structures Lecture 8 Different representations of causal LTI systems LCDE with initial rest condition H(z) with jzj > R+ and starts at n = 0 Recap Block diagram vs. Signal flow graph and how to determine Introduction system function (or unit sample response) from the graphs CT->DT Design structures Impulse Invariance Direct form I (zeros first) Bilinear Trans. Direct form II (poles first) - Canonic structure Example Transposed form (zeros first) IIR: cascade form, parallel form, feedback in IIR (computable vs. noncomputable) FIR: direct form, cascade form, parallel form, linear phase Metric: computational resource and precision Sources of errors: coefficient quantization error, input quantization error, product quantization error, limit cycles Pole sensitivity of 2nd-order structures: coupled form Coefficient quantization examples: direct form vs.
    [Show full text]
  • IIR Filters (II)
    Lecture 8 - IIR Filters (II) James Barnes ([email protected]) Spring 2009 Colorado State University Dept of Electrical and Computer Engineering ECE423 – 1 / 27 Lecture 8 Outline ● Introduction ● Digital Filter Design by Analog → Digital Conversion ● (Probably next lecture) ”All Digital” Design Algorithms ● (Next lecture) Conversion of Filter Types by Frequency Transformation Colorado State University Dept of Electrical and Computer Engineering ECE423 – 2 / 27 ❖ Lecture 8 Outline Introduction ❖ IIR Filter Design Overview Method: Impulse Invariance for IIR FIlters Approximation of Derivatives Bilinear Transform Matched Z-Transform Introduction Colorado State University Dept of Electrical and Computer Engineering ECE423 – 3 / 27 IIR Filter Design Overview ● Methods which start from analog design ✦ Impulse Invariance ✦ Approximation of Derivatives ✦ Bilinear Transform ✦ Matched Z-transform All are different methods of mapping the s-plane onto the z-plane ● Methods which are ”all digital” ✦ Least-squares ✦ McClellan-Parks Colorado State University Dept of Electrical and Computer Engineering ECE423 – 4 / 27 ❖ Lecture 8 Outline Introduction Method: Impulse Invariance for IIR FIlters ❖ Impulse Invariance ❖ Impulse Invariance (2) ❖ Impulse Invariance (3) ❖ Impulse Invariance (5) ❖ Impulse Invariance Procedure ❖ Impulse Invariance Example Method: Impulse Invariance for IIR FIlters ❖ Impulse Invariance Example (2) Approximation of Derivatives Bilinear Transform Matched Z-Transform Colorado State University Dept of Electrical and Computer Engineering ECE423 – 5 / 27 Impulse Invariance We start by sampling the impulse response of the analog filter: ha(t) h[n]= ha(nt0) t0 Sampling Theorem gives relation between Fourier Transform of sampled and continuous ”signals”: ∞ 1 ω 2πk H(z)|z=ejω = Ha(j − j ), (1) t0 t0 t0 k=X−∞ where ω =Ωt0 = 2πf/fs and f is the analog frequency in Hz.
    [Show full text]
  • Signal Approximation Using the Bilinear Transform
    SIGNAL APPROXIMATION USING THE BILINEAR TRANSFORM Archana Venkataraman, Alan V. Oppenheim MIT Digital Signal Processing Group 77 Massachusetts Avenue, Cambridge, MA 02139 [email protected], [email protected] ABSTRACT The analysis presented in this paper has application in contexts This paper explores the approximation properties of a unique basis where only a fixed number of DT values can be used to represent a expansion, which realizes a bilinear frequency warping between a CT signal. For example, in a binary detection problem, one might continuous-time signal and its discrete-time representation. We in- want to limit the number of digital multiplies used to compute the vestigate the role that certain parameters and signal characteristics inner product of two CT signals. Numerical simulations of this sce- have on these approximations, and we extend the analysis to a win- nario suggest that the bilinear expansion achieves a better detection dowed representation, which increases the overall time resolution. performance than Nyquist sampling for certain signal classes. Approximations derived from the bilinear representation and from Nyquist sampling are compared in the context of a binary detection 2. THE BILINEAR REPRESENTATION problem. Simulation results indicate that, for many types of signals, the bilinear approximations achieve a better detection performance. As derived in [1], the network shown in Fig. 1 realizes a one-to-one Index Terms— Signal Representations, Approximation Meth- frequency warping between the Laplace and Z-transform domains ods, Bilinear Transformations, Signal Detection according to the bilinear transform. Specifically, the Laplace trans- form F (s) of the signal f(t) and the Z-transform F (z) of the se- f[n] 1.
    [Show full text]