Relationship between Magnitude and Phase (cf. Oppenheim, 1999)

Slides:



Advertisements
Similar presentations
Chapter 8. FIR Filter Design
Advertisements

HILBERT TRANSFORM Fourier, Laplace, and z-transforms change from the time-domain representation of a signal to the frequency-domain representation of the.
ELEN 5346/4304 DSP and Filter Design Fall Lecture 8: LTI filter types Instructor: Dr. Gleb V. Tcheslavski Contact:
Hossein Sameti Department of Computer Engineering Sharif University of Technology.
Filtering Filtering is one of the most widely used complex signal processing operations The system implementing this operation is called a filter A filter.
Digital Signal Processing – Chapter 11 Introduction to the Design of Discrete Filters Prof. Yasser Mostafa Kadah
Ideal Filters One of the reasons why we design a filter is to remove disturbances Filter SIGNAL NOISE We discriminate between signal and noise in terms.
Department of Computer Eng. Sharif University of Technology Discrete-time signal processing Chapter 5: Transform Analysis of Linear Time- Invariant Systems.
LINEAR-PHASE FIR FILTERS DESIGN
Chapter 8 FIR Filter Design
3F4 Optimal Transmit and Receive Filtering Dr. I. J. Wassell.
Z-Transform Fourier Transform z-transform. Z-transform operator: The z-transform operator is seen to transform the sequence x[n] into the function X{z},
5.1 the frequency response of LTI system 5.2 system function 5.3 frequency response for rational system function 5.4 relationship between magnitude and.
AGC DSP AGC DSP Professor A G Constantinides 1 Digital Filter Specifications Only the magnitude approximation problem Four basic types of ideal filters.
Unit III FIR Filter Design
EE513 Audio Signals and Systems Digital Signal Processing (Systems) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
1 Chapter 8 The Discrete Fourier Transform 2 Introduction  In Chapters 2 and 3 we discussed the representation of sequences and LTI systems in terms.
Chapter 2 Discrete-Time Signals and Systems
1 Diagramas de bloco e grafos de fluxo de sinal Estruturas de filtros IIR Projeto de filtro FIR Filtros Digitais.
Chapter 7 IIR Filter Design
Filter Design Techniques
Fourier Series Summary (From Salivahanan et al, 2002)
Chapter 7 LTI Discrete-Time Systems in the Transform domain.
IIR Filter design (cf. Shenoi, 2006) The transfer function of the IIR filter is given by Its frequency responses are (where w is the normalized frequency.
Zhongguo Liu_Biomedical Engineering_Shandong Univ. Biomedical Signal processing Chapter 5 Transform Analysis of Linear Time-Invariant Systems.
1 Lecture 3: March 6, 2007 Topic: 1. Frequency-Sampling Methods (Part I)
Copyright ©2010, ©1999, ©1989 by Pearson Education, Inc. All rights reserved. Discrete-Time Signal Processing, Third Edition Alan V. Oppenheim Ronald W.
Department of Computer Eng. Sharif University of Technology Discrete-time signal processing Chapter 3: THE Z-TRANSFORM Content and Figures are from Discrete-Time.
1 Lecture 1: February 20, 2007 Topic: 1. Discrete-Time Signals and Systems.
5.Linear Time-Invariant System
Chapter 7 Finite Impulse Response(FIR) Filter Design
1 Introduction to Digital Filters Filter: A filter is essentially a system or network that selectively changes the wave shape, amplitude/frequency and/or.
Transform Analysis of LTI systems 主講人:虞台文. Content The Frequency Response of LTI systems Systems Characterized by Constant- Coefficient Difference Equations.
Chapter 9-10 Digital Filter Design. Objective - Determination of a realizable transfer function G(z) approximating a given frequency response specification.
Chapter 7. Filter Design Techniques
1 Lecture 4: March 13, 2007 Topic: 1. Uniform Frequency-Sampling Methods (cont.)
Husheng Li, UTK-EECS, Fall  The principle value of the phase response will exhibit discontinuities when viewed as a function of w.  We use.
Transform Analysis of LTI Systems Quote of the Day Any sufficiently advanced technology is indistinguishable from magic. Arthur C. Clarke Content and Figures.
Chapter 4 LTI Discrete-Time Systems in the Transform Domain
Z Transform The z-transform of a digital signal x[n] is defined as:
Sampling and Reconstruction The impulse response of an continuous-time ideal low pass filter is the inverse continuous Fourier transform of its frequency.
Minimum-Phase Systems Quote of the Day Experience is the name everyone gives to their mistakes. Oscar Wilde Content and Figures are from Discrete-Time.
Lecture 8: Transform Analysis of LTI System XILIANG LUO 2014/10 1.
DISP 2003 Lecture 5 – Part 1 Digital Filters 1 Frequency Response Difference Equations FIR versus IIR FIR Filters Properties and Design Philippe Baudrenghien,
Minimum-Phase Systems Quote of the Day Experience is the name everyone gives to their mistakes. Oscar Wilde Content and Figures are from Discrete-Time.
Lecture 13: Minimum-Phase Systems Instructor: Dr. Ghazi Al Sukkar Dept. of Electrical Engineering The University of Jordan
Oh-Jin Kwon, EE dept., Sejong Univ., Seoul, Korea: 2.3 Fourier Transform: From Fourier Series to Fourier Transforms.
Digital Signal Processing Lecture 6 Frequency Selective Filters
Chapter 2. Signals and Linear Systems
Chapter 6. Digital Filter Structures and Designs Section
Chapter 5. Transform Analysis of LTI Systems Section
In summary If x[n] is a finite-length sequence (n  0 only when |n|
Relationship between Magnitude and Phase Quote of the Day Experience is the name everyone gives to their mistakes. Oscar Wilde Content and Figures are.
Relationship between Magnitude and Phase Quote of the Day Experience is the name everyone gives to their mistakes. Oscar Wilde Content and Figures are.
1 BIEN425 – Lecture 9 By the end of the lecture, you should be able to: –Describe the properties of ideal filters –Describe the linear / logarithm design.
Professor A G Constantinides 1 Digital Filter Specifications We discuss in this course only the magnitude approximation problem There are four basic types.
IIR Filter design (cf. Shenoi, 2006)
Linear Constant-coefficient Difference Equations
Fourier Series FIR About Digital Filter Design
LINEAR-PHASE FIR FILTERS DESIGN
Filter Design by Windowing
Quick Review of LTI Systems
لجنة الهندسة الكهربائية
Ideal Filters One of the reasons why we design a filter is to remove disturbances Filter SIGNAL NOISE We discriminate between signal and noise in terms.
Quadrature-Mirror Filter Bank
Chapter 7 Finite Impulse Response(FIR) Filter Design
Tania Stathaki 811b LTI Discrete-Time Systems in Transform Domain Simple Filters Comb Filters (Optional reading) Allpass Transfer.
Tania Stathaki 811b LTI Discrete-Time Systems in Transform Domain Ideal Filters Zero Phase Transfer Functions Linear Phase Transfer.
Chapter 9 Advanced Topics in DSP
Chapter 7 Finite Impulse Response(FIR) Filter Design
Presentation transcript:

Relationship between Magnitude and Phase (cf. Oppenheim, 1999) Question: When we only know the magnitude response of an LTI system, can we infer its phase response? In general, knowledge about the magnitude provides no information about the phase. However, for systems described by linear constant coefficient difference equations, i.e., rational system functions, there is some constraint between magnitude and phase. Similarly, if the number of poles and zeros and the phase are known, then, to within a scale factor, there are only a finite number of choices for the magnitude.

We consider |H(ejw)|2 expressed as For the linear constant-coefficient difference-equation case, the system function H(z) is rational in the form where a0 and b0 are real, and {dk} and {ck} are the poles and zeros, respectively.

Hence, and so Denote that C(z) = H(z)H*(1/z*). Hence, the squared magnitude response is equivalent to the evaluation on the unit circle of the z transform of C(z)

What can C(z) tell us? For each zero ck of H(z), there is a zero of C(z) at ck and (ck*)1. Similarly, for each pole dk of H(z), there is a pole of C(z) at dk and (dk*)1. Hence, for a difference equation system, the corresponding C(z) satisfies that the poles and zeros of C(z) occur in conjugate reciprocal pairs.

One element of each pair is inside the unit circle, then the other (i One element of each pair is inside the unit circle, then the other (i.e., the conjugate reciprocal) will be outside the unit circle. If H(z) is assumed to correspond to a causal, stable system, then all its poles must lie inside the unit circle. With this constraint, the poles of H(z) can be identified from the poles of C(z). Although the zeros cannot be uniquely identified from the zeros of C(z), we have only a finite number of selections of the zeros. (when M and N are fixed) If we are given |H(ejw)|2, then by replacing ejw by z, we can construct C(z). Hence, knowing only the magnitude information |H(ejw)|2 gives us finite selections of the LTI system with a rational system function, and so the phase response is restricted to these finite selections.

Example: consider two stable systems with the following system functions: Now

By using the fact that We see that C1(z) = C2(z). Hence, H1(z) and H2(z) have the same C(z) (and thus the same magnitude response). The poles of H1(z) and H2(z) are the same, but the zeros are different. Although the magnitude response are the same, the phase responses of these two systems are different.

H1(z) H2(z) C(z)

Pole pairs Zero pairs 1 (P1, P4) (Z1, Z4) 2 (P2, P5) (Z2, Z5) 3 Another Example: Suppose we are given the pole-zero plot for C(z) in the following figure and want to determine the poles and zeros to associate with H(z). The conjugate reciprocal pairs of poles and zeros for which one element of each is associated with H(z) and one with H*(1/z*) are as follows: Pole pairs Zero pairs 1 (P1, P4) (Z1, Z4) 2 (P2, P5) (Z2, Z5) 3 (P3, P6) (Z3, Z6)

C(z)

If we assume that H(z) is a stable and causal system, we must choose the poles from each pair that are inside the unite circle. That is, P1, P2, and P3. No such constraint is imposed on the zeros. How can we select the zeros: if we assume that the coefficients of the rational response are all real, i.e., where {ak} and {bk} are real.

In this case, the impulse response of the system have real values, and so the frequency response is an even function. The zeros (and poles) either are real or occur in complex conjugate pairs (i.e. symmetric to the real axis). Consequently, the zeros to associate with H(z) are Z3 or Z6 and (Z1, Z2) or (Z4, Z5) Hence, there are a total of four different stable, causal systems with three poles and three zeros. Is there any other systems having the same magnitude responses? If we allow M and N to be varying, there are other systems having the same magnitude response by applying the all-pass system introduced below.

All Pass Systems A stable system function of the following form is referred to as an all-pass system: The frequency response of an all-pass system is independent of the frequency w. Since So

The multiplication of two all pass system functions still results in an all pass system. So, all pass systems can be cascaded to construct other all pass systems. The most general form for the system function of an all-pass system is the one with a real-valued impulse response: where A is a positive constant, dk’s are the real poles, and ek’s are the complex poles, |dk|<1 and |ek|<1. Each pole of an all-pass system is paired with a conjugate reciprocal zero. The poles are all inside the unit circle, and so the zeros are outside the unit circle. The magnitude response of a system remains the same by multiplying (cascading) this system with an all-pass system.

Typical pole-zero plot for an all-pass system H(z)

Generally, an N-th order all-pass system can also be represented as the following equivalent form: Properties of the all-pass system: The group delay of a causal rational all-pass system is always positive. All pass systems can be used as compensator for phase (or group-delay) distortion. When the phase response of an IIR filter is not satisfied in the specified band (eg., constant group delay), we can cascade it with an all-pass filter to adjust the phase response.

Example of an all-pass system Log magnitude Phase (principal value) Group delay

Minimum-phase Systems We have seen that once the (squared) magnitude response have been specified and the corresponding M and N are fixed for a rational stable and causal system, there are finite choices of the zeros (and also phase responses) of the system. If we impose the additional restriction that the inverse (one with the system function 1/H(z)) also is stable and causal, then we can uniquely determine the zeros. A causal and stable system has an inverse system iff its poles and zeros are all inside the unit circle. Given the squared magnitude response and the corresponding M and N, there is a unique system whose zeros are all inside the unit circle, which is called the minimum-phase system.

If we are given the magnitude-squared function: and know that the system is a minimum-phase system. Then H(z) is uniquely determined and will consist of all the poles and zeros of C(z) that lie inside the unit circle. The minimal-phase system is often followed in filter design when only the magnitude response is specified by the design method used.

Eg. for the above C(z), if it is minimum phase, the zeros of H(z) are Z3, Z1, and Z2.

Why it is called a minimum-phase system? The minimum phase-lag property: The group delay of the minimum phase system chosen from C(z) is always less than the group delays of the other systems chosen from C(z). Property of minimum-phase and all-pass decomposition: Any rational system can be decomposed into the multiplication of a minimum-phase system and an all-pass system: Let H(z) be any rational system, then we have H(z) = Hmin(z)Hap(z), where Hmin(z) is minimum phase and Hap(z) is all pass.

To show the above property, suppose that H(z) has only one zero outside the unit circle at z=1/c*, where |c|<1. Then, H(z) can be expressed as H(z) = H1(z)(z1c*), where, by definition, H1(z) is minimum phase. An equivalent expression for H(z) is Since |c|<1, the factor H1(z)(1  cz1) also is minimum phase. The term (z1c*)/(1  cz1) is all-pass. The example can be generalized in a straightforward way to include more zeros outside the unit circle, thereby showing that any rational system function can be expressed by H(z) = Hmin(z)Hap(z).

From the above, we can see that in the decomposition H(z) = Hmin(z)Hap(z), The minimum-phase component Hmin(z) contains the poles and zeros of H(z) that lie inside the unit circle, plus zeros that are conjugate reciprocals of the zeros of H(z) that lie outside the unit circle. The all-pass component Hap(z) is comprised of all the zeros of H(z) that lie outside the unit circle, together with poles to cancel the reflected conjugate reciprocal zeros in Hmin(z).

Example: consider the stable, causal systems specified by the system function H(z) has a pole inside the unit circle at z=0.5, but a zero outside at z= 3. We will need to choose the appropriate all-pass system to reflect this zero inside the unit circle. We choose c= (1/3). So, the all pass component will be and the minimum-phase component is then i.e.

Example: consider the distorting system function to be The pole-zero plot is

The corresponding minimum-phase system is obtained by reflecting the zeros that occur at z=1.25ej0.8 to their conjugate reciprocal locations inside the unit circle. Then and the all-pass system that relates Hmin(z) and Hd(z) is

Frequency-response Compensation: An application of minimum-phase system. In many signal-processing contexts, a signal has been distorted by an LTI system with an undesirable frequency response. It may then be of interest to process the distorted signal with a compensation system as follows. Eg., in transmitting signals over a communication channel, if perfect compensation is achieved, then Sc[n] = s[n], i.e., Hc(z) is the inverse of Hd(z), However, if we assume that the distorting system is stable and causal and require the compensating system to be stable and causal too, then perfect compensation is possible only if Hd(z) is a minimum-phase system.

If Hd(z) is known and can be approximated as a rational system function, but is not minimum phase, we can at least compensate it to an all-pass system that has constant magnitude response, by factorizing it as Hd(z) = Hmin(z)Hap(z), and choosing the compensating filter to be Hc(z) = 1/Hmin(z), By doing so, the overall system is of constant magnitude response, while the phase response is modified to Hap(ejw). Other all-pass filters can be additionally cascaded to transform the phase response to approximate to the desired one in the specified band.

Another property of minimum-phase system The minimum energy-delay property: In the above example, there are a total of four causal FIR systems with real impulse responses that have the same magnitude response. the minimum-phase one

In the following, we show the four impulse responses of these four FIR systems. It will be found that |h[0]|  |hmin[0]|, where hmin[n] is the impulse response of the minimum-phase one. 1.56 > 0.81, 1.26, 1.00

In general, it is true that for any causal, stable sequence h[n] for which It is because that, by the initial-value theorem, without loss of generality, assume that So and hence since |c|<1.

By this property, and consider the parseval’s theorem In general, it can be shown that The partial energy of the minimum-phase system is most concentrated around n=0; i.e., the energy of the minimum-phase system is delayed the least of all systems having the same magnitude response.

Summary of all-pass and minimum-phase systems. Given the magnitude response of a rational system function, the poles can be exactly identified if the system is stable and causal. If the number of zeros, M, is fixed, then there are finite choices of the zeros. If we further restrict the system to be a minimum-phase system, then the zeros are uniquely specified. We can adjust the phase response of a system by cascading it with an all-pass system. Any rational system can be decomposed into a minimum-phase system and an all-pass system.

Design of FIR Filter by Windowing FIR filters are almost entirely restricted to discrete-time implementations. Most techniques for approximating the magnitude response of an FIR system assume a linear phase constraint, thereby avoiding the problem of spectrum factorization that complicates the direct design of IIR filters. The windowing method: consider an ideal desired frequency response (eg. ideal low-pass filter) that can be represented as The simplest way to obtain a causal FIR filter from hd[n] is to define a new system by

i.e. where w[n] is a rectangular window: Since time domain multiplication implies frequency domain convolution, we have where W(ejw) is the frequency response of w[n].

If w[n] = 1 for all n, W(ejw) is a periodic impulse train with period 2, and therefore H(ejw) = Hd(ejw). If w[n] is chosen so that W(ejw) is concentrated in a narrow band of frequencies around w=0, then H(ejw) will look like Hd(ejw), except where Hd(ejw) change very abruptly. In the case of rectangular window,

As M increases, the width of the “main lobe” decreases As M increases, the width of the “main lobe” decreases. The main lobe is usually defined as the region between the first zero-crossings on either side of the origin.

Convolution process implied by truncation of the ideal impulse response (i.e., rectangular window) Typical approximation resulting from windowing the ideal impulse response (rectangular-window case)

This causes the Gibbs phenomenon, i. e This causes the Gibbs phenomenon, i.e., as M increases, the maximum amplitude of the oscillation does not approach zero To moderate the Gibbs phenomenon, the use of a less abrupt truncation of the impulse response: tapering the window smoothly to zero at each end. Some commonly used windows: Bartlett (triangular): Hanning: Hamming:

The above windows all satisfy that In this situation, it can be shown that the resulted filter will be generalized linear phase if the hd[n] is either symmetric (i.e., hd[n]= hd[Mn]) or anti-symmetric (i.e., hd[n]= hd[Mn]).

Kaiser window Kaiser found that a near-optimal window could be formed using the zeroth-order modified Bessel function of the first kind. The Kaiser window is defined as where and I0() represents the zeroth-order modified Bessel function of the first kind. In contrast to the other windows, the Kaiser window has two parameters: the loength (M+1) and a shape parameter . Kaiser obtained a pair of formulas that permit the filter designer to predict in advance the values of M and . Consider a low-pass filter. Let the passband cutoff frequency be wp, stopband cutoff frequency be ws, and pass-band distortion be .

Denote then the parameters of the Kaiser window can be set as the following to achieve the required specification {wp, ws, }.