Transform Analysis of Linear Time-Invariant Systems

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

Digital Signal Processing Lecture 9 - Design of Digital Filters - FIR

Lecture 14: Minimum Phase Systems and Linear Phase

( ) John A. Quinn Lecture. ESE 531: Digital Signal Processing. Lecture Outline. Frequency Response of LTI System. Example: Zero on Real Axis

Digital Signal Processing

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science. Fall Solutions for Problem Set 2

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

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

Stability Condition in Terms of the Pole Locations

Discrete-Time Fourier Transform (DTFT)

Discrete-Time Signals and Systems. Frequency Domain Analysis of LTI Systems. The Frequency Response Function. The Frequency Response Function

Chap 2. Discrete-Time Signals and Systems

Review of Fundamentals of Digital Signal Processing

Digital Signal Processing Lecture 3 - Discrete-Time Systems

Very useful for designing and analyzing signal processing systems

Multimedia Signals and Systems - Audio and Video. Signal, Image, Video Processing Review-Introduction, MP3 and MPEG2

Review of Fundamentals of Digital Signal Processing

Lecture 7 Discrete Systems

Filter Design Problem

Discrete Time Systems

UNIVERSITY OF OSLO. Please make sure that your copy of the problem set is complete before you attempt to answer anything.

Discrete-Time Signals and Systems. The z-transform and Its Application. The Direct z-transform. Region of Convergence. Reference: Sections

Signals & Systems Handout #4

EE 521: Instrumentation and Measurements

Digital Filters Ying Sun

The Discrete-Time Fourier

Like bilateral Laplace transforms, ROC must be used to determine a unique inverse z-transform.

Discrete Time Systems

Digital Signal Processing:

Solutions: Homework Set # 5

EECE 301 Signals & Systems Prof. Mark Fowler

Your solutions for time-domain waveforms should all be expressed as real-valued functions.

Review of Discrete-Time System

ECE503: Digital Signal Processing Lecture 5

EEL3135: Homework #4

Quadrature-Mirror Filter Bank

Z-TRANSFORMS. Solution: Using the definition (5.1.2), we find: for case (b). y(n)= h(n) x(n) Y(z)= H(z)X(z) (convolution) (5.1.

# 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.

2.161 Signal Processing: Continuous and Discrete Fall 2008

GATE EE Topic wise Questions SIGNALS & SYSTEMS

EC Signals and Systems

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

z-transform Chapter 6

Department of Electrical and Computer Engineering Digital Speech Processing Homework No. 6 Solutions

! Introduction. ! Discrete Time Signals & Systems. ! Z-Transform. ! Inverse Z-Transform. ! Sampling of Continuous Time Signals

Detailed Solutions to Exercises

ELC 4351: Digital Signal Processing

ELEG 305: Digital Signal Processing

Discrete Time Fourier Transform (DTFT)

Digital Signal Processing. Midterm 1 Solution

APPLIED SIGNAL PROCESSING

LECTURE NOTES DIGITAL SIGNAL PROCESSING III B.TECH II SEMESTER (JNTUK R 13)

Frequency-Domain C/S of LTI Systems

Z Transform (Part - II)

Lecture 18: Stability

Discrete-time Fourier transform (DTFT) representation of DT aperiodic signals Section The (DT) Fourier transform (or spectrum) of x[n] is

Lecture 8 Finite Impulse Response Filters

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

Digital Signal Processing Lecture 10 - Discrete Fourier Transform

Digital Signal Processing Lecture 8 - Filter Design - IIR

Discrete Time Signals and Systems Time-frequency Analysis. Gloria Menegaz

Signal Analysis, Systems, Transforms

x[n] = x a (nt ) x a (t)e jωt dt while the discrete time signal x[n] has the discrete-time Fourier transform x[n]e jωn

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 )

Z-Transform. The Z-transform is the Discrete-Time counterpart of the Laplace Transform. Laplace : G(s) = g(t)e st dt. Z : G(z) =

Lecture 19 IIR Filters

Linear Convolution Using FFT

UNIT - 7: FIR Filter Design

Multidimensional digital signal processing

University of Illinois at Urbana-Champaign ECE 310: Digital Signal Processing

The Z transform (2) 1

Lecture 13: Pole/Zero Diagrams and All Pass Systems

UNIVERSITY OF OSLO. Faculty of mathematics and natural sciences. Forslag til fasit, versjon-01: Problem 1 Signals and systems.

Lecture 04: Discrete Frequency Domain Analysis (z-transform)

Signals and Systems Profs. Byron Yu and Pulkit Grover Fall Midterm 2 Solutions

2.161 Signal Processing: Continuous and Discrete Fall 2008

ECE 410 DIGITAL SIGNAL PROCESSING D. Munson University of Illinois Chapter 12

Discrete-time Signals and Systems in

Signals and Systems Lecture 8: Z Transform

Lecture 9 Infinite Impulse Response Filters

Lecture 2 OKAN UNIVERSITY FACULTY OF ENGINEERING AND ARCHITECTURE

Final Exam January 31, Solutions

ELEG 305: Digital Signal Processing

Multirate signal processing

EEE4001F EXAM DIGITAL SIGNAL PROCESSING. University of Cape Town Department of Electrical Engineering PART A. June hours.

ECSE 512 Digital Signal Processing I Fall 2010 FINAL EXAMINATION

LTI Discrete-Time Systems in Transform Domain Ideal Filters Zero Phase Transfer Functions Linear Phase Transfer Functions

X (z) = n= 1. Ã! X (z) x [n] X (z) = Z fx [n]g x [n] = Z 1 fx (z)g. r n x [n] ª e jnω

Responses of Digital Filters Chapter Intended Learning Outcomes:

Discrete-Time David Johns and Ken Martin University of Toronto

Solutions. Number of Problems: 10

ESE 531: Digital Signal Processing

ECGR4124 Digital Signal Processing Final Spring 2009

Transform Representation of Signals

Lecture 7 - IIR Filters

ECE 350 Signals and Systems Spring 2011 Final Exam - Solutions. Three 8 ½ x 11 sheets of notes, and a calculator are allowed during the exam.

Discrete-time signals and systems

CMPT 318: Lecture 5 Complex Exponentials, Spectrum Representation

EE482: Digital Signal Processing Applications

VI. Z Transform and DT System Analysis

Transcription:

Transform Analysis of Linear Time-Invariant Systems Discrete-Time Signal Processing Chia-Ping Chen Department of Computer Science and Engineering National Sun Yat-Sen University Kaohsiung, Taiwan ROC Transform Analysis of Linear Time-Invariant Systems p. 1

Introduction A linear time-invariant system is completely characterized by the impulse response h[n]. We can apply certain transforms to h[n], such as the z-transform and the Fourier transform, and get equivalent representations. Looking at a system through these transforms is called transform analysis. Transform Analysis of Linear Time-Invariant Systems p. 2

Frequency Response The frequency response H(e jω ) of a system is the eigenvalue for the input function e jωn. The input/output signal s Fourier transforms are related by Y (e jω ) = X(e jω ) H(e jω ). Thus, the magnitude and phase of input/output signals are related by Y (e jω ) = X(e jω ) H(e jω ) Y (e jω ) = X(e jω ) + H(e jω ) Transform Analysis of Linear Time-Invariant Systems p. 3

Magnitude and Phase Response H(e jω ) is called the magnitude response or gain. H(e jω ) is called the phase response or phase shift. Combined, they determine the system function, H(e jω ) = H(e jω ) e H(ejω). They are sometimes called distortion. Transform Analysis of Linear Time-Invariant Systems p. 4

Ideal Frequency Selective Filters The ideal lowpass filter is characterized by the frequency response 1, ω < ω H lp (e jω c ) = 0, ω c < ω π The ideal highpass filter is characterized by the frequency response 0, ω < ω H hp (e jω c ) = 1, ω c < ω π Transform Analysis of Linear Time-Invariant Systems p. 5

Magnitude and Phase Ideal lowpass filter 1, ω < ω H lp (e jω c ) = 0, ω c < ω π, H lp(e jω ) = 0 Similar for an ideal highpass filter. Transform Analysis of Linear Time-Invariant Systems p. 6

Ideal Delay System The impulse response is h id [n] = δ[n n d ]. The frequency response is the Fourier transform so H id (e jω ) = e jωn d, H id (e jω ) = 1, H id (e jω ) = ωn d. The phase shift is linear in ω. This is called a linear-phase property. Transform Analysis of Linear Time-Invariant Systems p. 7

Group Delay A measure of the linearity of the phase is the group delay defined by τ(ω) = grd[h(e jω )] = d dω {arg[h(ejω )]}. Note here arg[h(e jω )] is different from H(e jω ). The former is defined to be a continuous function of ω. An example of analysis is given in Figure 5.1 (system), 5.2 (input) and 5.3 (output). Transform Analysis of Linear Time-Invariant Systems p. 8

LCCDE Systems One thing about ideal frequency selective filter is that they cannot be implemented with finite computation. We need to consider a class of systems that are implementable. The class of causal systems characterized by linear constant-coefficient difference equations N a k y[n k] = M b k x[n k] k=0 k=0 is implementable, as the output can be computed recursively. Transform Analysis of Linear Time-Invariant Systems p. 9

z-domain Analysis Such a system (described by LCCDE) is best understood through the z-transform. Taking the z-transform, N a k z k Y (z) = k=0 H(z) = Y (z) X(z) = M b k z k X(z) k=0 M k=0 b kz k N k=0 a kz k Transform Analysis of Linear Time-Invariant Systems p. 10

General Properties of H(z) H(z) is a ratio of polynomials in z 1. It can be re-written as H(z) = ( b0 a 0 ) M (1 c kz 1 ) N (1 d kz 1 ) (1 c k z 1 ) contributes a zero at z = c k and a pole at z = 0 (1 d k z 1 ) contributes a pole at z = c k and a zero at z = 0 Transform Analysis of Linear Time-Invariant Systems p. 11

Example Consider the system function H(z) = (1 + z 1 ) 2 (1 1 2 z 1 )(1 + 3 4 z 1 ) Where are the poles and zeros? Can you implement this system? Transform Analysis of Linear Time-Invariant Systems p. 12

Region of Convergence Given a linear difference equation, we can always compute the functional form of H(z). However, we cannot decide the region of convergence, thus failing to decide h[n]. The ambiguity can be resolved if further assumptions regarding stability and causality are given. Transform Analysis of Linear Time-Invariant Systems p. 13

Stability and Causality Specifically, for a system to be stable, the region of convergence must include the unit circle. In addition, for a system to be causal, the region of convergence must extend to. It follows that if a system is causal and stable, the outmost pole must be inside the unit circle. Transform Analysis of Linear Time-Invariant Systems p. 14

Example Consider the LCCDE The system function is y[n] 5 y[n 1] + y[n 2] = x[n]. 2 H(z) = 1 (1 1 2 z 1 )(1 2z 1 ). Where are the poles? When is the system causal? stable? stable and causal? neither stable nor causal? Transform Analysis of Linear Time-Invariant Systems p. 15

Inverse Systems The inverse system H i (z) of a system H(z) is defined to be the system that if it is cascaded with H(z), the overall system is unity. That is, H i (z)h(z) = 1 H i (z) = 1 H(z). Equivalently h i [n] h[n] = δ[n]. Transform Analysis of Linear Time-Invariant Systems p. 16

Inverse for LCCDE Systems Suppose we have an LCCDE system H(z) = ( b0 a 0 ) M (1 c kz 1 ) N (1 d kz 1 ) The inverse has a function form H i (z) = ( a0 b 0 ) N (1 d kz 1 ) M (1 c kz 1 ) The poles of H(z) are the zeros of H i (z) and vice versa. Transform Analysis of Linear Time-Invariant Systems p. 17

Does an Inverse Exist? Does an inverse exist for a given system with known H(z) and ROC? A necessary condition for an inverse system is that the ROC of H i (z) must overlap with the ROC of H(z). This condition helps to choose the ROC given the functional form of H i (z). Transform Analysis of Linear Time-Invariant Systems p. 18

Example Consider the system H(z) = 1 0.5z 1 1 0.9z 1, ROC z > 0.9. The pole is 0.9 and the zero is 0.5. The inverse system has a system function of H i (z) = 1 0.9z 1 1 0.5z 1, ROC z > 0.5, where ROC is decided such that it overlaps with z > 0.9. Transform Analysis of Linear Time-Invariant Systems p. 19

Another Example Consider the system H(z) = z 1 0.5 1 0.9z 1, ROC z > 0.9. The pole is 0.9 and the zero is 2. The inverse system has a system function of H i (z) = 1 0.9z 1 z 1 0.5 = 2 + 1.8z 1 1 2z 1. Now both z > 2 and z < 2 overlaps with z > 0.9, so we have a choice. Transform Analysis of Linear Time-Invariant Systems p. 20

Causal and Stable Inverse Suppose a system with system function H(z) has zeros c k s and poles d k s. If it is causal and stable, max k d k < 1. An inverse system has poles c k s. For it to be causal and stable, max k c k < 1. A causal and stable system has a causal and stable inverse system if and only if all poles and zeros are inside the unit circle. Transform Analysis of Linear Time-Invariant Systems p. 21

Rational Causal System Function Any rational function of z 1 with only first-order poles can be written as H(z) = M N r=0 B r z r + N A k 1 d k z 1. Assume the system is causal, the impulse response is h[n] = M N B r δ[n r] + N A k d n ku[n]. r=0 Transform Analysis of Linear Time-Invariant Systems p. 22

IIR and FIR Systems If the system has any poles other than z = 0, then A k 0 for some k and h[n] is not of finite length. The system is called a infinite impulse response (IIR) system. Otherwise, A k = 0 for all k and h[n] is of finite duration. Such a system is called finite impulse response (FIR). Specifically, an FIR system has N = 0 and H(z) = M k=0 b k z k. Transform Analysis of Linear Time-Invariant Systems p. 23

Example Consider the LCCDE The system function is y[n] ay[n 1] = x[n]. H(z) = 1 1 az 1. It is IIR. Transform Analysis of Linear Time-Invariant Systems p. 24

Frequency Response Suppose a causal LCCDE system is stable. The frequency response is the system function evaluated on the unit circle H(e jω ) = M k=0 N k=0 b k e jωk a k e jωk We are interested in the magnitude, phase and group delay of such a system. Transform Analysis of Linear Time-Invariant Systems p. 25

Magnitude Response The equation can be re-written as H(e jω ) = ( b0 a 0 ) M (1 c k e jω ) N (1 d k e jω ) So the magnitude response is H(e jω ) = b 0 a 0 M N 1 c k e jω 1 d k e jω Transform Analysis of Linear Time-Invariant Systems p. 26

Gain and Attenuation It is common practice to measure the magnitude in decibels (db), which is defined by Gain in db = 20 log 10 H(e jω ). When the gain H(e jω ) < 1, we speak of attenuation in db, which is defined by Attenuation in db = 20 log 10 H(e jω ). Transform Analysis of Linear Time-Invariant Systems p. 27

Gain, Phase and Delay For a causal stable LCCDE system, log 10 H(e jω ) = log 10 b 0 a 0 M + log 10 1 c k e jω N log 10 1 d k e jω. The phase response is H(e jω ) = ( b0 a 0 ) + M (1 c k e jω ) N (1 d k e jω ) Similar for the group delay. Note that poles and zeros contribute to the sum similarly. Only the signs are opposite. Transform Analysis of Linear Time-Invariant Systems p. 28

A Single Zero Magnitude, phase, and group delay are sums of terms related to a zero or a pole. We now look at such a term. Suppose we have a zero at The squared magnitude is z 0 = re jθ. 1 re jθ e jω 2 = (1 re jθ e jω )(1 re jθ e jω ) = 1+r 2 2r cos(ω θ). This is a periodic function of ω, with period 2π. Transform Analysis of Linear Time-Invariant Systems p. 29

Example The maximum occurs at ω θ = π, while the minimum occurs at ω θ = 0. For example, for r = 0.9, the maximum value gain in db is and the minimum is 20 log 10 (1 + 0.9) = 5.57, 20 log 10 (1 0.9) = 20. Varying θ simply shifts the function. Transform Analysis of Linear Time-Invariant Systems p. 30

Phase and Group Delay The phase of such a term is ARG [ 1 re jθ e jω] = arctan [ r sin(ω θ) ] 1 r cos(ω θ) The group delay is (need some basic calculus here, exercise) grd [ 1 re jθ e jω] = r2 r cos(ω θ) 1 + r 2 2r cos(ω θ) Transform Analysis of Linear Time-Invariant Systems p. 31

Geometric Construction Again, we look at a first-order system H(z) = (1 re jθ z 1 ) = z rejθ z The magnitude response is e jω re jθ e jω = ν 3 ν 1 = ν 3.. ν 3, a vector from a zero to the unit circle, is called a zero vector. ν 1, a vector from a pole to the unit circle, is called a pole vector. Transform Analysis of Linear Time-Invariant Systems p. 32

Geometric Construction The corresponding phase is (1 re jθ e jω ) = ν 3 ν 1 = ν 3 ω. We should now have a more concrete idea about the variation of magnitude and phase with respect to ω, from the zero-pole plot of H(z). Transform Analysis of Linear Time-Invariant Systems p. 33

Examples Figure 5.11 plots the frequency response for θ = π and r = 1, 0.9, 0.7, and 0.5. For the magnitude, it is maximum when ω θ = π and minimum when ω θ = 0, agreeing with (a). For the phase, the increase of ν 3 is smaller than ν 1 when 0 ω π/2, and is larger when ω θ, agreeing with (b). For the group delay, ν 3 increases fastest at ω θ, agreeing with (c). Transform Analysis of Linear Time-Invariant Systems p. 34

More Examples Figure 5.13 plots the frequency response for θ = π and r = 1/0.9, 1.25, and 2.0. The zero is outside the unit circle. The magnitude follows a pattern similar to Figure 5.11. For the phase, the increase of ν 3 is smaller than ν 1 when 0 ω π/2. In contrast to Figure 5.13, ν 3 actually decrease at ω θ, leading to (b). Note there is a jump from π to π at ω = θ. The group delay is always positive. Transform Analysis of Linear Time-Invariant Systems p. 35

Second-Order System Consider a system with complex conjugate pole, H(z) = 1 (1 re jθ z 1 )(1 re jθ z 1 ) The magnitude, phase and group delay are 10 log 10 [1 + r 2 2r cos(ω θ)] 10 log 10 [1 + r 2 2r cos(ω + θ)], [ ] [ ] r sin(ω θ) r sin(ω + θ) arctan arctan, 1 r cos(ω θ) 1 r cos(ω + θ) r2 r cos(ω θ) 1 + r 2 2r cos(ω θ) r2 r cos(ω + θ) 1 + r 2 2r cos(ω + θ). Plots are given in Figure 5.16. Transform Analysis of Linear Time-Invariant Systems p. 36

Magnitude and Phase In general, the magnitude response and phase response of a system are independent. For an LCCDE system, there is some constraint between them. Under a condition referred to as minimum phase, the magnitude completely determines the phase and vice versa. Transform Analysis of Linear Time-Invariant Systems p. 37

Given Magnitude Response Suppose only the magnitude response is given for a system. That is, we have H(e jω ) 2 = H(e jω )H (e jω ) = H(z)H (1/z ) z=e jω. For a causal system characterized by LCCDE, H(z) = ( b0 a 0 ) M (1 c k z 1 ) ( ) 1, H N z = (1 d k z 1 ) ( b0 a 0 ) M N (1 c k z) (1 d k z). What is the choice of the system function H(z)? Transform Analysis of Linear Time-Invariant Systems p. 38

C(z) H(e jω ) 2 is the following function evaluated at the unit circle C(z) = H(z)H (1/z ) = ( b0 a 0 ) 2 M N (1 c k z 1 )(1 c k z) (1 d k z 1 )(1 d k z) For each pole d k of H(z), there is a pole of C(z) at d k and (d k ) 1. For each zero c k of H(z), there is a zero of C(z) at c k and (c k ) 1. C(z) can be obtained by replacing e jω by z in H(e jω ) 2. Transform Analysis of Linear Time-Invariant Systems p. 39

Poles and Zeros The poles of C(z) occur in conjugate reciprocal pairs, i.e., pairs of d k and (d k ) 1. If one is inside the unit circle, the other is outside. Or they coincide on the unit circle. Similarly for the zeros. Suppose we have a causal, stable system. Then we know all the poles are inside the unit circle. There are no restriction for the zeros. Example 5.11 gives two distinct causal systems with the same C(z). Transform Analysis of Linear Time-Invariant Systems p. 40

Poles and Zeros If we further assumes that a k,b k are real numbers, then the poles and zeros of H(z) must occur in conjugate pairs or are on the real axis. Using this result in Example 5.12, there are still 4 choices for H(z) making the system causal and stable. If the number of zeros and poles are not limited, the number of causal and stable systems would also be unlimited. Transform Analysis of Linear Time-Invariant Systems p. 41

All-Pass System Consider a system function of the form H ap (z) = z 1 a 1 az 1. On the unit circle, H ap (e jω ) = e jω a 1 ae jω = e jω 1 a e jω 1 ae jω = 1, since e jω = 1 and 1 a e jω is the complex conjugate of 1 ae jω. Such a system is called an all-pass system. Note if a is a pole, 1/a is a zero. Transform Analysis of Linear Time-Invariant Systems p. 42

General All-Pass Systems For a general all-pass system with real impulse response, the system function can be written as H ap (z) = A M r z 1 d k 1 d k z 1 M c (z 1 e k )(z 1 e k ) (1 e k z 1 )(1 e k z 1 ), where d k is a real pole, and (e k,e k ) are a pair of conjugate poles. For causal and stable all-pass systems, d k < 1 and c k < 1. The number of poles and zeros for such a system is M = N = 2M c + M r. Transform Analysis of Linear Time-Invariant Systems p. 43

Phase Function For a first-order causal all-pass system, with a = re jθ, r < 1, the phase function is ) jω 1 rej(ω θ) (e 1 re j(ω θ) = e jω + (1 re j(ω θ) ) (1 re j(ω θ) ) = ω 2 arctan [ ] r sin(ω θ). 1 r cos(ω θ) For a second-order causal all-pass system, with poles at z = re ±jθ, the phase function is the sum of two similar terms, 2ω 2 arctan [ r sin(ω θ) ] 1 r cos(ω θ) 2 arctan [ ] r sin(ω + θ). 1 r cos(ω + θ) Transform Analysis of Linear Time-Invariant Systems p. 44

Phase Property The plots of Figure 5.22 and 5.23 are those of a first and second-order causal all-pass systems respectively. One can see that in the examples, the phases are non-positive for 0 ω π. The non-positiveness of phase is a general property of causal all-pass systems. Transform Analysis of Linear Time-Invariant Systems p. 45

Group Delay The group delay of a first-order causal all-pass system is [ ] e jω re jθ 1 r 2 grd = 1 re jθ e jω 1 re jθ e jω > 0. 2 For a general causal all-pass system with real impulse response, ( ) M r arg H(e j0 1 d k M c (1 e k ) = arg A )(1 e k) 1 d k (1 e k )(1 e k ) = 0. Thus the continuous phase arg H(e jω ) is non-positive. Transform Analysis of Linear Time-Invariant Systems p. 46

Minimum-Phase System Given C(z), the square of magnitude response of a rational system, H(z) is not uniquely determined. We can require the system to be causal and stable, then the poles must be inside the unit circle. Still the system is not unique. If we further require the inverse system to be causal and stable, then the zeros must be inside the unit circle. Now the system is unique. The minimum-phase system is defined to be such a system. Transform Analysis of Linear Time-Invariant Systems p. 47

Decomposition Suppose H(z) has all zeros and poles are inside the unit circle except a zero at z = 1/c. Re-write H(z) = H (z)(z 1 c ) = H (z)(1 cz 1 ) z 1 c 1 cz 1 H (z)(1 cz 1 ) has all the poles and zeros inside the unit circle, thus it is minimum-phase. (z 1 c )/(1 cz 1 ) is causal all-pass. By induction, we conclude that any rational system function can be written as H(z) = H min (z)h ap (z). Transform Analysis of Linear Time-Invariant Systems p. 48

Example Consider the system function H(z) = 1 + 3z 1 1 + 1 2 z 1. The pole is inside the unit circle, but the zero is outside at z = 3. Identifying c = 3 1, we have H(z) = H(z) 1 + 1 ( 3 z 1 1 + 1 ) ( 1 + 1 = 3 3 z 1 z 1 + 1 ) 3 3 z 1 1 + 1 2 z 1 1 + 1 3 z 1 = H min (z)h ap (z). Transform Analysis of Linear Time-Invariant Systems p. 49

Second-Order Example Consider the system function H(z) = (1 + 3 2 ejπ/4 z 1 )(1 + 3 2 e jπ/4 z 1 ) 1 1 3 z 1. The pole is inside the unit circle, but the zeros are outside at z = 3 2 e±jπ/4. Moving the zeros one by one, we have H(z) = H(z) 1 + 2 3 ejπ/4 z 1 1 + 2 3 e jπ/4 z 1 1 + 2 3 ejπ/4 z 1 1 + 2 3 e jπ/4 z 1 = (1 + 2 3 ejπ/4 z 1 )(1 + 2 3 e jπ/4 z 1 ) 1 1 3 z 1 (1 + 3 2 ejπ/4 z 1 )(1 + 3 2 e jπ/4 z 1 ) (1 + 2 3 ejπ/4 z 1 )(1 + 2 3 e jπ/4 z 1 ). Transform Analysis of Linear Time-Invariant Systems p. 50

Properties The minimum phase-lag property H(z) = H min (z)h ap (z) arg H(e jω ) = arg H min (e jω )+arg H ap (e jω ) The property follows since a stable and causal all-pass system has negative phase. The minimum group-delay property grd[h(e jω )] = grd[h min (e jω )] + grd[h ap (e jω )] The property follows since the group delay of a stable and causal all-pass system is positive. Transform Analysis of Linear Time-Invariant Systems p. 51

Linear-Phase Systems By definition, a linear-phase system has a frequency response of the following form H(e jω ) = H(e jω ) e jωα. The phase, and group delay are H(e jω ) = ωα; grd[h(e jω )] = α. Transform Analysis of Linear Time-Invariant Systems p. 52

Ideal Delay System Consider the ideal delay system y[n] = x[n α]. The frequency response is H id (e jω ) = e jωα, ω < π. The magnitude, phase, and group delay are H id (e jω ) = 1; H id (e jω ) = ωα; grd[h id (e jω )] = α. This is an example of linear-phase systems, with constant magnitude. Transform Analysis of Linear Time-Invariant Systems p. 53

Generalized Linear-Phase Systems A generalized linear-phase system has a frequency response of the following form, H(e jω ) = A(e jω ) e jωα+jβ, where α,β are real constants and A(e jω ) is a real function of ω. Note that A(e jω ) can be negative, so it is not strictly an amplitude. Ignoring any discontinuities, we have a constant group delay grd[h(e jω )] = α. Transform Analysis of Linear Time-Invariant Systems p. 54

Necessary Condition For a generalized linear-phase system, we have H(e jω ) = A(e jω ) e jωα+jβ = A(e jω ) cos(β ωα) + ja(e jω ) sin(β ωα) = h[n]e jωn = h[n] cosωn j h[n] sinωn sin(β ωα) h[n] sinωn cos(β ωα) = h[n] cosωn h[n](cos(β ωα) sinωn + sin(β ωα) cosωn) = 0 It follows that h[n] sin[ω(n α) + β] = 0 for all ω. n Transform Analysis of Linear Time-Invariant Systems p. 55

Symmetric Cases In symmetric cases, we have h[m n] = h[n] (symmetric with respect to the middle point M 2 ). We have the flexibility to choose α,β, but the necessary condition must be satisfied. Setting β = 0 (or π), and 2α to be an integer M, we have h[n] sin[ω(n α) + β] = n n = = M 1 2 n= M 1 2 n= + M+1 2 1 n= M 1 2 +1 + n= M+1 2 h[n] sin[ω(n α)] h[n] sin[ω(n α)] (h[n] h[m n]) sin[ω(n α)] = 0. Transform Analysis of Linear Time-Invariant Systems p. 56

Anti-Symmetric Cases In anti-symmetric cases, we have h[m n] = h[n] (anti-symmetric with respect to the middle point M 2 ). With the conditions β = π/2, 2α = M, we have h[n] sin[ω(n α) + β] = n n = = M 1 2 n= M 1 2 n= + M+1 2 1 n= M 1 2 +1 Similarly for β = 3π/2. + n= M+1 2 h[n] cos[ω(n α)] h[n] cos[ω(n α)] (h[n] + h[m n]) cos[ω(n α)] = 0. Transform Analysis of Linear Time-Invariant Systems p. 57

Causal GLP Systems If the system is causal, n=0 h[n] sin[ω(n α) + β] = 0 for all ω. Furthermore, the condition of symmetry and anti-symmetry implies that So it is FIR. h[n] = 0, n < 0 or n > M. Transform Analysis of Linear Time-Invariant Systems p. 58

Type I Systems A type I system is defined by h[m n], 0 n M h[n] = 0, otherwise, M is even. The frequency response is M/2 H(e jω ) = a[k] cos ωk e jωm/2, k=0 where a[0] = h[m/2], a[k] = 2h[M/2 k]. Transform Analysis of Linear Time-Invariant Systems p. 59

Frequency Response Let α = M/2. H(e jω ) = = = = = M h[n]e jωn = n=0 α ( α 1 n=0 + M n=α+1 ) h[n]e jωn + h[α]e jωα ( h[α k]e jω(α k) + h[α + k]e jω(α+k)) + h[α]e jωα α h[α k] ( e jω(α k) + e jω(α+k)) + h[α]e jωα α h[α k]e ( jωα e jωk + e jωk) + h[α]e jωα ( α ) a[k] cosωk k=0 e jωα Transform Analysis of Linear Time-Invariant Systems p. 60

Type II Systems A type II system is defined by h[m n], 0 n M h[n] = 0, otherwise, M is odd. The frequency response is (M+1)/2 H(e jω ) = b[k] cos [ω(k 12 ] ) e jωm/2, where b[k] = 2h[(M + 1)/2 k]. Transform Analysis of Linear Time-Invariant Systems p. 61

Frequency Response Let α = M/2. H(e jω ) = = = = M h[n]e jωn = n=0 α+1/2 α+1/2 α+1/2 α 1/2 n=0 + M n=α+1/2 h[n]e jωn (h[α + 12 k]e jω(α+12 k) + h[α 12 + k]e jω(α 12 +k) ) h[α + 1 2 k] ( e jω(α+1 2 k) + e jω(α 1 2 +k) ) h[α + 1 2 k]e jωα ( e jω(k 1 2 ) + e jω(k 1 2 )) α+1/2 = e jωm/2 2h[α + 1 2 k] cos [ ω(k 1 2 ) ] Transform Analysis of Linear Time-Invariant Systems p. 62

Type III Systems A type III system is defined by h[m n], 0 n M h[n] = 0, otherwise, M is even. The frequency response is M/2 H(e jω ) = j c[k] sin ωk e jωm/2, where c[k] = 2h[M/2 k]. Transform Analysis of Linear Time-Invariant Systems p. 63

Frequency Response Let α = M/2. h[α] = 0 by definition. H(e jω ) = = = = M h[n]e jωn = n=0 ( α 1 n=0 + M n=α+1 ) h[n]e jωn α (h[α k]e jω(α k) + h[α + k]e jω(α+k)) α h[α k] (e jω(α k) e jω(α+k)) α h[α k]e ( jωα e jωk e jωk) ( α ) = je jωα c[k] sinωk Transform Analysis of Linear Time-Invariant Systems p. 64

Type IV Systems A type IV system is defined by h[m n], 0 n M h[n] = 0, otherwise, M is dd. The frequency response is (M+1)/2 H(e jω ) = j d[k] sin [ω(k 12 ] ) e jωm/2, where d[k] = 2h[(M + 1)/2 k]. Transform Analysis of Linear Time-Invariant Systems p. 65

Frequency Response Let α = M/2. H(e jω ) = = = = M h[n]e jωn = n=0 α+1/2 α+1/2 α+1/2 α 1/2 n=0 + M n=α+1/2 h[n]e jωn (h[α + 12 k]e jω(α+12 k) + h[α 12 + k]e jω(α 12 +k) ) h[α + 1 2 k] ( e jω(α+1 2 k) e jω(α 1 2 +k) ) h[α + 1 2 k]e jωα ( e jω(k 1 2 ) e jω(k 1 2 )) α+1/2 = je jωm/2 2h[α + 1 2 k] sin[ω(k 1/2)] Transform Analysis of Linear Time-Invariant Systems p. 66

Example Figure 5.36 gives FIR linear-phase systems of each type. The frequency responses are given in Examples 5.17-5.20. H I (e jω ) = e jω2 sin(5ω/2), (M = 4) sin(ω/2) H II (e jω ) = e jω5/2 sin(3ω) sin(ω/2), (M = 5) H III (e jω ) = j[2 sin(ω)]e jω, (M = 2) H IV (e jω ) = j[2 sin(ω/2)]e jω/2, (M = 1) Transform Analysis of Linear Time-Invariant Systems p. 67

System Function Consider the system function of an FIR linear-phase system M H(z) = h[n]z n. n=0 For either the symmetric or the anti-symmetric cases, H(z) = M ±h[m n]z n = n=0 M ±h[k]z k z M = ±z M H(z 1 ). k=0 It follows that if z 0 is a zero, so is z 1 0, since H(z 1 0 ) = z M 0 H(z 0 ) = 0. Transform Analysis of Linear Time-Invariant Systems p. 68

Location of Zeros If h[n] is real, the zeros come in complex conjugate pairs. Let z 0 = re jθ be a zero. From our discussion, we see that the quadruple (re jθ,re jθ,r 1 e jθ,r 1 e jθ ) are all zeros. r = 1,θ 0,π, two zeros; r 1,θ = 0,π, two zeros; r = ±1, one zero; Transform Analysis of Linear Time-Invariant Systems p. 69

Symmetric/Anti-symmetric Cases For the symmetric cases (Types I and II), H(z) = z M H(z 1 ). z = 1 must be a zero for odd M. For the anti-symmetric cases (Types III and IV), H(z) = z M H(z 1 ). z = 1 must be a zero. z = 1 must be a zero for even M. Transform Analysis of Linear Time-Invariant Systems p. 70