The Impulse Signal. A signal I(k), which is defined as zero everywhere except at a single point, where its value is equal to 1

Size: px
Start display at page:

Download "The Impulse Signal. A signal I(k), which is defined as zero everywhere except at a single point, where its value is equal to 1"

Transcription

1 The Impulse Signal A signal I(k), which is defined as zero everywhere except at a single point, where its value is equal to 1 I = [ ]; stem(i)

2 Filter Impulse through Feedforward Filter b= [ ]

3 The Impulse Response The response of a filter to an impulse signal is referred to as the impulse response of that filter. In the case of a feedforward filter, the impulse response will be the sequence of filter coefficients themselves! This gives us a new interpretation of the filter coefficient vector b it is, in fact, the time signal produced by the filter in response to an impulse.

4 Given the definition of a feedforward filter: Y(k) = b(1)*x(k) + b(2)*x(k-1) b(m)*x(k-m+1) why should we expect this impulse response? Implications: The number of non-zero points in the response will be equal to the number of coefficients. The length of the impulse response will always be finite. Filters of this type (feedforward) are also known as Finite Impulse Response filters, or FIR filters. If we are handed a feedforward filter with an unknown transfer function (a black box), we can characterize it precisely by seeing how it behaves to the impulse response.

5 Feedforward (FIR) Filters... a review Three salient properties of a filter of this kind: there are no feedback pathways output is a finite sequence if the input is a finite sequence the transfer function H(z) can be represented as polynomial in negative powers of z. Advantages: simplicity: designing and building one is easy phase: it is possible to keep phase linear, which is desirable for some (mainly recording) applications

6 Feedback Filters (IIR) Feedback: the value of the output sample value at a given point, Y(k), is dependent on previous values of the output. Three important properties of a filter of this kind: output is an infinite sequence even if the input is a finite sequence there are feedback pathways from the output to input the transfer function H(z) can be represented as a ratio of two polynomials in negative powers of z

7 X(k) * Y(k) D b(1) * (FIR) D b(2) * b(3) X(k) Y(k) D * -a(1) * D (IIR) -a(2)

8 A Simple Feedback (IIR) Filter Y(k) = X(k) + 0.5*Y(k-1) Impulse Impulse Response

9 Feedback filter is a dynamical system I Equation (or set of equations) that quantitatively describes the change in something over time. I Two parts: 1. State of the system (quantity whose change is being described) I amount of money in the bank I number of individuals in a population I volume of water in a bathtub I activation level of a neuron I the concentration of Sodium in a solution I the speed of tra conthe101 I the temperature in a room 2. Rule for how the state changes, depending on the current state. Current state predicts the state at the next instant in time. I System is constant, even while state is changing.

10 Example Dynamical System I State: Amount of water in bathtub (x) I Rule for change: Change in x = 1 2 x Time H Water in bathtub Time x n+1 = x n + dx dx = kx x n+1 = x n + kx n x n+1 =(1+k)x n if k=-.5 x n+1 =.5x n x n =.5x n 1 y n =.5y n 1

11 Example Dynamical System I State: Amount of water in bathtub (x) I Rule for change: Change in x = 1 2 x Time H Water in bathtub Time x n+1 = x n + dx dx = kx x n+1 = x n + kx n if k=-.5 x n+1 =.5x n if k=-1.5 x n+1 =.5x n x n+1 =(1+k)x n x n =.5x n 1 y n =.5y n 1 y n =.5y n 1

12 Simple Feedback (IIR) Filters Y(k) = X(k) - 0.5*Y(k-1) * Note that because of the negative sign, the system oscillates as it moves toward its asymptote

13 Transfer Functions for Simple (IIR) Filters Take the simple feedback filter: (3) Y = X -.5z-1Y Now rearrange terms: (4) X = Y+.5z-1Y X = (1 +.5z-1)Y The transfer function H(z) is the ratio of the the output to the input: (5) H(z) = Y = 1. X z -1

14 Amplitude Response for Simple (IIR) Filters Y(k) = X(k) - 0.5*Y(k-1) H(z) = Y = 1 X z -1 Impulse Response Transfer Function

15 Amplitude Response for Simple (IIR) Filters Y(k) = X(k) + 0.5*Y(k-1) H(z) = Y = 1. X 1-0.5z -1 Impulse Response Transfer Function

16 Transfer Functions for Simple (IIR) Filters Filter Equation Y = X -.5z -1 Y Transfer Function: H(z) = Y = 1. X z -1 Thus, just like moving average filters, the transfer function of this IIR filter involves a polynomial of terms in negative powers of z. In this case, however, the polynomial is the denominator of a ratio. The numerator equals 1 in this case, because there are no terms that delay and weight the input sequence (i.e. feedforward terms). If there were such terms there would be another polynomial in z in the numerator, derived exactly as we have before for moving average filters.

17 General Expression for Feedback (IIR) Filters Recall that the general expression that we derived for a moving average filter was as in (7): (7) Y(k) = b(1)*x(k) + b(2)*x(k-1) b(m)*x(k-m+1) For a general recursive filter, including terms that can depend on both past input and past output, the expression is in (8): (8) Y(k) = b(1)*x(k) + b(2)*x(k-1) b(m)*x(k-m+1) -a(1)*y(k-1) - a(2)*y(k-2) a(l)*y(k-l) By convention, the terms that depend on previous output are subtracted, rather than added (if you want the contribution of the term to be positive you can, of course, chose a negative value for a).

18 Filtering in Matlab The filter function in MATLAB can be used to filter an input signal through a feedforward filter, a feedback filter, or both. Y = filter(b,a,x) % Y filtered signal % b vector of feedforward coefficients, numerator of transfer function % a - vector of feedback coefficients, denominator of transfer function % X input signal To filter with feedforward only, set a=1 filter([ ], 1, X) To filter with feedback only, set b=1 filter(1, [1 0.5], X) * Note that the first element of the vector of a coefficients must be one. This is the coefficient of the undelayed output on the output. If you think about it, it has to be 1. So a(1) in equation (8) will be the second element of the a vector, a(2) the third element, etc.

19 General Expression for H(z) of a Feedback (IIR) Filter Using simple algebra like we employed in (3)-(5) above we can derive the following expression for the transfer function of a recursive filter: (9) H(z) = Y = b(1) + b(2)z b(m)z -(M-1). X 1+ a(1)z a(l)z -L Note that the extra 1 that is in the a vector shows up in the denominator here.

20 Poles H(z) = Y = b(1) + b(2)z b(m)z -(M-1). X 1+ a(1)z a(l)z -L The denominator polynomial will have roots, just as the numerator does. The roots of the denominator are values of z at which H(z) gets very large (possibly infinite). These roots are the poles of the filter.

21 function [mag phase] = transfer(b,a) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Calculate the Transfer Function %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % first find the number of coefficients (filter order) m = length(b); n = length(a); % fill a vector of test frequencies to plot nfreqs = 100; w = linspace(0, pi, nfreqs); % Compute a vector of z from w; % This will result in a vector of z's z = exp(j*w); % Create a vector Hnum that will eventually contain % the transfer function. % This first one will be for the numerator Hnum = zeros(1,nfreqs); % Compute Hnum by summing the terms of the polynomial in z for i=1:m Hnum = Hnum + b(i).* z.^ (-(i-1)); end

22 % Create a vector Hnum that will eventually contain % the transfer function. % This first one will be for the numerator Hden = zeros(1,nfreqs); % Compute Hnum by summing the terms of the polynomial in z for i=1:n Hden = Hden + a(i).* z.^ (-(i-1)); end H = Hnum./Hden; %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Plot the results %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %Magnitude (M) and Phase (P) outputs mag = abs(h); phase = angle(h); %Plot the Magnitude response subplot(3,1,1); plot(w/pi,mag); grid on; xlabel('frequency (pi radians)'); ylabel('magnitude');

23 %Plot the Phase response subplot(3,1,2); plot(w/pi,phase*180/pi); grid on; xlabel('frequency (pi radians)'); ylabel('phase (degrees)'); %Plot the zeros subplot(3,1,3); z = roots(b); scatter(real(z),imag(z),'ro'); hold on; t = 0:pi/32:2*pi; plot(cos(t),sin(t),'b'); axis('square'); axis([ ]); grid on; %Plot the poles p = roots(a); scatter(real(p),imag(p),'r+'); hold on; t = 0:pi/32:2*pi; plot(cos(t),sin(t),'b'); hold off return

Damped Oscillators (revisited)

Damped Oscillators (revisited) Damped Oscillators (revisited) We saw that damped oscillators can be modeled using a recursive filter with two coefficients and no feedforward components: Y(k) = - a(1)*y(k-1) - a(2)*y(k-2) We derived

More information

Recursive, Infinite Impulse Response (IIR) Digital Filters:

Recursive, Infinite Impulse Response (IIR) Digital Filters: Recursive, Infinite Impulse Response (IIR) Digital Filters: Filters defined by Laplace Domain transfer functions (analog devices) can be easily converted to Z domain transfer functions (digital, sampled

More information

Harmonic motion. time 1 - A. Wednesday, September 30, 2009

Harmonic motion. time 1 - A. Wednesday, September 30, 2009 Harmonic motion time 1 2 3 4 5 - A x 0 + A + A Block resting on air hockey table, with a spring attaching it to the side of the table. Such systems are effectively frictionless. Block will oscillate about

More information

Lecture 19 IIR Filters

Lecture 19 IIR Filters Lecture 19 IIR Filters Fundamentals of Digital Signal Processing Spring, 2012 Wei-Ta Chu 2012/5/10 1 General IIR Difference Equation IIR system: infinite-impulse response system The most general class

More information

Digital Signal Processing Lab 4: Transfer Functions in the Z-domain

Digital Signal Processing Lab 4: Transfer Functions in the Z-domain Digital Signal Processing Lab 4: Transfer Functions in the Z-domain A very important category of LTI systems is described by difference equations of the following type N a y[ nk] b x[ nk] M k k0 k0 k From

More information

z as shift (delay) operator

z as shift (delay) operator z as shift (delay) operator We saw that in deriving the transfer function and frequency response of an averaging filter that it involved multiplying the input by e -j ω Y (k) =.5e j k +.5e j k e j Means

More information

Discrete Time Systems

Discrete Time Systems Discrete Time Systems Valentina Hubeika, Jan Černocký DCGM FIT BUT Brno, {ihubeika,cernocky}@fit.vutbr.cz 1 LTI systems In this course, we work only with linear and time-invariant systems. We talked about

More information

David Weenink. First semester 2007

David Weenink. First semester 2007 Institute of Phonetic Sciences University of Amsterdam First semester 2007 Digital s What is a digital filter? An algorithm that calculates with sample values Formant /machine H 1 (z) that: Given input

More information

Formant Analysis using LPC

Formant Analysis using LPC Linguistics 582 Basics of Digital Signal Processing Formant Analysis using LPC LPC (linear predictive coefficients) analysis is a technique for estimating the vocal tract transfer function, from which

More information

EECE 301 Signals & Systems Prof. Mark Fowler

EECE 301 Signals & Systems Prof. Mark Fowler EECE 30 Signals & Systems Prof. Mark Fowler Note Set #26 D-T Systems: Transfer Function and Frequency Response / Finding the Transfer Function from Difference Eq. Recall: we found a DT system s freq. resp.

More information

Discrete-time signals and systems

Discrete-time signals and systems Discrete-time signals and systems 1 DISCRETE-TIME DYNAMICAL SYSTEMS x(t) G y(t) Linear system: Output y(n) is a linear function of the inputs sequence: y(n) = k= h(k)x(n k) h(k): impulse response of the

More information

The Z-Transform. For a phasor: X(k) = e jωk. We have previously derived: Y = H(z)X

The Z-Transform. For a phasor: X(k) = e jωk. We have previously derived: Y = H(z)X The Z-Transform For a phasor: X(k) = e jωk We have previously derived: Y = H(z)X That is, the output of the filter (Y(k)) is derived by multiplying the input signal (X(k)) by the transfer function (H(z)).

More information

(Refer Slide Time: )

(Refer Slide Time: ) Digital Signal Processing Prof. S. C. Dutta Roy Department of Electrical Engineering Indian Institute of Technology, Delhi FIR Lattice Synthesis Lecture - 32 This is the 32nd lecture and our topic for

More information

APPLIED SIGNAL PROCESSING

APPLIED SIGNAL PROCESSING APPLIED SIGNAL PROCESSING DIGITAL FILTERS Digital filters are discrete-time linear systems { x[n] } G { y[n] } Impulse response: y[n] = h[0]x[n] + h[1]x[n 1] + 2 DIGITAL FILTER TYPES FIR (Finite Impulse

More information

Lecture 2 OKAN UNIVERSITY FACULTY OF ENGINEERING AND ARCHITECTURE

Lecture 2 OKAN UNIVERSITY FACULTY OF ENGINEERING AND ARCHITECTURE OKAN UNIVERSITY FACULTY OF ENGINEERING AND ARCHITECTURE EEE 43 DIGITAL SIGNAL PROCESSING (DSP) 2 DIFFERENCE EQUATIONS AND THE Z- TRANSFORM FALL 22 Yrd. Doç. Dr. Didem Kivanc Tureli didemk@ieee.org didem.kivanc@okan.edu.tr

More information

Optimal Polynomial Control for Discrete-Time Systems

Optimal Polynomial Control for Discrete-Time Systems 1 Optimal Polynomial Control for Discrete-Time Systems Prof Guy Beale Electrical and Computer Engineering Department George Mason University Fairfax, Virginia Correspondence concerning this paper should

More information

DSP. Chapter-3 : Filter Design. Marc Moonen. Dept. E.E./ESAT-STADIUS, KU Leuven

DSP. Chapter-3 : Filter Design. Marc Moonen. Dept. E.E./ESAT-STADIUS, KU Leuven DSP Chapter-3 : Filter Design Marc Moonen Dept. E.E./ESAT-STADIUS, KU Leuven marc.moonen@esat.kuleuven.be www.esat.kuleuven.be/stadius/ Filter Design Process Step-1 : Define filter specs Pass-band, stop-band,

More information

z-transforms Definition of the z-transform Chapter

z-transforms Definition of the z-transform Chapter z-transforms Chapter 7 In the study of discrete-time signal and systems, we have thus far considered the time-domain and the frequency domain. The z- domain gives us a third representation. All three domains

More information

Analysis of Discrete-Time Systems

Analysis of Discrete-Time Systems TU Berlin Discrete-Time Control Systems 1 Analysis of Discrete-Time Systems Overview Stability Sensitivity and Robustness Controllability, Reachability, Observability, and Detectabiliy TU Berlin Discrete-Time

More information

E : Lecture 1 Introduction

E : Lecture 1 Introduction E85.2607: Lecture 1 Introduction 1 Administrivia 2 DSP review 3 Fun with Matlab E85.2607: Lecture 1 Introduction 2010-01-21 1 / 24 Course overview Advanced Digital Signal Theory Design, analysis, and implementation

More information

INFINITE-IMPULSE RESPONSE DIGITAL FILTERS Classical analog filters and their conversion to digital filters 4. THE BUTTERWORTH ANALOG FILTER

INFINITE-IMPULSE RESPONSE DIGITAL FILTERS Classical analog filters and their conversion to digital filters 4. THE BUTTERWORTH ANALOG FILTER INFINITE-IMPULSE RESPONSE DIGITAL FILTERS Classical analog filters and their conversion to digital filters. INTRODUCTION 2. IIR FILTER DESIGN 3. ANALOG FILTERS 4. THE BUTTERWORTH ANALOG FILTER 5. THE CHEBYSHEV-I

More information

EE 4343/ Control System Design Project LECTURE 10

EE 4343/ Control System Design Project LECTURE 10 Copyright S. Ikenaga 998 All rights reserved EE 4343/5329 - Control System Design Project LECTURE EE 4343/5329 Homepage EE 4343/5329 Course Outline Design of Phase-lead and Phase-lag compensators using

More information

Chapter 3 Data Acquisition and Manipulation

Chapter 3 Data Acquisition and Manipulation 1 Chapter 3 Data Acquisition and Manipulation In this chapter we introduce z transf orm, or the discrete Laplace Transform, to solve linear recursions. Section 3.1 z-transform Given a data stream x {x

More information

DSP Configurations. responded with: thus the system function for this filter would be

DSP Configurations. responded with: thus the system function for this filter would be DSP Configurations In this lecture we discuss the different physical (or software) configurations that can be used to actually realize or implement DSP functions. Recall that the general form of a DSP

More information

Introduction to DSP Time Domain Representation of Signals and Systems

Introduction to DSP Time Domain Representation of Signals and Systems Introduction to DSP Time Domain Representation of Signals and Systems Dr. Waleed Al-Hanafy waleed alhanafy@yahoo.com Faculty of Electronic Engineering, Menoufia Univ., Egypt Digital Signal Processing (ECE407)

More information

Ch. 7: Z-transform Reading

Ch. 7: Z-transform Reading c J. Fessler, June 9, 3, 6:3 (student version) 7. Ch. 7: Z-transform Definition Properties linearity / superposition time shift convolution: y[n] =h[n] x[n] Y (z) =H(z) X(z) Inverse z-transform by coefficient

More information

Temporal Backpropagation for FIR Neural Networks

Temporal Backpropagation for FIR Neural Networks Temporal Backpropagation for FIR Neural Networks Eric A. Wan Stanford University Department of Electrical Engineering, Stanford, CA 94305-4055 Abstract The traditional feedforward neural network is a static

More information

EECE 301 Signals & Systems Prof. Mark Fowler

EECE 301 Signals & Systems Prof. Mark Fowler EECE 3 Signals & Systems Prof. ark Fowler Note Set #28 D-T Systems: DT Filters Ideal & Practical /4 Ideal D-T Filters Just as in the CT case we can specify filters. We looked at the ideal filter for the

More information

ELEG 305: Digital Signal Processing

ELEG 305: Digital Signal Processing ELEG 305: Digital Signal Processing Lecture 19: Lattice Filters Kenneth E. Barner Department of Electrical and Computer Engineering University of Delaware Fall 2008 K. E. Barner (Univ. of Delaware) ELEG

More information

V. IIR Digital Filters

V. IIR Digital Filters Digital Signal Processing 5 March 5, V. IIR Digital Filters (Deleted in 7 Syllabus). (dded in 7 Syllabus). 7 Syllabus: nalog filter approximations Butterworth and Chebyshev, Design of IIR digital filters

More information

ECE503: Digital Signal Processing Lecture 6

ECE503: Digital Signal Processing Lecture 6 ECE503: Digital Signal Processing Lecture 6 D. Richard Brown III WPI 20-February-2012 WPI D. Richard Brown III 20-February-2012 1 / 28 Lecture 6 Topics 1. Filter structures overview 2. FIR filter structures

More information

Responses of Digital Filters Chapter Intended Learning Outcomes:

Responses of Digital Filters Chapter Intended Learning Outcomes: Responses of Digital Filters Chapter Intended Learning Outcomes: (i) Understanding the relationships between impulse response, frequency response, difference equation and transfer function in characterizing

More information

Detailed Solutions to Exercises

Detailed Solutions to Exercises Detailed Solutions to Exercises Digital Signal Processing Mikael Swartling Nedelko Grbic rev. 205 Department of Electrical and Information Technology Lund University Detailed solution to problem E3.4 A

More information

Lecture 16 FREQUENCY RESPONSE OF SIMPLE CIRCUITS

Lecture 16 FREQUENCY RESPONSE OF SIMPLE CIRCUITS Lecture 6 FREQUENCY RESPONSE OF SIMPLE CIRCUITS Ray DeCarlo School of ECE Purdue University West Lafayette, IN 47907-285 decarlo@ecn.purdue.edu EE-202, Frequency Response p 2 R. A. DeCarlo I. WHAT IS FREQUENCY

More information

(i) Understanding the characteristics and properties of DTFT

(i) Understanding the characteristics and properties of DTFT Discrete-Time Fourier Transform (DTFT) Chapter Intended Learning Outcomes: (i) Understanding the characteristics and properties of DTFT (ii) Ability to perform discrete-time signal conversion between the

More information

Z - Transform. It offers the techniques for digital filter design and frequency analysis of digital signals.

Z - Transform. It offers the techniques for digital filter design and frequency analysis of digital signals. Z - Transform The z-transform is a very important tool in describing and analyzing digital systems. It offers the techniques for digital filter design and frequency analysis of digital signals. Definition

More information

2. Typical Discrete-Time Systems All-Pass Systems (5.5) 2.2. Minimum-Phase Systems (5.6) 2.3. Generalized Linear-Phase Systems (5.

2. Typical Discrete-Time Systems All-Pass Systems (5.5) 2.2. Minimum-Phase Systems (5.6) 2.3. Generalized Linear-Phase Systems (5. . Typical Discrete-Time Systems.1. All-Pass Systems (5.5).. Minimum-Phase Systems (5.6).3. Generalized Linear-Phase Systems (5.7) .1. All-Pass Systems An all-pass system is defined as a system which has

More information

ECE503: Digital Signal Processing Lecture 5

ECE503: Digital Signal Processing Lecture 5 ECE53: Digital Signal Processing Lecture 5 D. Richard Brown III WPI 3-February-22 WPI D. Richard Brown III 3-February-22 / 32 Lecture 5 Topics. Magnitude and phase characterization of transfer functions

More information

Dynamical Representation

Dynamical Representation Dynamical systems Dynamical Representation I Dynamical systems originated (Newton, Leibnitz) to describe the motion of objects. I But today, they are widely employed to understand (and model) an enormous

More information

EE482: Digital Signal Processing Applications

EE482: Digital Signal Processing Applications Professor Brendan Morris, SEB 3216, brendan.morris@unlv.edu EE482: Digital Signal Processing Applications Spring 2014 TTh 14:30-15:45 CBC C222 Lecture 02 DSP Fundamentals 14/01/21 http://www.ee.unlv.edu/~b1morris/ee482/

More information

w n = c k v n k (1.226) w n = c k v n k + d k w n k (1.227) Clearly non-recursive filters are a special case of recursive filters where M=0.

w n = c k v n k (1.226) w n = c k v n k + d k w n k (1.227) Clearly non-recursive filters are a special case of recursive filters where M=0. Random Data 79 1.13 Digital Filters There are two fundamental types of digital filters Non-recursive N w n = c k v n k (1.226) k= N and recursive N M w n = c k v n k + d k w n k (1.227) k= N k=1 Clearly

More information

Analysis of Discrete-Time Systems

Analysis of Discrete-Time Systems TU Berlin Discrete-Time Control Systems TU Berlin Discrete-Time Control Systems 2 Stability Definitions We define stability first with respect to changes in the initial conditions Analysis of Discrete-Time

More information

Introduction to Digital Signal Processing

Introduction to Digital Signal Processing Introduction to Digital Signal Processing 1.1 What is DSP? DSP is a technique of performing the mathematical operations on the signals in digital domain. As real time signals are analog in nature we need

More information

The Sommerfeld Polynomial Method: Harmonic Oscillator Example

The Sommerfeld Polynomial Method: Harmonic Oscillator Example Chemistry 460 Fall 2017 Dr. Jean M. Standard October 2, 2017 The Sommerfeld Polynomial Method: Harmonic Oscillator Example Scaling the Harmonic Oscillator Equation Recall the basic definitions of the harmonic

More information

Discrete-Time Fourier Transform

Discrete-Time Fourier Transform Discrete-Time Fourier Transform Chapter Intended Learning Outcomes: (i) (ii) (iii) Represent discrete-time signals using discrete-time Fourier transform Understand the properties of discrete-time Fourier

More information

# FIR. [ ] = b k. # [ ]x[ n " k] [ ] = h k. x[ n] = Ae j" e j# ˆ n Complex exponential input. [ ]Ae j" e j ˆ. ˆ )Ae j# e j ˆ. y n. y n.

# FIR. [ ] = b k. # [ ]x[ n  k] [ ] = h k. x[ n] = Ae j e j# ˆ n Complex exponential input. [ ]Ae j e j ˆ. ˆ )Ae j# e j ˆ. y n. y n. [ ] = h k M [ ] = b k x[ n " k] FIR k= M [ ]x[ n " k] convolution k= x[ n] = Ae j" e j ˆ n Complex exponential input [ ] = h k M % k= [ ]Ae j" e j ˆ % M = ' h[ k]e " j ˆ & k= k = H (" ˆ )Ae j e j ˆ ( )

More information

Transform analysis of LTI systems Oppenheim and Schafer, Second edition pp For LTI systems we can write

Transform analysis of LTI systems Oppenheim and Schafer, Second edition pp For LTI systems we can write Transform analysis of LTI systems Oppenheim and Schafer, Second edition pp. 4 9. For LTI systems we can write yœn D xœn hœn D X kd xœkhœn Alternatively, this relationship can be expressed in the z-transform

More information

a( i), where N i N ) is accurately d( i), where N i N. The derivative at ( ) ( ) ( )

a( i), where N i N ) is accurately d( i), where N i N. The derivative at ( ) ( ) ( ) More on implementing the derivative filter John C. Bancroft ABSTRACT More on implementing the derivative filter An update is presented on finding faster and or more accurate implementations of differentiator

More information

CMPT 889: Lecture 5 Filters

CMPT 889: Lecture 5 Filters CMPT 889: Lecture 5 Filters Tamara Smyth, tamaras@cs.sfu.ca School of Computing Science, Simon Fraser University October 7, 2009 1 Digital Filters Any medium through which a signal passes may be regarded

More information

Digital Filters. Linearity and Time Invariance. Linear Time-Invariant (LTI) Filters: CMPT 889: Lecture 5 Filters

Digital Filters. Linearity and Time Invariance. Linear Time-Invariant (LTI) Filters: CMPT 889: Lecture 5 Filters Digital Filters CMPT 889: Lecture 5 Filters Tamara Smyth, tamaras@cs.sfu.ca School of Computing Science, Simon Fraser University October 7, 29 Any medium through which a signal passes may be regarded as

More information

Signal Processing First Lab 11: PeZ - The z, n, and ˆω Domains

Signal Processing First Lab 11: PeZ - The z, n, and ˆω Domains Signal Processing First Lab : PeZ - The z, n, and ˆω Domains The lab report/verification will be done by filling in the last page of this handout which addresses a list of observations to be made when

More information

10/8/2015. Control Design. Pole-placement by state-space methods. Process to be controlled. State controller

10/8/2015. Control Design. Pole-placement by state-space methods. Process to be controlled. State controller Pole-placement by state-space methods Control Design To be considered in controller design * Compensate the effect of load disturbances * Reduce the effect of measurement noise * Setpoint following (target

More information

Time Series Analysis: 4. Linear filters. P. F. Góra

Time Series Analysis: 4. Linear filters. P. F. Góra Time Series Analysis: 4. Linear filters P. F. Góra http://th-www.if.uj.edu.pl/zfs/gora/ 2012 Linear filters in the Fourier domain Filtering: Multiplying the transform by a transfer function. g n DFT G

More information

Stability and Frequency Response of Linear Systems

Stability and Frequency Response of Linear Systems ECE 350 Linear Systems I MATLAB Tutorial #4 Stability and Frequency Response of Linear Systems This tutorial describes the MATLAB commands that can be used to determine the stability and/or frequency response

More information

Signals and Systems. Problem Set: The z-transform and DT Fourier Transform

Signals and Systems. Problem Set: The z-transform and DT Fourier Transform Signals and Systems Problem Set: The z-transform and DT Fourier Transform Updated: October 9, 7 Problem Set Problem - Transfer functions in MATLAB A discrete-time, causal LTI system is described by the

More information

DSP First. Laboratory Exercise #10. The z, n, and ˆω Domains

DSP First. Laboratory Exercise #10. The z, n, and ˆω Domains DSP First Laboratory Exercise #10 The z, n, and ˆω Domains 1 Objective The objective for this lab is to build an intuitive understanding of the relationship between the location of poles and zeros in the

More information

CBE507 LECTURE III Controller Design Using State-space Methods. Professor Dae Ryook Yang

CBE507 LECTURE III Controller Design Using State-space Methods. Professor Dae Ryook Yang CBE507 LECTURE III Controller Design Using State-space Methods Professor Dae Ryook Yang Fall 2013 Dept. of Chemical and Biological Engineering Korea University Korea University III -1 Overview States What

More information

Let H(z) = P(z)/Q(z) be the system function of a rational form. Let us represent both P(z) and Q(z) as polynomials of z (not z -1 )

Let H(z) = P(z)/Q(z) be the system function of a rational form. Let us represent both P(z) and Q(z) as polynomials of z (not z -1 ) Review: Poles and Zeros of Fractional Form Let H() = P()/Q() be the system function of a rational form. Let us represent both P() and Q() as polynomials of (not - ) Then Poles: the roots of Q()=0 Zeros:

More information

Use: Analysis of systems, simple convolution, shorthand for e jw, stability. Motivation easier to write. Or X(z) = Z {x(n)}

Use: Analysis of systems, simple convolution, shorthand for e jw, stability. Motivation easier to write. Or X(z) = Z {x(n)} 1 VI. Z Transform Ch 24 Use: Analysis of systems, simple convolution, shorthand for e jw, stability. A. Definition: X(z) = x(n) z z - transforms Motivation easier to write Or Note if X(z) = Z {x(n)} z

More information

Time Series Analysis: 4. Digital Linear Filters. P. F. Góra

Time Series Analysis: 4. Digital Linear Filters. P. F. Góra Time Series Analysis: 4. Digital Linear Filters P. F. Góra http://th-www.if.uj.edu.pl/zfs/gora/ 2018 Linear filters Filtering in Fourier domain is very easy: multiply the DFT of the input by a transfer

More information

EE 313 Linear Signals & Systems (Fall 2018) Solution Set for Homework #7 on Infinite Impulse Response (IIR) Filters CORRECTED

EE 313 Linear Signals & Systems (Fall 2018) Solution Set for Homework #7 on Infinite Impulse Response (IIR) Filters CORRECTED EE 33 Linear Signals & Systems (Fall 208) Solution Set for Homework #7 on Infinite Impulse Response (IIR) Filters CORRECTED By: Mr. Houshang Salimian and Prof. Brian L. Evans Prolog for the Solution Set.

More information

EE 311 February 22, 2019 Lecture 13

EE 311 February 22, 2019 Lecture 13 EE 311 February, 019 Lecture 13 Minimum Phase FIR filters Geometric Interpretation of P/Z locations Minimum Phase System - A system is said to be a minimum phase system if the deviation from zero in the

More information

DFT Octave Codes (0B) Young Won Lim 4/15/17

DFT Octave Codes (0B) Young Won Lim 4/15/17 Copyright (c) 2009-2017 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published

More information

DSP-CIS. Chapter-4: FIR & IIR Filter Design. Marc Moonen

DSP-CIS. Chapter-4: FIR & IIR Filter Design. Marc Moonen DSP-CIS Chapter-4: FIR & IIR Filter Design Marc Moonen Dept. E.E./ESAT-STADIUS, KU Leuven marc.moonen@esat.kuleuven.be www.esat.kuleuven.be/stadius/ PART-II : Filter Design/Realization Step-1 : Define

More information

Lecture 3 Matlab Simulink Minimum Phase, Maximum Phase and Linear Phase Systems

Lecture 3 Matlab Simulink Minimum Phase, Maximum Phase and Linear Phase Systems Lecture 3 Matlab Simulink Minimum Phase, Maximum Phase and Linear Phase Systems Lester Liu October 31, 2012 Minimum Phase, Maximum Phase and Linear Phase LTI Systems In this section, we will explore the

More information

Problem Set 9 Solutions

Problem Set 9 Solutions Problem Set 9 Solutions EE23: Digital Signal Processing. From Figure below, we see that the DTFT of the windowed sequence approaches the actual DTFT as the window size increases. Gibb s phenomenon is absent

More information

Analog vs. discrete signals

Analog vs. discrete signals Analog vs. discrete signals Continuous-time signals are also known as analog signals because their amplitude is analogous (i.e., proportional) to the physical quantity they represent. Discrete-time signals

More information

EECE 301 Signals & Systems

EECE 301 Signals & Systems EECE 30 Signals & Systems Prof. Mark Fowler Note Set #22 D-T Systems: DT Systems & Difference Equations / D-T System Models So far we ve seen how to use the FT to analyze circuits Use phasors and standard

More information

Chapter Six. Infinite Impulse Response Filters

Chapter Six. Infinite Impulse Response Filters Chapter Six. Infinite Impulse Response Filters Infinite impulse response (IIR) digital filters are fundamentally different from FIR filters because practical IIR filters always require feedback. Where

More information

FFT Octave Codes (1B) Young Won Lim 7/6/17

FFT Octave Codes (1B) Young Won Lim 7/6/17 FFT Octave Codes (1B) Copyright (c) 2009-2017 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any

More information

DIGITAL SIGNAL PROCESSING UNIT III INFINITE IMPULSE RESPONSE DIGITAL FILTERS. 3.6 Design of Digital Filter using Digital to Digital

DIGITAL SIGNAL PROCESSING UNIT III INFINITE IMPULSE RESPONSE DIGITAL FILTERS. 3.6 Design of Digital Filter using Digital to Digital DIGITAL SIGNAL PROCESSING UNIT III INFINITE IMPULSE RESPONSE DIGITAL FILTERS Contents: 3.1 Introduction IIR Filters 3.2 Transformation Function Derivation 3.3 Review of Analog IIR Filters 3.3.1 Butterworth

More information

Trajectory tracking control and feedforward

Trajectory tracking control and feedforward Trajectory tracking control and feedforward Aim of this chapter : Jan Swevers May 2013 Learn basic principles of feedforward design for trajectory tracking Focus is on feedforward filter design: comparison

More information

12.1 Arithmetic Progression Geometric Progression General things about sequences

12.1 Arithmetic Progression Geometric Progression General things about sequences ENGR11 Engineering Mathematics Lecture Notes SMS, Victoria University of Wellington Week Five. 1.1 Arithmetic Progression An arithmetic progression is a sequence where each term is found by adding a fixed

More information

DIGITAL SIGNAL PROCESSING LABORATORY

DIGITAL SIGNAL PROCESSING LABORATORY L AB 5 : DISCRETE T IME SYSTEM IN TIM E DOMAIN NAME: DATE OF EXPERIMENT: DATE REPORT SUBMITTED: 1 1 THEORY Mathematically, a discrete-time system is described as an operator T[.] that takes a sequence

More information

Analog LTI system Digital LTI system

Analog LTI system Digital LTI system Sampling Decimation Seismometer Amplifier AAA filter DAA filter Analog LTI system Digital LTI system Filtering (Digital Systems) input output filter xn [ ] X ~ [ k] Convolution of Sequences hn [ ] yn [

More information

EEL3135: Homework #4

EEL3135: Homework #4 EEL335: Homework #4 Problem : For each of the systems below, determine whether or not the system is () linear, () time-invariant, and (3) causal: (a) (b) (c) xn [ ] cos( 04πn) (d) xn [ ] xn [ ] xn [ 5]

More information

Design IIR Butterworth Filters Using 12 Lines of Code

Design IIR Butterworth Filters Using 12 Lines of Code db Design IIR Butterworth Filters Using 12 Lines of Code While there are plenty of canned functions to design Butterworth IIR filters [1], it s instructive and not that complicated to design them from

More information

Cast of Characters. Some Symbols, Functions, and Variables Used in the Book

Cast of Characters. Some Symbols, Functions, and Variables Used in the Book Page 1 of 6 Cast of Characters Some s, Functions, and Variables Used in the Book Digital Signal Processing and the Microcontroller by Dale Grover and John R. Deller ISBN 0-13-081348-6 Prentice Hall, 1998

More information

ECE4270 Fundamentals of DSP Lecture 20. Fixed-Point Arithmetic in FIR and IIR Filters (part I) Overview of Lecture. Overflow. FIR Digital Filter

ECE4270 Fundamentals of DSP Lecture 20. Fixed-Point Arithmetic in FIR and IIR Filters (part I) Overview of Lecture. Overflow. FIR Digital Filter ECE4270 Fundamentals of DSP Lecture 20 Fixed-Point Arithmetic in FIR and IIR Filters (part I) School of ECE Center for Signal and Information Processing Georgia Institute of Technology Overview of Lecture

More information

1 Introduction & Objective. 2 Warm-up. Lab P-16: PeZ - The z, n, and O! Domains

1 Introduction & Objective. 2 Warm-up. Lab P-16: PeZ - The z, n, and O! Domains DSP First, 2e Signal Processing First Lab P-6: PeZ - The z, n, and O! Domains The lab report/verification will be done by filling in the last page of this handout which addresses a list of observations

More information

Chapter 7: Filter Design 7.1 Practical Filter Terminology

Chapter 7: Filter Design 7.1 Practical Filter Terminology hapter 7: Filter Design 7. Practical Filter Terminology Analog and digital filters and their designs constitute one of the major emphasis areas in signal processing and communication systems. This is due

More information

Two-Dimensional Systems and Z-Transforms

Two-Dimensional Systems and Z-Transforms CHAPTER 3 Two-Dimensional Systems and Z-Transforms In this chapter we look at the -D Z-transform. It is a generalization of the -D Z-transform used in the analysis and synthesis of -D linear constant coefficient

More information

Thursday, October 29, LPC Analysis

Thursday, October 29, LPC Analysis LPC Analysis Prediction & Regression We hypothesize that there is some systematic relation between the values of two variables, X and Y. If this hypothesis is true, we can (partially) predict the observed

More information

SIGNALS AND SYSTEMS LABORATORY 4: Polynomials, Laplace Transforms and Analog Filters in MATLAB

SIGNALS AND SYSTEMS LABORATORY 4: Polynomials, Laplace Transforms and Analog Filters in MATLAB INTRODUCTION SIGNALS AND SYSTEMS LABORATORY 4: Polynomials, Laplace Transforms and Analog Filters in MATLAB Laplace transform pairs are very useful tools for solving ordinary differential equations. Most

More information

Digital Signal Processing: Signal Transforms

Digital Signal Processing: Signal Transforms Digital Signal Processing: Signal Transforms Aishy Amer, Mohammed Ghazal January 19, 1 Instructions: 1. This tutorial introduces frequency analysis in Matlab using the Fourier and z transforms.. More Matlab

More information

Digital Signal Processing

Digital Signal Processing COMP ENG 4TL4: Digital Signal Processing Notes for Lecture #24 Tuesday, November 4, 2003 6.8 IIR Filter Design Properties of IIR Filters: IIR filters may be unstable Causal IIR filters with rational system

More information

Lecture 3 - Design of Digital Filters

Lecture 3 - Design of Digital Filters Lecture 3 - Design of Digital Filters 3.1 Simple filters In the previous lecture we considered the polynomial fit as a case example of designing a smoothing filter. The approximation to an ideal LPF can

More information

Pole Placement (Bass Gura)

Pole Placement (Bass Gura) Definition: Open-Loop System: System dynamics with U =. sx = AX Closed-Loop System: System dynamics with U = -Kx X sx = (A BK x )X Characteristic Polynomial: Pole Placement (Bass Gura) a) The polynomial

More information

Velocity estimates from sampled position data

Velocity estimates from sampled position data Velocity estimates from sampled position data It is often the case that position information has been sampled from continuous process and it is desired to estimate the velocity and acceleration. Example

More information

Discrete-Time David Johns and Ken Martin University of Toronto

Discrete-Time David Johns and Ken Martin University of Toronto Discrete-Time David Johns and Ken Martin University of Toronto (johns@eecg.toronto.edu) (martin@eecg.toronto.edu) University of Toronto 1 of 40 Overview of Some Signal Spectra x c () t st () x s () t xn

More information

Digital Signal Processing

Digital Signal Processing COMP ENG 4TL4: Digital Signal Processing Notes for Lecture #21 Friday, October 24, 2003 Types of causal FIR (generalized) linear-phase filters: Type I: Symmetric impulse response: with order M an even

More information

SAMPLE SOLUTION TO EXAM in MAS501 Control Systems 2 Autumn 2015

SAMPLE SOLUTION TO EXAM in MAS501 Control Systems 2 Autumn 2015 FACULTY OF ENGINEERING AND SCIENCE SAMPLE SOLUTION TO EXAM in MAS501 Control Systems 2 Autumn 2015 Lecturer: Michael Ruderman Problem 1: Frequency-domain analysis and control design (15 pt) Given is a

More information

University of Waterloo Department of Electrical and Computer Engineering ECE 413 Digital Signal Processing. Spring Home Assignment 2 Solutions

University of Waterloo Department of Electrical and Computer Engineering ECE 413 Digital Signal Processing. Spring Home Assignment 2 Solutions University of Waterloo Department of Electrical and Computer Engineering ECE 13 Digital Signal Processing Spring 017 Home Assignment Solutions Due on June 8, 017 Exercise 1 An LTI system is described by

More information

Discrete-time models and control

Discrete-time models and control Discrete-time models and control Silvano Balemi University of Applied Sciences of Southern Switzerland Zürich, 2009-2010 Discrete-time signals 1 Step response of a sampled system Sample and hold 2 Sampling

More information

Control Systems Lab - SC4070 Control techniques

Control Systems Lab - SC4070 Control techniques Control Systems Lab - SC4070 Control techniques Dr. Manuel Mazo Jr. Delft Center for Systems and Control (TU Delft) m.mazo@tudelft.nl Tel.:015-2788131 TU Delft, February 16, 2015 (slides modified from

More information

Filter Description. Direct form FIR transposed. Direct form FIR. Lattice coupled-allpass. Lattice autoregressive (AR). Lattice ARMA.

Filter Description. Direct form FIR transposed. Direct form FIR. Lattice coupled-allpass. Lattice autoregressive (AR). Lattice ARMA. Filter Design Toolbox FilterStructure The FilterStructure property values are specified asone of the following strings indicating the quantized filter architecture: ' FilterStructure Property Name 'antisymmetricfir'

More information

Signals and Systems. Spring Room 324, Geology Palace, ,

Signals and Systems. Spring Room 324, Geology Palace, , Signals and Systems Spring 2013 Room 324, Geology Palace, 13756569051, zhukaiguang@jlu.edu.cn Chapter 10 The Z-Transform 1) Z-Transform 2) Properties of the ROC of the z-transform 3) Inverse z-transform

More information

Z-Transform. x (n) Sampler

Z-Transform. x (n) Sampler Chapter Two A- Discrete Time Signals: The discrete time signal x(n) is obtained by taking samples of the analog signal xa (t) every Ts seconds as shown in Figure below. Analog signal Discrete time signal

More information

Digital Filter Structures. Basic IIR Digital Filter Structures. of an LTI digital filter is given by the convolution sum or, by the linear constant

Digital Filter Structures. Basic IIR Digital Filter Structures. of an LTI digital filter is given by the convolution sum or, by the linear constant Digital Filter Chapter 8 Digital Filter Block Diagram Representation Equivalent Basic FIR Digital Filter Basic IIR Digital Filter. Block Diagram Representation In the time domain, the input-output relations

More information

CE 513: STATISTICAL METHODS

CE 513: STATISTICAL METHODS 28-8-217/CE 68 CE 513: STATISTICAL METHODS IN CIVIL ENGINEERING Lecture: Introduction to Fourier transforms Dr. Budhaditya Hazra Room: N-37 Department of Civil Engineering 1 Fourier Analysis Fourier Series

More information